Build failure if CH_CFG_USE_REGISTRY is false Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
mck1117
Posts: 37
Joined: Wed Nov 11, 2020 6:41 am
Has thanked: 1 time
Been thanked: 9 times

Build failure if CH_CFG_USE_REGISTRY is false

Post by mck1117 »

Latest ChibiOS from GitHub doesn't build if CH_CFG_USE_REGISTRY is false. See near the end of chthreads.c function chThdObjectInit, there's a line that says

(void)name;

But there's no longer a parameter called name!
mck1117
Posts: 37
Joined: Wed Nov 11, 2020 6:41 am
Has thanked: 1 time
Been thanked: 9 times

Re: Build failure if CH_CFG_USE_REGISTRY is false

Post by mck1117 »

And another one: If you define CH_CFG_USE_REGISTRY but not CH_DBG_ENABLE_STACK_CHECK, then chRegFindThreadByWorkingArea is a missing symbol.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Build failure if CH_CFG_USE_REGISTRY is false

Post by Giovanni »

Hi,

Fixed in repository, thanks.

Giovanni
Post Reply