Commit Graph

5851 Commits

Author SHA1 Message Date
supperthomas ee1e0a0df0
[bsp][esp][esp32c3] add the bsp of esp32c3 (#5869)
* add the ESP32_C3 first version

* add the blinky ok version

* fix the code

* format file

* add the readme

* fix the formate

* Update README.md

* Update main.c

* fix the readme

* fix rtconfig.h

* remove cpp config
2022-04-29 09:01:44 +08:00
Meco Man ec9629b5f0 更新文档 潘多拉增加spi2 2022-04-28 09:19:39 +08:00
breederbai 429e1cafe6 修复BUG:串口启用DMA接收后,动态修改串口波特率扰乱接收检索
在串口不关闭的情况下,更改波特率后,清空上次数据检索,导致更新写入检索错误,
串口无法读出正确的数据。真实数据的位置和检索值之间总有一定的距离,导致读取
数据的时候会有一定的延时。缓冲区大,延时越长
2022-04-27 21:59:06 +08:00
breederbai 326abec0e7 修复BUG:SDIO和UART6(TX)的DMA通道分配冲突 2022-04-27 21:54:28 +08:00
Wayne 7215a27038
[nuvoton] Update nuc980iot configuration (#5882)
* Disable TRNG function in default configuration.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-04-27 21:53:50 +08:00
Kevin Liu 55c9827096
添加对Microchip SAML10系列支持 (#5868)
* Add SAML10 Cortex-M23 series support

1. Add SAML10 Cortex-M23 series support; 2. remove STDIO related code of same54 series, no need any more; 3. update rtconfig.py to support output bin & map file containing DEVICE PART info.
2022-04-27 09:24:56 +08:00
blta d52ad69d6f
[BSP] judge the SPI instances before operating (#5874) 2022-04-26 13:26:28 +08:00
Sherman 7c99148f78
[bsp/renesas] update docs/RA系列BSP制作教程.md (#5862)
* [update] 添加 RA 系列 BSP 开发教程:
  - 添加 RA 系列 BSP 开发教程
  - 添加 ra6m4-iot PPP 上网
  - 整理 驱动文件

* [bsp/renesas] update docs/RA系列BSP制作教程.md

* [restore] Restore to the latest version
2022-04-24 14:53:03 +08:00
wolfJane d77125452b
为n32g45x添加硬件CRC支持 (#5852)
* 为n32g45x添加硬件CRC支持

基于stm32的驱动文件进行改造,目前modbus的crc16和mpeg2的crc32测试正常
2022-04-24 11:42:25 +08:00
Man, Jianting (Meco) 6ce4a87492
[fcntl] create new fcntl.h file for vs (#5860)
* [fcntl] create new fcntl.h file for vs
2022-04-24 10:52:57 +08:00
sheltonyu 7af43fdd4f [bsp/at32] update at32f435_437 adc driver 2022-04-24 09:28:37 +08:00
xfwangqiang 717c678190
fixed some warning (#5866) 2022-04-24 01:24:20 +08:00
Meco Man 175ca2ee09 [dac] add get resolution method 2022-04-23 23:03:59 +08:00
Man, Jianting (Meco) acc04facf9
[gd32] format code (#5861) 2022-04-22 22:30:15 +08:00
Man, Jianting (Meco) c2a0995545
[adc] 支持adc框架获取BSP的ADC分辨率 (#5853) 2022-04-22 22:26:41 +08:00
Forest-Rain b06228ec7e
[bsp/gd32] bug fixed gpio_mode_set miss gd32_spi->mosi_pin,gd32_spi->sck_pin (#5729)
* bug fixed gpio_mode_set miss gd32_spi->mosi_pin,gd32_spi->sck_pin
* feature,add gd32_spi's alt_func_num member for different spi periph's gpio
* feature,add spi3,spi4,and support multi spi devices
* feature,add rt_hw_spi_device_attach api
* tested on the gd32f450i-eval board
2022-04-22 14:40:45 +08:00
blta 04fe6232fb
[bsp] add null CCFLAGS for Nuclei bsps (#5851)
* [bsp] fix gd32vf103_rvstar building issue
2022-04-21 20:37:39 +08:00
zhouji 77900ab420 [update] Updated the Cortex-A of linker scripts for the new version of GCC(4.7)。 2022-04-20 17:32:02 +08:00
wolfJane cbd062ca25
[bsp/n32g45x] drv_spi.c中添加超时检测避免卡死 (#5820)
* 为spi添加超时检测,避免卡死。提取公共部份,避免代码复制。
2022-04-20 10:28:29 +08:00
Man, Jianting (Meco) a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
Man, Jianting (Meco) 7b47e8d052
[stm32f401-nucleo] arduino support (#5842)
* [stm32f401-nucleo] arduino support
* 增加application arduino main文件
* 调整目录结构
2022-04-20 09:09:58 +08:00
Kevin Liu 7847c5e98d
Microchip SAM MCU新增ethernet支持和驱动更新 (#5821)
* Microchip SAM MCU BSP update and add ethernet driver

1. Update Microchip SAM MCU BSP, add I2C, GMAC, ADC driver support. 2. Add ethernet driver support of SAM MCU for RT-Thread.

* Add GMAC and I2C driver support

1. Update MCU BSP to support I2C/ADC/GMAC peripherals. 2. Add I2C and ethernet driver and LWIP support. 3. Update serial driver.

* Add I2C driver and move some files to the common folder

1. Add I2C driver. 2. Move the same drivers and demo code to same folder to reduce duplicated code.
2022-04-19 14:32:02 +08:00
Meco Man 991b6e78b3 [bug] 修正rtc对时间参数范围的处理 | fix a bug of rtc 2022-04-19 11:48:59 +08:00
Rbb666 a003cbe705
rt1052 添加 RT-Thread Studio 工程 (#5838)
* rt1052 添加 RT-Thread Studio 工程
2022-04-19 11:04:44 +08:00
sheltonyu e1f7e95f5d remove unused files 2022-04-18 10:07:15 +08:00
sheltonyu ebcc2cb8c1 update for file format 2022-04-18 10:07:15 +08:00
sheltonyu 0449ade73b add at32f435_437 first version 2022-04-18 10:07:15 +08:00
sheltonyu c2b8df673b update for drivers and readme 2022-04-18 10:07:15 +08:00
Man, Jianting (Meco) 0dc493d6da
[stm32f072] support Arduino I2C and update readme (#5824)
[stm32f072] support Arduino I2C and update readme
2022-04-18 09:36:12 +08:00
Man, Jianting (Meco) 9fa8c78c9a
update arduino related (#5809)
- add comments
- remove ARDUINO_PWM_HZ
- remove initVariant blank function
- support DAC0
- improve Kconfig of STM32L475 PANDORA
- add readme
- add i2c1 bus device
2022-04-16 15:10:00 +08:00
Wayne Lin 35fced1235 Disable TRNG function in default configuration. 2022-04-15 15:05:33 +08:00
Miaowulue 5e7badd34c [bsp/stm32] update ov5640 configuration of openmv 2022-04-15 10:34:38 +08:00
Miaowulue da0164cf8e [bsp/stm32] add ov5640、dcmi、i2c for openmv 2022-04-15 10:34:38 +08:00
Miaowulue 7919642a8b [bsp/stm32] add rtc for openmv 2022-04-15 10:34:38 +08:00
guo 54642ec639
Merge pull request #5807 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
2022-04-14 16:33:44 +08:00
zuozuojia ecb69f56ac Update drv_can.c
删除多余注释,另外确定了对于其他型号单片机的适应性
2022-04-14 11:50:22 +08:00
zuozuojia ff36a39d32 [bsp/stm32] fix the bug of can filter conflict 2022-04-14 11:50:22 +08:00
Kevin Liu 8af8decb62
Add Microchip SAM series MCU support for RT-Thread (#5771)
* Add Microchip SAM series MCU support for RT-Thread

Add Microchip SAM series MCU support for RT-Thread, including SAM Cortex-M0+, M4F and M7.

* Add bsp directory to ignored check list

Add bsp directory to ignored check list, add microchip /samc21/same54/same70 to workflows list

* remove STDIO definition and bug fix

1. remove STDIO code from Microchip official BSP. 2. bug fix of SAME70 hpl/hpl_usart.c, samc21&same54 hpl/hpl_sercom.c baudrate update interface.  3. Add RT-Thread standard STDIO implementation on Microchip SAM MCU.

* add CAN driver & example and script fix

Add CAN driver and example for SAMC21/SAME5x/SAME70 and fix rtconfig.py issue(unused space might result link error)

* Add Chinese version README

Add Chinese version README for SAMC21/E54/E70
2022-04-14 10:54:53 +08:00
rtthread-bot 435d2b24f8 Merge remote-tracking branch 'rtt_gitee/gitee_master' 2022-04-13 16:16:47 +00:00
Meco Man efdd28bde6 remove meaningless debug file 2022-04-13 22:37:59 +08:00
Meco Man 3cacdf6ddb [simulator] upgrade SDL2.0 to 2.0.20 2022-04-13 22:37:59 +08:00
wolfJane fdb486de7b
[Update] n32_msp.c add spi3 (#5733)
* Update n32_msp.c
* 添加SPI3的初始化代码
* 修正spi收发函数卡死在SPI_I2S_GetStatus的BUG
2022-04-13 16:19:21 +08:00
wang0huan 3471663a7f bsp-gd32:adc驱动bug修复 2022-04-13 08:52:11 +08:00
打盹的消防车 ec539bc930
fix:修复i2c异常问题 (#5794)
* fix:修复i2c异常问题

* add:格式化代码格式
2022-04-11 17:34:40 +08:00
blta 35e266cb2e [bsp/stm32] select the input clk of spi based on SPI instances 2022-04-11 17:33:02 +08:00
zuozuojia ba1b8b4bfa delete the code be commented out 2022-04-11 15:02:12 +08:00
zuozuojia 04971a96fe [bsp/stm32] fix the bug of uart that not define pwm10 and pwm11 2022-04-11 15:02:12 +08:00
zuozuojia a282faf26c [bsp/stm32] fix the bug of 'can' being stucked when short cricuit the canH and canL, change some wrong annotations 2022-04-11 15:02:12 +08:00
zuozuojia 10b71175eb [stm32F4] adapt 168M frequency of 1M can baud, remember to add the define of BSP_USING_CAN168M in kconfig while using 168M frequency 2022-04-11 15:02:12 +08:00
Meco Man 9b6bc0fcc7 [simulator] 解决simulator模拟器不能挂在sd卡的问题,并更新文档 2022-04-11 14:07:55 +08:00