forked from BlueSCSI/BlueSCSI-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back Serial USB logging with SRAM optimizations.
This commit is derived from code from @morio across the following commits plus my own adjustments for the BlueSCSI platform: Output log over serial USB ZuluSCSI/ZuluSCSI-firmware@573dc60 Fix out SRAM compile time issue ZuluSCSI/ZuluSCSI-firmware@30df3aa Adjust prefetch buffer to fix SRAM overflow ZuluSCSI/ZuluSCSI-firmware@9f61b3c Get PlatformIO debug to work on RP2040 MCUs ZuluSCSI/ZuluSCSI-firmware@d72012b Co-authored-by: Morio <[email protected]>
- Loading branch information
1 parent
28f6de1
commit 34da988
Showing
7 changed files
with
179 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,12 +18,22 @@ platform_packages = platformio/[email protected] | |
framework = arduino | ||
board = rpipicow | ||
board_build.core = earlephilhower | ||
upload_protocol = picoprobe | ||
debug_tool = cmsis-dap ; new picoprobe.uf2's emulate cmsis-dap | ||
; extra_scripts = src/build_bootloader.py | ||
; ldscript_bootloader = lib/BlueSCSI_platform_RP2040/rp2040_btldr.ld | ||
lib_deps = | ||
SdFat=https://github.com/BlueSCSI/SdFat#2.2.0-gpt | ||
minIni | ||
BlueSCSI_platform_RP2040 | ||
SCSI2SD | ||
CUEParser | ||
debug_build_flags = | ||
-O2 -ggdb -g3 | ||
; The values can be adjusted down to get a debug build to fit in to SRAM | ||
-DLOGBUFSIZE=1024 | ||
-DSCSI2SD_BUFFER_SIZE=57344 | ||
-DPREFETCH_BUFFER_SIZE=6144 | ||
build_flags = | ||
-O2 -Isrc -ggdb -g3 | ||
-Wall -Wno-sign-compare -Wno-ignored-qualifiers | ||
|
@@ -32,9 +42,11 @@ build_flags = | |
-DENABLE_DEDICATED_SPI=1 | ||
-DHAS_SDIO_CLASS | ||
-DUSE_ARDUINO=1 | ||
-DNO_USB=1 | ||
-DPICO_DEFAULT_I2C_SDA_PIN=16 | ||
-DPICO_DEFAULT_I2C_SCL_PIN=17 | ||
; -DLOGBUFSIZE=8192 | ||
; -DPREFETCH_BUFFER_SIZE=6144 | ||
; -DSCSI2SD_BUFFER_SIZE=57344 | ||
|
||
; Experimental Audio build | ||
; Rquires seperate hardware and overclock. | ||
|
Oops, something went wrong.