diff --git a/platformio.ini b/platformio.ini index 2a3fa20..7034d2a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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 =