I'm trying to use map
for a project on an Atmel SAME70 ARM chip using Atmel Studio. I know that the STL isn't enabled for the AVR chips. But I've seen various posts around the web claiming that the ARM chips do have access to the STL.
When typing it out, the Intellisense autocomplete triggers and seems to recognize map
:
No idea why there's a pic of a tomato there, but everything works as expected up until that point. However, when I complete the line, I receive two errors and a warning:
Errors:
Error [N] 1054 : expected ';' after top level declarator FCM_Test C:\Users\kyle\Documents\Atmel Studio\7.0\FCM_Test\FCM_Test\src\main.c 692
Error [N] 10 : expected identifier or '(' FCM_Test C:\Users\kyle\Documents\Atmel Studio\7.0\FCM_Test\FCM_Test\src\main.c 692
Warning [N] 3306 : declaration specifier missing, defaulting to 'int' FCM_Test C:\Users\kyle\Documents\Atmel Studio\7.0\FCM_Test\FCM_Test\src\main.c 692
I've tried passing --specs=nosys.specs
to the linker but that didn't seem to help. What am I missing or doing wrong here?