CPU option resulting in error
Asked by
Nayani P
Hi,
I installed the GNU tools ARM embedded 4.7 2013q1 and tried to compile a very simple code. I set the following options:
-mcpu = cortex-m3 -mthumb
I am getting errors:
warning mcpu deprecated use -mtune or -march instead
bad value <cortex-m3> for -mtune = switch
What is wrong in the above? Thank you.
NPS
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Terry Guo
- Solved:
- Last query:
- Last reply:
To post a message you must log in.