platformio: switch to rp2040 based board

This commit is contained in:
Sebastian Jaeckel 2024-12-02 13:23:58 +01:00
parent a004929245
commit 9582fbad37
Signed by: wose
GPG key ID: 6124402A3FAA8631

View file

@ -1,11 +1,17 @@
[env:adafruit_qt_py_m0]
platform = atmelsam
board = adafruit_qt_py_m0
[env:rp2040]
framework = arduino
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#60d6ae8
platform_packages = framework-arduinopico @ https://github.com/earlephilhower/arduino-pico/releases/download/3.9.3/rp2040-3.9.3.zip
board_build.core = earlephilhower
board = waveshare_rp2040_zero
lib_ldf_mode = deep+
build_flags =
-D MASK_VERSION=0x07B0
-D KNX_NO_SPI
-DKNX_FLASH_SIZE=4096
-DKNX_LED=10
-D PIO_FRAMEWORK_ARDUINO_ENABLE_RTTI
-Wno-unknown-pragmas
lib_deps =