Esp32 compatibility (#145)
* esp32 init * RF gateway ok with ESP32 * correct IR gateway compilation errors and test RF2 ok * divide config per board type * update test file according user_config * differentiate variable type following IR libraries aka platforms * implement BLE beacons detection with ESP32 * Implement multitasking on BLE gateway * Library add and change core assignement * change core assignement for BLE * add mi flora value readings with ESP32 * adding some traces and removing unecessary comment * correct compilation error due to pin assignement * correct temperature float value and wrong mac adress rssi publishing * add esp32 to CI * correct esp32 ide retrieving * correcting paths * CI: correct architecture * libraries update (irremote) and overwrite ble library files
This commit is contained in:
1 parent
15cea6b222
commit
7c6e0ccf61
19 files changed
+319
-101
No files matched your search
+13
-1
@@ -57,6 +57,15 @@
|
||||
#define IR_SAMSUNG
|
||||
#define IR_PANASONIC
|
||||
#define IR_RCMM
|
||||
#elif ESP32
|
||||
#define IR_Raw
|
||||
#define IR_COOLIX
|
||||
#define IR_Whynter
|
||||
#define IR_LG
|
||||
#define IR_DISH
|
||||
#define IR_RC5
|
||||
#define IR_Sharp
|
||||
#define IR_SAMSUNG
|
||||
#else //IR supported protocols on arduino uncomment if you want to send with this protocol, NEC protocol is available per default
|
||||
//#define IR_COOLIX
|
||||
//#define IR_Whynter
|
||||
@@ -74,8 +83,11 @@
|
||||
#ifdef ESP8266
|
||||
#define IR_RECEIVER_PIN 2
|
||||
#define IR_EMITTER_PIN 16
|
||||
#elif ESP32
|
||||
#define IR_RECEIVER_PIN 27
|
||||
#define IR_EMITTER_PIN 14
|
||||
#else
|
||||
#define IR_RECEIVER_PIN 0 // 0 = D2 on arduino
|
||||
#define IR_EMITTER_PIN D9
|
||||
#define IR_EMITTER_PIN 9
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user