-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
27 lines (26 loc) · 1.48 KB
/
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
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:pico_w] ; I tried pico_w, but still no debug output. Which should it be?
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
platform_packages =
framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git
board = rpipicow
framework = arduino
board_build.core = earlephilhower
lib_extra_dirs = ~/Documents/Arduino/libraries
lib_deps =
etherkit/Etherkit Si5351@^2.1.4
etherkit/Etherkit JTEncode@^1.3.1
upload_protocol = picotool
upload_port = /dev/ttyACM0
; build_flags =
; -DDEBUG_RP2040_CORE
; -DDEBUG_RP2040_PORT=Serial
; -Wall -Wextra -Werror=return-type -Wno-ignored-qualifiers -Wno-psabi -DCFG_TUSB_MCU=OPT_MCU_RP2040 -DUSBD_PID=0xf00a -DUSBD_VID=0x2e8a -DUSBD_MAX_POWER_MA=250 "-DUSB_MANUFACTURER=\"Raspberry Pi\"" "-DUSB_PRODUCT=\"Pico W\"" -DPICO_CYW43_ARCH_THREADSAFE_BACKGROUND=1 -DCYW43_LWIP=1 -DLWIP_IPV6=0 -DLWIP_IPV4=1 -DLWIP_IGMP=1 -DLWIP_CHECKSUM_CTRL_PER_NETIF=1 "-DARDUINO_VARIANT=\"rpipicow\"" -DTARGET_RP2040 -DPICO_FLASH_SIZE_BYTES=2097152 -march=armv6-m -mcpu=cortex-m0plus -mthumb -ffunction-sections -fdata-sections -fno-exceptions -DARM_MATH_CM0_FAMILY -DARM_MATH_CM0_PLUS -MMD