Part Number: TMS320F28377D Tool/software: TI C/C++ Compiler Dear TI Hello, I am working on the migration code of the HVACI_sensorless floating point from the F28335 to the F28377D, I couldn't understand why the compiler told me undefined referenced of the A0,B0,...even if functions are defined in the same file, // Alpha states void A0(void); //state A0 void B0(void); //state B0 void C0(void); //state C0 // A branch states void A1(void); //state A1 void A2(void); //state A2 void A3(void); //state A3 // B branch states void B1(void); //state B1 void B2(void); //state B2 void B3(void); //state B3 // C branch states void C1(void); //state C1 void C2(void); //state C2 void C3(void); //state C3 // Variable declarations void (*Alpha_State_Ptr)(void); // Base States pointer void (*A_Task_Ptr)(void); // State pointer A branch void (*B_Task_Ptr)(void); // State pointer B branch void (*C_Task_Ptr)(void); // State pointer C branch // Tasks State-machine init Alpha_State_Ptr = &A0; A_Task_Ptr = &A1; B_Task_Ptr = &B1; C_Task_Ptr = &C1; console output: warning #10247-D: creating output section "DLOG" without a SECTIONS specification undefined first referenced symbol in file --------- ---------------- _A0 ./HVACI_Sensorless.obj _A1 ./HVACI_Sensorless.obj _B1 ./HVACI_Sensorless.obj _C1 ./HVACI_Sensorless.obj error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "HVACI_Sensorless_28377D.out" not built
↧