Go Down

Topic: Due MCU name for #ifndef statement? (Read 1 time) previous topic - next topic


I can't seem to find this information in any conveniently accessible location, was hoping someone on here could help me out.

I'm updating a program to add support for the Due, and I need to do some be able to tell which MCU I'm compiling for.  What is the MCU name for the Sam3 on the Due (ie, for an #ifdef statement looking a Mega2560, i would use "__AVR_ATmega2560__")?  Also, where would I find this information more quickly in the future if I wanted to add support for some other hypothetical future chip?

Thank you!



Many thanks!  That took care of that issue!!

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131