mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
Merge pull request #21 from OpenKNX/features/add_rp2040_to_demo
add rp2040 to knx-demo example
This commit is contained in:
commit
7cbc0d8fff
@ -79,3 +79,20 @@ build_flags =
|
|||||||
-DMASK_VERSION=0x07B0
|
-DMASK_VERSION=0x07B0
|
||||||
-Wno-unknown-pragmas
|
-Wno-unknown-pragmas
|
||||||
-DUSE_DATASECURE
|
-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
|
||||||
|
|
||||||
|
build_flags =
|
||||||
|
-DMASK_VERSION=0x07B0
|
||||||
|
-DKNX_FLASH_SIZE=4096
|
||||||
|
-D PIO_FRAMEWORK_ARDUINO_ENABLE_RTTI
|
||||||
|
-Wno-unknown-pragmas
|
||||||
|
@ -146,3 +146,26 @@ build_flags =
|
|||||||
-Wno-unknown-pragmas
|
-Wno-unknown-pragmas
|
||||||
|
|
||||||
extra_scripts = ../scripts/stm32rdu.py
|
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_deps =
|
||||||
|
knx=file://../../../knx
|
||||||
|
|
||||||
|
lib_ldf_mode = deep+
|
||||||
|
|
||||||
|
build_flags =
|
||||||
|
-DMASK_VERSION=0x07B0
|
||||||
|
-DKNX_FLASH_SIZE=4096
|
||||||
|
-D PIO_FRAMEWORK_ARDUINO_ENABLE_RTTI
|
||||||
|
-Wno-unknown-pragmas
|
Loading…
Reference in New Issue
Block a user