因为在该配置中使用了默认值(default),这意味着在menuconfig中无法更改该配置的值,除非在Kconfig文件中更改默认值。如果想要在menuconfig中更改该配置的值,可以将默认值设置为"prompt",这样就可以在menuconfig中更改该配置的值。例如:config MY_INT int "My integer macro" prompt "Enter a value"。

config MY_INT int My integer macro default 42为啥不能在menuconfig中修改?

原文地址: https://www.cveoy.top/t/topic/btre 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录