irq_vector_t and vectors_t in v18.2.n

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
josesimoes
Posts: 91
Joined: Sat Feb 18, 2017 11:50 am
Has thanked: 43 times
Been thanked: 23 times

irq_vector_t and vectors_t in v18.2.n

Post by josesimoes »

Hi,

What is replacing irq_vector_t and vectors_t in v18.2.n?
I'm using those to access the vector table and check for a valid address. In this new version the vectors are now in an assembly file...
If the above don't exist anymore, is there a recommendation on how to replace them and achieve the same purpose?

Thanks!
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: irq_vector_t and vectors_t in v18.2.n

Post by Giovanni »

Hi,

You could take the header from the previous version and use the definitions, the table layout is exactly the same, alternatively you can use offsets using the VTOR registers as a base.

Giovanni
Post Reply