Add ESP32 WiFi interface (#11209)

This commit is contained in:
Hadrien Jouet
2019-03-12 22:48:08 -07:00
committed by Scott Lahteine
parent c03df89921
commit 0278ad0a6d
93 changed files with 915 additions and 22 deletions

View File

@ -47,14 +47,17 @@
#include "HAL_timers_ESP32.h"
#include "WebSocketSerial.h"
// --------------------------------------------------------------------------
// Defines
// --------------------------------------------------------------------------
extern portMUX_TYPE spinlock;
#define NUM_SERIAL 1
#define NUM_SERIAL 2
#define MYSERIAL0 Serial
#define MYSERIAL1 webSocketSerial
#define CRITICAL_SECTION_START portENTER_CRITICAL(&spinlock)
#define CRITICAL_SECTION_END portEXIT_CRITICAL(&spinlock)