Commit Graph

13575 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 86a10716cd
优化ULOG_OUTPUT_FLOAT,避免使用内置libc的vsnprintf函数 (#5632) 2022-03-07 01:14:22 +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) 91ea28a625
[pipe.h] 移除多余的头文件,防止形成头文件递归包含 (#5621) 2022-03-02 18:45:19 +08:00
Man, Jianting (Meco) b2fa700c2a
[lwip] integrate and improve lwipopts.h (#5613)
* [lwip-2.1.2] improve lwipopts.h

* 增加LWIP RTT侧版本定义

* 移动调整cc.h和lwipopts.h定义

* lwip2.1.2 2.0.3抽出lwipopts.h lwippools.h

* remove lwip1.4.1 lwipopts.h

* [update] modify the default config through v1.4.1

* delete the useless macro and modify some unclear comments.

* [lwipopts.h] 完善头文件相关宏以及临界区保护相关宏

* remove latest version label

Co-authored-by: liuxianliang <liuxianliang@rt-thread.com>
2022-02-28 10:39:40 +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
WillianChan 陈威廉 4106c43753
[fix][components][utilities][var_export]replace the search algorithm and fix some problems (#5611)
* [fix][components][utilities]adjust the order of compiler macros

Signed-off-by: WillianChan <chentingwei@rt-thread.com>

* [modify][components][utilities]This PR complies with RT-Thread code specification

Signed-off-by: WillianChan <chentingwei@rt-thread.com>

* [fix][components][utilities][var_export]replace the search algorithm and fix some problems

Signed-off-by: WillianChan <chentingwei@rt-thread.com>

* [modify][components][utilities][var_export]make the code more beautiful

Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-23 23:55:27 +08:00
liruncong ed712069ef 修正切换scons版本(比如最新的4.3.0)后,编译时在"scons: Reading SConscript files ..."后打印出"b''"的问题 2022-02-23 20:45:27 +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
clickcheck ed9037e376
update libcpu/mips/gs232/gs232.h:
更正了看门狗的寄存器地址
2022-02-22 09:48:12 +00:00
GUI 9b6e75f90b
[libcpu/aarch64] disable irq/fiq when switch thread (#5605)
* [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
2022-02-21 23:24:51 +08:00
Man, Jianting (Meco) 6895da5307
[net] adjust folder structure (#5587)
* [net] adjust folder structure
- 将lwip相关的文件夹,移入lwip文件夹
- Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu
2022-02-20 00:07:45 +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
Man, Jianting (Meco) 5ec00a5a1d
[dmodule] 补充头文件 (#5602)
* add references

* [dmodule] add <fcntl.h>
2022-02-17 12:34:48 +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
Chester guo 01b3a34cc6
[Fix bug] fix thread init bug (#4891)
When we create thread A by rt_thread_init but do
    not init the thread object,and then create thread
    B in the thread A,it maybe crash.
2022-02-17 00:44:37 +08:00
WillianChan 陈威廉 49ccbdb851
[fix][components][utilities]adjust the order of compiler macros (#5593)
* [fix][components][utilities]adjust the order of compiler macros

Signed-off-by: WillianChan <chentingwei@rt-thread.com>

* [modify][components][utilities]This PR complies with RT-Thread code specification

Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2022-02-14 14:03:34 +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
Meco Man 0c35b803fa [utestcases] add dependence RT_USING_UTESTCASES 2022-02-14 10:14:12 +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
tyustli 5178e7ec0b
[add] src/clock.c add hook for rt_tick_increase (#5569)
* [add] src/clock.c add hook for rt_tick_increase

* [fix] clock.c rt_tick_incerase hook function

* Update clock.c

Co-authored-by: guo <guozhanxin@rt-thread.com>
2022-02-13 14:50:51 +08:00
Man, Jianting (Meco) d4b5555b7e
移除localtime_r多余的声明 (#5590) 2022-02-10 18:19:33 +08:00
woody 6d0caf7bfc
修改dac.c函数名称错误 (#5591) 2022-02-10 18:18:52 +08:00
guozhanxin af702e048d [ulog] Optimize code to improve readability. 2022-02-10 10:22:08 +08:00
guozhanxin 615824b5e3 [fix] memheap using assertions before scheduler starts. 2022-02-10 10:22:08 +08:00
guozhanxin 26c511475e [ulog] Fixed the problem of abnormal log output at the INIT_BOARD_EXPORT level. 2022-02-10 10:22:08 +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
guo 909b464e78
Merge pull request #5577 from mysterywolf/bspl0 2022-01-28 17:43:18 +08:00
Meco Man 7a0f48caa9 [stm32]小ROMbsp 默认为-O2 2022-01-28 04:23:41 -05:00
guo 580194f5f0
Merge pull request #4740 from Guozhanxin/scheduler_check 2022-01-28 16:38:32 +08:00
guo cd929f04f6
Merge pull request #5575 from mysterywolf/simulator 2022-01-28 16:17:11 +08:00
guo 302fa5102f
Merge pull request #5572 from charlown/master 2022-01-28 15:37:35 +08:00
Meco Man e9fac0c012 remove outdated comment 2022-01-28 01:48: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
charlown 36ef2e1abb merge #5571: add wch chip. 2022-01-28 11:55:24 +08:00
geniusgogo 658b2c1027 fix 32bit & 64bit value to pointer interconvert. 2022-01-28 11:35:10 +08:00
geniusgogo 039e2ff530 fixed wlan driver dhcp multitask safety 2022-01-28 11:35:10 +08:00
liukangcc 9d7ac2f94a [UPDATE] v4.1.0 released log. 2022-01-28 11:06:19 +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