752 views|0 replies

1237

Posts

66

Resources
The OP
 

[Xianji HPM6750EVK2 Review] 2. OpenHarmony compilation and burning experience [Copy link]

 
This post was last edited by dql2016 on 2023-2-19 19:21

Development environment construction

https://device.harmonyos.com/cn/docs/documentation/guide/ide-install-windows-ubuntu-0000001194073744

Get the code

https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/device-dev/get-code/sourcecode-acquire.md#https://gitee.com/help/articles/4191

Official Tutorial

https://gitee.com/openharmony/device_soc_hpmicro#https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/device-dev/get-code/sourcecode-acquire.md


Execute the following command to install the Code Cloud repo tool:

mkdir ~/bin
curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 -o ~/bin/repo
chmod a+x ~/bin/repo
pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
Add repo to the environment variables.

vim ~/.bashrc # Edit environment variables
export PATH=~/bin:$PATH # Add a line of repo path information at the end of the environment variable
source ~/.bashrc # Apply environment variables

OpenHarmony trunk code acquisition: download via repo + ssh

repo init -u git@gitee.com:openharmony/manifest.git -b master --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'

Start compiling:

sudo ./build/prebuilts_download.sh

Execute the hb setselectedhpmicrohpm6750evk2

Execute hb build -fthe project compilation. After successful compilation, the following content is displayed:


After using HPMProgrammer to burn out/hpm6750evk2/hpm6750evk2/OHOS_Image.bin to the development board, the startup effect is as follows:

This post is from Domestic Chip Exchange
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list