Skip to content

Create_Project

Mike edited this page Jan 9, 2023 · 1 revision

Create Project in PlatformIO

First you need to create a new project with platformio.
Select your board and after creation open the platformio.ini.
Here add the following lines:

board_build.core = earlephilhower
lib_ldf_mode = deep+
lib_deps = https://github.com/thelsing/knx
build_flags = -DPIO_FRAMEWORK_ARDUINO_ENABLE_RTTI
-DLWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS
-DMASK_VERSION=0x07B0

Read more about the Flags here.

Mask Version

In the platformio.ini you have to set a Mask Version (Only if you don't define KNX_NO_AUTOMATIC_GLOBAL_INSTANCE).

VersionMedium
0x07B0TP
0x57B0IP
0x27B0RF
0x091AIP/TP
0x2920TP/RF

Clone this wiki locally