Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdk_env-1.5.0\hpm_sdk\samples\drivers\femc\sram编译不了 #39

Open
liuguohuan-xiezuo opened this issue Jun 18, 2024 · 1 comment
Open

Comments

@liuguohuan-xiezuo
Copy link

想编译sram例程,发现list里面的所有型号都编译不成功,请问要怎么编译运行,打开start_gui,发现里面的型号也都不支持sram例程
下面是过程
E:\HPM6750_data\sdk_env-1.5.0\hpm_sdk\samples\drivers\femc\sram 的目录

2024/06/17 17:33

.
2024/06/14 16:38 ..
2024/03/29 15:54 32 app.yaml
2024/03/29 15:54 237 CMakeLists.txt
2024/03/29 15:54 817 README_en.md
2024/03/29 15:54 700 README_zh.md
2024/06/14 16:38 src
4 个文件 1,786 字节
3 个目录 1,398,893,383,680 可用字节

E:\HPM6750_data\sdk_env-1.5.0\hpm_sdk\samples\drivers\femc\sram>generate_project -list
hpm5300evk
hpm5301evklite
hpm6200evk
hpm6300evk
hpm6750evk
hpm6750evk2
hpm6750evkmini
hpm6800evk

E:\HPM6750_data\sdk_env-1.5.0\hpm_sdk\samples\drivers\femc\sram>generate_project -b hpm6750evkmini -t flash_xip
-- Application: E:/HPM6750_data/sdk_env-1.5.0/hpm_sdk/samples/drivers/femc/sram
-- Board: hpm6750evkmini from E:\HPM6750_data\sdk_env-1.5.0\hpm_sdk/boards
-- Found toolchain: gnu (E:\HPM6750_data\sdk_env-1.5.0\toolchains\rv32imac_zicsr_zifencei_multilib_b_ext-win)
-- hpm_sdk: 1.5.0 (E:\HPM6750_data\sdk_env-1.5.0\hpm_sdk)
CMake Error at E:/HPM6750_data/sdk_env-1.5.0/hpm_sdk/cmake/application.cmake:119 (message):
hpm6750evkmini can not support this sample
Call Stack (most recent call first):
E:/HPM6750_data/sdk_env-1.5.0/hpm_sdk/cmake/hpm-sdk-config.cmake:11 (include)
CMakeLists.txt:6 (find_package)

-- Configuring incomplete, errors occurred!

E:\HPM6750_data\sdk_env-1.5.0\hpm_sdk\samples\drivers\femc\sram>

@chenzhihong007
Copy link

该sample的app.yaml文件有dependency,需要board文件夹里面的yaml文件支持board_femc_sram特性。
由于这些board都没有板载的sram,故将cmake构建时将其排除了。
若你想构建,可在app.yaml中删除board_femc_sram;或者在board文件夹里面的yaml文件添加board_femc_sram。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants