From 62973977666944ffb3ea65d4a395db8b77302ba0 Mon Sep 17 00:00:00 2001 From: Ing-Dom Date: Sun, 14 Jan 2024 18:48:07 +0100 Subject: [PATCH] adding rp2040 to the ci chain --- examples/knx-demo/platformio-ci.ini | 20 ++++++++++++++++++++ examples/knx-demo/platformio.ini | 24 ++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/examples/knx-demo/platformio-ci.ini b/examples/knx-demo/platformio-ci.ini index 2f0b04cb..6c43bfa1 100644 --- a/examples/knx-demo/platformio-ci.ini +++ b/examples/knx-demo/platformio-ci.ini @@ -79,3 +79,23 @@ build_flags = -DMASK_VERSION=0x07B0 -Wno-unknown-pragmas -DUSE_DATASECURE + + ;--- RP2040 ----------------------------------------------- +[env:rp2040] +framework = arduino +platform = https://github.com/maxgerhardt/platform-raspberrypi.git#182d833 +platform_packages = framework-arduinopico @ https://github.com/earlephilhower/arduino-pico/releases/download/3.6.2/rp2040-3.6.2.zip +board = rpipico +board_build.core = earlephilhower + +lib_deps = + knx + +lib_ldf_mode = deep+ + +build_flags = + -DMASK_VERSION=0x07B0 + -DKNX_FLASH_SIZE=4096 + -D PIO_FRAMEWORK_ARDUINO_ENABLE_RTTI + -Wno-unknown-pragmas + diff --git a/examples/knx-demo/platformio.ini b/examples/knx-demo/platformio.ini index f47cade8..ee95a69f 100644 --- a/examples/knx-demo/platformio.ini +++ b/examples/knx-demo/platformio.ini @@ -146,3 +146,27 @@ build_flags = -Wno-unknown-pragmas extra_scripts = ../scripts/stm32rdu.py + + + +;--- RP2040 ----------------------------------------------- +[env:rp2040] +framework = arduino +platform = https://github.com/maxgerhardt/platform-raspberrypi.git#182d833 +platform_packages = framework-arduinopico @ https://github.com/earlephilhower/arduino-pico/releases/download/3.6.2/rp2040-3.6.2.zip +board = rpipico +board_build.core = earlephilhower +; We consider that the this projects is opened within its project directory +; while working with VS Code. +lib_extra_dirs = ../../../ + +;lib_deps = +; knx + +lib_ldf_mode = deep+ + +build_flags = + -DMASK_VERSION=0x07B0 + -DKNX_FLASH_SIZE=4096 + -D PIO_FRAMEWORK_ARDUINO_ENABLE_RTTI + -Wno-unknown-pragmas