Commit Graph

5780 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 5b17eeeb9b
[stm32][nucleo-f072] add arduino support (#5650)
* [stm32][nucleo-f072] add arduino gpio support

* 完善stm32f401nucleo的基本配置

* 修改led引脚描述

* 潘多拉增加arduino引脚别名

* [ARDUINO]STM32L072RB 增加ADC A0-A5的引脚配置

* add pwm
2022-03-10 13:44:39 +08:00
andychen329 0569add5b2
update readme picture name (#5644)
update readme picture name
2022-03-08 15:33:54 +08:00
打盹的消防车 0e254652aa
add:air105 bsp (#5607)
* add:air105 bsp

* add:去掉注释代码

* add:注释修改

* fix:格式化一遍代码格式

* add:main函数添加闪灯

* add:完善bsp

* add:添加一些信息

* add:使用工作队列喂狗

* add:整理目录

* add:去掉乱码部分

* add:修改readme

* add:更新readme说明

* add:去掉bootloader.bin和soc_download.exe,README.md中添加标注

* fix:去除多余文件

* add:补充license

* add:支持scons --dist

* add:更新soc_download.exe连接地址
2022-03-08 12:04:17 +08:00
stevetong459 fb61c7960b
本次PR涉及①BSP驱动新增②F103库更新③GCC、IAR适配及MDK更新④README文件及由更新驱动引起的脚本改动。 (#5638)
* 本次提交包括①BSP驱动新增②F103库更新③GCC、IAR适配及MDK更新④README文件及由更新驱动引起的脚本改动。
详情如下:
一、BSP驱动新增
这是本次PR的主要目的,现新增了如下BSP驱动:
ADC、DAC、RTC、PWM、HWTIMER、I2C、SPI和WDT等八个驱动文件。
二、F103库更新:
本次提交使用2022年3月初极海官网发布的最新F103库,主要增加了版权声明、USB驱动及其他代码调整。
三、编译器适配:
1、新增GCC编译支持,在ENV工具下编译能成功且输出的bin文件能够使开发板闪灯。
2、新增IAR工程支持。
3、由F103的SDK更新,MDK的工程也进行了相应更新。
四、其他
1、README文件做了修改,加入了scons编译后的jlink下载说明和官网链接。
2、Kconfig、SConscript脚本根据驱动更新做了修改。

* 格式化代码(AStyle + Formatting)

* 增加BSP APM版权声明

* 在ci添加当前bsp的路径,以能够验证gcc能否正常编译

* 路径的“\”改为“/”
2022-03-08 12:03:06 +08:00
GUI 0a8dd10b0b
[libcpu/aarch64] add gtimer frq set and stack align (#5642)
* [libcpu/aarch64] add smp support

* [libcpu/aarch64] rt_hw_trap_irq get irq instead of iar when using gicv2

* [libcpu/aarch64] disable irq/fiq when switch thread

* [libcpu/aarch64] add gtimer frq set and stack align
2022-03-07 22:41:56 +08:00
来一颗糖 532d898e71
[bsp/n32g452xx] add drv_spi.c (#5640) 2022-03-07 12:05:53 +08:00
Yang sheng 542195559b
[bsp][stm32] Add support with pwm6 to pwm13 (#5620) 2022-03-07 01:20:05 +08:00
Man, Jianting (Meco) c1ab995371
增加板卡标识 (#5633) 2022-03-07 01:15:13 +08:00
BruceOu 38ed2a3ec4
[bsp/gd32]Optimize UART (#5603)
* [bsp/gd32]Optimize UART

* [bsp/gd32]Optimize UART
2022-03-04 13:49:28 +08:00
Man, Jianting (Meco) d28654570d
增加板卡标识 (#5615) 2022-02-27 09:02:14 +08:00
Man, Jianting (Meco) e96e3e07f5
[lwip] integrate lwip porting layer (#5606)
* [lwip] integrate lwip porting layer

* Lwip 通用文件梳理 (#2)

* [modify] extract the common files for different version about lwip.

* [update] the initialization logic of lwIP.

* 整理源码结构

* ethernetif 头文件 ""改为<>

* 整理代码

* add macro definition "RT_USING_DEVICE_IPC".

* [update] mandatory selected "RT_USING_DEVICE_IPC".

* [modify] compile error for lost "lwip/init.h"

Co-authored-by: xiangxistu <52819708+xiangxistu@users.noreply.github.com>
Co-authored-by: liuxianliang <liuxianliang@rt-thread.com>
2022-02-23 23:56:43 +08:00
guo 2c165449ee
[bsp] Fix a typo in qemu.sh (#5612) 2022-02-23 14:16:12 +08:00
Man, Jianting (Meco) 2e98bc4e19
[arduino][stm32l475] enable i2c4 bus (#5608)
* [Arduino][stm32l475] enable i2c bus device

* 增加默认i2c总线设备名称
2022-02-23 10:20:36 +08:00
Tuber 5a61304a09
add ch579m bsp (#5600)
* add ch579m bsp

Author:    Tuber <tuber@xyza.cn>
Date:      Wed Feb 16 07:20:23 2022 +0000

* fix uart reg value error and format code

* change file encode to utf-8
2022-02-18 13:41:59 +08:00
Man, Jianting (Meco) 89bf823f7d
[arduino][stm32l475] update application/arduino folder (#5599) 2022-02-17 13:36:15 +08:00
GUI 85dc9bd4a6
[libcpu/aarch64] rt_hw_trap_irq get irq instead of iar when using gicv2 (#5601)
* [libcpu/aarch64] add smp support
* [libcpu/aarch64] rt_hw_trap_irq get irq instead of iar when using gicv2
2022-02-17 01:00:29 +08:00
WillianChan a1d1f95338 [bsp][stm32][stm32f769-st-disco]add stm32f7xx_hal_dsi.c when using LTDC/MIPI-DSI
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-14 13:55:39 +08:00
yanmowudi 98b98124c7 delete swm320-lq100 bsp 2022-02-14 13:53:04 +08:00
WillianChan 56235c21dd [bsp][stm32][stm32f769-st-disco]fix wrong CPPDEFINES and close lwip
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-14 10:13:42 +08:00
Wayne 23c1fdd779
[nuvoton] Update configuration files and fix issue. (#5588)
1. Add default rtconfig.h header.
2. Fix IP reset issue.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-02-08 15:03:05 +08:00
liuhy-2020 a23aadd631
[bsp][essemi] fix bugs. (#5585)
* [bsp][essemi] update es32f36xx libraries.
* [bsp][essemi] add led_pin control.
2022-02-08 09:13:05 +08:00
RudyLo 4192f0d651
[bsp][artpi] porting LVGL to ART-Pi with Media-IO (#5583)
* [bsp][art-pi] add spi lcd ili9488 driver
* [bsp][art-pi] support LVGL display
* [bsp][artpi] support LVGL indev
* [bsp][artpi] debug LVGL indev with ft6236
* [bsp][artpi] swap and invert touchpad coordinate
* [bsp][artpi] redundant declarations
* [bsp][artpi] indent BSP_USING_LVGL config
* [bsp][artpi] default build debug version
* [bsp][artpi] fix BSP_USING_LVGL Kconfig
2022-02-07 17:24:48 +08:00
guozhanxin a0fadd4e5a remove duplicate code 2022-01-29 21:52:26 +08:00
guozhanxin 44dcf1d68a Merge remote-tracking branch 'remotes/origin/gitee_master' 2022-01-29 18:37:56 +08:00
Man, Jianting (Meco) 71ba65e7c0 add new bsp tms320c6678
原始提交PR:https://gitee.com/rtthread/rt-thread/pulls/372
提交者:https://gitee.com/wei-handong

----------------------

在TI公司C6000 DSP处理器上成功移植rt-thread操作系统;主要在libcpu/ti-dsp/c6x添加keystone架构底层代码,在bsp/ti-c6678添加bsp工程,该工程已在本人的开发板上成功运行

* 添加TMS320C6678处理器,keystone架构底层代码

* 添加支持中断栈部分代码,修改格式

* 修改汇编rt_hw_context_switch_to处关于时间槽的使用;修改格式

* 修改使用C语言构建任务栈帧,清除fls和ffs对<c6x.h>文件的依赖

* 修改bsp tms320c6678工程,并测试

* 删除依赖TI的KeyStone_common.c文件

* 添加编译说明

* update bsp/ti-tms320c6678/README.md.

* format code

Co-authored-by: Huang bo <hb265419@126.com>
Co-authored-by: hdwei <1147479335@qq.com>
Co-authored-by: bernard <bernard.xiong@gmail.com>
Co-authored-by: rtthread-bot <48120998+rtthread-bot@users.noreply.github.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-01-29 16:11:42 +08:00
Meco Man 7a0f48caa9 [stm32]小ROMbsp 默认为-O2 2022-01-28 04:23:41 -05:00
charlown e969e7166a [bsp/wch/arm/ch32f103c8-core]:add BSP_USING_TIM to fix compile error if no select hwtimer. 2022-01-28 12:26:50 +08:00
bernard 1c4c186181
!372 [本次提交内容:在TI公司C6000 DSP处理器上成功移植rt-thread操作系统;主要在libcpu/ti-dsp/c6x添加keystone架构底层代码,在bsp/ti-c6678添加bsp工程,该工程已在本人的开发板上成功运行]
Merge pull request !372 from hdwei/hdwei
2022-01-28 01:38:42 +00:00
charlown 90c3ef05c5 [bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver]:support gcc. 2022-01-28 09:30:25 +08:00
hdwei c5ab5250bc
update bsp/ti-tms320c6678/README.md. 2022-01-27 14:43:52 +00:00
hdwei 0d4e3a4b16
update bsp/ti-tms320c6678/README.md.
添加READM.md说明文档
2022-01-27 14:42:08 +00:00
hdwei 5c8b4908e7
update bsp/ti-tms320c6678/README.md. 2022-01-27 14:38:46 +00:00
hdwei 0ea04eb842
update bsp/ti-tms320c6678/README.md. 2022-01-27 14:33:48 +00:00
hdwei 9fb11fd815
update bsp/ti-tms320c6678/README.md. 2022-01-27 14:30:44 +00:00
hdwei 36471da716
update bsp/ti-tms320c6678/README.md. 2022-01-27 14:29:36 +00:00
hdwei 72083e3986
rename bsp/ti-tms320c6678/readme.txt to bsp/ti-tms320c6678/README.md. 2022-01-27 13:57:07 +00:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
guo 0b191fbdc9
Merge pull request #5522 from ShermanShao/master
[bsp/renensas] 更新 ra6m4-cpk 的 FSP 3.5.0;添加 ra6m4-iot bsp
2022-01-26 18:08:19 +08:00
charlown 94cfe1d338 [bsp/wch/arm/Libraries/ch32_drivers]format code. 2022-01-26 18:07:36 +08:00
charlown 7b2b9cdb70 add wch ch32f203r-evt bsp. 2022-01-26 18:07:36 +08:00
Sherman 544c721d89 Merge branch 'master' of github.com:RT-Thread/rt-thread 2022-01-26 17:48:46 +08:00
Sherman fc3c29df70 Merge remote-tracking branch 'remotes/origin/ra6m4-cpk-3.5.0'
# Conflicts:
#	bsp/ra6m4-cpk/.settings/standalone.prefs
#	bsp/ra6m4-cpk/SConscript
#	bsp/renesas/ra6m4-cpk/ra_gen/vector_data.h
#	bsp/renesas/ra6m4-iot/buildinfo.gpdsc
#	bsp/renesas/ra6m4-iot/project.uvoptx
#	bsp/renesas/ra6m4-iot/project.uvprojx
#	bsp/renesas/ra6m4-iot/ra/fsp/inc/api/r_external_irq_api.h
#	bsp/renesas/ra6m4-iot/ra_gen/SConscript
2022-01-26 17:42:57 +08:00
Wayne Lin 8803bf4018 Update RT_USING_DFS options and sync new USB host API. 2022-01-26 15:09:29 +08:00
Wayne Lin 648199808e Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton 2022-01-26 14:54:14 +08:00
guo e665bacf89
Merge pull request #5567 from mysterywolf/nxp
#5564 format codes
2022-01-26 12:51:53 +08:00
Meco Man 77b8db800c [imxrt] format codes 2022-01-25 23:24:09 -05:00
LeeChunHei 3000140bfd
爲imxrt系列添加usb host驅動 (#4377)
* adding fsl_os_abstraction porting

* port usbh to imxrt

Co-authored-by: guo <guozhanxin@rt-thread.com>
2022-01-26 11:49:22 +08:00
guozhanxin 2f6f9da5e3 fix usbhost issue by #4378 2022-01-26 11:39:39 +08:00
LeeChunHei c06b57670f
修改bsp的usb host 驅動 (#4379)
* add arg for rt_usb_host_init call
2022-01-26 10:46:57 +08:00
guo e6cc9363c7
Merge pull request #5561 from iysheng/up_gd32
同步更新 GD32 框架代码,移动 wdt 和 rtc 驱动
2022-01-26 10:46:01 +08:00
iysheng e4892b95fd [bsp][gd32103c-eval] Port rtc, adc, wdt, hwtimer drivers to new gd32
frame
2022-01-26 10:28:15 +08:00
WBI\nxf44444 8b0f50b7e2 Update i2c driver, add read ACK and BUS status check 2022-01-26 01:43:05 +08:00
WBI\nxf44444 3be35fecae Update i2c driver, add read ACK and BUS status check 2022-01-26 00:54:03 +08:00
Wayne Lin 1577e91c50 Update default configurations. 2022-01-25 19:15:55 +08:00
Wayne Lin e272d04219 [nuvoton] Sync to 4.1.0.
1. Remove dfs_posix.h including for syncing 4.1.0.
2. Fix issue in crypto driver.
3. Add LVGLv81 supporting in NuMaker-M2354 BSP.
4. Update USB board menu in M480 BSP.
2022-01-25 19:03:07 +08:00
rtthread-bot 759ae194f5 Merge remote-tracking branch 'rtt_gitee/gitee_master' 2022-01-25 06:46:10 +00:00
brightsally 5a0575e7be !428 [at91sam9260 platform/interrupt.c fix "rt_interrupt_dispatch" Undefined error]
* 1.修改template.uvproj文件所伴随的改动
* 1.编译选项指定C99格式,解决编译错误declaration may not appear after executable statem…
* 1.修复找不到函数rt_interrupt_dispatch错误
2022-01-25 06:35:27 +00:00
LeeChunHei cd72ef6ecb
add pulse encoder porting to imxrt1052 (#4372) 2022-01-24 14:22:48 +08:00
diskwu 03f46c6694
避免警告,变量可能未初始化就使用 (#5544)
* 避免警告,变量可能未初始化就使用

* 避免警告,变量可能未初始化就使用

* 避免警告,变化可能未初始化就使用。

* Update bsp/stm32/libraries/HAL_Drivers/drv_usart.c

Co-authored-by: guo <guozhanxin@rt-thread.com>

* Update bsp/stm32/libraries/HAL_Drivers/drv_usart_v2.c

Co-authored-by: guo <guozhanxin@rt-thread.com>

Co-authored-by: guo <guozhanxin@rt-thread.com>
2022-01-21 11:06:37 +08:00
Bernard Xiong b5de986122
Merge pull request #5542 from mysterywolf/keil
[sconscript.platform] 优化针对编译器判断
2022-01-20 21:01:00 +08:00
Meco Man 3606065803 [lwip] remove lwip 2.0.2
- 移除2.0.2,该版本存在几个重要的bug,已经在2.0.3中修复,作者强烈建议更新
- 将部分bsp由2.0.2调整为2.0.3
2022-01-20 20:54:51 +08:00
guo 7c403d3587
Merge branch 'master' into keil 2022-01-20 14:20:43 +08:00
Meco Man 884218588a [sconscript.platform] 优化针对编译器判断的脚本
- 删除啰嗦的代码
related: https://github.com/RT-Thread/rt-thread/issues/3046
2022-01-19 23:24:47 -05:00
liukangcc 27511885f3 [update] change ccflags to cflags 2022-01-20 11:50:30 +08:00
guo 3448a8b6d5
Merge pull request #5531 from Ouxiaolong/master
[bsp]gd32103c-eval,gd32105c-eval,gd32107c-eval,gd32303e-eval,gd32450z…
2022-01-20 10:46:26 +08:00
guo 61d5e72248
Merge pull request #5538 from Blues-Jiang/Blues_dev
[bsp/n32g45x] Add UART support and menuconfig.
2022-01-20 10:45:37 +08:00
Blues-Jiang d62368cc75 Reinit .config based on default setting. 2022-01-20 10:01:34 +08:00
Blues-Jiang 711465b137 Regenerate rtconfig.h based on default configuration. 2022-01-19 17:49:37 +08:00
Blues-Jiang 7c54f5eca7 reformat code. 2022-01-18 17:20:02 +08:00
Blues-Jiang a095de14c2 Init update. 2022-01-18 16:51:46 +08:00
Meco Man 94116501fe [stm32][at esp8266][kconfig] 增加esp8266配置选项接管 2022-01-17 13:16:14 -05:00
Siwei Xu 77a5ddf9ae [bsp/n32g452xx] add rt_pin_get support 2022-01-18 01:38:03 +08:00
guo 1a46d7fe92
Merge pull request #5530 from mysterywolf/audio
[l475][audio] 消除编译错误
2022-01-17 10:54:47 +08:00
Meco Man eef0a2d810 [qmeu] chore 2022-01-16 18:54:24 +08:00
Wayne 446bde64c8
[Nuvoton] Update drivers (#5501)
* Update drivers.

1. Improve LVGL avg FPS.
2. Sync configuration to 4.1.0.

* [Nuvoton] Update drivers.

1. Fix open-control order issue in CAN driver.
2. [N9H30] Improve N9H30 I2C busy-wait implementation.
3. [N9H30] Support 1024x600x32b LCD panel.
4. Move nu_packages menu into sub-menu of board.

* Update menu-option.

1. Set BOARD_USING_LCM is on by default.
2. Fix default value setting in choice-option.

* Fix control function in I2C driver.

* Add sdk_dist.py and ADC touching calibration function.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-01-16 18:43:27 +08:00
Ouxiaolong 0d929da6ca [bsp]gd32103c-eval,gd32105c-eval,gd32107c-eval,gd32303e-eval,gd32450z-eval 2022-01-16 14:58:05 +08:00
Meco Man 0f856cc2d2 [l475][audio] 消除编译错误 2022-01-15 23:21:38 -05:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Bernard Xiong 2949ced0f4
Merge pull request #5426 from Rbb666/master
Refresh using dma2d,screen refresh average 25fps
2022-01-14 22:51:21 +08:00
Sherman d728c3d27c [bsp/ra6m4-iot] add ra6m4-iot BSP 2022-01-14 18:58:03 +08:00
Sherman 44070a7b0c [bsp/ra6m4-cpk] FSP updated to 3.5.0 2022-01-14 17:04:12 +08:00
guo 16806a1496
Merge pull request #5516 from cazure/master
[bsp/n32g452xx] add can drivers
2022-01-13 16:07:35 +08:00
Rbb666 eaf54ca571 Refresh using dma2d,screen refresh average 25fps 2022-01-13 10:18:33 +08:00
Rbb666 6953914ff5 规范格式 2022-01-13 09:38:20 +08:00
chenbin 66628f1061 格式化代码 2022-01-13 00:03:46 +08:00
Rbb666 814c15cdbc Add lvgl_8.1.0 support for raspberry_pi pico 2022-01-12 18:56:37 +08:00
guo 8444f16d07 Merge pull request #5499 from mysterywolf/dfs_posix
format codes
2022-01-12 17:35:32 +08:00
chenbin b4b9394051 add n32g45x can 驱动 2022-01-10 23:28:25 +08:00
guo 5206f65040
Merge pull request #5495 from mysterywolf/simulator
[simulator] 消除““Gm”选项已否决,并将在将来的版本中移除”的警告
2022-01-10 11:10:13 +08:00
Meco Man b2b3fa6e27 format codes 2022-01-09 07:44:32 -05:00
Ouxiaolong 457572db1c Repair startup_gd32f30x_cl.s 2022-01-09 12:42:45 +08:00
Ouxiaolong ecba17963c Merge branch 'master' of github.com:Ouxiaolong/rt-thread 2022-01-09 12:39:51 +08:00
Ouxiaolong dafa934443 Repair startup_gd32f30x_cl.s 2022-01-09 12:39:08 +08:00
BruceOu 6278523af7
Merge branch 'master' into master 2022-01-09 10:06:01 +08:00
guozhanxin 502176ae63 Remove the problematic rtconfig.h|移除有问题的 rtconfig.h 2022-01-09 09:41:44 +08:00
Meco Man 42a28df745 [simulator] 解决““Gm”选项已否决,并将在将来的版本中移除”的警告 2022-01-08 17:40:26 -05:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
GuEe-GUI 353f717037 [libcpu/aarch64] add smp support 2022-01-08 18:24:02 +08:00
Blues-Jiang 774031aed2 [bsp/n32g452xx] Unified header file definition. "GPIO_H__" to "DRV_GPIO_H". "USART_H" to "DRV_USART_H"
[bsp/n32g452xx] In drv_pwm.c, variable meaning is different with RT-Thread interface definition. Fixed and tested.
[bsp/n32g452xx] Add support for UART4/UART5.
[bsp/n32g452xx] In drv_gpio.c Modify "N32F10X_PIN_NUMBERS" to "N32G45X_PIN_NUMBERS".
2022-01-08 16:06:13 +08:00
Meco Man 85441c0dc4 [sconscript] 代替+=的表述方法 2022-01-08 15:48:50 +08:00