Commit Graph

3785 Commits

Author SHA1 Message Date
tyx 782b9dd45a [components][sdio] Support DDR mode 2022-04-06 16:06:46 +08:00
tyx 556b14ed47 [components][ulog] Add file backend 2022-04-06 16:05:45 +08:00
tyx cceefd5ef9 [hwcrypto]Optimize memory usage 2022-04-06 10:29:05 +08:00
tyx b80f581562 [compilers] Fix c/c++ compilation warnings and errors 2022-04-06 10:27:38 +08:00
tyx e896021b56 [drivers][rtc]Add comments 2022-04-06 10:26:04 +08:00
tyx c4f107f528 [drivers][alarm]Compact alarm output 2022-04-06 10:26:04 +08:00
tyx b91f6f1206 [drivers][alarm] Optimize some codes 2022-04-06 10:26:04 +08:00
tyx b3f20ff9d2 [drivers][alarm] Fix week alarm bug 2022-04-06 10:26:04 +08:00
tyx f35c9d6df7 [drivers][rtc] Enhanced date command 2022-04-06 10:26:04 +08:00
tyx 8a7babadda [drivers][rtc]Add get/set timestamp function 2022-04-06 10:26:04 +08:00
tyx 9a4bd20149 [drivers][rtc] Optimize execution efficiency 2022-04-06 10:26:04 +08:00
tyx 0ef4560030 [drivers][rtc] Adjust ops function input parameters 2022-04-06 10:26:04 +08:00
Tangyuxin 59e751eb2a
[sensor]Add blood pressure sensor type (#5766) 2022-04-05 19:35:23 +08:00
朱天龙 (Armink) 039efbb075
完善 Serial V2 框架 (#5770)
* [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

* [DeviceDriver][SerialV2] Add termios for serial@V2 .

* [BSP][STM32] Add hardware flow control for STM32 serial@V2 driver.

* [DeviceDriver][Serial@V2] Add hardware flow control for serial V2.
2022-04-04 17:25:04 +08:00
guo 83c01cabf3
[lwip] delete useless RTM export (#5743) 2022-03-30 14:06:02 +08:00
Man, Jianting (Meco) b8bb6a4a87
[poll][select] 修复select死循环的问题 (#5740) 2022-03-30 10:47:05 +08:00
guo b2e2ab28e5
[update] Fix some spelling mistakes. (#5738) 2022-03-29 21:29:08 +08:00
guozhanxin 310f1ea4fa [finsh] Fixed RT-Thread spelling 2022-03-29 14:43:34 +08:00
Man, Jianting (Meco) be892de35a
[posix] add RT_USING_POSIX_SOCKET (#5731) 2022-03-29 13:39:55 +08:00
guo 2ad6e28237
Fixed the issue LOG_HEX no output at asyn mode. (#5721) 2022-03-27 00:53:23 +08:00
朱天龙 (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
a1012112796 961fe7de0b
list_fd 显示完整路径 (#5683) 2022-03-26 15:45:53 +08:00
Man, Jianting (Meco) a514b3bd16
[components][kconfig] 整理Kconfig目录名称和结构 (#5698) 2022-03-25 23:07:18 +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
Man, Jianting (Meco) ba6f78bd8e
format code (#5699) 2022-03-24 08:30:41 +08:00
Man, Jianting (Meco) 2a1272ecfb
消除c99 (#5696) 2022-03-23 14:28:24 +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
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) ee10516544
[libc] fix a typo (#5689) 2022-03-21 08:57:36 +08:00
打盹的消防车 0c82e033dc
Open RT_USING_POSIX_STDIO caused serial_v2 to compile failed (#5684)
* fix:Open RT_USING_POSIX_STDIO caused serial_v2 to compile failed
2022-03-20 10:29:16 +08:00
LiuKang aa80ba25d4
[update] fix finsh bug (#5676)
* [update] fix finsh bug

* [update] format code
2022-03-15 16:56:59 +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
LiuKang 46d09e045e
[update] remove extra code. (#5663) 2022-03-14 09:14:09 +08:00
Man, Jianting (Meco) 3df75f9e32
[lwip] add lwip latest version (#5629)
* [lwip] 增加LWIP上游同步版本

* move pkgs to package repo

* add RT_USING_LWIP_LOCAL_VERSION to let users to decide whether can use upstream version of LwIP

* Update Kconfig
2022-03-14 09:13:04 +08:00
xiangxistu ffae7a2612
[fix] add the header file to avoid compiler error. (#5643) 2022-03-08 11:35:11 +08:00
Man, Jianting (Meco) 86a10716cd
优化ULOG_OUTPUT_FLOAT,避免使用内置libc的vsnprintf函数 (#5632) 2022-03-07 01:14:22 +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) 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
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
Man, Jianting (Meco) 5ec00a5a1d
[dmodule] 补充头文件 (#5602)
* add references

* [dmodule] add <fcntl.h>
2022-02-17 12:34:48 +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
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 26c511475e [ulog] Fixed the problem of abnormal log output at the INIT_BOARD_EXPORT level. 2022-02-10 10:22:08 +08:00
guo 580194f5f0
Merge pull request #4740 from Guozhanxin/scheduler_check 2022-01-28 16:38:32 +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