432 Star 2.3K Fork 518

OpenHarmony / docs

Hi3861L丝印的芯片工程如何配置?

任务
已完成
IAMLIUBO  Opened this issue

该问题是怎么引起的?

尝试编译wifiiot工程,编译成功,但是下载到自己做的开发板上提示:
Initail Fail, please check Soft and Chip ver
仔细看了下手头Hi3861片子丝印是 LRN1V100,猜测应该是Hi3861L
然后看了下工程中的配置好像是Hi3861,于是将工程中CONFIG_TARGET_CHIP_HI3861修改为CONFIG_TARGET_CHIP_HI3861L,然后再次尝试编译会报错:

riscv32-unknown-elf-ld: cannot find libwifi_base.o
scons: *** [output/bin/Hi3861_wifiiot_app.out] Error 1
BUILD FAILED!!!!
Failed building output/bin/Hi3861_wifiiot_app.out: Error 1
Traceback (most recent call last):
  File "../../build/lite/build_ext_components.py", line 64, in <module>
    sys.exit(main())
  File "../../build/lite/build_ext_components.py", line 58, in main
    cmd_exec(args.command)
  File "../../build/lite/build_ext_components.py", line 32, in cmd_exec
    raise Exception("{} failed, return code is {}".format(cmd, ret_code))
Exception: ['sh', 'hm_build.sh'] failed, return code is 2
ninja: build stopped: subcommand failed.

CONFIG_TARGET_CHIP_HI3861

没找到有关如何配置工程的说明,代码中有关CONFIG_TARGET_CHIP_HI3861CONFIG_TARGET_CHIP_HI3861L的地方都做了修改,不知道这个错误是如何引起的,希望可以说明下如何配置,或者有相关的文档可以参考。

Tiny-Hi3861

Attachments
1272610 imliu bo 1578947857 total 2 participants

Comments (1)

yuan.w.hong 2020-10-24 14:22

@IAMLIUBO
开源版本支持的版本有Hi3861,Hi3518EV300和Hi3516DV300。
是不支持Hi3861L的。建议使用Hi3861的开发板。谢谢。

Sign in to comment

Assignees
Labels
doc_code
product-question
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
1
https://git.oschina.net/openharmony/docs.git
git@git.oschina.net:openharmony/docs.git
openharmony
docs
docs

Search