Calling a C function from Assembly
Posted: Wed Dec 21, 2022 6:47 pm
ESP32:
I have an interrupt service routine written in Assembly
I am trying to call a C function and get a double exception error.
Any Idea?
movi a14, intFunc
callx0 a14
extern "C" void IRAM_ATTR intFunc()
{
counter2++;
}
I have an interrupt service routine written in Assembly
I am trying to call a C function and get a double exception error.
Any Idea?
movi a14, intFunc
callx0 a14
extern "C" void IRAM_ATTR intFunc()
{
counter2++;
}