1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

BOARDS and ARCH defines from boards.txt

See #308
This commit is contained in:
Cristian Maglie
2013-02-11 19:31:39 +01:00
parent 5cebf99de5
commit e5fa7e8183
5 changed files with 23 additions and 4 deletions

View File

@ -142,6 +142,7 @@ public class Compiler implements MessageConsumer {
p.put("build.path", _buildPath);
p.put("build.project_name", _primaryClassName);
p.put("build.arch", targetPlatform.getName().toUpperCase());
if (!p.containsKey("compiler.path"))
p.put("compiler.path", Base.getAvrBasePath());