50 lines
No EOL
1.2 KiB
INI
50 lines
No EOL
1.2 KiB
INI
; 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
|
|
[platformio]
|
|
default_envs = pico
|
|
platforms_dir = .pio/platforms
|
|
libdeps_dir = .pio/libdeps
|
|
cache_dir = .pio/cache
|
|
build_dir = .pio/build
|
|
build_cache_dir = .pio/build_cache
|
|
packages_dir = .pio/packages
|
|
|
|
[common]
|
|
build_flags =
|
|
-std=c++17
|
|
build_unflags =
|
|
-std=gnu++11
|
|
lib_deps =
|
|
adafruit/Adafruit NeoPixel@^1.12.3
|
|
olikraus/U8g2@^2.35.30
|
|
|
|
[env:pico]
|
|
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
|
|
board = vccgnd_yd_rp2040
|
|
framework = arduino
|
|
board_build.core = earlephilhower
|
|
board_build.mcu = rp2040
|
|
board_build.f_cpu = 133000000L
|
|
|
|
# Used for overloading linker script to do fucky things
|
|
#board_build.ldscript = memmap.ld
|
|
|
|
# Used for using debug probe
|
|
#debug_tool = cmsis-dap
|
|
#upload_protocol = cmsis-dap
|
|
#debug_init_break =
|
|
|
|
monitor_raw = yes
|
|
build_flags =
|
|
${common.build_flags}
|
|
build_unflags =
|
|
${common.build_unflags}
|
|
lib_deps =
|
|
${common.lib_deps} |