I would like to access a global object in my main.cpp from stm32l0xx_it.c.
In particular, I've created a LED object with a member function called update(). I'd like to be able to run the update function from within a timer based interrupt to change the state of the LED pins based on the internal state of the LED object. At the moment I'm just using the systick interrupt for prototyping purposes.
I've attached a small project demonstrating what I'd like to do.