Add devkit boards

This commit is contained in:
Atle Johansen
2020-04-30 18:28:12 +02:00
parent 719ed56e21
commit a78fdc0b59
2 changed files with 26 additions and 0 deletions

View File

@@ -56,6 +56,14 @@ SoftwareSerial *hanSerial = new SoftwareSerial(D1);
HardwareSerial *hanSerial = &Serial2;
// Build settings for AZ-Delivery ESP-32 DevKitC V4 and DOIT DevKit V1
#elif defined(ARDUINO_ESP32_DEV)
#define LED_PIN 2 // external 2 for V4 , 2 for doit v1
#define LED_ACTIVE_HIGH 1
#define AP_BUTTON_PIN 0
HardwareSerial *hanSerial = &Serial2; // use gpio 16 for rx2
// Default build for ESP32
#elif defined(ESP32)
#define LED_PIN INVALID_BUTTON_PIN