Re: [avr-gcc-list] avrxmega7 device-not-found

2015-11-19 Thread Adisak Anusornsrirung
Did you try -mmcu=avrxmega6 avrxmega6 “XMEGA” devices with more than 128 KiB of program memory. mcu = atxmega128a3, atxmega128a3u, atxmega128b1, atxmega128b3, atxmega128c3, atxmega128d3, atxmega128d4, atxmega192a3, atxmega192a3u, atxmega192c3, atxmega192d3, atxmega256a3, atxmega256a3b, atxme

Re: [avr-gcc-list] avrxmega7 device-not-found

2015-11-19 Thread Adisak Anusornsrirung
Can you show your makefile? From: Ajay Garg Sent: Friday, November 20, 2015 12:05 PM To: Adisak Anusornsrirung Cc: Shawn Rich ; avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] avrxmega7 device-not-found "avrxmega6" does not w

Re: [avr-gcc-list] avrxmega7 device-not-found

2015-11-19 Thread Adisak Anusornsrirung
you need to add your mcu type in ave/io.h file. please see the link http://stackoverflow.com/questions/30525866/avr-gcc-atmega164pa-error-port-undeclared From: Ajay Garg Sent: Friday, November 20, 2015 12:05 PM To: Adisak Anusornsrirung Cc: Shawn Rich ; avr-gcc-list@nongnu.org Subject: Re

Re: [avr-gcc-list] avrxmega7 device-not-found

2015-11-20 Thread Adisak Anusornsrirung
This because you include file avr/io.h and in the file avr/io.h is not have your device in the list. this is some part in avr/io.h From: Ajay Garg Sent: Friday, November 20, 2015 12:44 PM To: Adisak Anusornsrirung Cc: avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] avrxmega7 device-not

Re: [avr-gcc-list] avrxmega7 device-not-found

2015-11-20 Thread Adisak Anusornsrirung
Sorry, This is my mistaken. From: Adisak Anusornsrirung Sent: Saturday, November 21, 2015 8:28 AM To: Ajay Garg Cc: avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] avrxmega7 device-not-found This because you include file avr/io.h and in the file avr/io.h is not have your device in the

Re: [avr-gcc-list] avrxmega7 device-not-found

2015-11-20 Thread Adisak Anusornsrirung
Adisak A. From: Ajay Garg Sent: Friday, November 20, 2015 12:44 PM To: Adisak Anusornsrirung Cc: avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] avrxmega7 device-not-found Yep, I can understand what the issue is; it is just that I don't know how to resolve it. The point is,

Re: [avr-gcc-list] avrxmega7 device-not-found

2015-11-20 Thread Adisak Anusornsrirung
sorry again, can you use avr-gcc -mmcu=atxmega256a3b instead of avr-gcc -mmcu=atxmega256a3bu From: Adisak Anusornsrirung Sent: Saturday, November 21, 2015 8:47 AM To: Ajay Garg Cc: avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] avrxmega7 device-not-found This because you include file