From 75919f98f46069209297a3532164429a7f5b9dcd Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 20 Apr 2018 14:22:40 -0700 Subject: [PATCH] Convert - to _ in build.board names 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 6a78f4e26c9..209f8c9a167 100644 --- a/boards.txt +++ b/boards.txt @@ -1037,7 +1037,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 @@ -1134,7 +1134,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 @@ -1166,7 +1166,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