smarques7 / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 1 forks source link

Allow specification of a different processors for compilation and uploading. #1032

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What change would like to see?

The ability for the boards.txt file to specify two separate processors, one for 
compilation and one for uploading. In particular, the ATmega328 isn't supported 
by the AVR toolchain currently in Arduino. We can tell the compiler we're using 
an ATmega328P since they should generate identical binaries, but we need to 
tell avrdude that it's an ATmega328. We'll also want to solve issue 930. 

Why?

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?

Original issue reported on code.google.com by dmel...@gmail.com on 4 Sep 2012 at 7:46

GoogleCodeExporter commented 9 years ago
Doesn't boards.txt reflect Boards? None of the boards listed in the Apr 8 18:02 
version (is that the last?) seems to use the ATmega328.

With the proliferation of boards perhaps a better solution is to have the IDE 
permit selection of boards from the boards.txt file in the current sketch 
directory.

Original comment by jaguar3s...@gmail.com on 4 Sep 2012 at 8:37