hi, wierd problem, when compiling files one file is compiled twice. which throw later linker error becouse there are two indentical files.
build output:
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'xxxxxxxxxxx'
compiling uart.c... compiling nrf24.c... compiling tm_stm32f4_nrf24l01.c... compiling misc.c... compiling stm32f10x_adc.c... compiling stm32f10x_bkp.c... .... .... .... assembling startup_stm32f10x_md.s... compiling core_cm3.c... compiling system_stm32f10x.c... compiling nrf24.c... linking... .\Objects\kontroler-pilot.axf: Error: L6200E: Symbol dataOut multiply defined (by nrf24_1.o and nrf24.o). .\Objects\kontroler-pilot.axf: Error: L6200E: Symbol nrf24SendData multiply defined (by nrf24_1.o and nrf24.o).
nrf24.c is compiled twice , firstly at the beginnig and secondly at the end why is this happening?
problem solved, it turns out , that it was doubled file. Second one was hidden in startup folder. the strange thing is that windows explororer do not saw this hidden file, like it existed only in project but not on disk.
"strange thing is that windows explororer do not saw this hidden file"
The "folders" within the uVision Project are not real folders in the file system