Commit Graph

5949 Commits

Author SHA1 Message Date
Meco Man b0364da7e3 [arduino] add F_CPU to indicate the frequency of CPU 2022-05-25 10:03:54 +08:00
Meco Man 36f142fbc3 [arduino] add RTDUINO_NO_SETUP_LOOP 2022-05-25 10:03:54 +08:00
Sherman 1c64c9ef08
[bsp/renesas/docs/] Add English documents (#5985)
* [bsp/renesas/docs/] Add English documents
2022-05-25 10:02:42 +08:00
Man, Jianting (Meco) 1506829b85
[lvgl] remove LV_DISP_DEF_REFR_PERIOD which are defined manually (#5976) 2022-05-23 01:41:23 +08:00
Meco Man 2fc7fab80a remove CMSIS/RTOS folders 2022-05-20 10:51:55 +08:00
Meco Man 4557d3c8c3 update 2022-05-20 10:51:55 +08:00
Meco Man 19672b7c3a update stm32 ci checking list 2022-05-20 10:51:55 +08:00
Meco Man 9182d4cbb7 [stm32] remove meaningless files 2022-05-20 10:51:55 +08:00
sheltonyu d466bd0540 [bsp/at32] 1、调整文件结构,合并各系列独立的rt-drivers,以便维护。 2、更新各系列library和工程相关内容 2022-05-19 15:00:03 +08:00
xinyigao 53be4393aa
add rt1170/rt1020 bsp (#5927)
* add rt1170 bsp
* add rt1020 bsp
2022-05-19 14:06:35 +08:00
Ting Liu 880fc2f59a [imxrt 1060] support touchpad
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2022-05-19 14:03:20 +08:00
Meco Man 08737c2a26 [simulator] 消除windows下的警告 2022-05-19 09:43:20 +08:00
Meco Man 569facb12d [simulator] 增加RTC配置项(默认开启) 2022-05-19 09:43:20 +08:00
Meco Man e43548f46f [simulator] 优化SD挂载,在首次挂载失败后格式化重新尝试 2022-05-19 09:43:20 +08:00
Meco Man 7d657cbf46 [simulator] enable BSD socket by default 2022-05-19 09:43:20 +08:00
Meco Man 5ee36367da [simulator] improve Kconfig structure
add Onboard Peripheral Drivers menu
2022-05-19 09:43:20 +08:00
rewine e9a5d41351 [bsp] chmod u+x shell script 2022-05-17 11:16:33 +08:00
tangzz98 020e1bd7da Add quick start guide for QEMU on macOS 2022-05-17 10:56:38 +08:00
Meco Man 7fc707d99c [sal][kconfig] 重新梳理sal的依赖关系 2022-05-16 10:02:22 +08:00
Meco Man b793b6427a [sal] add draft for docking winsock 2022-05-16 10:02:22 +08:00
Meco Man 19abf927d2 [simulator] avoid conflicts between winsock.h and sys/time.h 2022-05-16 10:02:22 +08:00
Meco Man 2d41853124 [stm32f746] update the project
取消了默认选中LWIP和DFS
2022-05-16 09:53:25 +08:00
Jamie db27095da6
Unified management interrupt vector table. (#5925)
* Unified management interrupt vector table.
2022-05-15 20:57:35 +08:00
Rbb666 e848031c93 删除多余文件 2022-05-13 15:39:07 +08:00
Rbb666 63f8811c89 优化 LVGL文件结构 2022-05-13 15:39:07 +08:00
sheltonyu 8579f19ceb [bsp/at32] add at32f413 and at32f415 series 2022-05-13 15:38:43 +08:00
Ting Liu ea6999a700 [imxrt 1060]: support keil armclang compiler
Test with Keil MDK 5.36, Compiler V6.16

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2022-05-13 15:37:57 +08:00
Meco Man a0bfbe8d90 [imxrt1060]support NXP GUiGuider 2022-05-13 14:12:15 +08:00
Meco Man 3344e38dd5 [imaxrt 1060] 优化LVGL文件结构 2022-05-12 10:10:11 +08:00
Meco Man 6fe83d4a77 [lvgl][stm32f407] 优化LVGL初始化流程 2022-05-12 10:10:11 +08:00
Meco Man 1b4f16f729 [stm32f469][lvgl] 优化LVGL文件结构 2022-05-11 20:30:50 +08:00
Meco Man e6466d0fb7 [qemu] 优化qemu模拟器的LVGL文件结构 2022-05-11 20:30:38 +08:00
Meco Man 4448869394 [simulator] 优化vs模拟器的LVGL结构 2022-05-11 20:30:38 +08:00
Meco Man 9ff61b4cb3 [l475] remove meaningless header file 2022-05-11 20:30:38 +08:00
Man, Jianting (Meco) 4e7823cb6b
[stm32l475]优化LVGL初始化流程和结构 (#5919)
* [lvgl] 代码精炼

* delet lv_port_indev.c

* Update Kconfig
2022-05-11 08:41:57 +08:00
Meco Man 8a7b9da76d [stm32 nucleo][f072][f401] support TIM7/TIM11 hardware timer 2022-05-10 13:55:16 +08:00
xiaoxiaolisunny b9902b2fac
添加RTC设备驱动 (#5914)
* 添加RTC设备驱动
2022-05-10 13:54:15 +08:00
Meco Man c14dbe8a2e [lvgl] beautify code 2022-05-10 10:12:45 +08:00
Man, Jianting (Meco) 0d2b96d7cc
[stm32][l4] add tim7 support | 设备框架以及驱动错误码处理逻辑存在问题 (#5901) 2022-05-09 22:59:27 +08:00
Meco Man 96dd783f37 [cmsis] avoid conflict between cmsis5 and bsp cmsis 2022-05-09 22:54:36 +08:00
Wu Han 4171fcbb06 [bsp][stm32][drv_crypto] Enable RNG Clock 2022-05-09 11:13:01 +08:00
Meco Man 73236a825c [stm32][spi] remove hardware NSS 2022-05-09 09:57:22 +08:00
Meco Man e037b7684e prepare to support squareline studio 2022-05-09 09:56:27 +08:00
Meco Man 907ee070dd [imxrt1060] exchange On-chip Peripheral Drivers and Onboard Peripheral Drivers menu in Kconfig 2022-05-09 09:56:27 +08:00
charlown 6495df717f
[gd32/libraries]: fix compile error in rtc: "pmu_backup_write_enable" was not found. (#5906) 2022-05-09 09:37:51 +08:00
Jamie df3d16294c
Delete the bsp of hc32f4a0. (#5907)
* delete the bsp of hc32f4a0.
2022-05-09 09:32:30 +08:00
Jamie 28b551bfe3
Add the BSP of HC32 series. (#5905)
* Add the BSP of HC32 series.
2022-05-06 09:28:21 +08:00
Man, Jianting (Meco) 0e66f3f833
[arduino] update (#5895) 2022-05-01 12:24:35 +08:00
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
Yang sheng eb2fc60207
[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… (#5785)
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo.
* [RTC] Fix compile errors
2022-04-09 00:39:00 +08:00
CaocoWang 6b56515249
Lm402 (#5746)
* 1、添加基于STM32WLE5JC的BSP
2、修正stm32wlxx的引用

* edit readme
2022-04-08 01:12:37 +08:00