-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
27 lines (25 loc) · 933 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; PlatformIO Project Configuration File https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = BlueSCSI_Pico
; BlueSCSI RP2040 hardware platform, based on the Raspberry Pi foundation RP2040 microcontroller
[env:BlueSCSI_Pico]
platform = [email protected]
platform_packages = platformio/[email protected] ; [email protected]
framework = arduino
board = BlueSCSI_RP2040
extra_scripts = src/build_bootloader.py
board_build.ldscript = lib/BlueSCSI_platform_RP2040/rp2040.ld
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
build_flags =
-O2 -Isrc -ggdb -g3
-Wall -Wno-sign-compare -Wno-ignored-qualifiers
-DSPI_DRIVER_SELECT=3
-DSD_CHIP_SELECT_MODE=2
-DENABLE_DEDICATED_SPI=1
-DHAS_SDIO_CLASS
-DUSE_ARDUINO=1