Tool/software: Code Composer Studio
Hello,
I am trying to create a program that intakes a signal and determines the rising edge of a waveform using interrupts (I am not sure I am on the right track so any help with the code would also be appreciated).
However, I am getting the following errors when I compile the code:
<Linking>
error #10056: symbol "main" redefined: first defined in "./ALD_Half_Bridge.obj"; redefined in "./project0.obj"
undefined first referenced
symbol in file
--------- ----------------
Systicinit ./ALD_Half_Bridge.obj
set_GPIO_PORT_A ./ALD_Half_Bridge.obj
set_GPIO_PORT_B ./ALD_Half_Bridge.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "project0.out" not built
remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions
>> Compilation failure
makefile:148: recipe for target 'project0.out' failed
gmake: *** [project0.out] Error 1
gmake: Target 'all' not remade because of errors.
I have tried to add additional header files (almost all of them that I thought would be necessary).
However, I am still getting the same errors. I have posted the code below for reference.
Any help/advice is appreciated thank you.