[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/


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[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:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[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/avr/lib/avrxmega3/attiny1614'
/local/gnu/install/gcc-8/bin/avr-gcc -DHAVE_CONFIG_H -I.
-I../../../../../../source/avrlibc-trunk/avr/lib/avrxmega3/attiny1614
-I../../../..  -I../../../../../../source/avrlibc-trunk/common
-I../../../../../../source/avrlibc-trunk/include -I../../../../include  -Wall
-W -Wstrict-prototypes -mmcu=attiny1614  -mcall-prologues -Os  -MT
eewr_block_xmega.o -MD -MP -MF .deps/eewr_block_xmega.Tpo -c -o
eewr_block_xmega.o
../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c
../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c: In
function 'eeprom_write_page':
../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:26:13:
error: 'NVM' undeclared (first use in this function)
   } while ((NVM.STATUS & NVM_NVMBUSY_bm) == NVM_NVMBUSY_bm);
 ^~~
../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:26:13:
note: each undeclared identifier is reported only once for each function it
appears in
../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:26:26:
error: 'NVM_NVMBUSY_bm' undeclared (first use in this function); did you mean
'RTC_CMPBUSY_bm'?
   } while ((NVM.STATUS & NVM_NVMBUSY_bm) == NVM_NVMBUSY_bm);
  ^~
  RTC_CMPBUSY_bm
../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:58:13:
error: 'NVM_CMD_ERASE_WRITE_EEPROM_PAGE_gc' undeclared (first use in this
function)
   NVM.CMD = NVM_CMD_ERASE_WRITE_EEPROM_PAGE_gc;
 ^~
../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:59:29:
error: 'NVM_CMDEX_bm' undeclared (first use in this function); did you mean
'TCD_CMPDEN_bm'?
   ccp_write_io (, NVM_CMDEX_bm);
 ^~~~
 TCD_CMPDEN_bm
Makefile:632: recipe for target 'eewr_block_xmega.o' failed
--

Notice that avr-gcc defines AVR_XMEGA for these devices (in case that
matters).

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[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:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[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:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [patch #9405] Add ISR_NOGCCISR macro to avr/interrupt.h

2018-01-17 Thread Georg-Johann Lay
Follow-up Comment #1, patch #9405 (project avr-libc):

Ping #1

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [patch #9416] AVR_TINY: Avoid conatraint "w" in delay.h

2018-01-17 Thread Georg-Johann Lay
Follow-up Comment #1, patch #9416 (project avr-libc):

Ping #1

___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[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 and leave it out
of the patch.


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[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 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

* This patch adds support for avrxmega3 devices already supported by latest
gcc8 compiler:

attiny1614, attiny1616, attiny1617, attiny212, attiny214, 
attiny3214, attiny3216, attiny3217, attiny412, attiny414, 
attiny416, attiny417, attiny814, attiny816, attiny817 .

* New files:

  - attinny*.S are generated from latest Atmel.ATtiny_DFP.1.3.169.atpack.zip
.xml (.atdf) files.

  - iotn*.h are from latest
avr8-gnu-toolchain-osx-3.6.1.495-darwin.any.x86_64.tar.gz (
http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/3.6.1/ ).

  - ChangeLog-2017

* Changed files:
   - include/avr/io.h
   - include/avr/Makefile.am
   - devtools/generate_iosym.sh
   - devtools/gen-avr-lib-tree.sh
   - avr-libc/configure.ac
   - ChangeLog




___

File Attachments:


---
Date: Wed 17 Jan 2018 03:29:03 PM UTC  Name: avrxmega3.patch.bz2  Size: 285KiB
  By: cbalint
Add avrxmega3 devices.


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev