上一页 1 ··· 8 9 10 11 12
摘要: 【RT-Thread原创征文】我是开发者,我要来分享(还有新人参与奖噢) 实战—根据hard fault打印的寄存器信息分析代码异常地址 KEIL 断点进阶用法 rt-thread学习笔记——1、使用MDK移植RT-Thread操作系统 rt-thread学习笔记——2、RT-Thread实现 串口 阅读全文
posted @ 2023-02-21 08:38 辛河 阅读(43) 评论(0) 推荐(0)
摘要: RT-thread(1)cubemx +keil5环境,使用RT-Thread nano https://www.cnblogs.com/excellentHellen/articles/16951617.htmlRT-thread(2)RT-Thread 控制台与重载void rt_hw_cons 阅读全文
posted @ 2023-02-10 15:59 辛河 阅读(127) 评论(0) 推荐(0)
摘要: /*举例:在C语言 使用结构体和联合体,设计应用全局变量*/ #include "stm32f1xx_hal.h" typedef struct/*定义 GSP结构体*/ { uint8_t gps_year_time; /*,单位 年 ,占1BYTES*/ uint8_t gps_month_ti 阅读全文
posted @ 2022-12-08 16:20 辛河 阅读(128) 评论(0) 推荐(1)
摘要: 1)cubemx生成工程,配置串口 2)在main.c中添加代码 /* Private includes */ /* USER CODE BEGIN Includes */ #include "stdio.h" /* USER CODE END Includes */ /* USER CODE BE 阅读全文
posted @ 2022-12-05 15:13 辛河 阅读(96) 评论(0) 推荐(0)
摘要: 启动线程的程序举例: BOOL Cscom::ReadCommTHreadStart(void)//用于 线程启动 { static int thread_n =0; this->threadRunning = false;// 在线程程序中,作为while循环条件。false时,退出线程。 Sle 阅读全文
posted @ 2022-07-27 20:30 辛河 阅读(954) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12