Hi,
i do not use the kernel just the hal with the os-less hal. How i can move the _vector table? If using the rt it is done in chcore_v7m.h with the inline function port_init(void) and the define CORTEX_VTOR_INIT isn't it?
Thanks
How to relocate the vector table with osal-osless
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: How to relocate the vector table with osal-osless
Hi,
You need to write the SCB->VTOR register before calling halInit().
Giovanni
You need to write the SCB->VTOR register before calling halInit().
Giovanni