|Subject:||Re: [avr-gcc-list] avrxmega7 device-not-found|
|Date:||Sat, 21 Nov 2015 08:56:23 +0700|
can you use avr-gcc -mmcu=atxmega256a3b instead of avr-gcc -mmcu=atxmega256a3bu
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
#elif defined (__AVR_ATxmega256A3__)
# include <avr/iox256a3.h>
#elif defined (__AVR_ATxmega256A3B__)
# include <avr/iox256a3b.h>
#elif defined (__AVR_ATxmega256D3__)
# include <avr/iox256d3.h>
Can you see the line #elif defined (__AVR_ATxmega256A3B__) in your avr/io.h file? If you can not found this line the compiler will show "device type not defined", So, you will need to find new(or may be old) version of your avr-gcc compiler.
simply use avr-gcc -mmcu=
Yep, I can understand what the issue is; it is just that I don't know how to resolve it.The point is, using "avr-gcc --target-help" lists "avrxmega6" as one of the supported targets, then I fail to understand why the "device not found" error is emitted.
On Fri, Nov 20, 2015 at 10:58 AM, Adisak Anusornsrirung <address@hidden> wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|