Quote:
How about adding something to the arduino boards.txt? Can you take a look at what chipKit and wiring are doing? Arduino 1.0?
Thanks
In some case i have added new entry on boards.txt to support some strange processor like atmega328 (attention, original chip on arduino uno board is atmega328
P).
This processor is similar to atmega328p but this haven't picopower tecnology , and it doesen't support it's relative functionality.
This is only minor problem, just will not use those features.
But there is an other problem, atmega328 NOT support assembler instruction JMP and CALL, it support only RJUMP and RCALL.
To let avr-g++ successfully compile this chip, it's necessary to add an option to command line . (-mshort-calls)
Arduino ide that does not allow this option too.
This is only an example, more MCU need same tricks, or similar one for a correct compile.
The idea of an editable command line pattern (or better, compile process delegate or customizable plug-in) is for more flexible environment for custom board too (not only for arduino)
I hope to be clear.
Regards.