RT-Thread学习笔记

博客

Flow_AIOT

裸机多线程

stm32实用篇2: 裸机系统实现多任务轮转

踩坑指南

设备

PWM

嵌入式STM32学习笔记(9)——RT-Thread Studio stm32使用PWM

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/** if you want to use pwm you can use the following instructions.
*
* STEP 1, open pwm driver framework support in the RT-Thread Settings file
*
* STEP 2, define macro related to the pwm
* such as #define BSP_USING_PWM1
*
* STEP 3, copy your pwm timer init function from stm32xxxx_hal_msp.c generated by stm32cubemx to the end if board.c file
* such as void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base) and
* void HAL_TIM_MspPostInit(TIM_HandleTypeDef* htim)
*
* STEP 4, modify your stm32xxxx_hal_config.h file to support pw m peripherals. define macro related to the peripherals
* such as #define HAL_TIM_MODULE_ENABLED
*
*/

注意,例如用tim3_ch4,上述第二步board.h中要写

1
2
#define BSP_USING_PWM3
#define BSP_USING_PWM3_CH4

ESP8266

TX,RX不要接反,浪费我2天时间。。。
Rtthread学习笔记(二十)RT-Thread使用Esp8266,连接远端服务器IP端口发送数据
使用RT-Thread Studio 连接WIFI

  • 软件包添加AT_Device后,要在左边项目资源管理器右键单击更新软件包

RT-THREAD 自动初始化详解

INIT_APP_EXPORT
RT-THREAD 自动初始化详解

作者

GWJ

发布于

2021-02-09

更新于

2021-06-27

许可协议

评论