From c53d2cbb3d53009e255835b30bbe1de156b8af5e Mon Sep 17 00:00:00 2001 From: Scott Price Date: Sat, 5 May 2018 15:32:20 -0500 Subject: [PATCH] The '-' (dash) has been changed to '_' (underscore) in the macro names. (#82) --- boards/esp32-evb.json | 2 +- boards/esp32-gateway.json | 2 +- boards/esp32vn-iot-uno.json | 2 +- boards/m5stack-core-esp32.json | 2 +- boards/nodemcu-32s.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/boards/esp32-evb.json b/boards/esp32-evb.json index 8c75e18..4d546cb 100644 --- a/boards/esp32-evb.json +++ b/boards/esp32-evb.json @@ -1,7 +1,7 @@ { "build": { "core": "esp32", - "extra_flags": "-DARDUINO_ESP32-EVB", + "extra_flags": "-DARDUINO_ESP32_EVB", "f_cpu": "240000000L", "f_flash": "40000000L", "flash_mode": "dio", diff --git a/boards/esp32-gateway.json b/boards/esp32-gateway.json index 6a5f038..d88afff 100644 --- a/boards/esp32-gateway.json +++ b/boards/esp32-gateway.json @@ -1,7 +1,7 @@ { "build": { "core": "esp32", - "extra_flags": "-DARDUINO_ESP32-GATEWAY", + "extra_flags": "-DARDUINO_ESP32_GATEWAY", "f_cpu": "240000000L", "f_flash": "40000000L", "flash_mode": "dio", diff --git a/boards/esp32vn-iot-uno.json b/boards/esp32vn-iot-uno.json index 2af96b9..58cfbf9 100644 --- a/boards/esp32vn-iot-uno.json +++ b/boards/esp32vn-iot-uno.json @@ -1,7 +1,7 @@ { "build": { "core": "esp32", - "extra_flags": "-DARDUINO_esp32vn-iot-uno", + "extra_flags": "-DARDUINO_esp32vn_iot_uno", "f_cpu": "240000000L", "f_flash": "40000000L", "flash_mode": "dio", diff --git a/boards/m5stack-core-esp32.json b/boards/m5stack-core-esp32.json index 84313d8..cdb7b97 100644 --- a/boards/m5stack-core-esp32.json +++ b/boards/m5stack-core-esp32.json @@ -1,7 +1,7 @@ { "build": { "core": "esp32", - "extra_flags": "-DARDUINO_M5Stack-Core-ESP32", + "extra_flags": "-DARDUINO_M5Stack_Core_ESP32", "f_cpu": "240000000L", "f_flash": "40000000L", "flash_mode": "dio", diff --git a/boards/nodemcu-32s.json b/boards/nodemcu-32s.json index 3031a50..e3825e3 100644 --- a/boards/nodemcu-32s.json +++ b/boards/nodemcu-32s.json @@ -1,7 +1,7 @@ { "build": { "core": "esp32", - "extra_flags": "-DARDUINO_NodeMCU-32S", + "extra_flags": "-DARDUINO_NodeMCU_32S", "f_cpu": "240000000L", "f_flash": "40000000L", "flash_mode": "dio",