EmbeddedSystem
一、用Keil重构uc/OS系统
1、uC/OS结构
- 处理器相关
os_cfg.h
os_cpu_a.asm
os_cpu_c.c(cortex M4)
- 处理器无关
- Configuration
2、Compile & Link
单片机在编译阶段确定代码运行的地址,
.c->预处理-> .i->编译->.s->汇编->.o(可重定位目标文件)->链接->.exe
- Title: EmbeddedSystem
- Author: HarderHeng
- Created at : 2024-02-27 10:28:16
- Updated at : 2024-03-06 18:02:21
- Link: https://harderheng.life/2024/02/27/EmbeddedSystem/
- License: This work is licensed under CC BY-NC-SA 4.0.
Comments