Ion-Mobility / tock

A secure embedded operating system for microcontrollers
https://www.tockos.org
Other
0 stars 0 forks source link

Vector table for M4 #1

Closed 0xkelvin closed 1 year ago

0xkelvin commented 1 year ago

Hello @xobs

I am getting confuse, should i change "CortexM7" to "CortexM4" in definition below :

https://github.com/Ion-Mobility/tock/blob/f/add_new_chip_s32k144/chips/s32k144/src/lib.rs#L61

xobs commented 1 year ago

Yes, you should use CortexM4. It's just giving it a common function name to call when you don't implement an IRQ in order to fill out the interrupt vector table.