移植talkweb的niobe407遇到fatal error: hdf_config_macro.h错误

​OpenHarmony实战:轻量系统STM32F407芯片移植案例​

我按照上面博主文章的步骤移植talkweb的niobe407到我的板子上时,我仅仅是改了公司和板子的名称,构建时遇到:

root@826a47c95437:/home/openharmony# hb env

[OHOS INFO] root path: /home/openharmony

[OHOS INFO] board: armflyv5

[OHOS INFO] kernel: liteos_m

[OHOS INFO] product: armflyv5

[OHOS INFO] product path: /home/openharmony/vendor/myboards/armflyv5

[OHOS INFO] device path: /home/openharmony/device/board/myboards/armflyv5/liteos_m

[OHOS INFO] device company: myboards

root@826a47c95437:/home/openharmony# hb build

The target_cpu needs to be specified, default target_cpu=arm

[OHOS INFO] Set cache size limit to 100.0 GB

[OHOS INFO] root_out_dir=//out/armflyv5/armflyv5

[OHOS INFO] root_build_dir=//out/armflyv5/armflyv5

[OHOS INFO] root_gen_dir=//out/armflyv5/armflyv5/gen

[OHOS INFO] current_toolchain=//build/lite/toolchain:arm-none-eabi-gcc

[OHOS INFO] host_toolchain=//build/toolchain/linux:clang_x64

[OHOS INFO]  

... ...

I../../../drivers/hdf_core/framework/support/platform/include/fwk -Os -Og -Wall -fdata-sections -ffunction-sections -DUSE_HAL_DRIVER -DSTM32F407xx -DUSE_FULL_LL_DRIVER -D__LITEOS_M__ -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -Og -Wall -fdata-sections -ffunction-sections -DUSE_HAL_DRIVER -DSTM32F407xx -DUSE_FULL_LL_DRIVER -D__LITEOS_M__ -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mcpu=cortex-m4 -fno-common -fno-builtin -fno-strict-aliasing -Wall -fsigned-char -fstack-protector-all -imacros /home/openharmony/out/armflyv5/armflyv5/config.h -isystem /home/tools/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/include -O2 -fstack-protector-strong -fno-pic -fno-builtin -fms-extensions -fno-strict-aliasing -fno-common -fsigned-char -ffunction-sections -fdata-sections -fno-exceptions -fno-omit-frame-pointer -fno-aggressive-loop-optimizations -imacros /home/openharmony/out/armflyv5/armflyv5/config.h -std=c99 -std=c99 -c ../../../drivers/hdf_core/framework/core/common/src/hdf_attribute_macro.c -o obj/drivers/hdf_core/framework/core/common/src/hdf_core.hdf_attribute_macro.o

[OHOS ERROR] ../../../drivers/hdf_core/framework/core/common/src/hdf_attribute_macro.c:13:10: fatal error: hdf_config_macro.h: No such file or directory

[OHOS ERROR]    13 | #include "hdf_config_macro.h"

[OHOS ERROR]       |          ^~~~~~~~~~~~~~~~~~~~

[OHOS ERROR] compilation terminated.

[OHOS INFO] ---------------------------------------------


不知道是哪里没有配置好?

hdf_config_macro
2024-08-10 18:35:34
浏览
收藏 0
回答 0
待解决
相关问题
HDF驱动没有生成节点,也没有Log
7452浏览 • 1回复 待解决
HDF层驱动和linux原生驱动
4033浏览 • 1回复 待解决