Added an environment for pico using HW serial

I wasn't sure how to compile with or without
HW serial support, so I duplicated the "pico"
environment and added a -D HW_SERIAL
This commit is contained in:
Richard Bowman 2023-02-13 15:18:16 +00:00
parent 84b06972fc
commit ce762bdb60
2 changed files with 11 additions and 1 deletions

View file

@ -64,6 +64,14 @@ build_flags = -D MCU_ESP32
monitor_filters = esp32_exception_decoder
build_type = debug
[env:picohw]
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 -D HW_SERIAL
[env:pico]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico