lgnq
9ab2094ef6
Add RT_SENSOR_VENDOR_MELEXIS in sensor.h
...
Melexis is the fourth largest automotive sensor manufacturer in the world.
www.melexis.com
2022-05-18 08:43:36 +08:00
Meco Man
2575a93516
rename sal.h as sal_low_lvl.h
2022-05-16 10:02:22 +08:00
Meco Man
0e5bb9d042
revert docking
2022-05-16 10:02:22 +08:00
Meco Man
7fc707d99c
[sal][kconfig] 重新梳理sal的依赖关系
2022-05-16 10:02:22 +08:00
Meco Man
b793b6427a
[sal] add draft for docking winsock
2022-05-16 10:02:22 +08:00
Meco Man
19abf927d2
[simulator] avoid conflicts between winsock.h and sys/time.h
2022-05-16 10:02:22 +08:00
Meco Man
d5eeec2872
[hwtimer] add disable interrupt protection for hwtimer_isr function
2022-05-11 15:28:50 +08:00
Man, Jianting (Meco)
0d2b96d7cc
[stm32][l4] add tim7 support | 设备框架以及驱动错误码处理逻辑存在问题 ( #5901 )
2022-05-09 22:59:27 +08:00
陈迎春
f977f07ddf
[fix] fix dlmodule compile 'SEEK_END' undeclared eror ( #5909 )
2022-05-09 09:37:17 +08:00
Man, Jianting (Meco)
6295ec108e
[kernel] remove the register keyword ( #5888 )
2022-04-29 06:34:42 +08:00
BreederBai
c28b79b7d7
硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口 ( #5881 )
...
* 硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口
2022-04-28 20:30:51 +08:00
Tangyuxin
7f1157e0de
[drivers][serial] ioctl add F_SETFL cmd ( #5876 )
2022-04-26 13:13:51 +08:00
Man, Jianting (Meco)
6ce4a87492
[fcntl] create new fcntl.h file for vs ( #5860 )
...
* [fcntl] create new fcntl.h file for vs
2022-04-24 10:52:57 +08:00
tyx
13f8a99e46
[drivers][usb] Fix compilation warning
2022-04-23 23:08:47 +08:00
tyx
8aecd43c78
[drivers][hwtimer] Fix compilation warning
2022-04-23 23:08:47 +08:00
Meco Man
175ca2ee09
[dac] add get resolution method
2022-04-23 23:03:59 +08:00
Meco Man
5e8871e1a2
[iar] add CLOCKS_PER_SEC
...
https://www.iar.com/knowledge/learn/programming/using-c-standard-library-time-and-clock-functions/
2022-04-22 22:32:27 +08:00
Meco Man
2774343d97
[libc][time] 修复IAR版本判断逻辑错误
2022-04-22 22:32:27 +08:00
Man, Jianting (Meco)
2c6a279ac3
[pwm] 优化pwm框架 ( #5857 )
2022-04-22 22:31:29 +08:00
Man, Jianting (Meco)
c2a0995545
[adc] 支持adc框架获取BSP的ADC分辨率 ( #5853 )
2022-04-22 22:26:41 +08:00
Man, Jianting (Meco)
43484a201d
[libc] 优化armcc armclang处理 ( #5858 )
2022-04-22 13:39:44 +08:00
guozhanxin
7a717b094e
[fix] building error.
2022-04-21 14:35:11 +08:00
blta
2d08dca65a
[USB] fix stall bug on control transfers
2022-04-20 14:33:12 +08:00
thewon86
f5b0bfd3f4
uniform code writing-disable interrupt
2022-04-20 14:22:43 +08:00
tyx
5fa15a19a0
[lwip] Fix compilation warning
2022-04-20 10:41:13 +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
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
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
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
tyx
e414cb459d
[components][drivers] Update device type definition and command definition
2022-04-18 09:38:56 +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
Meco Man
bda32cdedb
[libc] fix that some function cannot be found in unistd.h
2022-04-15 15:40:20 +08:00
Judd
80f20f668b
fix comment
...
fix comment on return value of `rt_hwcrypto_crc_update`
2022-04-13 16:20:39 +08:00
Man, Jianting (Meco)
de6d7eca5a
[libc] fix the sys/select.h problem ( #5790 )
2022-04-09 08:46:18 +08:00
Man, Jianting (Meco)
03823b5016
[kconfig] add 64bit default value for stack size. set tick HZ as 1000 by default ( #5778 )
...
* [kconfig] add 64bit default value for stack size. set tick HZ as 1000 by default
* 用RT_KSERVICE_USING_STDLIB_MEMXXX代替RT_KSERVICE_USING_STDLIB_MEMCP/MEMSET
将RT_KSERVICE_USING_STDLIB设置为默认开启
* 优化rt_kprintf支持longlong的能力,默认在64位CPU为开启状态
RT_PRINTF_LONGLONG命名不规范,更改为RT_KPRINTF_USING_LONGLONG
* fix commit error
* fix error
* 优化 system 函数
* RT_KSERVICE_USING_STDLIB_MEMXXX->RT_KSERVICE_USING_STDLIB_MEMORY
2022-04-09 00:40:36 +08:00
Yang sheng
eb2fc60207
[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… ( #5785 )
...
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo.
* [RTC] Fix compile errors
2022-04-09 00:39:00 +08:00
Man, Jianting (Meco)
084bb1c956
[libc] improve sconscript ( #5789 )
2022-04-08 23:15:27 +08:00
Bernard Xiong
1aab3607af
Revert "[dfs][romfs]支持相对地址模式 ( #5768 )" ( #5786 )
...
This reverts commit e68f934ff8
.
2022-04-08 20:03:43 +08:00
LiuKang
28b4db91c3
[update] support fal api for c++ ( #5784 )
2022-04-08 12:53:01 +08:00
guo
4b06115951
[finsh]fix list_device crash. ( #5780 )
2022-04-07 15:46:38 +08:00
Man, Jianting (Meco)
c318dfa964
improve libc time and MSVC simulator ( #5775 )
...
- [libc] 解决由于类unix操作系统发展历史原因fcntl.h定义的标志位在不同编译器中定义不同的问题
- [simulator] 部分宏定义转为全局宏定义以确保vs内置文件可以正确配置
- [simulator] 取消自欺欺人式的警告消除处理方式
- [libc][time] 优化time相关结构体在不同编译器下的包含
2022-04-07 14:24:11 +08:00
Tangyuxin
e68f934ff8
[dfs][romfs]支持相对地址模式 ( #5768 )
2022-04-06 21:13:12 +08:00
Tangyuxin
da3d61e043
[device]Detailed classification of devices types ( #5769 )
2022-04-06 21:12:39 +08:00
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
Henson
500d26c257
optimize code
2022-01-26 21:39:06 +08:00
guozhanxin
9b44535740
add RT_DEBUG_SCHEDULER_AVAILABLE check
2022-01-26 16:03:31 +08:00
guozhanxin
2f6f9da5e3
fix usbhost issue by #4378
2022-01-26 11:39:39 +08:00