|
@@ -92,7 +92,8 @@ board_build.core = earlephilhower
|
|
|
board = zuluscsi_rp2040
|
|
board = zuluscsi_rp2040
|
|
|
framework = arduino
|
|
framework = arduino
|
|
|
; How much flash in bytes the bootloader and main app will be allocated
|
|
; How much flash in bytes the bootloader and main app will be allocated
|
|
|
-; It is used as the starting point for a ROM image save in flash
|
|
|
|
|
|
|
+; 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 = 360448
|
|
program_flash_allocation = 360448
|
|
|
extra_scripts =
|
|
extra_scripts =
|
|
|
src/build_bootloader.py
|
|
src/build_bootloader.py
|
|
@@ -120,6 +121,12 @@ build_flags =
|
|
|
-DUSE_ARDUINO=1
|
|
-DUSE_ARDUINO=1
|
|
|
-DPICO_FLASH_SPI_CLKDIV=2
|
|
-DPICO_FLASH_SPI_CLKDIV=2
|
|
|
-DZULUSCSI_V2_0
|
|
-DZULUSCSI_V2_0
|
|
|
|
|
+ -DROMDRIVE_OFFSET=${env:ZuluSCSI_RP2040.program_flash_allocation}
|
|
|
|
|
+; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
|
|
|
|
|
+ -DPICO_CYW43_ARCH_POLL=1
|
|
|
|
|
+ -DCYW43_LWIP=0
|
|
|
|
|
+ -DCYW43_USE_OTP_MAC=0
|
|
|
|
|
+
|
|
|
|
|
|
|
|
; ZuluSCSI RP2040 hardware platform, as above, but with audio output support enabled
|
|
; ZuluSCSI RP2040 hardware platform, as above, but with audio output support enabled
|
|
|
[env:ZuluSCSI_RP2040_Audio]
|
|
[env:ZuluSCSI_RP2040_Audio]
|
|
@@ -142,6 +149,7 @@ build_flags =
|
|
|
-DHAS_SDIO_CLASS
|
|
-DHAS_SDIO_CLASS
|
|
|
-DUSE_ARDUINO=1
|
|
-DUSE_ARDUINO=1
|
|
|
-DZULUSCSI_PICO
|
|
-DZULUSCSI_PICO
|
|
|
|
|
+ -DROMDRIVE_OFFSET=${env:ZuluSCSI_RP2040.program_flash_allocation}
|
|
|
; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
|
|
; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
|
|
|
-DPICO_CYW43_ARCH_POLL=1
|
|
-DPICO_CYW43_ARCH_POLL=1
|
|
|
-DCYW43_LWIP=0
|
|
-DCYW43_LWIP=0
|
|
@@ -157,7 +165,7 @@ framework = arduino
|
|
|
board = rpipicow
|
|
board = rpipicow
|
|
|
board_build.core = earlephilhower
|
|
board_build.core = earlephilhower
|
|
|
; How much flash in bytes the bootloader and main app will be allocated
|
|
; How much flash in bytes the bootloader and main app will be allocated
|
|
|
-; It is used as the starting point for a ROM image save in flash
|
|
|
|
|
|
|
+; It is used as the starting point for a ROM image saved in flash
|
|
|
program_flash_allocation = 589824
|
|
program_flash_allocation = 589824
|
|
|
extra_scripts =
|
|
extra_scripts =
|
|
|
src/build_bootloader.py
|
|
src/build_bootloader.py
|
|
@@ -226,6 +234,7 @@ build_flags =
|
|
|
-DHAS_SDIO_CLASS
|
|
-DHAS_SDIO_CLASS
|
|
|
-DUSE_ARDUINO=1
|
|
-DUSE_ARDUINO=1
|
|
|
-DZULUSCSI_BS2
|
|
-DZULUSCSI_BS2
|
|
|
|
|
+ -DROMDRIVE_OFFSET=${env:ZuluSCSI_RP2040.program_flash_allocation}
|
|
|
; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
|
|
; build flags mirroring the framework-arduinopico#v3.6.0-DaynaPORT static library build
|
|
|
-DPICO_CYW43_ARCH_POLL=1
|
|
-DPICO_CYW43_ARCH_POLL=1
|
|
|
-DCYW43_LWIP=0
|
|
-DCYW43_LWIP=0
|