|
|
@@ -3,10 +3,15 @@
|
|
|
[platformio]
|
|
|
default_envs = BlueSCSI_Pico
|
|
|
|
|
|
+; To get the latest pico-sdk code:
|
|
|
+; cd ~/.platformio/packages/framework-arduinopico
|
|
|
+; git submodule update --remote --rebase pico-sdk
|
|
|
+
|
|
|
; BlueSCSI RP2040 hardware platform, based on the Raspberry Pi foundation RP2040 microcontroller
|
|
|
[env:BlueSCSI_Pico]
|
|
|
-platform = raspberrypi@1.9.0
|
|
|
-platform_packages = platformio/toolchain-gccarmnoneeabi@1.100301.220327 ; toolchain-gccarmnoneeabi@1.60301.0
|
|
|
+platform = https://github.com/maxgerhardt/platform-raspberrypi.git
|
|
|
+platform_packages = platformio/toolchain-gccarmnoneeabi@1.100301.220327
|
|
|
+ framework-arduinopico@https://github.com/BlueSCSI/arduino-pico-internal.git#bd48efd4b20a30fad4f6b3284d6da3ce2e651404
|
|
|
framework = arduino
|
|
|
board = BlueSCSI_RP2040
|
|
|
extra_scripts = src/build_bootloader.py
|
|
|
@@ -26,6 +31,7 @@ build_flags =
|
|
|
-DENABLE_DEDICATED_SPI=1
|
|
|
-DHAS_SDIO_CLASS
|
|
|
-DUSE_ARDUINO=1
|
|
|
+ -DNO_USB=1
|
|
|
|
|
|
; Experimental Audio build
|
|
|
; Rquires seperate hardware and overclock.
|
|
|
@@ -34,4 +40,4 @@ build_flags =
|
|
|
extends = env:BlueSCSI_Pico
|
|
|
build_flags =
|
|
|
${env:BlueSCSI_Pico.build_flags}
|
|
|
- -DENABLE_AUDIO_OUTPUT
|
|
|
+ -DENABLE_AUDIO_OUTPUT
|