thanks dear but i tel you am not expert compiling i just need compile this smal project so if possible you tel me the way to resolve this probleme for example what i must do steep by steep or if you have tutorial
You do not have to be an expert in compilation but to read the link which was provided earlier.Just check the "mcpu" option and adjust it accordingly as per your target device
can i send you my archive project its not bigger only 172 ko compile me just the uart i need embdev.net/.../06674904lpc213x_lpc214x_examples_20061205_2_.zip
i read the document but to make change on my makefile i do nt now how to do so please sir make it for me and i well insert it here add to my file please
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