Meco Man
0f461e870c
[errno code][-RT_ERROR] fix that use RT_ERROR without -
2023-03-20 00:06:16 -04:00
Meco Man
de963feef4
[stm32][drv_tim.c] enable timer clock
2023-03-20 00:05:36 -04:00
Meco Man
f80e61d6ff
[stm32][pwm] fix the timer clock enable problem
2023-03-20 00:05:36 -04:00
Meco Man
27da0f0472
format .icf, .lds, .sct
2023-03-20 00:04:51 -04:00
Meco Man
4b8f518c48
[stm32][adc] add error code return
2023-03-19 23:50:44 -04:00
Meco Man
b33e1cbf68
[stm32][pin] 修复GPIO驱动警告
2023-03-19 23:50:24 -04:00
Meco Man
c3820a2c1b
format sconscript Kconfig files
2023-03-19 07:08:27 -04:00
Meco Man
991a2f1e9e
[RT_ALIGN_SIZE] set RT_ALIGN_SIZE as 8 by default
2023-03-16 20:20:55 -04:00
Meco Man
2cc9bd876e
[error code][-RT_EIO] fix that use RT_EIO without -
2023-03-16 20:20:37 -04:00
Meco Man
0429452465
[bsp][rtduino] update arduino_main.cpp
2023-03-05 21:10:08 -05:00
Misthao
fab0e506be
新增stm32f401-weact-blackpill BSP(STM32F401CCU6最小系统板) ( #6973 )
...
* 新增stm32f401-weact-blackpill
2023-03-06 10:09:03 +08:00
Rbb666
d1e1f66e42
[STM32]Fix f469 touch build error and set lvgl to double buffer
2023-03-02 23:22:02 -05:00
Rbb666
00ad3921e4
[STM32]Add STM32F723E-DISCO bsp support
2023-03-01 08:23:35 -05:00
Rbb666
afd86f4547
fix stm32 drv_lcd some problem ( #6836 )
...
* LTDC:将 Alpha 通道默认设置为0(完全透明)
* rt_malloc 替换为 rt_malloc_align
2023-03-01 02:12:50 -05:00
Zxy
f5798d9917
[pin][5.0.0] 修正pin框架数据类型使用不当 ( #6934 )
2023-02-26 21:17:51 -05:00
liYangYang
93d572dee6
[spi][5.0.0] 修正SPI设备框架中,对函数返回值类型使用不恰当的情况 ( #6937 )
2023-02-26 21:09:07 -05:00
liYangYang
1eec660b12
[spi]添加rt_spi_bus_attach_device_cspin 函数 ( #6916 )
...
这个函数实现了原先的挂载功能,并且调用pin框架,初始化cs引脚,是一个功能相对完善的挂载函数。用户也能更简单的使用。
该函数取代rt_spi_bus_attach_device,后续rt_spi_bus_attach_device会被逐渐淘汰掉。新的BSP以及软件包应当使用rt_spi_bus_attach_device_cspin新函数。
STM32L475潘多拉测试通过。
2023-02-11 22:14:54 -05:00
Meco Man
f58d3c5200
rt_device_write/read return data type as rt_ssize_t
...
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Meco Man
9b109639d1
[stm32] sconscript typo
2023-01-22 22:07:54 -05:00
liYangYang
6eaf9a9c57
[stm32][qspi] qspi attach 函数问题解决方案 ( #6867 )
...
* [qspi] qspi attach 函数解决方案
* pin
* 更改函数名字
2023-01-18 22:04:45 -05:00
liYangYang
63294afc9d
[stm32][softspi]soft spi attach函数问题解决方案 ( #6868 )
...
* [softspi]soft spi attach函数问题解决方案
* 更改函数名
2023-01-18 22:03:48 -05:00
liYangYang
7ff64c1cfd
[stm32][spi] spi attach函数问题解决方案 ( #6864 )
...
attach #6819
2023-01-18 00:27:08 -05:00
会飞的猪
65f1804005
[bsp/stm32wle5-yizhilian-lm402]修复scons --dist缺失大量文件
2023-01-17 21:32:43 -05:00
会飞的猪
265dbc0ce1
[bsp/stm32wle5-yizhilian-lm401]修复scons --dist缺失大量文件
2023-01-17 21:32:43 -05:00
Zxy
c9f7f0e771
[BSP][stm32] fix the compile error
2023-01-16 23:21:21 -05:00
Meco Man
ddccef3a64
modify RT_ALIGN_SIZE as 8 by default
2023-01-12 22:47:23 -05:00
Meco Man
f4fa7ba970
[RTduino][stm32f469-disco][readme] fix typo
2023-01-13 11:40:57 +08:00
Meco Man
09b36e76f2
[RTduino][stm32f411-nucleo] add English readme
2023-01-13 11:40:57 +08:00
Meco Man
baac8760a5
[RTduino][stm32f410-nucleo] add English readme
2023-01-13 11:40:57 +08:00
Meco Man
120595d371
[RTduino][readme] correct grammar
2023-01-13 11:40:57 +08:00
Meco Man
b310541471
[env] add scons --strict
...
此commit意图在脚本中增加 scons --strict命令,使用该命令编译工程时,会自动将CFLAGS CXXFLAGS设置为 Werrors,即较为严格的编译模式,任何警告都会当做错误来处理。
该命令主要用于CI,在CI执行bsp编译时,可以使用 scons --strict命令。现在QEMU的rtconfig.py 为了CI检查,直接将CFLAGS加上了Werrors,导致正常编译过程中也把警告当做了错误,对日常使用该bsp造成了影响。
2023-01-12 01:43:44 -05:00
lpy
071d52ad44
[RTduino][stm32f410-nucleo] 添加readme,在pins_arduino.c和pins_arduino.h添加了USER_KEY引脚编号 ( #6838 )
...
* 添加readme
* 更改pins_arduino.h引脚编号
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-01-10 21:41:58 -05:00
Meco Man
7ecba50ff6
format stm32 drivers
2023-01-08 22:52:13 -05:00
Meco Man
592284c66c
format link scripts
2023-01-08 22:52:13 -05:00
Meco Man
9bc68d26a4
format Kconfig and sconscript
2023-01-08 22:52:13 -05:00
Man, Jianting (Meco)
f4b285dc9c
improve sensor framework ( #6784 )
...
* [stm32l475-pandora] rename sensor_port.c as drv_sensors.c
* [sensor][cmd] add enter critical section protection
* [sensor] add sensor reset command
2023-01-08 21:33:38 -05:00
liYangYang
7c05d8517c
[STM32][SPI]解决挂载函数里面不同bsp对uaer_data的滥用 ( #6819 )
...
* [spi]attach 片选引脚依赖pin框架
* 修改attach函数
2023-01-07 23:03:42 -05:00
wdfk-prog
431579a166
[stm32][adc]更改配置通道与校准函数顺序 ( #6758 )
...
* [stm32][adc]更改配置通道与校准函数顺序
* 添加16位与14位分辨率配置
* 添加内部参考电压与温度,电池电压通道配置
* [stm32][adc]修改返回参考电压函数
* 返回准确的参考电压值
* 通过该值在使用__HAL_ADC_CALC_DATA_TO_VOLTAGE宏计算的电压值更为准确
* 删除多余代码
* 规划代码格式
* 更新支持其余芯片
* 已测试F429
2023-01-02 01:47:58 -05:00
螺丝松掉的人
c38c6e2c83
[rtduino]:add README for stm32f411-weact-blackpill pinout ( #6807 )
...
* [rtduino]:add README for stm32f411-weact-blackpill pinout
2023-01-01 23:39:40 -05:00
褚仕成
2b41f80f0e
[rtduino]: fix README
2023-01-01 23:00:52 -05:00
goldengrandpa
d355981041
[bsp][stm32f407-RoboMaster-C]Enable TIM5_CH1/2/3
2022-12-31 16:30:16 -05:00
褚仕成
de9db80814
[rtduino] : fix arduino_pinout and README
2022-12-30 07:51:49 -05:00
Meco Man
20a6f14e89
use PIN_IRQ_PIN_NONE to replace RT_PIN_NONE
2022-12-26 02:10:30 -05:00
Meco Man
40a24806f9
[stm32][pandora] add ap3216c sensor support
2022-12-26 02:10:30 -05:00
wdfk-prog
fa7c1db768
[stm32][spic]修改SPI TX DMA中断优先级
...
* 原先中断优先级不生效
2022-12-24 15:12:30 -05:00
wdfk-prog
db6ee55379
[STM32][common]更新rt_hw_us_delay函数,以支持设置更高延时
...
* 未判断设置延时数是否会溢出
2022-12-22 21:18:29 -05:00
Man, Jianting (Meco)
262392a69c
[sensor] draft new sensor-hal framework ( #6746 )
...
* [sensor] new sensor framework
针对老版本sensor框架的诸多不合理设计进行重构
之前的PR中已经重构了浮点数相关的问题
本次PR主要围绕sensor的整体架构予以重构,对过于理想化的参数和模式予以删除
* [sensor] 增加can modbus总线类型
* [stm32l745] 完善sensor对接
* [sensor] fix the onchip ID print
2022-12-21 21:24:51 -05:00
Zxy
f4323f2049
[stm32f1] 对于RTC-Alarm进行添加STM32F1宏控制 ( #6765 )
...
并确认并列出已经在什么情况或板卡上进行了测试。
And confirm in which case or board has been tested. -->
STM32F103ZET6
为什么提交这份PR (why to submit this PR)
使用STM32F103ZET6的RTC的Alarm功能出现问题,按照原本的驱动代码编译会报错。
你的解决方案是什么 (what is your solution)
修改底层驱动drv_rtc.c文件,将报错的几个结构体给注释掉即可。
在什么测试环境下测试通过 (what is the test environment)
rtstudio下对STM32F103ZET6进行测试并且成功运行Alarm功能
2022-12-21 20:33:54 -05:00
螺丝松掉的人
eec9d4f595
[arduino][stm32f427-robomaster-a] : 对接RTduino ( #6767 )
...
* [arduino][stm32f427-robomaster-a] : 对接RTduino
* Update README.md
* Update pins_arduino.c
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-12-21 18:16:31 -05:00
Stanley Lwin
f0ef8ada33
[bsp] [stm32F401] Enable PA11 for TIM1_CH4 ( #6756 )
2022-12-20 01:20:20 -05:00