Commit Graph

13682 Commits

Author SHA1 Message Date
tyx 5fa15a19a0 [lwip] Fix compilation warning 2022-04-20 10:41:13 +08:00
tyx a6135ebcf3 [libcpu][arm] Fix compilation warning 2022-04-20 10:37:35 +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
guozhanxin 08bebb40ba [usb audio] fix building error. 2022-04-20 09:10:52 +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
Tangyuxin 20f5d934a9
[libc][time] Fix bug (#5831) 2022-04-19 22:47:14 +08:00
Tangyuxin 14d9709fdc
[finsh][cmd] Enhance system robustness (#5832) 2022-04-19 22:46:42 +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
Meco Man 5e9f525c41 [kernel] enable RT_DEBUG_DEVICE by default and move weak rt_hw_dealy_us in kservice.c 2022-04-19 11:26:41 +08:00
tyx d6c74af535 [libcpu][arm] Fix compilation warning 2022-04-19 11:26:11 +08:00
tyx 87046a1abf [libc][io] Remove definitions that are not in use 2022-04-19 11:22:58 +08:00
tyx 6237d2aa69 [components][fal] Compact code 2022-04-19 11:13:56 +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 9609c2a942 update for ci 2022-04-18 10:07:15 +08:00
sheltonyu 99e7647b93 add at32f435_437 bsp to ci 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
tyx e414cb459d [components][drivers] Update device type definition and command definition 2022-04-18 09:38:56 +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
Tangyuxin fcc4899b60
[tools] Add Python 3 compatibility patch (#5825) 2022-04-17 23:42:32 +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 615dbe946c
Fix return value of rt_dac_write function. (#5816)
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-04-15 17:09:37 +08:00
Man, Jianting (Meco) 11344b89d9
attach #5815 (#5818) 2022-04-15 17:08:44 +08:00
Meco Man bda32cdedb [libc] fix that some function cannot be found in unistd.h 2022-04-15 15:40:20 +08:00
Stanley 2fa40dd602
Fix/parameter name (#5815)
* Update ipc.c

Parameter name standardization

Co-authored-by: Stanley <stanleylwinn@gmail.com>
2022-04-15 15:32:07 +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
Judd 80f20f668b fix comment
fix comment on return value of `rt_hwcrypto_crc_update`
2022-04-13 16:20:39 +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
bernard 9551fdc153
!489 bsp-gd32:adc驱动bug修复
Merge pull request !489 from wang0huan/gitee_master
2022-04-13 06:41:35 +00: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