Commit Graph

2022 Commits

Author SHA1 Message Date
Shicheng Chu be2119e0f5
[bsp][stm32]: add stm32h503 rtduino (#8448) 2023-12-29 19:46:28 +08:00
Meco Man 1bb277ef4b [ci] add online packages checking in stm32f411 nucleo 2023-12-28 23:51:56 +08:00
guotong ma 2d55efba84 [ci][attachconfig]support subfolders 2023-12-28 23:51:56 +08:00
Meco Man 0ad5c9585d [stm32][rt-spark] support nano version 2023-12-28 14:03:29 +08:00
Yuqiang Wang 975af5fd54
[ci][stm32f407-spark] add attach config CI check (#8431) 2023-12-27 23:06:46 +08:00
Meco Man c2e4b73114 [ci][stm32f407-explorer] add file system CI checking 2023-12-27 18:43:40 +08:00
Meco Man 7b4592c2d1 [ci][stm32l475-pandora] add attach CI checking for sdcard 2023-12-27 18:17:30 +08:00
Meco Man ed4d037d7b [ci][stm32f407] add attach config CI check 2023-12-26 23:13:08 +08:00
yangpengya 76acc4146b
[bsp][stm32]eth driver support phy YT8512C 2023-12-26 20:56:31 +08:00
Meco Man 37fea9d549 [stm32-pandora] add attach config CI check 2023-12-25 23:24:30 +08:00
Meco Man 58d0db9875 [stm32][ci] add RTduino CI checking 2023-12-25 08:20:58 +08:00
Meco Man eda1ef3b7c [stm32] add nano attach config for CI 2023-12-25 08:20:58 +08:00
vacabun 2693e7e15a
[ci]Add bsp attachconfig check 2023-12-24 22:43:40 +08:00
Meco Man fe35011fc5 [stm32][drv_tim.c] fix errors when TIMx doesn't exist 2023-12-24 20:03:58 +08:00
褚仕成 4a7f41531f [bsp][stm32] add board identification macros 2023-12-24 17:01:41 +08:00
Shicheng Chu 712e94a3cc
[bsp][stm32]: add nucleo-stm32h503rb (#8394) 2023-12-23 22:39:11 +08:00
Meco Man 4d22242ea5 [stm32][rtduino] add drv_gpio.h for pins_arduino.c 2023-12-23 14:36:30 +08:00
Supper Thomas 6d1fdde1ff add tim8 2023-12-18 20:29:56 +08:00
Meco Man 0a1566661f [bsp][stm32] add board identification macros 2023-12-18 20:29:24 +08:00
Supper Thomas 04b2c81745
[BSP/STM32] add support of RTC in g491 (#8377) 2023-12-17 21:44:25 +08:00
Meco Man 4658267117 [bsp][ci] add attach config files 2023-12-15 18:25:14 +08:00
Fu You a1df90dcf0
[bsp] 修复bsp自带的lvgl移植 (#8357) 2023-12-10 23:22:16 +08:00
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
zhkag 474a55ea36 【bsp/rt-spark】移除 ETH 并添加 ADC 初始化 2023-12-05 21:48:19 +08:00
Supper Thomas f510a65f93 [bsp/stm32/stm32g491] Add nucleo of stm32g491 2023-12-05 21:33:41 +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
Robin Chen ddbf2be2bc
enable art-pi spi flash use elmfatfs (#7690) 2023-11-22 16:19:36 +08:00
tangzz98 acc66c5479
实现MPU抽象层 (#8080)
- 为RT-Thread设计MPU抽象层,支持ARMV7-M,ARMV8-M架构,让用户使用MPU检测栈溢出等内存问题,实现线程内存隔离
- 在components/mp目录下提供通用的API,libcpu目录下提供各处理器架构的具体实现
- 在STM32U575 NUCLEO, STM32H75 NUCLEO开发板测试通过
2023-10-30 08:24:55 -04:00
guozhanxin 96edf7aeb6 [bsp/stm32f407-spark1] add llvm-arm toolchain support. 2023-10-25 16:49:51 +08:00
guozhanxin acda798759 [tools\llvm-arm]update bsp rtconfig.py 2023-10-19 12:14:01 -04:00
liYony a8249a28c6 [bsp][stm32] stm32l431-BearPi 添加mqtt连接华为云综合用例 2023-10-11 05:58:43 -04:00
guozhanxin 9e79333512 [project] update mdk/iar project and config. 2023-10-08 11:21:00 +08:00
Yuqiang Wang 37ef1ba88c
[bsp/stm32] Optimize the kconfig structure of ART-PI board about serial port (#8101) 2023-10-02 16:28:46 +08:00
guozhanxin 6d506dc5b6 [bsp/rt-spark] fix spi_flash_init.c 2023-09-27 10:16:46 +08:00
wangyuqiang c8790c72e4 [bsp][utest] 添加 rt-spark 在 gcc 下运行 utest 链接代码段 2023-09-25 16:44:40 +08:00
liYony 2ff1a1a4c9 [bsp][stm32] BearPi 支持 MPU6050 模块 2023-09-19 13:36:47 -04: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
liYangYang b4dac34167
[bsp][stm32l431-BearPi] 为BearPi支持lpuart1外设 2023-08-23 22:09:52 -04:00
zhkag 83a2863ab6 [bsp][stm32][rt-spark] 更新 cubemx ports 2023-08-14 13:55:28 +08:00
cx 9968f84c2b [stm32][pandora] fix LCD init ahead PWM 2023-08-09 02:48:36 -04:00
vacabun 6648419999 [bsp][stm32h750_artpi] use gnu99 2023-08-06 19:04:28 -04:00
Meco Man 1c03d59651 [rtduino][stm32-l476] add LED_BUILTIN 2023-08-06 10:57:19 -04:00
Meco Man 94eb8c29be [rtduino][stm32-f401] support timer9 as tone timer 2023-08-06 10:57:19 -04:00
Meco Man 0fb393e9a1 [bsp][stm32][drv_spi.c] remove meaningless settings 2023-08-04 00:10:20 -04:00
liYangYang f5fe1a5d7b
[RTduino][stm32-f401nucleo] 支持对接引脚的功能切换 (#7901) 2023-08-01 21:02:46 -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
Man, Jianting (Meco) 244b903e5d
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) 2023-07-22 10:36:42 +08:00
wangqinglin a07fda3470
[bsp][stm32][airm2m]<pin>更新pin num命令 (#7390) 2023-07-19 18:45:43 -04:00
Zheng-Bicheng fefffcf363
[bsp][stm32] add B-U585I-IOT02A BSP (#7778)
B-U585I-IOT02A芯片为STM32U585AIIxQ,与stm32u575-st-nucleo板卡接近,因此参考stm32u575-st-nucleo对B-U585I-IOT02A板卡的BSP进行了实现
2023-07-11 00:39:29 -04:00
Supper Thomas 032a3f2704 [bsp][rt-spark] Update README.md 2023-07-10 19:13:42 -04:00
Meco Man 325ddd2ab7 [bsp][stm32l476][RTduino] support PWM switch to SPI 2023-07-09 20:55:51 -04:00
Meco Man 673d1dcaf0 [bsp][stm32f411][RTduino] support Tone hwtimer 2023-07-09 20:55:51 -04:00
Meco Man a75de72bb1 [RTduino][ST7789] fix the demo of duration time caculation 2023-07-09 20:55:51 -04:00
Meco Man 5a51cd29c7 [bsp][stm32f411][RTduino] pins_switch_to_spi -> switchToSPI 2023-07-09 20:55:51 -04:00
liYangYang 3660db39a1
[RTduino][stm32-f411nucleo] 支持对接引脚的功能切换 (#7798) 2023-07-09 00:19:11 -04:00
Meco Man a87b399848 [stm32][RTduino] limit pin max number check 2023-07-08 21:47:57 -04:00
Meco Man 4f1f96bbce [stm32l475][RTduino] support tone timer 2023-07-08 21:47:57 -04:00
Supper Thomas 9295bc78ea
[bsp][stm32] remove the useless bsp (#7795) 2023-07-08 14:58:10 +08:00
Supper Thomas b59d243c4f
[bsp][stm32][spark]first version (#7787) 2023-07-07 09:39:57 +08:00
程蒙蒙 fd3b432915 [STM32WL55]修复scons编译不通过,完善link文件,移除硬件浮点支持
Signed-off-by: 程蒙蒙 <chengmeng_2@outlook.com>
2023-07-03 15:24:12 +08: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
Man, Jianting (Meco) 64c1d626e2
[bsp][stm32l476-nucleo] support timer 7 for RTduino (#7721) 2023-06-26 09:30:21 +08:00
Rbb666 b8796f55a5 [bsp][stm32]fix stm32u5 gpio interrupt error 2023-06-25 17:12:44 +08:00
guo 8d2072de55
[kernel]add api rt_hw_interrupt_is_disabled (#7706) 2023-06-21 22:42:50 +08:00
zhkag 33f550cb65
[Kernel] message 可以返回消息的实际大小 (#7709) 2023-06-21 18:22:42 +08:00
DingDing 3e4797c63c
[stm32][pandora] fix the static conflict error in ROMFS
#### 为什么提交这份PR (why to submit this PR)
原版编译报错:Static declaration of 'romfs_root' follows non-static declaration in dfs_romfs.h

原因为:在`board/ports/drv_filesystem.c`71行用`static`定义了常量`romfs_root`,而在`rt-thread/components/dfs/dfs_v1/filesystems/romfs/dfs_romfs.h`29行,有它的外部引用:

```
extern const struct romfs_dirent romfs_root;
```

Original compilation error: Static declaration of 'romfs_ root' follows non-static declaration in dfs_romfs. h

The reason is: in 'board/ports/drv_filesystem.c' line 71 use `static` define `romfs_root`, while in `rt-thread/components/dfs/dfs_v1/filesystems/romfs/dfs_romfs.h` line 29, with its external reference:
```
extern const struct romfs_dirent romfs_root;
```

#### 你的解决方案是什么 (what is your solution)
在`drv_filesystem.c`中,不可以用static修饰这个常量,故去掉`static`关键字。

In  `board/ports/drv_filesystem.c`, it is not allowed to define this constant with static, so the `static` keyword must be removed.

#### 在什么测试环境下测试通过 (what is the test environment)
正点原子潘多拉开发板
stm32l475-atk-pandora
2023-06-20 00:22:52 -04:00
dejavudwh 93baf8ddbb
[bsp][STM32] Add more Kconfig configuration support for stm32l496-st-nucleo (#7696) 2023-06-19 09:42:12 -04:00
zst123 96207d4246 [bsp][stm32u575] add ADC support 2023-06-15 18:37:31 -04:00
Meco Man 690446ee90 [pandor]st77xx update demo 2023-06-10 19:00:25 -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
KurisaW 1d748a7fd8 [bsp][stm32] 修改STM32G474 ioc工程为正确的芯片型号 2023-06-10 09:38: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
tangzz98 26ac806521
[bsp][stm32] add STM32F334 NUCLEO BSP (#7600) 2023-06-05 21:22:34 -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
Man, Jianting (Meco) 4366ca8af6
[stm32][pandora][RTduino] 完善RTduino demo (#7584) 2023-05-31 12:16:47 +08:00
Meco Man 099c889e2b [RTduino][stm32][pandora] support Arduino libraries demos 2023-05-29 01:57:19 -04:00
Meco Man afcc4005b8 [stm32][spi]完善在双工设置下仅开启TX/RX一方DMA的处理 2023-05-28 22:14:52 -04:00
Rain Park 7f31d5cb8c
[bsp][stm32][stm32l496-st-discovery] add stm32l496G DISCO bsp (#7544)
Signed-off-by: spencergotowork <1162678210@qq.com>
2023-05-22 02:56:33 -04:00
Meco Man 3334a05148 [stm32l4] support SPI3 RX DMA 2023-05-22 02:56:14 -04:00
Man, Jianting (Meco) 7aa3c806cd
[stm32l475][Kconfig] add BSP_USING_PWM4_CH2 when enable RTduino 2023-05-22 01:40:49 -04:00
Meco Man 1f4f495da6 [rtduino][stm32] support SPI LCD 2023-05-21 15:37:18 -04:00
guo 606ad9272b [tools] llvm-arm reduce code size. 2023-05-18 10:08:31 -04:00
guozhanxin 82ccbc40db support llvm-arm 16.0 2023-05-17 12:09:10 -04:00
褚仕成 5f8b33f85d [bsp][lpc55sxx]update: drv_spi 2023-05-17 07:20:05 +08:00
Meco Man 6cea142222 [tool][release] add tools/release folder for the scrips that prepare the version release 2023-05-15 09:03:04 -04:00
Meco Man eb08036537 [stm32][start_up] modify heap size as 0x00 and stack size as 0x400 2023-05-14 20:11:29 -04:00
nobody 613e5a3e51 [HUST CSE]fix:修改drv_spi.c空指针问题 2023-04-29 18:16:10 -04:00
顿玄 00c04d925d
[STM32][Readme] fix incorrect image link 2023-04-24 19:31:53 +01:00
Chaos-3 a61bbdd6d0 [HUST CSE]fix invalid document link about env tools user manual
Signed-off-by: Chaos-3 <u202011995@hust.edu.cn>
2023-04-19 11:10:59 +01:00
Stanley L 1c886a857c [doc][stm32] add How to create a RT-Studio project 2023-04-18 21:32:34 -04:00
songw4232 6368e7ef35
[stm32][NUCLEO-STM32U575ZI] update readme
combine the beginner guide with the readme.md file
2023-04-18 07:47:31 -04:00
arche8 59977a21de
[HUST CSE]Modify invalid links (#7279)
* [HUST CSE]Modify invalid links
2023-04-18 19:13:58 +08:00
7YZ7 501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code 2023-04-17 22:26:23 -04:00
L3LeTrigger 60835af8e1
[HUST-CSE]fix:Invalid document link about env (#7262) 2023-04-17 08:10:43 +08:00
songw4232 d4257aff20
[add]添加stm32u575上手文档 (#7246) 2023-04-14 18:46:42 +08: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
Yaochenger 83c0565e36
[change]修正stm32f401-st-nucleo上手指南 (#7227)
* [add]修正stm32f401-st-nucleo英文上手指南

* [add]添加STM32中文工程使用指南

* 规范英文图片名称

* 修改图片路径

* Update STM32系列如何创建新项目.md
2023-04-14 00:29:23 +08:00
Stanley L aa4d4dfbe3 Create How to create a new project.md
initial commit
2023-04-11 18:48:45 -04:00
Meco Man 24c3d7d72a [RTduino][stm32g474-nucleo] update readme 2023-04-09 20:02:33 -04:00
Meco Man 0e5ee77c39 [RTduino][stm32l476-nucleo] correct D9 pwm3 channel number 2023-04-09 20:02:33 -04:00
Meco Man 9fdb710f87 [RTduino][stm32l476-nucleo] update readme 2023-04-09 20:02:33 -04:00
Meco Man 85294a8e86 [RTduino][STM32] 优化内置ADC通道 2023-04-08 22:40:55 -04:00
Meco Man c8956357e4 [stm32][adc] 优化adc通道获取流程 2023-04-08 22:40:37 -04:00
Yuqiang Wang ccd6bd26ec
[bsp][stm32G474-Nucleo] Update RTduino README.md (#7197) 2023-04-08 14:24:58 -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
shandianchengzi e49140b513
[HUST CSE IoTS&P Lab][bsp] add missing UL suffix to BIT macro to prevent undefined behavior (#7153)
* [bsp] add missing UL suffix to BIT macro to prevent undefined behavior.

* [bsp] add UL suffix to BIT macro for consistency and readability.

* fix toUppercase.

* fix the abnormal character.

* format the file.
2023-04-03 23:05:42 +08: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
KurisaW 429f46c632 [bsp][stm32] update the template.uvprojx for stm32f411-st-nucleo 2023-04-03 14:02:36 +08:00
yangjie11 95e6b69b8e
sync and update all projects (#7138)
* sync and update
2023-03-31 16:49:48 +08:00
NU-LL 4ab11d5bbc FIX: add stm32h7xx series board information 2023-03-26 22:17:57 -04:00
NU-LL 735fb14fe7 [bsp][stm32] add stm32h750-fk750m1-vbt6 bsp 2023-03-26 22:17:57 -04:00
褚仕成 1dc8e5060a [arduino][stm32f411-weact-blackpill] : update Kconfig and README 2023-03-25 06:59:14 -04:00
Meco Man 4f8094ecd0 [stm32][l476-nucleo] support RTduino 2023-03-25 13:48:56 +08:00
褚仕成 dfd0e3e96d [arduino][stm32f401-weact-blackpill] : 对接RTduino 2023-03-25 00:49:31 -04:00
yangjie11 b0c247fb59
[components/drivers][touch]删除多余的touch.h (#7090)
* [components/drivers][touch]删除多余的touch.h

* 将touc.h替换为rtdevice.h
2023-03-24 11:47:28 -04:00
褚仕成 6095d65679 [stm32] update README.md of f401 2023-03-24 11:43:03 -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 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