We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello friend here are the two lines of my makefile which contain mcpu tell me how to correct thanksALL_CFLAGS = -mcpu = $ (MCU) $ (THUMB_IW) -I. $ (CFLAGS) $ (GENDEPFLAGS)ALL_ASFLAGS = -mcpu = $ (MCU) $ (THUMB_IW) -I. -x assemble-with-cpp $ (ASFLAGS)
I really wonder which of the above response was hard to understand.
You have an error in your screenshot regarding the bad value of "-mcpu"
You have been provided the GCC link with the available "-mcpu" optionsAtleast you can select the appropriate option corresponding to your device which is an ARM7 based.
hello my friend I am really sorry to disturb you I am really a novice in gcc compilation I just did what you told me I replaced MCU by arm7 it seems to work but I receive another alert from the assembler who says name of missing cpu I reopened my makefile to find the line on which I must act j not found believing to act on -march and -mtune but on my makefile they do not appear
This is the Keil forum, not the GCC/LINUX forum
The -mcpu field is blank, probably want to make sure the MCU variable is correctly defined so it fills in ALL_CFLAGS and ALL_ASFLAGS completely.
good evening friend I replaced mcu with arm7 but I don't know what to add so that the assembler does not give an error in the name of the cpu
can you help me to resolve this error please sir ?
Post it on below link:https://github.community/t5/Project-Development-Help-and/GCC-Compiler-help/td-p/13335
thanks dear i ll try
hi my friend i posted on github as you advised me unfortunately no response am really disappointed