Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2C2_EV_IRQHandler is missing (LoxBusTreeRoomComfortSensor) #27

Open
matlab22 opened this issue Mar 8, 2023 · 1 comment
Open

I2C2_EV_IRQHandler is missing (LoxBusTreeRoomComfortSensor) #27

matlab22 opened this issue Mar 8, 2023 · 1 comment

Comments

@matlab22
Copy link
Collaborator

matlab22 commented Mar 8, 2023

@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);
}
@KjellVerb
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants