6 Star 1 Fork 3

AWOL / OpenHarmony_XR806_manifest

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

下载方式

环境搭建

请参照OpenHarmony-QuickStart

获取源码

  1. 安装码云repo工具,可以执行如下命令
curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo  
#如果没有权限,可下载至其他目录,并将其配置到环境变量中
chmod a+x /usr/local/bin/repo
pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
  1. 设置镜像源(可选)
vim ~/.bashrc
#在文件的最后输入以下内容
export PATH=~/bin:$PATH
export REPO_URL=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/
#设置完成后重启shell
#设置为清华镜像源后,下载源码时如果提示server certificate verification failed,输入export GIT_SSL_NO_VERIFY=1后重新下载即可。
  1. 下载源码
# OpenHarmony通用于各种系统,导致整个系统文件比较多,XR806把部分不必要的代码仓在xml中删除了。
# 如果想要减少或增加需要下载的代码仓,请把manifest仓fork到本地后,自行裁剪。
repo init -u https://gitee.com/awol/open-harmony_-xr806_manifest.git -b master --no-repo-verify -m devboard_xr806.xml
repo sync -c
repo forall -c 'git lfs pull'

注意,master版本的代码在快速迭代中,openharmony_master更新到最新可能会导致编译不过,更新系统必须所有代码仓一起更新,否则也有可能编译不过。 如果发现编译不通过,可以在issue反馈问题,提醒管理员修复。

截止2022/1/13,代码测试正常。

截止2022/1/26,编译不通过,需要修改kernel\liteos_m\arch\arm\cortex-m33\gcc\NTZ\los_interrupt.c : 194行代码。

LITE_OS_SEC_TEXT_MINOR VOID HalHwiDefaultHandler(VOID)
{
    // UINT32 irqNum = HwiNumGet();
    PRINT_ERR("%s irqnum:%u\n", __FUNCTION__, HwiNumGet());
    while (1) {}
}

Repository Comments ( 0 )

Sign in to post a comment

About

存放xr806鸿蒙代码下载链接 expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/awol/open-harmony_-xr806_manifest.git
git@gitee.com:awol/open-harmony_-xr806_manifest.git
awol
open-harmony_-xr806_manifest
OpenHarmony_XR806_manifest
master

Search