Skip to content

Commit f06ff26

Browse files
per1234Curclamas
authored andcommitted
Convert - to _ in build.board names (espressif#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: <command-line>:0:14: warning: ISO C++11 requires whitespace after the macro name <command-line>: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 _.
1 parent 4d2ad8f commit f06ff26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: boards.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ esp32vn-iot-uno.serial.disableRTS=true
10481048
esp32vn-iot-uno.build.mcu=esp32
10491049
esp32vn-iot-uno.build.core=esp32
10501050
esp32vn-iot-uno.build.variant=esp32vn-iot-uno
1051-
esp32vn-iot-uno.build.board=esp32vn-iot-uno
1051+
esp32vn-iot-uno.build.board=esp32vn_iot_uno
10521052

10531053
esp32vn-iot-uno.build.f_cpu=240000000L
10541054
esp32vn-iot-uno.build.flash_mode=dio
@@ -1145,7 +1145,7 @@ esp32-evb.serial.disableRTS=true
11451145
esp32-evb.build.mcu=esp32
11461146
esp32-evb.build.core=esp32
11471147
esp32-evb.build.variant=esp32-evb
1148-
esp32-evb.build.board=ESP32-EVB
1148+
esp32-evb.build.board=ESP32_EVB
11491149

11501150
esp32-evb.build.f_cpu=240000000L
11511151
esp32-evb.build.flash_mode=dio
@@ -1177,7 +1177,7 @@ esp32-gateway.serial.disableRTS=true
11771177
esp32-gateway.build.mcu=esp32
11781178
esp32-gateway.build.core=esp32
11791179
esp32-gateway.build.variant=esp32-gateway
1180-
esp32-gateway.build.board=ESP32-GATEWAY
1180+
esp32-gateway.build.board=ESP32_GATEWAY
11811181

11821182
esp32-gateway.build.f_cpu=240000000L
11831183
esp32-gateway.build.flash_mode=dio

0 commit comments

Comments
 (0)