Fix library ARCH issues

stm32duino / Arduino_Core_STM32 can't be compiled with Arduino Bridge/Ethernet/WiFi libraries.
This commit is contained in:
fauresystems
2020-06-26 19:02:05 +02:00
parent f8729135b3
commit 10a766453f
16 changed files with 63 additions and 16 deletions
@@ -1,3 +1,4 @@
/* BlinkOnBridgeProp.ino
MIT License (c) Faure Systems <dev at faure dot systems>
@@ -14,9 +14,10 @@
- STM32 Nucleo-144 borads require: STM32duino LwIP and STM32duino STM32Ethernet libraries
*/
#if defined(ARDUINO_ARCH_STM32)
#include <LwIP.h>
#include <STM32Ethernet.h>
#include "Stm32Nucleo144Prop.h"
//#include "Stm32Nucleo144Prop.h"
#include "ArduinoProps.h"
#include "Stm32Millis.h"
extern Stm32MillisClass Stm32Millis;
@@ -119,3 +120,4 @@ void InboxMessage::run(String a) {
prop.sendOmit(a);
}
}
#endif