|
|
@@ -145,10 +145,10 @@ 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
|
|
|
+ -DPREFETCH_BUFFER_SIZE=1024
|
|
|
; 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
|
|
|
+ -DNETWORK_PACKET_QUEUE_SIZE=12
|
|
|
lib_deps =
|
|
|
SdFat=https://github.com/rabbitholecomputing/SdFat#2.2.0-gpt
|
|
|
minIni
|
|
|
@@ -167,17 +167,19 @@ build_flags =
|
|
|
-DZULUSCSI_NETWORK
|
|
|
-DZULUSCSI_DAYNAPORT
|
|
|
; These take a large portion of the SRAM and can be adjusted
|
|
|
+; USB has been disabled to free of more SRAM. The next two comments can be ignored
|
|
|
; It is important to leave enough free space for USB serial to work
|
|
|
; Around 7220 bytes seems to be enough.
|
|
|
-DLOGBUFSIZE=2048
|
|
|
-DPREFETCH_BUFFER_SIZE=0
|
|
|
; 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=12
|
|
|
+ -DNETWORK_PACKET_QUEUE_SIZE=20
|
|
|
; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
|
|
|
-DPICO_CYW43_ARCH_POLL=1
|
|
|
-DCYW43_LWIP=0
|
|
|
-DCYW43_USE_OTP_MAC=0
|
|
|
+ -DPIO_FRAMEWORK_ARDUINO_NO_USB
|
|
|
|
|
|
; Variant of RP2040 platform, based on Raspberry Pico board and a carrier PCB
|
|
|
; Differs in pinout from ZuluSCSI_RP2040 platform, but shares most of the code.
|