Commit Graph

824 Commits

Author SHA1 Message Date
Supper Thomas 32342c6995
[bsp/stm32g491] add tim and iwdog 2023-12-08 18:01:45 +08:00
Meco Man 1b0dae2bb0 [stm32] support nano version
- G0
- G4
- L0
- L4
2023-12-05 23:22:19 +08:00
Meco Man bb66d1ea50 [bsp][stm32][nano] support nano version
stm32 BSPs to support nano version (RT_USING_NANO)

这个commit支持到stm32f7之前的BSP
2023-12-03 21:25:00 +08:00
Meco Man 860094e893 [stm32] split stm32 drivers as normal and nano drivers
- move all normal drivers (devices framework drivers) into drivers
  folder.
- create nano folder for nano drivers
  nano drivers are only for a simply wrap of the HAL function, and
  not seek for adopting rt-thread devcies framework.
- provide unified nano console and GPIO drivers.
2023-12-03 21:25:00 +08:00
Meco Man 031a81a98e [stm32][nano] stm32l475-pandora support nano version 2023-12-01 14:43:05 +08:00
Meco Man 53aa771aa5 [stm32][nano] stm32f103-bluepill support nano version 2023-11-30 11:39:34 +08:00
TamapChn 3ea3f3447e [bsp][stm32] 修复 encoder驱动 编码器数值的计算问题 2023-11-26 18:00:01 +08:00
mengplus 0396b52db0 fix(spi):多个SPI公用一个ops.data 2023-11-23 09:05:45 -05:00
guozhanxin 9e79333512 [project] update mdk/iar project and config. 2023-10-08 11:21:00 +08:00
yuanzihao 32d479321b
[bsp][stm32]: add NUCLEO-H563ZI (#7987) 2023-08-29 13:10:14 +08:00
Donocean 0354cd83e4
[bsp][stm32][driver] Add mini bsp support for stm32f405zg 2023-08-24 12:57:13 -04:00
Meco Man 0fb393e9a1 [bsp][stm32][drv_spi.c] remove meaningless settings 2023-08-04 00:10:20 -04:00
Meco Man 4e0225a48d [debug] use LOG_D instead RT_DEBUG_LOG
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-07-28 13:50:32 -04:00
wangqinglin a07fda3470
[bsp][stm32][airm2m]<pin>更新pin num命令 (#7390) 2023-07-19 18:45:43 -04:00
程蒙蒙 72a6c91032 [bsp]stm32工程生成路径在源码目录 2023-07-03 15:20:57 +08:00
Meco Man 34bc78331c [stm32][i2c] replace stm32_udelay as rt_hw_us_delay 2023-06-28 22:08:14 -04:00
Rbb666 b8796f55a5 [bsp][stm32]fix stm32u5 gpio interrupt error 2023-06-25 17:12:44 +08:00
zst123 96207d4246 [bsp][stm32u575] add ADC support 2023-06-15 18:37:31 -04:00
Meco Man 28b7c88269 [stm32][drv_spi] revert the typo
it shouldn't be a static variable.
2023-06-10 19:00:08 -04:00
wdfk-prog 7c3f5c3879 [bsp][stm32][spi] 优化DMA数据非字节对齐的处理流程 2023-06-09 22:48:22 -04:00
winfenggao 37585a3f20
[serial_v1] 增加变量 DR_mask 成员变量提高效率 (#7597) 2023-06-06 00:18:32 -04:00
Meco Man 22fb7152d9 [stm32][spi-dma] 只有传输数据超过一定长度才会使用DMA方式
在传输数据为短小报文时,使用DMA模式反倒会慢
2023-06-02 03:14:32 -04:00
Man, Jianting (Meco) 1638241297
[stm32][drv_spi] 优化spi单工发送, 不对接收buffer操作
否则可能影响上层应用的接收/发送buffer

attach: afcc400
2023-05-31 21:54:45 -04:00
Meco Man afcc4005b8 [stm32][spi]完善在双工设置下仅开启TX/RX一方DMA的处理 2023-05-28 22:14:52 -04:00
Meco Man 3334a05148 [stm32l4] support SPI3 RX DMA 2023-05-22 02:56:14 -04:00
褚仕成 5f8b33f85d [bsp][lpc55sxx]update: drv_spi 2023-05-17 07:20:05 +08:00
nobody 613e5a3e51 [HUST CSE]fix:修改drv_spi.c空指针问题 2023-04-29 18:16:10 -04:00
songw4232 ad309699d6
[add]添加bsp/stm32/stm32u575-st-nucleo外设 (#7237)
* [add]添加bsp/stm32/stm32u575-st-nucleo外设

* [fix]修改源码格式使之符合RT-Thread代码规范

* [fix]修改相关报错问题

* [fix]修改README.md

* [fix]删除无效代码及添加相关注释
2023-04-14 14:07:05 +08:00
Meco Man c8956357e4 [stm32][adc] 优化adc通道获取流程 2023-04-08 22:40:37 -04:00
Yuqiang Wang 7fbe8bbd49
[bsp][stm32] 完善STM32系列 pwm_config.h文件 (#7196) 2023-04-08 01:03:22 -04:00
wdfk-prog 25bcb84756 [bsp][stm32]添加SDMMC驱动,以区分SDIO与SDMMC 2023-04-08 12:23:52 +08:00
Yuqiang Wang e45d9c4a1e
[bsp][rtduino] support for STM32G474 Nucleo in RTduino (#7151) 2023-04-07 21:56:59 -04:00
Eziotao ce346d798b modify the sampling rate to increase the actual baud rate(drv_usart.c/drv_usart_v2.c) 2023-04-03 10:14:52 -04:00
hwk2077 d6c1b75e42 add `TIM1` and `TIM8` 2023-04-03 02:45:57 -04:00
NU-LL 735fb14fe7 [bsp][stm32] add stm32h750-fk750m1-vbt6 bsp 2023-03-26 22:17:57 -04:00
Zxy 156fda61cf [errno code]fix that use RT_ENOMEM without - 2023-03-23 01:55:21 -04:00
Meco Man eb3cb250be [errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without - 2023-03-22 01:54:52 -04:00
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 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 2cc9bd876e [error code][-RT_EIO] fix that use RT_EIO without - 2023-03-16 20:20:37 -04: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