Skip to content

Commit

Permalink
Adjust DaynaPORT build buffers to fit in SRAM
Browse files Browse the repository at this point in the history
Changes exceeded the DaynaPORT memory allocation. Decreased prefetch
buffer by 512 bytes.
  • Loading branch information
morio committed Feb 16, 2024
1 parent bd82694 commit 9322811
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ build_flags =
-DZULUSCSI_DAYNAPORT
; These take a large portion of the SRAM and can be adjusted
-DLOGBUFSIZE=8192
-DPREFETCH_BUFFER_SIZE=6144
-DPREFETCH_BUFFER_SIZE=5632
-DSCSI2SD_BUFFER_SIZE=57344
; 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
; This controls the depth of NETWORK_PACKET_MAX_SIZE (1520 bytes)
; For example a queue size of 10 would be 10 x 1520 = 15200 bytes
-DNETWORK_PACKET_QUEUE_SIZE=18
; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
-DPICO_CYW43_ARCH_POLL=1
Expand Down

0 comments on commit 9322811

Please sign in to comment.