提交 25678f47 编写于 作者: P per1234 提交者: Me No Dev

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:

<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 _.
上级 f5246cf4
...@@ -1048,7 +1048,7 @@ esp32vn-iot-uno.serial.disableRTS=true ...@@ -1048,7 +1048,7 @@ esp32vn-iot-uno.serial.disableRTS=true
esp32vn-iot-uno.build.mcu=esp32 esp32vn-iot-uno.build.mcu=esp32
esp32vn-iot-uno.build.core=esp32 esp32vn-iot-uno.build.core=esp32
esp32vn-iot-uno.build.variant=esp32vn-iot-uno 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.f_cpu=240000000L
esp32vn-iot-uno.build.flash_mode=dio esp32vn-iot-uno.build.flash_mode=dio
...@@ -1145,7 +1145,7 @@ esp32-evb.serial.disableRTS=true ...@@ -1145,7 +1145,7 @@ esp32-evb.serial.disableRTS=true
esp32-evb.build.mcu=esp32 esp32-evb.build.mcu=esp32
esp32-evb.build.core=esp32 esp32-evb.build.core=esp32
esp32-evb.build.variant=esp32-evb 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.f_cpu=240000000L
esp32-evb.build.flash_mode=dio esp32-evb.build.flash_mode=dio
...@@ -1177,7 +1177,7 @@ esp32-gateway.serial.disableRTS=true ...@@ -1177,7 +1177,7 @@ esp32-gateway.serial.disableRTS=true
esp32-gateway.build.mcu=esp32 esp32-gateway.build.mcu=esp32
esp32-gateway.build.core=esp32 esp32-gateway.build.core=esp32
esp32-gateway.build.variant=esp32-gateway 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.f_cpu=240000000L
esp32-gateway.build.flash_mode=dio esp32-gateway.build.flash_mode=dio
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册