Commit Graph

5962 Commits

Author SHA1 Message Date
朱天龙 (Armink) bae1be0f45
完善串口 V2 框架 (#5720)
* [stm32] fix h7 uart V2 driver unused code.
* [DeviceDriver][serialv2] fix the serialv2 when using for console device on DMA mode.
* [stm32][art-pi] using serial v2 by default
2022-03-27 00:52:41 +08:00
ACM32_MCU bee9f4c7c4
Add some drivers (#5208)
* 1. 新增了i2c/spi/rtc/crypto等驱动;2. 删除了部分文件中的未使用到的头文件包含; 3. 修改keil编译时pm文件atoi的头文件stdlib未包含的警告

* 修改文件格式

* BSP

1. 修改f4系列bsp的readme文件与工程文件
2. 修改f0系列源文件的版权信息、删除目前没有的库文件。
3. 其他

* 还原.gitignore文件

Co-authored-by: aisino2200 <90822414+aisino2200@users.noreply.github.com>
2022-03-26 15:40:33 +08:00
kylepengchn 851d16b18f
Soft spi (#5712)
* add soft-spi
* add spi-bit-ops.c/h to components/drivers/spi
* add a drv_soft_spi example for gd32303e-eval
* use formatting.py scripts for scanning

Signed-off-by: kyle <kylepengchn@163.com>
2022-03-25 23:06:43 +08:00
Miaowulue c4b62a9161
[bsp/stm32] add usbcdc for openmv (#5702) 2022-03-25 22:58:14 +08:00
sheltonyu cff34466b0
upload bsp package based firmware library v2.0 (#5711)
* [bsp/at32] remove old version bsp
* [bsp/at32] upload bsp package based firmware library v2.0
2022-03-25 22:54:51 +08:00
Man, Jianting (Meco) db04395d76
[stm32 pandora][arduino] 增加依赖项 (#5709) 2022-03-25 20:43:22 +08:00
Man, Jianting (Meco) ba6f78bd8e
format code (#5699) 2022-03-24 08:30:41 +08:00
FmdAE 19f0f9e610
modify system_ft32f0xx (#5703) 2022-03-24 08:30:02 +08:00
cha331 96b4974ea2
[stm32][driver_crypto]修复CRC自定义设置不生效的bug (#5655)
* [stm32][drivers]修复CRC自定义设置不生效的bug

* update format
2022-03-23 14:17:10 +08:00
kylepengchn 5810f4de7d
[components][drivers][spi]: 基于SPI总线驱动框架添加模拟SPI总线扩展 (#5656)
* add soft-spi

* add spi-bit-ops.c/h to components/drivers/spi
* add a drv_soft_spi example for gd32303e-eval

Signed-off-by: kyle <kylepengchn@163.com>

* Fixed the format and the certificate.

Signed-off-by: kyle <kylepengchn@163.com>

* Update the certificate data.

Signed-off-by: kyle <kylepengchn@163.com>
2022-03-23 14:16:14 +08:00
FmdAE 0f2e9a3afb
bsp-ft32 (#5652) 2022-03-23 11:03:48 +08:00
Miaowulue f6f6dae2d6
[bsp/stm32] add qspi flash and sdio for openmv h7plus (#5679)
* [console] fix bug of sdram, configure PA7(DRAM_WE)

* [bsp/stm32] add qspi flash for openmv

* [bsp/stm32] change sram1 to sram2

* [bsp/stm32] add sdio for openmv

* [update] update README.md of openmv
2022-03-22 09:39:13 +08:00
rtthread-bot b906fe648f
!449 at91sam9260平台增加mtdnand驱动用于支持uffs文件系统 (#5695)
* update bsp/at91sam9260/drivers/at91_nand.c.
* update bsp/at91sam9260/drivers/at91_nand.c.
* update bsp/at91sam9260/drivers/at91_nand.h.
* update bsp/at91sam9260/drivers/at91_nand.c.
* update bsp/at91sam9260/drivers/at91_nand.c.
* 添加at91sam9260下mtd nand flash驱动

Co-authored-by: brightsally <121477585@qq.com>
2022-03-22 09:06:45 +08:00
Man, Jianting (Meco) 81e5fa061f
[stm32f072 nucleo] support pwm for arduino (#5693) 2022-03-21 22:04:37 +08:00
Man, Jianting (Meco) 8b58577230
[ulog][rtc][time][bug] solve the interference when enable the ulog timestamp (#5687)
* [ulog] 解决ulog开启时间戳后与libc time以及rtc驱动相关函数干涉的问题
* ulog:当发生递归输出时,后续递归想要输出的内容可能会因为防范递归的判断而无法输出
因此修改输出规则,在发生递归时,采用简单的,无格式的方式直接输出。这样既保证不会发生递归输出,也可以保证递归输出的部分可以正常输出。
* [ulog] size_t->rt_size_t NULL->RT_NULL
2022-03-21 14:06:17 +08:00
Man, Jianting (Meco) fba060e550
[stm32 pandora] fix the bug when using LCD demo (#5692)
* [stm32 pandora] fix the bug when using LCD demo

* arduino 增加内部温度传感器和参考电压通道

* remove ARDUINO_PINOUT_PWM_MAX
2022-03-21 11:53:31 +08:00
Man, Jianting (Meco) bb4fc9cb3a
[stm32 pandora] support backlight with brightness adjustable (#5691) 2022-03-20 15:47:57 +08:00
Man, Jianting (Meco) 9ee5940f25
[arduino][stm32l475 pandora] fullly support analog output(PWM) and analog input(ADC) (#5690) 2022-03-20 15:46:33 +08:00
LiuKang 75a7cb6929
[update] add fal component. (#5662)
* [update] add fal component.

* [update] format code.

* [update] change PKG_USING_FAL to RT_USING_FAL

* [update] format code.

* [update] fal

* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00
guo 3b1445d49c
[bsp][imxrt1060]fix gcc can't runing issue. (#5667) 2022-03-14 22:54:12 +08:00
Man, Jianting (Meco) 59079fe91f
update documentation (#5674) 2022-03-14 21:18:14 +08:00
guo 0e21bbfc7d
Merge pull request #5673 from Rbb666/master 2022-03-14 18:57:24 +08:00
Rbb666 0a27c43ac8 添加中文文档 2022-03-14 18:07:32 +08:00
Rbb666 59f38ddbdd 删除多余的部分 2022-03-14 17:53:10 +08:00
Rbb666 b71020e83c 更改图片大小 2022-03-14 16:39:54 +08:00
Rbb666 8a8a4d5f1c add Raspberry-Pico-LVGL README.md 2022-03-14 16:31:38 +08:00
Cathy-lulu 909130ba53
Merge pull request #5672 from yangjie11/f469
[bsp][stm32f469-st-disco] 增加英文readme
2022-03-14 00:37:52 -07:00
yangjie11 9ccf1ee9ad [bsp][stm32f469-st-disco] 增加英文readme 2022-03-14 14:40:34 +08:00
Wayne a65e6d1613
Nuvoton drivers updating and more LVGL supporting. (#5647) 2022-03-12 07:00:53 +08:00
Rbb666 d53ff73615
add README_zh.md、led blink (#5666) 2022-03-11 18:26:56 +08:00
Rbb666 e484ff5942
添加 imxrt1060-evk BSP (#5657)
* 添加 imxrt1060-evk BSP

* add LVGL

* add README.md

* Delete irrelevant files

* Modify the optimization level to O1

* Organize documents

* Source code formatting
2022-03-11 12:13:56 +08:00
Sherman 7c53d46ba7
[update] 添加 RA 系列 BSP 开发教程: (#5598)
- 添加 RA 系列 BSP 开发教程
  - 添加 ra6m4-iot PPP 上网
  - 整理 驱动文件
2022-03-11 09:17:46 +08:00
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
Meco Man 8565fe2448 [simulator] 消除vs下的警告 2022-01-08 15:46:52 +08:00
Ouxiaolong 77ccb89590 Modify format 2022-01-07 21:32:00 +08:00
guo 495e209f37
Merge pull request #5480 from mysterywolf/l475
[lvgl][l475] use single buffer instead of double buffers
2022-01-06 19:59:03 +08:00
Meco Man 195f753cbb [lvgl][l475] use single buffer instead of double buffers 2022-01-06 03:33:28 -05:00
Wayne Lin 7566c1a24c Update drivers.
1. Improve LVGL avg FPS.
2. Sync configuration to 4.1.0.
2022-01-06 11:41:55 +08:00
Meco Man e1a17f0bbc [frdm] format codes 2022-01-05 23:11:58 +08:00
Meco Man 918ee6147c add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
guo 5e24acf7fa
Merge pull request #5470 from supperthomas/dd_master
[bsp/stm32] add sdram for openmv
2022-01-05 11:02:22 +08:00
supperthomas e56221c7b1 [bsp/stm32] add sdram for openmv 2022-01-04 19:23:26 +08:00
Ouxiaolong eeae3f7b71 modify readme 2022-01-02 09:50:34 +08:00
Ouxiaolong 5a37490153 modify readme 2022-01-02 09:42:46 +08:00
Ouxiaolong 02e15699a7 [bsp]gd32105r-start, gd32205r-start, gd32305r-start 2022-01-02 09:35:39 +08:00
Meco Man 9c67e061df [stm32] format codes 2021-12-29 22:33:16 -05:00
Meco Man 5187d75af5 [armclang] 使用__clang__代替__CLANG_ARM 2021-12-29 14:15:38 -05:00
xiangxistu 88a746377c [restore] restore to basic function. 2021-12-30 01:41:38 +08:00
xiangxistu 40785ea926 [update] use macro 'BSP_USING_LVGL' to select something about 'lvgl' . 2021-12-30 01:41:38 +08:00
liuxianliang a45953f2bc [update] the file format. 2021-12-30 01:41:38 +08:00
liuxianliang 8e50ef53d5 [add] proting 'lvgl' for stm32f407-atk-explorer. 2021-12-30 01:41:38 +08:00
Wayne Lin 8ab54c3018 Correct coding-style format. 2021-12-30 01:39:17 +08:00
Wayne Lin e8f4208bb2 Update LVGLv81 porting.
1. Add RTGRAPHIC_CTRL_PAN_DISPLAY and RTGRAPHIC_CTRL_WAIT_VSYNC control command.
2. Add calibration data of 480x272 ADC touching.
3. Add 480x272 LCD panel menu option and driver.
4. Update lv_conf.h.
2021-12-30 01:39:17 +08:00
Wayne Lin c18dae2c2e Migrate lv porting folder. 2021-12-30 01:39:17 +08:00
Wayne Lin 5031a5c757 Large reserved partition size.
To avoid to overwrite larger firmware size with LVGL.
2021-12-30 01:39:17 +08:00
Wayne Lin de7dc291ab Updated about suggestions. 2021-12-30 01:39:17 +08:00
Wayne Lin b33967ecf4 [N9H30] Update readme. 2021-12-30 01:39:17 +08:00
Wayne Lin 9966f195b4 Support LVGLv81 RTT music demo for N9H30 and NUC980. 2021-12-30 01:39:17 +08:00
Meco Man ed09f38012 [libc] remove RT_USING_LIBC 2021-12-30 01:27:25 +08:00
supperthomas 5593e39847 [bsp/stm32] stm32l433 starterkit first version 2021-12-29 12:10:41 +08:00
Huang bo 457fcecda9 添加编译说明 2021-12-29 09:23:17 +08:00
greedyhao 6b44585ade [bluetrum] sdk version change from latest to 0.0.2 2021-12-28 21:25:04 +08:00
guo fe0d02d63b
Merge pull request #4001 from luhuadong/riscv
[bsp] add sparkfun-redv bsp
2021-12-28 14:41:06 +08:00
guo a8ca46869c
Merge pull request #5435 from Ouxiaolong/master
Fix the problem of stm32f746-st-nucleo that env cannot be configured with menuconfig
2021-12-28 13:47:10 +08:00
guo 2b1ae8de37
Merge pull request #5439 from liuhy-2020/master
[bsp][essemi]update es32f365x information.
2021-12-28 13:42:10 +08:00
guo 008eaed0f1
Merge pull request #5440 from mysterywolf/l475
[lvgl][simulator]&[l475][arduino] 细节修改
2021-12-27 21:10:19 +08:00
liuhy 66acb9d2d2 update es_conf_info_map.h 2021-12-27 16:58:12 +08:00
Meco Man 559d4ef4d6 [simulator][lvgl]暂时屏蔽到lvgl文件系统使能 2021-12-26 22:15:49 -05:00
Meco Man fd2892b82d [kconfig] 修复kconfig路径 2021-12-27 08:25:15 +08:00
Meco Man 9684d29fd1 [simulator] add utf-8 2021-12-27 08:24:34 +08:00
Meco Man fc87122711 [mini4020] format code 2021-12-27 00:51:22 +08:00
Meco Man 923fb0c146 [rtdef] re-implement RT_UNUSED 2021-12-27 00:51:22 +08:00
Ouxiaolong 316af57a79 Fix the problem of stm32f746-st-nucleo that env cannot be configured with menuconfig 2021-12-26 12:40:17 +08:00
liuhy a5a6cc66e7 update es32f365x information. 2021-12-24 19:12:16 +08:00
Meco Man 33c1bfbc79 [l475] 修复bug 2021-12-24 02:55:13 -05:00
Meco Man 787b854f27 [bsp][stm32l475] move arduino to application 2021-12-24 02:18:07 -05:00
guo 51569a068a
Merge pull request #5418 from mysterywolf/revert-5412-clang-arm
Revert "add clang-arm support."
2021-12-24 09:17:41 +08:00
luhuadong c3ce011eea [bsp][redv] change header file reference 2021-12-23 19:42:16 +08:00
luhuadong c85e5d429d [bsp][redv] update CFLAGS 2021-12-23 19:35:24 +08:00
pikastech 581780a8a4 use menuconfig to update keil project for gd32e230 2021-12-23 09:51:56 +08:00
Man, Jianting (Meco) ed1f8b3f64 Revert "add clang-arm support."
This reverts commit a5f6fdc780.
2021-12-22 18:57:16 -05:00
guozhanxin 67a39f62e5 Improve armclang support.|完善 armclang 支持 2021-12-22 13:04:02 +08:00
guozhanxin a5f6fdc780 add clang-arm support. 2021-12-22 13:03:05 +08:00
liuhy 3b861541e2 formatting 2021-12-21 23:52:58 +08:00
liuhy 576e7f1098 [essemi][es32f369x] fix bugs and update libraries. 2021-12-21 23:52:58 +08:00
陈迎春 2539c7ff85
[bsp/stm32/stm32l496-ali-developert] add pm supported (#5391)
* [bsp/stm32/stm32l496-ali-developert] add lptimer config

* [bsp/stm32/stm32l496-ali-developert] add pm supported
2021-12-21 22:23:13 +08:00
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +08:00
luhuadong f7447a8dc5 [bsp][redv] formatting 2021-12-20 16:07:35 +08:00
Meco Man 7afddbd5bb [f469-disc] 优化lvgl例程 2021-12-19 18:46:08 -05:00
Meco Man 1948988913 [lvgl] 将lvgl目录调整到application文件夹下 2021-12-19 18:21:31 -05:00
Meco Man f4aa860d8b [qemu][lvgl] 优化lvgl显示驱动 2021-12-18 14:16:08 -05:00
Man, Jianting (Meco) 6369e89502
[posix] POSIX standard implementation for PSE51 (#5384)
* [posix] POSIX standard implementation for PSE51

- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.

* [newlib] only enable POSIX.1-1990

* update projects
2021-12-17 15:34:17 +08:00
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +08:00
liukangcc 0c4e733737 [update] remove RT_USING_TC 2021-12-17 10:24:48 +08:00
supperthomas 6c95714f73 [bsp/stm32] add bsp of openmv 2021-12-17 10:23:44 +08:00
liukangcc 7733999c0c [update] stm32f469 lvgl demo 2021-12-16 17:03:43 +08:00
guo c4cd52a746
Merge pull request #5393 from mysterywolf/win32 2021-12-16 16:51:49 +08:00
guo a6b62d37d0
Merge pull request #5394 from mysterywolf/simu 2021-12-16 16:51:30 +08:00
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
Meco Man d4a72f29c7 [simulator][lvgl] 处理注释 2021-12-16 03:16:02 -05:00
Meco Man e72eb1ae95 [simulator][win32] add lvgl driver 2021-12-16 01:12:24 -05:00
Meco Man a8796abdc2 [qemu][lvgl]移除无用的定义和对外声明 2021-12-15 22:34:41 -05:00
Meco Man 82cae7dcc9 [vs simulator] remove the error prompt for v4.1.0 2021-12-15 16:56:34 -05:00
Meco Man df474d79c5 [qemu] 调整lvgl配置参数 2021-12-15 02:17:18 -05:00
Meco Man 79e3d7f48e [qemu] format codes 2021-12-15 01:49:09 -05:00
Meco Man 5f6729e1b8 [qemu][lvgl] 优化lvgl显示驱动 2021-12-15 01:24:44 -05:00
Meco Man f6ae47fa94 [qemu][lvgl] update player demo configuration 2021-12-14 22:16:12 -05:00
Huang bo 3e32b36c2b 修改格式 2021-12-15 11:10:13 +08:00
Huang bo b8db37f53f 修改格式 2021-12-15 10:55:24 +08:00
Huang bo 466f9ad4e3 删除依赖TI的KeyStone_common.c文件 2021-12-15 10:43:06 +08:00
Huang bo c37fcb6049 修改bsp tms320c6678工程,并测试 2021-12-15 09:17:25 +08:00
guo 4f15bc66b0
Merge pull request #5385 from mysterywolf/qemu
[qemu] update Kconfig for LVGL demo and delete LVGL demo
2021-12-15 09:13:15 +08:00
Meco Man be5ad6f079 [qemu] update Kconfig for LVGL demo 2021-12-14 14:53:55 -05:00
Meco Man f9fa08208c [qemu] delete lvgl demo 2021-12-14 14:34:26 -05:00
Sherman a4cec7acc7 [fix] MDK 旧版本错误识别 SConscript 文件 2021-12-14 23:10:26 +08:00
Sherman 218a6bbe24 [fix] 缺少文件导致的编译错误 2021-12-14 23:10:26 +08:00
Sherman 6a6b85d6f6 [fix] MDK 旧版本错误识别 SConscript 文件 2021-12-14 18:37:48 +08:00
Sherman c3e20fda8b Merge branch 'master' of github.com:ShermanShao/rt-thread 2021-12-14 16:19:48 +08:00
Sherman a42cc7f5d0 [fix] 缺少文件导致的编译错误 2021-12-14 16:19:21 +08:00
guo 92cf02a34d
Merge pull request #5262 from ShermanShao/master
[BSP/RA6M4-CPK] 添加 CAN、RW007 的支持
2021-12-14 11:24:47 +08:00
Sherman 0f0093aa3e [UPDATE]添加新驱动、完善 BSP
- [update] 更新 template 工程配置
 - [update] 更新 PLATFORM 配置
 - [add] 添加 ra icu 驱动文件
 - [add] 增加传感器类型 IAQ、EtOH
 - [add] 添加 CAN 驱动
 - [add] 添加 RW007 驱动及使用说明
 - [fix] GCC 编译问题
 - [fix] flash 驱动
 - [fix] 修改 scons 脚本配置
2021-12-14 11:04:46 +08:00
guo c5208a7d19
Merge pull request #5375 from mysterywolf/arduinol475
[l475][arduino] 增加ADC PWM管脚定义
2021-12-14 09:43:29 +08:00
Meco Man 7f9546ada0 [l475][arduino] 增加ADC PWM管脚定义 2021-12-13 20:18:26 -05:00
guo 9ab2ceb8b3
Merge pull request #5373 from Rbb666/master
Add BSP-ART-PI download algorithm
2021-12-14 09:17:43 +08:00
guo a8fd3025de
Merge pull request #5374 from Puhan-Zhou/master
[bsp][stm32f411][docs]fix doc error
2021-12-14 09:16:43 +08:00
张世争 7455e2487b [components] PM框架更新 2021-12-14 06:12:55 +08:00
Bernard Xiong 3b007a7bbc
Merge pull request #5359 from qingehao/h7_spi
完善了STM32H7系列SPI使用DMA的驱动
2021-12-14 06:11:22 +08:00
Bernard Xiong b36a02fc39
Merge pull request #5368 from pikasTech/patch-1
add stack size to avoid stack overflow when boot
2021-12-14 06:11:04 +08:00
Puhan Zhou 8ba68a0617 fix doc error 2021-12-13 21:07:07 +08:00
Rbb666 5a53afd00a Add BSP-ART-PI download algorithm 2021-12-13 17:29:06 +08:00
guo c26f66489f
Merge pull request #5370 from mysterywolf/stm32ignore
[stm32] add ignore_format.yml for STM32
2021-12-13 14:00:46 +08:00
guo bf7a1d7cb0
Merge pull request #5371 from mysterywolf/common
[stm32][drv_common] add LOG_E for Error_Handler
2021-12-13 14:00:13 +08:00
Meco Man d83bea2ba3 [stm32l475] 修正port/Arduino的宏定义 2021-12-13 00:50:41 -05:00
Meco Man 878ecd14f4 [stm32] add ignore_format.yml 2021-12-13 00:49:48 -05:00
Meco Man 05d15b1162 [stm32][drv_common] add LOW_E for Error_Handler 2021-12-12 23:45:29 -05:00
Man, Jianting (Meco) 01a6563249
[stm32l475][arduino] 初步实现Arduino生态兼容 (#5367)
* [arduino] 初步实现Arduino生态兼容组件

* [stm32f475] 增加PC2 作为ADC1_IN3

* [stm32l475][port] 将路径Arduino改为arduino
2021-12-13 11:36:51 +08:00
Lyon 0c5f612183
Update rtconfig.h 2021-12-13 10:27:38 +08:00
Lyon cdf4a606f2
Update .config 2021-12-13 10:26:57 +08:00
Z.Y.Ma 84ebf38462
add stm32g474-st-nucleo bsp (#5362)
* add stm32g474-st-nucleo bsp

* format

* format
2021-12-13 09:42:33 +08:00
Lyon b25e761712
add stack size to avoid stack overflow when boot 2021-12-12 23:39:01 +08:00
Bernard Xiong 2de4797272
Merge pull request #5354 from Lim-LinYuanbo/master
完善代码,解决部分BUG
2021-12-10 22:51:19 +08:00
guo fd6990a049
Merge pull request #5348 from fanhuanji/master
BugFix: Raspi3 GPIO driver write bug
2021-12-10 18:54:14 +08:00
guo 0555a55027
Merge pull request #5349 from mysterywolf/stm32l475
[stm32][l475] 增加ESP8266快速构建选项,串口驱动由v2调整为V1
2021-12-10 18:53:54 +08:00
guo 034b41c6fd
Merge pull request #5360 from iysheng/fix_gmtime
[bsp][stm32] Modify variable name p_tm to tm
2021-12-10 18:43:24 +08:00
iysheng b6d90dffcf [bsp][stm32] Modify variable name p_tm to tm 2021-12-10 16:25:40 +08:00
qinge 18da37aacc 修改格式,调整对齐 2021-12-10 15:57:20 +08:00
qinge 81b84ab166 完善了STM32H7系列SPI使用DMA的驱动
1.使能DMA时钟的条件编译中加入了STM32H7
2.添加STM32H7 "spi_config" 中的request字段
3.DMA初始化FiFo相关的初始化的条件编译选项中加入STM32H7
2021-12-10 15:30:30 +08:00
Meco Man fbe71b7b30 [qemu] update Kconfig 2021-12-09 14:06:28 -05:00
192.168.1.134 6378f95f00 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2021-12-09 19:18:24 +08:00
192.168.1.134 d6b05287bb fix: fix wrong define and warning 2021-12-09 15:48:09 +08:00
guo 3c39d35c8d
Merge pull request #5350 from Guozhanxin/qemu-a9-lvgl
[qemu-a9] add lvgl support.
2021-12-09 13:32:41 +08:00