NIL 21.11.4 - CH_PORT_SUPPORTS_RECURSIVE_LOCKS?

Report here problems in any of ChibiOS components. This forum is NOT for support.
drizzi
Posts: 7
Joined: Wed Apr 19, 2017 4:52 pm
Has thanked: 1 time
Been thanked: 3 times

NIL 21.11.4 - CH_PORT_SUPPORTS_RECURSIVE_LOCKS?

Postby drizzi » Wed Jan 07, 2026 4:58 pm

Hello,
maybe I have found a bug in NIL. In ch.h CH_PORT_SUPPORTS_RECURSIVE_LOCKS is defined TRUE only #if defined(port_get_lock_status) && defined(port_is_locked), but both port_get_lock_status and port_get_lock_status are always NOT defined, as there is no #include "chcore.h" (differently from RT, where the same is done in chport.h, and that includes chcore.h).

Ciao,
Davide

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 28 guests