嵌入式技术论坛
直播中

贾小龙

7年用户 1607经验值
私信 关注
[问答]

执行scons --menuconfig报错怎么解决

[fly@752fac4b02e9 lombo]$ scons --menuconfig
scons: Reading SConscript files ...
scons: Entering directory /home/fly/project/eeasy/smart-car/venus/eos/tools/kconfig-frontends' scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... scons: .' is up to date.
scons: done building targets.
Kconfig:3:warning: ignoring unsupported character '$'
Kconfig:3:warning: environment variable BSP_ROOT undefined
Kconfig:8:warning: ignoring unsupported character '$'
Kconfig:8:warning: environment variable RTT_ROOT undefined
./customer/Kconfig:11: 'endmenu' in different file than 'menu'
./customer/Kconfig:1: location of the 'menu'
Kconfig文件
menu "Hardware Drivers Config"
config BSP_USING_TESTCOM2
bool "Enable TESTCOM2 (TEST2 pin conflict with Ethernet and PWM)"
select BSP_USING_TEST
select BSP_USING_TEST2
default n
config BSP_USING_TESTCOM3
bool "Enable TESTCOM3 (TEST3 pin conflict with Ethernet)"
select BSP_USING_TEST3
default n
endmenu

回帖(1)

王刚

2023-9-8 17:46:45
Kconfig 文件编码存在问题,或者回车换行存在问题,先使用 dos2unix 转换下
举报

更多回帖

发帖
×
20
完善资料,
赚取积分