7 Star 36 Fork 10

harmonyos_next / stm32f103_simulator_keil

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 1.46 KB
一键复制 编辑 原始数据 按行查看 历史

鸿蒙轻内核LiteOS-M移植支持STM32F103 Keil Simulator开发板

介绍

该仓包含鸿蒙轻内核LiteOS-M移植支持STM32F103RBKeil MDK模拟器工程的代码。需要的Keil MDK版本为 V 5.28.0.0。

一、Keil MDK编译

需要确保已经安装好Keil MDK

  1. 执行命令git clone https://gitee.com/openharmony/kernel_liteos_m.git 检出kernel-liteos-m代码。假设检出目录为~/kernel-liteos-m

  2. 在本地目录,执行 git clone https://gitee.com/rtos_lover/stm32f103_simulator_keil.git 检出代码,假设检出目录为~/stm32f103_simulator_keil。 执行如下命令把检出工程的stm32f103_simulator_keil文件夹复制到kernel-liteos-m工程的targets文件夹下。

cp -r ~/stm32f103_simulator_keil ~/kernel-liteos-m/targets/stm32f103_simulator_keil
  1. 在本地目录,检出bounds_checking_functioncmsis等三方组件,假设检出目录~/third_party
mkdir ~/third_party

git clone https://gitee.com/openharmony/third_party_bounds_checking_function.git  ~/third_party/bounds_checking_function

git clone https://gitee.com/openharmony/third_party_cmsis.git  ~/third_party/cmsis
  1. 切换到目录~/kernel-liteos-m/targets/stm32f103_simulator_keil/project,双击文件los_demo.uvprojx即可启动Keil MDK软件,即可开始编译、烧录、调测运行。

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
1
https://gitee.com/harmonyos_next/stm32f103_simulator_keil.git
git@gitee.com:harmonyos_next/stm32f103_simulator_keil.git
harmonyos_next
stm32f103_simulator_keil
stm32f103_simulator_keil
master

搜索帮助