Illumination support, change core, breaks hw serial

HW serial temporarily broken due to the change in pico core. This core
has a lot more features e.g. easily changing PWM frequency and supports
both pico cores (currently unused)
This commit is contained in:
Filip Ayazi 2022-10-06 23:04:59 +01:00
parent fde7a90480
commit 351e5a6b7a
6 changed files with 102 additions and 20 deletions

View file

@ -31,10 +31,11 @@ board = leonardo
monitor_speed = 115200
build_flags = -D MCU_LEONARDO
[env:pico]
platform = raspberrypi
board = pico
build_flags = -D MCU_PICO
;[env:pico]
;platform = raspberrypi
;board = pico
;build_flags = -D MCU_PICO
;upload_port = /media/filip/RPI-RP2
[env:bluepill]
platform = ststm32
@ -54,4 +55,13 @@ build_flags =
platform = espressif32
board = esp-wrover-kit
build_flags = -D MCU_ESP32
monitor_filters = esp32_exception_decoder
monitor_filters = esp32_exception_decoder
build_type = debug
[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower
upload_port = /media/filip/RPI-RP2
build_flags = -D MCU_PICO