From 25678f47aa66c135abef26d8288c6674481996ee Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 14 May 2018 04:09:25 -0700 Subject: [PATCH] Convert - to _ in build.board names (#1341) build.board is used to define a macro but - is not a permitted character in macro names. This causes the macro name to actually be only everything up to the first - and also many warnings when compiling for one of these boards: :0:14: warning: ISO C++11 requires whitespace after the macro name :0:14: warning: ISO C99 requires whitespace after the macro name I have followed the convention of the other build.board names by replacing - with _. --- boards.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards.txt b/boards.txt index c9206315..3766ea86 100644 --- a/boards.txt +++ b/boards.txt @@ -1048,7 +1048,7 @@ esp32vn-iot-uno.serial.disableRTS=true esp32vn-iot-uno.build.mcu=esp32 esp32vn-iot-uno.build.core=esp32 esp32vn-iot-uno.build.variant=esp32vn-iot-uno -esp32vn-iot-uno.build.board=esp32vn-iot-uno +esp32vn-iot-uno.build.board=esp32vn_iot_uno esp32vn-iot-uno.build.f_cpu=240000000L esp32vn-iot-uno.build.flash_mode=dio @@ -1145,7 +1145,7 @@ esp32-evb.serial.disableRTS=true esp32-evb.build.mcu=esp32 esp32-evb.build.core=esp32 esp32-evb.build.variant=esp32-evb -esp32-evb.build.board=ESP32-EVB +esp32-evb.build.board=ESP32_EVB esp32-evb.build.f_cpu=240000000L esp32-evb.build.flash_mode=dio @@ -1177,7 +1177,7 @@ esp32-gateway.serial.disableRTS=true esp32-gateway.build.mcu=esp32 esp32-gateway.build.core=esp32 esp32-gateway.build.variant=esp32-gateway -esp32-gateway.build.board=ESP32-GATEWAY +esp32-gateway.build.board=ESP32_GATEWAY esp32-gateway.build.f_cpu=240000000L esp32-gateway.build.flash_mode=dio