当前位置:网站首页>Porting ucos2 code from stm32 to GD32
Porting ucos2 code from stm32 to GD32
2022-08-08 23:06:00 【Jacky_Lu】
stm32 and gd32 are basically common, so
os_cpu_c.c,cpu_a.asm,os_cpu_a.asm
No modification at all
Library function names are a bit different
Define the priority method of interrupts in the main function
nvic_priority_group_set(NVIC_PRIGROUP_PRE0_SUB4); //equal priority
Start the system timer in the first started task
SysTick_Config(SystemCoreClock / OS_TICKS_PER_SEC);
Copy the code of ucso2 in stm32, pass it once, cool
边栏推荐
猜你喜欢
随机推荐
动手写prometheus的exporter-01-Gauge(仪表盘)
You know you every day in the use of NAT?
微信小程序“反编译”实战”解包 后面有彩蛋
用工具实现 Mock API 的整个流程
LeetCode:正则表达式匹配
The Socket (Socket)
虚拟化类型(配图)
Xcode creates a Dylib plugin deb project
4399 it operations intern interview experience
用模态框 实现 注册 登陆
wsgw登录抓包记录
动态主机配置协议DHCP(DHCPv4)
ArcPy设置全库唯一标识码
小程序banner图展示
套接字(Socket)
微信小程序开发一些函数使用方法
Free ARP
CTFSHOW_WEB入门web213
PHP regular to img SRC to add the domain name
详解JS中for...of、in关键字