Commit Graph

917 Commits

Author SHA1 Message Date
Bernard Xiong ee2cec13b1
Merge pull request #3602 from thread-liu/rt-thread-thread-liu
SPI 设备初始化 NSS 类型判断错误
2020-05-16 14:05:40 +08:00
XYX12306 fe2122d076 Merge remote-tracking branch 'upstream/master' 2020-05-15 19:52:14 +08:00
Bernard Xiong 4ef35a9dee
Merge pull request #3568 from NU-LL/l476_add_spi_adc_time
support SPI/ADC/TIME on-chip peripheral driver
2020-05-15 15:13:48 +08:00
thread-liu 3496017c84 [update] spi nss type 2020-05-15 15:07:19 +08:00
tyustli 55edb9642a 【修改】添加注释及模块化程序 2020-05-15 12:53:36 +08:00
GaoJie c4eed718e8 [BSP] [STM32] drv_can.c CANx_SCE_IRQHandler() 的 RT_CAN_BUS_ACK_ERR 处理3个邮箱的 TXOK标志 2020-05-13 10:05:23 +08:00
GaoJie 1e94742a0e [BSP] In bsp of stm32, Change drv_can1 to drv_can2 in function CAN2_SCE_IRQHandler() of drv_can.c 2020-05-13 09:35:30 +08:00
tyustli a7c293fac0 [bsp] fix stm32 f1 series rtc bug 2020-05-12 14:08:24 +08:00
luhuadong 921aa67eec [BSP] update the picture of stm32l412-nucleo 2020-05-08 19:33:09 +08:00
luhuadong 542edd9066 [BSP] update a picture of stm32l412-nucleo 2020-05-07 20:48:50 +08:00
luhuadong 12887d54ce [BSP] optimize dist handle according to #3582 2020-05-07 20:45:54 +08:00
Bernard Xiong 90fb832bf2
Merge pull request #3582 from SummerLife/optimize_dist_handle
[bsp] optimize bsp dist handle process
2020-05-07 14:07:52 +08:00
NU-LL c8e7093ee6 Fix LPTIM error 2020-05-07 12:39:24 +08:00
NU-LL 6e861d4938 Fix adc initialization 2020-05-07 11:14:17 +08:00
NU-LL e444ec908c Add STM32CubeMX initial configuration 2020-05-07 10:42:55 +08:00
Bernard Xiong c88870bfd7
Merge pull request #3527 from z14git/pwm_patch
add PWM1_CONFIG
2020-05-06 21:30:36 +08:00
Bernard Xiong 6632f9c006
Merge pull request #3576 from whj4674672/master
[bsp/stm32/stm32h743-atk-apollo]support stm32h7 uart dma
2020-05-06 21:07:45 +08:00
Bernard Xiong 35e81207c7
Merge pull request #3553 from xiangxistu/master
[update] gizwits-gokitv21 support uart2
2020-05-06 21:02:41 +08:00
Bernard Xiong a998556e83
Merge pull request #3561 from luhuadong/develop
[BSP] Add stm32l412-st-nucleo BSP
2020-05-06 21:00:23 +08:00
Bernard Xiong e38ee383aa
Merge pull request #3528 from majianjia/master
Fix bug cause STM32 HAL SPI timeout
2020-05-06 20:57:09 +08:00
SummerGift 9f6696964a [update] add new line 2020-05-06 15:43:26 +08:00
SummerGift b74ec1ec8c [add] stm32 bsp dist handle in rtconfig.py 2020-05-06 15:05:09 +08:00
SummerGift daf43f7443 [add] stm32 sdk_dist.py 2020-05-06 14:55:36 +08:00
ousugo dff597e68c fix led0 --> led1 2020-05-05 15:13:11 +08:00
luhuadong c0ed7f6e89 [BSP] correct stm32l412-st-nucleo capacity info 2020-05-04 23:00:41 +08:00
whj4674672 92ddb8b0f3 [bsp/stm32/stm32h743-atk-apollo]support stm32h7 uart dma 2020-05-02 15:09:41 +08:00
XYX12306 572df0f5bf add bsp/stm32/stm32f413-st-nucleo 2020-04-29 09:37:30 +08:00
NU-LL c7b74a1e8f support SPI/ADC/TIME on-chip peripheral driver 2020-04-28 13:33:15 +08:00
luhuadong b3dc8111db [BSP] update stm32l412-st-nucleo mdk5 project 2020-04-24 23:46:38 +08:00
luhuadong d47f03788f [BSP] update stm32l412-st-nucleo mdk5 project 2020-04-24 23:43:28 +08:00
luhuadong db327dc2e6 [BSP] Adjust RCC for stm32l412-st-nucleo BSP 2020-04-24 21:58:06 +08:00
luhuadong ae724e447f [BSP] Add stm32l412-st-nucleo BSP 2020-04-24 02:46:01 +08:00
yangjie ef00e50ad5 [bsp][stm32l475-atk-pandora]将SPI3配置为 transmit only master 模式,防止LCD模块使用的PIN脚被SPI3_MISO占用 2020-04-23 16:21:01 +08:00
xiangxistu e822924176 [update] support uart2
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-04-21 21:14:20 +08:00
Bernard Xiong 00503fb835
Merge pull request #3512 from xupenghu/stm32l010rb-nucleo
Stm32l010rb nucleo
2020-04-20 23:52:28 +08:00
xupenghu_huaweipc 3b20282e13 add bsp/stm32l010rb-nucleo, fix some pr suggest. 2020-04-20 19:20:56 +08:00
Bernard Xiong 7cf7841cca
Merge pull request #3510 from whj4674672/master
增加stm32h743-atk-apollo对pcf8574 和 uart2的支持
2020-04-13 23:27:11 +08:00
Jianjia Ma 24bc2560ef
Fix bug cause HAL SPI timeout
The bug affects in SPI mode 1 (probably and mode 2)
When changing SPI device, HAL returns timeout error for the first time trying to read/write.
2020-04-13 10:50:55 +01:00
z14git 5fa0656a9a add PWM1_CONFIG 2020-04-13 15:28:12 +08:00
whj4674672 32d13e389b sppport stm32h743-atk-apollo pcf8574 and uart2(485) 2020-04-11 17:27:46 +08:00
DeclanHuaChen 9545529b33 Fix some spelling mistakes 2020-04-11 16:06:32 +08:00
xupenghu_huaweipc 36eb783fc7 add bsp/stm32/stm32l010-st-nucleo 2020-04-10 09:36:53 +08:00
thread-liu a68f142ac6 [update] bsp/stm32/stm32h743-st-nucleo 2020-04-02 08:49:45 +08:00
thread-liu 0b61ac03ee [update] bsp/stm32/stm32/stm32f429-st-disco 2020-04-01 17:52:55 +08:00
thread-liu 8d15d2b681 [update] bsp/stm32/stm32h743-st-nucleo 2020-04-01 17:50:56 +08:00
SummerGift e5c1183350 [optimize] stm32 uart driver 2020-03-23 15:44:54 +08:00
Bernard Xiong f91b9e7670
Merge pull request #3431 from tanglj86/master
[bsp/stm32] add support for NUCLEO-F410RB board;
2020-03-22 21:27:48 +08:00
Bernard Xiong 9388434043
Merge pull request #3452 from supperthomas/aa
[bsp/stm32] add the bsp of stm32l496zg-nucleo board
2020-03-22 21:27:36 +08:00
Bernard Xiong a8cd463347
Merge pull request #3470 from Sunwancn/fix-adc-channel-bug
[drv_adc.c]Fixed ADC channel configuration bug for SMT32F0/L0/H7
2020-03-22 21:25:56 +08:00
Bernard Xiong 2e42ad8279
Merge pull request #3442 from redocCheng/master
drv_flash_f1.c support stm32f103vg
2020-03-22 21:24:47 +08:00
Sunwancn d211a27aff [drv_adc.c]Fix ADC channel Configuration bug for SMT32F0/L0/H7 2020-03-20 09:05:45 +08:00
supperthomas bd85518665 Merge branch 'master' of github.com:supperthomas/rt-thread into back 2020-03-18 22:43:04 +08:00
gyd0317 588bda5553 change gcc statup files 2020-03-18 21:42:13 +08:00
tanglj86 816a714de1 fix some format issues; 2020-03-18 18:51:22 +08:00
redoc 4b46aafa75
Update drv_flash_f1.c
1、【修改】返回值。
2020-03-18 15:38:10 +08:00
redoc 5a5f262649
Update drv_flash_f1.c
调整stm32_flash_erase的返回值
2020-03-18 15:31:20 +08:00
redoc bac9410d7d
Update drv_flash_f1.c
1、【修改】运算方式,更加简洁易懂;
2、【修正】代码格式 tab、 LOG_D;
3、【增加】返回值;
4、【去除】bank1_flag和bank2_flag,改用bank_size判定。
2020-03-18 15:05:12 +08:00
unknown db23a69f49 dd STM32L1 HAL DRIVER 2020-03-17 22:11:13 +08:00
supperthomas 56a2e831f4 Merge branch 'master' of github.com:supperthomas/rt-thread 2020-03-16 23:59:08 +08:00
Bernard Xiong 6d3c0be646
Merge pull request #3453 from DavidLin1577/patch-6
[bsp]Fixed a  stack overflow bug in drv_crypto.c
2020-03-15 20:39:48 +08:00
David Lin 45ae555a0b
[bsp]Fixed a stack overflow bug in drv_crypto.c
Added if null before used.
2020-03-14 23:11:37 +08:00
supperthomas a90610dee5 [bsp/stm32] add bsp of stm32l496zg-nucleo 2020-03-14 18:08:21 +08:00
supperthomas e847fab957 [bsp/stm32] add bsp of stm32l496zg-nucleo 2020-03-14 17:50:53 +08:00
yangjie 9b889944ba [bsp][stm32/pandora]增加AP6181移植文件 2020-03-14 16:59:31 +08:00
yangjie dae2d1e8fe [bsp][stm32/pandora]增加对板载 AP6181 的支持 2020-03-14 16:17:02 +08:00
redoc 91a52192b8
update tab 2020-03-12 15:04:10 +08:00
redoc 363903b984
chage tab 2020-03-12 15:02:26 +08:00
redoc acf4fc6d2e
update drv_flash_f1.c
support stm32f103vg
2020-03-12 14:46:46 +08:00
Bernard Xiong 3e8c03e934
Merge pull request #3421 from ErnestChen1/master
[bsp] fix UART DMA TX
2020-03-10 16:24:38 +08:00
tyustli 6304ed3ad5 [bsp/stm32] add pm support by cubemx tool 2020-03-09 14:08:58 +08:00
tanglj86 e8614639eb [bsp/stm32] add support for NUCLEO-F410RB board; 2020-03-07 19:11:49 +08:00
Bernard Xiong 90e8b3664d
Merge pull request #3401 from thread-liu/master
[update] 修改了 stm32f407-atk-explorer mdk5 工程编译报错的bug
2020-03-04 11:45:26 +08:00
greedyhao 5748ca3967 [bsp/stm32] rename 2020-03-03 09:03:41 +08:00
greedyhao d96056a4f2 [bsp/stm32] update readme 2020-03-02 21:11:13 +08:00
Ernest c1821b85a1 [bsp] fix UART DMA TX 2020-02-29 21:20:54 +08:00
greedyhao aee731fdf8 [bsp][stm32] add usbd support for stm32f411-mini-system 2020-02-29 09:39:50 +08:00
greedyhao 3ddf6c96f5 [bsp][stm32] stm32f411-mini-system edit kconfig 2020-02-28 19:37:06 +08:00
greedyhao 8498a19082 [bsp][stm32] add stm32f411-mini-system bsp 2020-02-27 21:36:04 +08:00
Bernard Xiong 05bd0c0797
Merge pull request #3411 from armink/fix_eclipse
Fix eclipse
2020-02-26 17:31:15 +08:00
Bernard Xiong 9c02a7c308
Merge pull request #3408 from xiangxistu/master
[update] disable "--specs=nano.specs" parameter
2020-02-26 17:28:32 +08:00
armink 5dffac8483 [bsp/stm32] Add cpp lib path for eclipse project. 2020-02-26 15:22:52 +08:00
liuxinaliang b07a417a7c [update] disable "--specs=nano.specs" parameter
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-02-26 11:59:35 +08:00
朱天龙 (Armink) 1dd4452df0
Merge pull request #3402 from SummerLife/add_stm32_h747_discovery
[bsp/stm32]  add STM32H747-DISCO BSP
2020-02-26 11:25:31 +08:00
SummerGift c225b0f745 [update] bsp/stm32/stm32h747-st-discovery/board/SConscript 2020-02-26 10:26:48 +08:00
SummerGift abde5170dd [update] stm32/stm32f767-st-nucleo/SConstruct 2020-02-25 20:19:26 +08:00
SummerGift d9a9b90b33 [update] board/sconscript to fix compile error after dist 2020-02-25 16:30:12 +08:00
David Lin f4a2a00f3d
[bsp/stm32]Fixed typo 'lenth' in drv_eth.c
Note that the word 'lenth' is wrong in the output infomation,
so that 'lenth' should been replaced with 'length'.
And floder-> folder in line 22.
2020-02-24 20:54:53 +08:00
SummerGift 30bb2b6209 [update] bsp/stm32/README.md 2020-02-24 15:32:52 +08:00
SummerGift 8e2868c5b3 [update] README.md 2020-02-24 14:34:13 +08:00
SummerGift 1a87fdf59f [update] mdk project.uvoptx 2020-02-24 14:29:57 +08:00
SummerGift b5dac5da72 [add] bsp/stm32/stm32h747-st-discovery/figures/board.png 2020-02-24 14:26:04 +08:00
SummerGift a776e99c1e [add] bsp/stm32/stm32h747-st-discovery/board 2020-02-24 14:24:19 +08:00
SummerGift 0904f7b638 [update] bsp/stm32/stm32h747-st-discovery/project.ewp 2020-02-24 14:22:04 +08:00
SummerGift 375b1768b0 [update] bsp/stm32/libraries/STM32H7xx_HAL/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h to handle multi-core situations 2020-02-24 14:21:21 +08:00
SummerGift c782a967f6 [add] bsp/stm32/stm32h747-st-discovery/applications 2020-02-24 14:19:14 +08:00
thread-liu 34cd69348b [update] 修改了 stm32f407-atk-explorer mdk5 工程编译报错的bug 2020-02-24 13:02:42 +08:00
SummerGift df77345f34 [add] stm32/stm32h747-st-discovery bsp 2020-02-24 12:17:53 +08:00
malongwei c0a48f3ab0 add stm32f407-atk-explorer sram driver 2020-02-23 11:37:24 +08:00
Bernard Xiong e5bd2884d7
Merge pull request #3340 from whj4674672/master
Porting for stm32h7xx spi
2020-02-20 13:08:58 +08:00
Bernard Xiong 3bd9694c2d
Merge pull request #3337 from geniusgogo/fixed_drv_pwm
[STM32/drv_pwm.c]fixed PWM timer init.
2020-02-19 09:40:12 +08:00
Bernard Xiong 10d480eec0
Merge pull request #3383 from armink/fix_eclipse
Fix eclipse
2020-02-18 15:39:45 +08:00
armink 19dd40440f [bsp/stm32] update eclipse project. 2020-02-17 22:35:22 +08:00
Bernard Xiong bbdc9e2c7c
Merge pull request #3350 from eYoung8475/master
[bsp][stm32][stm32f103-atk-warshipv3]add sdcard driver
2020-02-17 12:28:56 +08:00
Bernard Xiong 5ca53690f7
Merge pull request #3336 from geniusgogo/fixed_drv_eth
[stm32/libraries/HAL_Drivers/drv_eth.c]fixed read phy SR register return value
2020-01-26 18:21:19 +08:00
Bernard Xiong 8d309ed533
Merge pull request #3343 from chengxiaohu/master
Add DMA for ADC driver, and other little update.
2020-01-24 19:07:19 +08:00
luhuadong bfceeef81c [BSP] [stm32f769-st-disco] fix error 'undefined reference to *entry*' after scons --menuconfig 2020-01-18 11:04:40 +08:00
linyiyang 8f1d5c5ba2 [bsp][stm32][stm32f103-atk-warshipv3]add sdcard driver 2020-01-17 21:08:50 +08:00
luhuadong 779feb5cd4 fix error 'undefined reference to entry' after menuconfig 2020-01-17 18:59:12 +08:00
Ihavedone caef50f3d1 修复SPI4 RX DMA相关的宏定义写成 SPI4 TX的问题 2020-01-17 11:54:05 +08:00
Ihavedone 5eeae513ae 添加了不需要由 PWM 或 引脚 控制LCD背光时的背光控制空函数,防止编译报错 2020-01-17 11:30:07 +08:00
Ihavedone 04831062bd 添加了 PWM9_CONFIG 默认配置 和 TIM3_CONFIG 默认配置 2020-01-15 21:05:12 +08:00
whj4674672 f117df8476 Porting for stm32h7xx spi 2020-01-15 14:31:40 +08:00
xieyangrun d2a857e13a [STM32/drv_pwm.c]fixed PWM timer init. 2020-01-15 13:45:30 +08:00
xieyangrun 0094765b31 [stm32/libraries/HAL_Drivers/drv_eth.c]fixed read phy SR register return value conflicts with function's parameter 2020-01-15 11:38:35 +08:00
Bernard Xiong 390687122e
Merge pull request #3318 from eYoung8475/master
[bsp][stm32]add stm32f103-atk-warshipv3 sram driver
2020-01-10 20:37:14 +08:00
linyiyang 7e003b2214 修改相关sram名称为external sram; 2020-01-08 22:04:49 +08:00
Bernard Xiong d0098acd88
Merge pull request #3319 from ethanDu1/bugfix_drvflashf7
Bugfix drvflashf7
2020-01-07 16:58:13 +08:00
ethan.du 8e4d05d7ae modify assert and code style 2020-01-07 14:29:33 +08:00
Bernard Xiong 1f8c3e5e56
Merge pull request #3312 from xiangxistu/dev
[bsp][stm32] fix a problem that using gcc compile the chips of stm G4 series  but chip doesn't work
2020-01-07 08:08:38 +08:00
ethan.du 8f5e1c5715 add space 2020-01-06 19:43:45 +08:00
ethan.du 6b614c05b8 modify space 2020-01-06 19:40:25 +08:00
ethan.du 516702d69e drv_flash_f7.c support single bank mode 2020-01-06 19:24:23 +08:00
linyiyang 8b11bfd3ac
Provide more information about this SRAM 2020-01-06 19:14:35 +08:00
linyiyang 75e832c65e [bsp][stm32]add stm32f103-atk-warshipv3 sram driver 2020-01-06 09:12:45 +08:00
liuxinaliang ead5f07c5f [bsp][stm32] change tab into whitespace
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 17:59:10 +08:00
liuxinaliang 6ad56dfbec [bsp][stm32] fix a problem that using gcc compile the chips of stm G4 series but chip doesn't work
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 12:45:46 +08:00
liuxinaliang 4e23cb027f [bsp][stm32] fixed a bug that caused system crash by changing the run_mode in low power mode
Signed-off-by: liuxinaliang <liuxianliang@rt-thread.com>
2020-01-03 11:17:50 +08:00
ZYH 0d0d0d37dc [BSP][STM32][STM32F469-DISCO]fix build error with qspi 2019-12-30 23:45:14 +08:00
liuxinaliang e473ad5606 [bsp][stm32] bsp/stm32/stm32f407-atk-explorer 增加 USB Device支持 2019-12-30 18:13:21 +08:00
Bernard Xiong 55128eda45
Merge pull request #3281 from tyustli/usb
[stm32] [drivers] port usb host driver to stm32 new series
2019-12-27 12:52:50 +08:00
a1012112796 15ceaad6e4 [BSP/stm32f427-robomaster-a] Correct RAM configuration information 2019-12-20 22:02:11 +08:00
tyustli 0135c7bd8b port usb host driver to stm32 new series 2019-12-20 14:35:26 +08:00
Bernard Xiong bb9a55817c
Merge pull request #3237 from qiyongzhong0/stm32l4r5-st-nucleo
add stm32l4r5-st-nucleo BSP
2019-12-13 07:19:37 +08:00
HubretXie ad397a63a8
[bsp][stm32]修复硬件定时器bug 2019-12-12 14:56:40 +08:00
Bernard Xiong 44123368a9
Merge pull request #3256 from armink/fix_eclipse
[bsp/stm32] update eclipse project.
2019-12-11 15:13:31 +08:00
armink 6c85182b72 [bsp/stm32] update eclipse project. 2019-12-11 14:38:26 +08:00
Bernard Xiong 4d9bc92885
Update SConscript 2019-12-11 08:23:09 +08:00
a1012112796 316d2e8847 [BSP/stm32f427-robomaster-a] add SD card suport 2019-12-10 23:04:25 +08:00
qiyongzhong0 5c15fd615d 修改stm32驱动库:
1.修改drv_flash_l4.c文件中stm32_onchip_flash定义的blk_size字段,由原来2048改为FLASH_PAGE_SIZE,以增强芯片适应性.
2.修改drv_usbd.c文件中stm_usbd_register函数,增加支持RT_USING_DEVICE_OPS配置.
2019-12-05 13:40:04 +08:00
qiyongzhong0 2700130ea6 add stm32l4r5-st-nucleo BSP 2019-12-05 11:44:39 +08:00
armink f1e5883543 [bsp/stm32] Add DMAMUX support for stm32l4+.
Signed-off-by: armink <armink.ztl@gmail.com>
2019-12-01 15:50:51 +08:00
Bernard Xiong a687065ba2
Merge pull request #3225 from HubertXie/master
增加GPIO中断进入退出保护
2019-11-28 21:17:18 +08:00
HubretXie 7f56898fad
Update drv_gpio.c
增加GPIO中断进入退出保护
2019-11-27 14:08:42 +08:00
greedyhao fb3e2764e6 Update uart_config.h 2019-11-26 10:52:00 +08:00
HappyTime 6e8047e1d6
Update drv_common.c
Fix comment errors
2019-11-23 16:08:44 +08:00
Bernard Xiong c768160083
Merge pull request #3208 from greedyhao/master
[bsp/stm32] Update f7 HAL Lib SConscript
2019-11-17 22:15:54 +08:00
greedyhao cc319c0181 Update SConscript
添加 stm32f7xx_hal_crc_ex.c,避免开启 CRC IP 的时候报错
2019-11-16 21:30:32 +08:00
a1012112796 d41b4704fc [BSP][stm32/stm32f103-atk-warshipv3] open swd port config on stm32cubemx 2019-11-16 10:32:24 +08:00
Bernard Xiong 9397419914
Merge pull request #3197 from SummerGGift/del_useless_folder_in_cmsis
[bsp/stm32] del useless folder in CMSIS to avoid compilation error in rt-thread IDE
2019-11-12 13:40:44 +08:00
SummerGift 457d474ac1 [bsp/stm32] del useless folder in CMSIS to avoid compilation error in rt-thread IDE 2019-11-12 10:49:27 +08:00