added ESP32 platform (#30)

* added ESP32 platform

* fixed typo in comments
This commit is contained in:
Fabian Schmieder
2019-08-26 13:45:14 +02:00
committed by thelsing
parent 2b7e24cab0
commit 14d2da82f1
6 changed files with 392 additions and 2 deletions

View File

@@ -7,6 +7,8 @@ KnxFacade<SamdPlatform, Bau07B0> knx;
#define ICACHE_RAM_ATTR
#elif ARDUINO_ARCH_ESP8266
KnxFacade<EspPlatform, Bau57B0> knx;
#elif ARDUINO_ARCH_ESP32
KnxFacade<Esp32Platform, Bau57B0> knx;
#elif __linux__
#define ICACHE_RAM_ATTR
#endif
@@ -15,5 +17,5 @@ ICACHE_RAM_ATTR void buttonUp()
{
#ifndef __linux__
knx._toogleProgMode = true;
#endif
#endif
}