Skip to content

Commit ef1fd2c

Browse files
authored
Update Kconfig for puny __rt_ffs()
1 parent dfb7df4 commit ef1fd2c

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

src/Kconfig

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,21 @@ config RT_USING_CPU_USAGE_TRACER
197197
default y if RT_USING_SMART
198198
default n
199199

200-
menu "kservice options"
201-
config RT_USING_TINY_FFS
202-
bool "Enable kservice to use tiny finding first bit set method"
203-
default n
204-
endmenu
200+
choice
201+
prompt "Choose finding first bit set method"
202+
default RT_USING_TINY_FFS
203+
204+
config RT_USING_TINY_FFS
205+
bool "Tiny: 37 bytes"
206+
help
207+
Select this if you want tiny method.
208+
209+
config RT_USING_PUNY_FFS
210+
bool "Puny: 0 bytes"
211+
help
212+
Select this if you want pyny method.
205213

214+
endchoice
206215
menuconfig RT_USING_DEBUG
207216
bool "Enable debugging features"
208217
default y

0 commit comments

Comments
 (0)