代码拉取完成,页面将自动刷新
该仓包含鸿蒙轻内核LiteOS-M移植支持STM32F103RB
Keil MDK模拟器工程的代码。需要的Keil MDK版本为 V 5.28.0.0。
需要确保已经安装好Keil MDK
。
执行命令git clone https://gitee.com/openharmony/kernel_liteos_m.git
检出kernel-liteos-m
代码。假设检出目录为~/kernel-liteos-m
。
在本地目录,执行 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
bounds_checking_function
、cmsis
等三方组件,假设检出目录~/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
~/kernel-liteos-m/targets/stm32f103_simulator_keil/project
,双击文件los_demo.uvprojx
即可启动Keil MDK
软件,即可开始编译、烧录、调测运行。此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。