[avr-libc-dev] [patch #9543] Add avrxmega3 devices.

2018-01-18 Thread Georg-Johann Lay
Follow-up Comment #10, patch #9543 (project avr-libc): Ok, better now. At least the trivial example builds now. Some final notes on xmega.h: Constraint "d" for [ccp_ioreg] resp. [ccp_spm_mask] could be relaxed to the less restrictive "r". And from a strict point of view, both _PROTECTED_WRITE

[avr-libc-dev] [patch #9543] Add avrxmega3 devices.

2018-01-18 Thread Balint Cristian
Follow-up Comment #9, patch #9543 (project avr-libc): Johann, Uploaded avrxmega3-v5.diff.bz2 . * Add _PROTECTED_WRITE_SPM in xmega.h (as per Atmel's upstream 3.6.1). ___ Reply to this item at:

[avr-libc-dev] [patch #9543] Add avrxmega3 devices.

2018-01-18 Thread Balint Cristian
Additional Item Attachment, patch #9543 (project avr-libc): File name: avrxmega3-v5.diff.bz2 Size:284 KB ___ Reply to this item at: ___ Mes

[avr-libc-dev] [patch #9543] Add avrxmega3 devices.

2018-01-18 Thread Georg-Johann Lay
Follow-up Comment #8, patch #9543 (project avr-libc): There must still be missing something, at least _PROTECTED_WRITE_SPM. Apart from a build warning for a missing prototype, it's neither resolved by a macro nor my a symbol: $ echo 'int main(){}' | avr-gcc -xc - -Wl,-u,eeprom_write_block -mmcu

[avr-libc-dev] [patch #9543] Add avrxmega3 devices.

2018-01-18 Thread Balint Cristian
Follow-up Comment #7, patch #9543 (project avr-libc): Johann, - Thank you for the quick review. - I believe your proposed changes are fine. * The task presented here is fairly easy to do, all basic ingredients are Atmel's upstream stuff. Not sure why they are not collaborating with you guys. Th

[avr-libc-dev] [patch #9543] Add avrxmega3 devices.

2018-01-18 Thread Balint Cristian
Additional Item Attachment, patch #9543 (project avr-libc): File name: attiny16161-disasm.txt.bz2 Size:1 KB ___ Reply to this item at: ___ Messa

[avr-libc-dev] [patch #9543] Add avrxmega3 devices.

2018-01-18 Thread Georg-Johann Lay
Follow-up Comment #6, patch #9543 (project avr-libc): Thanks, I can build avr-libc now and a quick test looks good. Regarding the changes to eewr_block_xmega.c, maybe it's clearer to special-case the different NVM flavours instead of #define + #undef + #define chains? I allowed me to attach a re

[avr-libc-dev] [patch #9543] Add avrxmega3 devices.

2018-01-18 Thread Georg-Johann Lay
Additional Item Attachment, patch #9543 (project avr-libc): File name: avrxmega3-v4.diff.bz2 Size:283 KB ___ Reply to this item at: ___ Mes