File tree Expand file tree Collapse file tree
examples/knx-demo-coupler Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414; --- ESP32 -----------------------------------------------
1515[env:esp32dev_ip_tp]
16- platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20 /platform-espressif32.zip
16+ platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2 /platform-espressif32.zip
1717board = esp32dev
1818framework = arduino
1919lib_deps =
@@ -29,8 +29,8 @@ build_flags =
2929 ; --- RP2040 -----------------------------------------------
3030[env:rp2040]
3131framework = arduino
32- platform = https://github.com/maxgerhardt/platform-raspberrypi.git# e89b79e
33- platform_packages = framework-arduinopico @ https://github.com/earlephilhower/arduino-pico/releases/download/4. 5.4/rp2040-4. 5.4.zip
32+ platform = https://github.com/maxgerhardt/platform-raspberrypi.git# 22a4cc6
33+ platform_packages = framework-arduinopico @ https://github.com/earlephilhower/arduino-pico/releases/download/5.4.1 /rp2040-5.4.1 .zip
3434board = rpipico
3535board_build.core = earlephilhower
3636
@@ -45,4 +45,11 @@ build_flags =
4545 -DMASK_VERSION =0x091A
4646 -DKNX_FLASH_SIZE =4096
4747 -D PIO_FRAMEWORK_ARDUINO_ENABLE_RTTI
48- -Wno-unknown-pragmas
48+ -Wno-unknown-pragmas
49+
50+ ; --- RP2040 -----------------------------------------------
51+ [env:rp2040_tunneling]
52+ extends = rp2040
53+ build_flags =
54+ ${rp2040.build_flags}
55+ -DKNX_TUNNELING =16
Original file line number Diff line number Diff line change @@ -167,7 +167,9 @@ void Bau091A::loop()
167167 _dlLayerPrimary.loop ();
168168 _dlLayerSecondary.loop ();
169169 BauSystemBCoupler::loop ();
170+ #ifdef KNX_TUNNELING
170171 _ipTunnelServer.loop ();
172+ #endif
171173}
172174
173175TPAckType Bau091A::isAckRequired (uint16_t address, bool isGrpAddr)
You can’t perform that action at this time.
0 commit comments