|
|
@@ -1,7 +1,7 @@
|
|
|
; PlatformIO Project Configuration File https://docs.platformio.org/page/projectconf.html
|
|
|
|
|
|
[platformio]
|
|
|
-default_envs = ZuluSCSIv1_0, ZuluSCSIv1_0_mini, ZuluSCSIv1_1_plus, ZuluSCSI_RP2040, ZuluSCSI_RP2040_Audio, ZuluSCSI_Pico, ZuluSCSI_Pico_DaynaPORT, ZuluSCSI_BS2, ZuluSCSI_Pico_2
|
|
|
+default_envs = ZuluSCSIv1_0, ZuluSCSIv1_0_mini, ZuluSCSIv1_1_plus, ZuluSCSI_RP2040, ZuluSCSI_RP2040_Audio, ZuluSCSI_Pico, ZuluSCSI_Pico_DaynaPORT, ZuluSCSI_BS2, ZuluSCSI_Pico_2, ZuluSCSI_Pico_2_DaynaPORT
|
|
|
|
|
|
; Example platform to serve as a base for porting efforts
|
|
|
[env:template]
|
|
|
@@ -95,9 +95,9 @@ build_flags =
|
|
|
|
|
|
; ZuluSCSI settings shared among Raspberry Pi microcontroller like the RP2040 and RP2350
|
|
|
[env:ZuluSCSI_RP2MCU]
|
|
|
-platform = https://github.com/maxgerhardt/platform-raspberrypi.git#2d445020acf8b792768a5fa5ba1870ac9607c11c
|
|
|
+platform = https://github.com/maxgerhardt/platform-raspberrypi.git#19e30129fb1428b823be585c787dcb4ac0d9014c
|
|
|
platform_packages =
|
|
|
- framework-arduinopico@https://github.com/rabbitholecomputing/arduino-pico.git#v4.1.1-DaynaPORT
|
|
|
+ framework-arduinopico@https://github.com/rabbitholecomputing/arduino-pico.git#v4.3.0-DaynaPORT
|
|
|
extra_scripts =
|
|
|
src/build_bootloader.py
|
|
|
src/process-linker-script.py
|
|
|
@@ -303,3 +303,23 @@ build_flags =
|
|
|
-DZULUSCSI_RP2350A
|
|
|
-DZULUSCSI_MCU_RP23XX
|
|
|
-DROMDRIVE_OFFSET=${env:ZuluSCSI_RP2350A.program_flash_allocation}
|
|
|
+
|
|
|
+
|
|
|
+[env:ZuluSCSI_Pico_2_DaynaPORT]
|
|
|
+extends = env:ZuluSCSI_RP2MCU
|
|
|
+board = rpipico2w
|
|
|
+; How much flash in bytes the bootloader and main app will be allocated
|
|
|
+; It is used as the starting point for a ROM image saved in flash
|
|
|
+; Changing this will cause issues with boards that already have a ROM drive in flash
|
|
|
+program_flash_allocation = 589824
|
|
|
+linker_script_template = lib/ZuluSCSI_platform_RP2MCU/rp23xx-template.ld
|
|
|
+ldscript_bootloader = lib/ZuluSCSI_platform_RP2MCU/rp23xx_btldr.ld
|
|
|
+build_flags =
|
|
|
+ ${env:ZuluSCSI_RP2MCU.build_flags}
|
|
|
+ -DZULUSCSI_PICO_2
|
|
|
+ -DZULUSCSI_MCU_RP23XX
|
|
|
+ -DZULUSCSI_PICO_2_DAYNAPORT
|
|
|
+ -DZULUSCSI_NETWORK
|
|
|
+ -DZULUSCSI_DAYNAPORT
|
|
|
+ -DCYW43_PIO_CLOCK_DIV_DYNAMIC=1
|
|
|
+ -DROMDRIVE_OFFSET=${env:ZuluSCSI_Pico_2_DaynaPORT.program_flash_allocation}
|