Page 1 of 1
CMSIS wrappers outdated
Posted: Mon Dec 28, 2020 10:43 am
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.
Re: CMSIS wrappers outdated
Posted: Tue Dec 29, 2020 1:30 pm
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;
Re: CMSIS wrappers outdated
Posted: Tue Dec 29, 2020 4:06 pm
by Giovanni
Hi,
It compiles here in trunk, 20.x and 19.x.
Giovanni
Re: CMSIS wrappers outdated
Posted: Tue Dec 29, 2020 4:23 pm
by josesimoes
Guess, that's because of the #define CH_CFG_USE_MUTEXES
Re: CMSIS wrappers outdated
Posted: Tue Dec 29, 2020 4:29 pm
by Giovanni
It should be fine now.
Giovanni
Re: CMSIS wrappers outdated
Posted: Tue Dec 29, 2020 8:53 pm
by josesimoes
Confirmed! Thanks