mirror of
https://github.com/thelsing/knx.git
synced 2025-08-17 13:47:28 +02:00
Fix missing changes
This commit is contained in:
parent
15ca935092
commit
e091ef6536
@ -14,7 +14,7 @@
|
||||
|
||||
#elif ARDUINO_ARCH_ESP8266
|
||||
// predefined global instance for IP only
|
||||
#if MASK_VERSION == 0x07B0
|
||||
#if MASK_VERSION == 0x57B0
|
||||
KnxFacade<EspPlatform, Bau57B0> knx;
|
||||
#else
|
||||
#error Mask version not supported on ARDUINO_ARCH_ESP8266
|
||||
|
@ -319,36 +319,36 @@ template <class P, class B> class KnxFacade : private SaveRestore
|
||||
|
||||
#ifdef ARDUINO_ARCH_SAMD
|
||||
// predefined global instance for TP or RF
|
||||
#ifdef MEDIUM_TYPE
|
||||
#if MEDIUM_TYPE == 0
|
||||
#if MASK_VERSION == 0x07B0
|
||||
extern KnxFacade<SamdPlatform, Bau07B0> knx;
|
||||
#elif MEDIUM_TYPE == 2
|
||||
#elif MASK_VERSION == 0x27B0
|
||||
extern KnxFacade<SamdPlatform, Bau27B0> knx;
|
||||
#else
|
||||
#error "Only TP and RF supported for Arduino SAMD platform!"
|
||||
#endif
|
||||
#else
|
||||
#error "No medium type specified for Arduino_SAMD platform! Please set MEDIUM_TYPE! (TP:0, RF:2, IP:5)"
|
||||
#error "Mask version not supported on ARDUINO_ARCH_SAMD"
|
||||
#endif
|
||||
#elif ARDUINO_ARCH_ESP8266
|
||||
// predefined global instance for IP only
|
||||
#if MASK_VERSION == 0x57B0
|
||||
extern KnxFacade<EspPlatform, Bau57B0> knx;
|
||||
#else
|
||||
#error "Mask version not supported on ARDUINO_ARCH_ESP8266"
|
||||
#endif
|
||||
#elif ARDUINO_ARCH_ESP32
|
||||
// predefined global instance for TP or IP
|
||||
#ifdef MEDIUM_TYPE
|
||||
#if MEDIUM_TYPE == 0
|
||||
#if MASK_VERSION == 0x07B0
|
||||
extern KnxFacade<Esp32Platform, Bau07B0> knx;
|
||||
#elif MEDIUM_TYPE == 5
|
||||
#elif MASK_VERSION == 0x57B0
|
||||
extern KnxFacade<Esp32Platform, Bau57B0> knx;
|
||||
#else
|
||||
#error "Only TP and IP supported for Arduino ESP32 platform!"
|
||||
#endif
|
||||
#else
|
||||
#error "No medium type specified for Arduino ESP32 platform! Please set MEDIUM_TYPE! (TP:0, RF:2, IP:5)"
|
||||
#error "Mask version not supported on ARDUINO_ARCH_ESP32"
|
||||
#endif
|
||||
#elif ARDUINO_ARCH_STM32
|
||||
// predefined global instance for TP only
|
||||
#if MASK_VERSION == 0x07B0
|
||||
extern KnxFacade<Stm32Platform, Bau07B0> knx;
|
||||
#else
|
||||
#error Mask version not supported on ARDUINO_ARCH_STM32
|
||||
#endif
|
||||
#elif __linux__
|
||||
// no predefined global instance
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user