[patch #9543] Add avrxmega3 devices.

2021-11-23 Thread Balint Cristian
Follow-up Comment #34, patch #9543 (project avr-libc): Updated avrxmega3-v12.diff.xz: * Update wdt.h, sleep.h (based on avr8-toolchain-3.6.2.1778). Thanks, ~Cristian. ___ Reply to this item at:

[patch #9543] Add avrxmega3 devices.

2021-11-23 Thread Balint Cristian
Additional Item Attachment, patch #9543 (project avr-libc): File name: avrxmega3-v12.diff.xz Size:92 KB ___ Reply to this item at:

[patch #9543] Add avrxmega3 devices.

2021-11-23 Thread Joel Holdsworth
Follow-up Comment #33, patch #9543 (project avr-libc): wdt.h seems to have some issues that need fixing up. The wdt_enable() and wdt_disable() macros seem are completely inapplicable to the ATtiny416. There seem to be similar issues in sleep.h

[patch #9543] Add avrxmega3 devices.

2021-11-16 Thread Balint Cristian
Additional Item Attachment, patch #9543 (project avr-libc): File name: avrxmega3-v11.diff.xz Size:91 KB ___ Reply to this item at:

[patch #9543] Add avrxmega3 devices.

2021-11-16 Thread Balint Cristian
Follow-up Comment #32, patch #9543 (project avr-libc): Updated avrxmega3-v11.diff.xz with latest AVR8X devices. Rebased on latest *.ATDF (AVR8X only entries): Atmel.ATtiny_DFP.1.10.348.atpack Atmel.ATmega_DFP.1.7.374.atpack Header generator error fixed for DWORD types (size=4). Add FUSEL

[patch #9543] Add avrxmega3 devices.

2021-11-16 Thread Joel Holdsworth
Follow-up Comment #31, patch #9543 (project avr-libc): Is it possible to cut the Gordian knot? This patch applies cleanly and works perfectly - as far as I can tell from my testing. I see no reason why it's necessary for it to be tangled up with these other long-standing issues. I would imagine th

[patch #9543] Add avrxmega3 devices.

2021-11-15 Thread Joel Holdsworth
Follow-up Comment #30, patch #9543 (project avr-libc): What would it take to get all these changes merged? ___ Reply to this item at: ___ Message se

[patch #9543] Add avrxmega3 devices.

2021-11-15 Thread Georg-Johann Lay
Follow-up Comment #29, patch #9543 (project avr-libc): This patch is best integrated after the changes from https://savannah.nongnu.org/bugs/?49567 and https://savannah.nongnu.org/bugs/?57071 which will greatly reduce the number of conflicts.

[patch #9543] Add avrxmega3 devices.

2021-11-15 Thread Joel Holdsworth
Follow-up Comment #28, patch #9543 (project avr-libc): Can we have this patch integrated and released? I have used it for a complex project on the ATtiny416, and have found no issues. ___ Reply to this item at:

[patch #9543] Add avrxmega3 devices.

2020-12-01 Thread Balint Cristian
Follow-up Comment #27, patch #9543 (project avr-libc): [comment #26 comment #26:] > Great work all. As I am not so knowlegable@Linux, it took me a while to get that running, lots of compile problems, try and error, so I wanted to share what finally worked for me. > Thank you Wasti ! One issue a

[patch #9543] Add avrxmega3 devices.

2020-12-01 Thread wasti
Follow-up Comment #26, patch #9543 (project avr-libc): Great work all. As I am not so knowlegable@Linux, it took me a while to get that running, lots of compile problems, try and error, so I wanted to share what finally worked for me. # Other than in the manual below, I did install everything int

[patch #9543] Add avrxmega3 devices.

2020-11-08 Thread Tom Li
Follow-up Comment #25, patch #9543 (project avr-libc): [comment #22 comment #22:] > When I attempt to apply any of them to libc-2.0.0, I get lots of complaints about missing files, e.g. "devtools/generate_iosym.sh". That file doesn't exist in libc-1.8.1 either. Same problem here. It says "devtool

[patch #9543] Add avrxmega3 devices.

2020-04-30 Thread Balint Cristian
Follow-up Comment #24, patch #9543 (project avr-libc): * Updated avrxmega3-v10.diff.xz with latest AVR8X devices. * Rebased on *.ATDF (AVR8X only) from latest: Atmel.ATtiny_DFP.1.4.310.atpack Atmel.ATmega_DFP.1.4.351.atpack * Header generator updated to python3 * Update FUSE generation i

[patch #9543] Add avrxmega3 devices.

2020-04-30 Thread Balint Cristian
Follow-up Comment #23, patch #9543 (project avr-libc): [comment #22 comment #22:] > I would like to use those new ATtiny devices. It would be great if those newer devices were supported, and I am willing to help with that. > People here seem to have successfully used the patches here, but I seem

[patch #9543] Add avrxmega3 devices.

2020-04-30 Thread Balint Cristian
Additional Item Attachment, patch #9543 (project avr-libc): File name: avrxmega3-v10.diff.xz Size:78 KB ___ Reply to this item at:

Re: [patch #9543] Add avrxmega3 devices.

2020-04-22 Thread Cristian Balint
Be back with updated patch new dev support. Need to rewrite generator in py3 for that. Will also include a doc with the steps. On Wed, 22 Apr 2020, 15:46 Yves Delley, wrote: > Follow-up Comment #22, patch #9543 (project avr-libc): > > I would like to use those new ATtiny devices. It would be gr

[patch #9543] Add avrxmega3 devices.

2020-04-22 Thread Yves Delley
Follow-up Comment #22, patch #9543 (project avr-libc): I would like to use those new ATtiny devices. It would be great if those newer devices were supported, and I am willing to help with that. People here seem to have successfully used the patches here, but I seem unable to find where to apply th

[patch #9543] Add avrxmega3 devices.

2019-11-18 Thread Georg-Johann Lay
Follow-up Comment #21, patch #9543 (project avr-libc): FYI, support for devices from the 0-series like ATmega4808 (also filed under avrxmega3) has been added to avr-gcc: https://gcc.gnu.org/PR92545 ___ Reply to this item at:

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

2019-03-12 Thread Paul Evans
Follow-up Comment #20, patch #9543 (project avr-libc): I too have successfully used this patch to add support for ATtiny814 to my avr-libc. Can it be considered for mainline merging sometime please? This would help improve the uptake of these new chips. ___

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

2019-02-21 Thread Sven
Follow-up Comment #19, patch #9543 (project avr-libc): I have successfully used this patch with the ATtiny817 which works well. Are there concrete plans to get this merged? Thanks, Sven ___ Reply to this item at:

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

2018-12-25 Thread Balint Cristian
Follow-up Comment #18, patch #9543 (project avr-libc): * Updated avrxmega3-v9.diff.bz2 with latest AVR8X devices. * Rebased on .ATDF from latest Atmel.ATtiny_DFP.1.3.229.atpack The python header generator still generate 1:1 as upstream. Validated against latest (9/28/2018) avr8-gnu-toolchain-3.6.

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

2018-12-25 Thread Balint Cristian
Additional Item Attachment, patch #9543 (project avr-libc): File name: avrxmega3-v9.diff.bz2 Size:454 KB ___ Reply to this item at: ___ Me

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

2018-07-01 Thread Balint Cristian
Follow-up Comment #17, patch #9543 (project avr-libc): * Updated avrxmega3-v8.diff.bz2 with latest AVR8X devices. * Rebased on .ATDF from latest Atmel.ATtiny_DFP.1.3.172.atpack.zip (file #44476) ___ Additional Item Attachment: File nam

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

2018-03-31 Thread jan de kruyf
Follow-up Comment #16, patch #9543 (project avr-libc): Cristian, That compiles fine but for some warnings. Unfortunately I am not in a position to test the set up. I am building an Ada toolchain. I guess little of this stuff will be used, since I make Ada spec files with the MCU specifics. But if

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

2018-03-30 Thread Balint Cristian
Follow-up Comment #15, patch #9543 (project avr-libc): Jan, * Can try v7 of patch ? I missed a # sign in header generator, included a fix for generator and also reincluded generated header files. It was my mistake during assamble of V6 patch. __

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

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

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

2018-03-30 Thread jan de kruyf
Follow-up Comment #14, patch #9543 (project avr-libc): Cristian, hello. I just tried to compile avr-libc svn2546 with patches from avrxmega3-v6.diff.bz2. compiler gcc8.0.1 built for avr. I get some errors which are at least partly from this patch. I did not get any strange messages before this j

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

2018-01-23 Thread Balint Cristian
Follow-up Comment #13, patch #9543 (project avr-libc): The avrxmega3-v6.diff.bz2 includes a ATDF parser for AVR8X. - The new parser addition does: * Generates iotn*.h just from atdf schema. * Parse only AVR8X family types (constrained in script). * Adds few alieases (hardcoded) as older coding-s

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

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

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

2018-01-19 Thread Joerg Wunsch
Follow-up Comment #12, patch #9543 (project avr-libc): Mixing the licenses is doable, it's just a little cumbersome since we need to LICENSE documents then at the toplevel. If #b is not too much work, it would be my personally preferred solution, as it makes us completely independent from Microch

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

2018-01-19 Thread Balint Cristian
Follow-up Comment #11, patch #9543 (project avr-libc): * The Apache license on io*.h might expose a problem. - Some possible solutions. a) Mchip/Atmel right now mixes BSD+Apache in their packages, so avr-libc could do it too ? (not a lawyer). b) Make new headers from scratch based from d

[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

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

2018-01-17 Thread Balint Cristian
Follow-up Comment #5, patch #9543 (project avr-libc): * Compiles with avrxmega3-v3.patch.bz2 . + Backports changes from Atmel 3.6.1 [1] toolchain: - eedef.h - eewr_block_xmega.c - eewr_byte.S [1] http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/3.6.1/ _

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

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

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

2018-01-17 Thread Georg-Johann Lay
Follow-up Comment #4, patch #9543 (project avr-libc): With that patch, avr-libc fails to build: ++ Making all in avrxmega3 make[4]: Entering directory '/srv/local/gnu/build/avrlibc-trunk/avr/lib/avrxmega3' Making all in attiny1614 make[5]: Entering directory '/srv/local/gnu/build/avrlibc-trunk/av

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

2018-01-17 Thread Balint Cristian
Follow-up Comment #3, patch #9543 (project avr-libc): Johann, Joerg, * Attached avrxmega3-v2.patch.bz2 to add ChangeLog as new file. ___ Reply to this item at: _

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

2018-01-17 Thread Joerg Wunsch
Follow-up Comment #2, patch #9543 (project avr-libc): I agree with Johann's comment regarding ChangeLog, though it's not too hard to simply extract the text from the diff. It might be the first commit in 2018, so it's going to be a completely new ChangeLog file anyway. __

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

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

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

2018-01-17 Thread Georg-Johann Lay
Follow-up Comment #1, patch #9543 (project avr-libc): > Changed files: [...] ChangeLog The delta to ChangeLog is not reasonable, too much lines affected. Usually, ChangeLog is prone to conflicts as each push is touching it; hence it might be more comfortable to supply it as plain text snipped a

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

2018-01-17 Thread Balint Cristian
URL: Summary: Add avrxmega3 devices. Project: AVR C Runtime Library Submitted by: cbalint Submitted on: Wed 17 Jan 2018 03:29:03 PM UTC Category: None Priority: 5 -