|
@@ -91,6 +91,11 @@ lib_deps =
|
|
|
ZuluSCSI_platform_RP2040
|
|
ZuluSCSI_platform_RP2040
|
|
|
SCSI2SD
|
|
SCSI2SD
|
|
|
CUEParser
|
|
CUEParser
|
|
|
|
|
+debug_build_flags =
|
|
|
|
|
+ -O2 -ggdb -g3
|
|
|
|
|
+ ; The values can be adjusted down to get a debug build to fit to SRAM
|
|
|
|
|
+ -DLOGBUFSIZE=4096
|
|
|
|
|
+; -DPREFETCH_BUFFER_SIZE=2048
|
|
|
build_flags =
|
|
build_flags =
|
|
|
-O2 -Isrc -ggdb -g3
|
|
-O2 -Isrc -ggdb -g3
|
|
|
-Wall -Wno-sign-compare -Wno-ignored-qualifiers
|
|
-Wall -Wno-sign-compare -Wno-ignored-qualifiers
|
|
@@ -136,6 +141,14 @@ extra_scripts = src/build_bootloader.py
|
|
|
ldscript_bootloader = lib/ZuluSCSI_platform_RP2040/rp2040_btldr.ld
|
|
ldscript_bootloader = lib/ZuluSCSI_platform_RP2040/rp2040_btldr.ld
|
|
|
board_build.ldscript = lib/ZuluSCSI_platform_RP2040/rp2040-daynaport.ld
|
|
board_build.ldscript = lib/ZuluSCSI_platform_RP2040/rp2040-daynaport.ld
|
|
|
debug_tool = cmsis-dap
|
|
debug_tool = cmsis-dap
|
|
|
|
|
+debug_build_flags =
|
|
|
|
|
+ -O2 -ggdb -g3
|
|
|
|
|
+ ; The values can be adjusted down to get a debug build to fit to SRAM
|
|
|
|
|
+ -DLOGBUFSIZE=2048
|
|
|
|
|
+ -DPREFETCH_BUFFER_SIZE=2048
|
|
|
|
|
+ ; This controls the depth of 2 x NETWORK_PACKET_MAX_SIZE (1520 bytes)
|
|
|
|
|
+ ; For example a queue size of 10 would be 10 x 2 x 1520 = 30400 bytes
|
|
|
|
|
+ -DNETWORK_PACKET_QUEUE_SIZE=3
|
|
|
lib_deps =
|
|
lib_deps =
|
|
|
SdFat=https://github.com/rabbitholecomputing/SdFat#2.2.0-gpt
|
|
SdFat=https://github.com/rabbitholecomputing/SdFat#2.2.0-gpt
|
|
|
minIni
|
|
minIni
|
|
@@ -156,15 +169,11 @@ build_flags =
|
|
|
; These take a large portion of the SRAM and can be adjusted
|
|
; These take a large portion of the SRAM and can be adjusted
|
|
|
; It is important to leave enough free space for USB serial to work
|
|
; It is important to leave enough free space for USB serial to work
|
|
|
; Around 7220 bytes seems to be enough.
|
|
; Around 7220 bytes seems to be enough.
|
|
|
-; The current settings use too much SRAM to debug the board over SWD
|
|
|
|
|
-; The values can be adjusted down to get a debug build to fit to SRAM
|
|
|
|
|
-DLOGBUFSIZE=6144
|
|
-DLOGBUFSIZE=6144
|
|
|
-DPREFETCH_BUFFER_SIZE=8192
|
|
-DPREFETCH_BUFFER_SIZE=8192
|
|
|
; This controls the depth of 2 x NETWORK_PACKET_MAX_SIZE (1520 bytes)
|
|
; This controls the depth of 2 x NETWORK_PACKET_MAX_SIZE (1520 bytes)
|
|
|
; For example a queue size of 10 would be 10 x 2 x 1520 = 30400 bytes
|
|
; For example a queue size of 10 would be 10 x 2 x 1520 = 30400 bytes
|
|
|
-DNETWORK_PACKET_QUEUE_SIZE=10
|
|
-DNETWORK_PACKET_QUEUE_SIZE=10
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
|
|
; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
|
|
|
-DPICO_CYW43_ARCH_POLL=1
|
|
-DPICO_CYW43_ARCH_POLL=1
|
|
|
-DCYW43_LWIP=0
|
|
-DCYW43_LWIP=0
|