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.
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?