summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorLim-LinYuanbo <[email protected]>2021-10-12 14:35:01 +0800
committerGitHub <[email protected]>2021-10-12 14:35:01 +0800
commit06fdc108b420f34044a132a19c9adbebf86a7a90 (patch)
tree6d4b8ba5bf71c76ef4b9c29741ddd43f88720acc /components
parent76a6b2cf3ab240b57e0d85df6c1757039ebe42f0 (diff)
解决无法dist问题 (#5150)
* first commit, keil test pass * feat : n32g452xx direct structure base at32 1. 重新整理目录结构 * feat : 基于AT32,将各驱动移植整改待验证 1. 部分驱动已经整改,但未验证 2. 根据AT32整改目录结构 * feat : add README document 1. 完善配置文件 2. 添加说明文档 * feat : 验证添加的驱动 1. UART 1-3 验证通过 2. ADC 1-2 CH 6-9 验证通过 3. TIM 6-7 验证通过 * feat : complete readme document * feat : format code 1. ref https://github.com/mysterywolf/formatting * feat : 完成PWM驱动移植与自测 1. 添加PWM测试代码 2. 修正PWM驱动周期与脉冲错误问题 * feat : 删除多余代码与多余的文件,修正注释与函数命名 * feat : fix tim channel comment * feat : 完成DEMO测试例子 1. 完成MAIN函数中的LED测试例子 2. 完善README文档 3. 更新添加许可文件 * feat : 根据BSP提交自查完善固件 1. 添加.ignore_format.yml文件 2. 修正main.c的注释 * feat : add last line in .ignore_format.yml * feat : delet file_path in .ignore_format.yml * fix: gPIO/ADC driver 1. add ADC temperature&vref channel. 2.add GPIO IPD/OD configration * fix: 解决告警 1. 解决告警(rt_drv_pwm.c: warning: implicit declaration of function 'atoi') * feat: add scons --dist function * fix: 解决MDK5无法编译问题 * perf: delete invalid code Co-authored-by: linyuanbo_breo_server <[email protected]>
Diffstat (limited to 'components')
-rw-r--r--components/drivers/misc/rt_drv_pwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/misc/rt_drv_pwm.c b/components/drivers/misc/rt_drv_pwm.c
index 04895868e2..42325587ab 100644
--- a/components/drivers/misc/rt_drv_pwm.c
+++ b/components/drivers/misc/rt_drv_pwm.c
@@ -9,6 +9,7 @@
*/
#include <string.h>
+#include <stdlib.h>
#include <drivers/rt_drv_pwm.h>