1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-09 22:24:14 +03:00

Merge pull request #1814 from HeMan/master

Update for newer avr-gcc. (solves https://github.com/arduino/Arduino/issues/1807)
This commit is contained in:
Cristian Maglie
2014-01-22 00:34:37 -08:00

View File

@@ -547,7 +547,7 @@ public class Compiler implements MessageConsumer {
avrBasePath + "avr-gcc",
"-c", // compile, don't link
"-g", // include debugging info (so errors include line numbers)
"-assembler-with-cpp",
"-x","assembler-with-cpp",
"-mmcu=" + boardPreferences.get("build.mcu"),
"-DF_CPU=" + boardPreferences.get("build.f_cpu"),
"-DARDUINO=" + Base.REVISION,