Hello everyone!
Due to the beefy nature of the Teensy 4.0 we're trying to run some complex code on it, which requires quite some computational power.
Since many software components run in parallel (well, not really, but you know what I mean) we use an actor framework that ties into hardware timers and uses interrupts to send messages to the actors.
The 3rd party framework uses several low-level functions to achieve this. I've already successfully compiled a few simple examples for the teensy, but for some reason now the code won't compile any more, even though it hasn't changed. I suspect that some header files defining the registers and timers cannot be found any more. Some of the definitions that cannot be found are:
NVIC_SetPriority
TC3_IRQn
pmc_set_writeprotect()
NVIC_EnableIRQ()
...
I've searched this forum for these functions and could see, that some other people apparently were using some of these, so these function should be defined as part of the Teensyduino library I guess.
Complete uninstalling Arduino and Teensyduino and reinstalling both did not fix the issue.
So, TLDR:
In which files are NVIC_SetPriority and pmc_set_writeprotect() defined?
Regards,
Christian
Due to the beefy nature of the Teensy 4.0 we're trying to run some complex code on it, which requires quite some computational power.
Since many software components run in parallel (well, not really, but you know what I mean) we use an actor framework that ties into hardware timers and uses interrupts to send messages to the actors.
The 3rd party framework uses several low-level functions to achieve this. I've already successfully compiled a few simple examples for the teensy, but for some reason now the code won't compile any more, even though it hasn't changed. I suspect that some header files defining the registers and timers cannot be found any more. Some of the definitions that cannot be found are:
NVIC_SetPriority
TC3_IRQn
pmc_set_writeprotect()
NVIC_EnableIRQ()
...
I've searched this forum for these functions and could see, that some other people apparently were using some of these, so these function should be defined as part of the Teensyduino library I guess.
Complete uninstalling Arduino and Teensyduino and reinstalling both did not fix the issue.
So, TLDR:
In which files are NVIC_SetPriority and pmc_set_writeprotect() defined?
Regards,
Christian