CMSIS wrappers outdated Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
josesimoes
Posts: 91
Joined: Sat Feb 18, 2017 11:50 am
Has thanked: 43 times
Been thanked: 23 times

CMSIS wrappers outdated

Post by josesimoes »

Hi,

After the changes introduced with the fix for bug #1138, the CMSIS wrappers are outdated.
Build fails because of prio elements changes and queue_dequeue.
josesimoes
Posts: 91
Joined: Sat Feb 18, 2017 11:50 am
Has thanked: 43 times
Been thanked: 23 times

Re: CMSIS wrappers outdated

Post by josesimoes »

Almost fixed...

os/common/abstractions/cmsis_os/cmsis_os.c:162:5: error: 'thread_t' {aka 'struct ch_thread'} has no member named 'prio'
162 | tp->prio = (tprio_t)newprio;
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: CMSIS wrappers outdated

Post by Giovanni »

Hi,

It compiles here in trunk, 20.x and 19.x.

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

Re: CMSIS wrappers outdated

Post by josesimoes »

Guess, that's because of the #define CH_CFG_USE_MUTEXES
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: CMSIS wrappers outdated

Post by Giovanni »

It should be fine now.

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

Re: CMSIS wrappers outdated

Post by josesimoes »

Confirmed! Thanks
Post Reply