LoxLink icon indicating copy to clipboard operation
LoxLink copied to clipboard

I2C2_EV_IRQHandler is missing (LoxBusTreeRoomComfortSensor)

Open matlab22 opened this issue 1 year ago • 1 comments

@KjellVerb I am getting an error when I try to compile the latest master. Can you help me solve this issue?

LoxLink Debug/LoxBusTreeRoomComfortSensor.o: in function `I2C2_EV_IRQHandler':
undefined reference to `HAL_I2C_EV_IRQHandler'
LoxLink Debug/LoxBusTreeRoomComfortSensor.o: in function `I2C2_ER_IRQHandler':
undefined reference to `HAL_I2C_ER_IRQHandler'

I temporarily solved it like this:

extern "C" void I2C2_EV_IRQHandler(){
    //HAL_I2C_EV_IRQHandler(&hi2c2);
}
extern "C" void I2C2_ER_IRQHandler(){
    //HAL_I2C_ER_IRQHandler(&hi2c2);
}

matlab22 avatar Mar 08 '23 21:03 matlab22

I bet you have to uncomment something in one of the HAL libraries, let me check this evening!

KjellVerb avatar Mar 13 '23 10:03 KjellVerb