|
|
@@ -129,6 +129,7 @@ build_flags =
|
|
|
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
|
|
|
platform_packages =
|
|
|
framework-arduinopico@https://github.com/rabbitholecomputing/arduino-pico.git#v3.6.0-DaynaPORT
|
|
|
+ earlephilhower/toolchain-rp2040-earlephilhower@^5.100300.230216
|
|
|
framework = arduino
|
|
|
board = rpipicow
|
|
|
board_build.core = earlephilhower
|
|
|
@@ -153,7 +154,18 @@ build_flags =
|
|
|
-DZULUSCSI_PICO
|
|
|
-DZULUSCSI_NETWORK
|
|
|
-DZULUSCSI_DAYNAPORT
|
|
|
- -DLOGBUFSIZE=4096
|
|
|
+; 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
|
|
|
+; 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
|
|
|
+ -DPREFETCH_BUFFER_SIZE=8192
|
|
|
+ ; 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=10
|
|
|
+
|
|
|
+
|
|
|
; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
|
|
|
-DPICO_CYW43_ARCH_POLL=1
|
|
|
-DCYW43_LWIP=0
|