Commit Graph

3088 Commits

Author SHA1 Message Date
Meco Man 540bacad9c update 2021-02-15 08:03:52 +08:00
Meco Man abcb050603 [libc][iar][gcc] 优化remove函数 2021-02-15 07:53:58 +08:00
Meco Man 4615a7d96c remove gcc 2021-02-15 07:35:14 +08:00
Meco Man 33769db3cf [libc][gcc][keil] 在sconscript中定义RT_TICK_PER_SECOND宏 2021-02-15 07:17:16 +08:00
Meco Man c4d11f52dd update 2021-02-14 18:47:48 +08:00
Meco Man bb35f07bf2 implement _sys_tmpnam() 2021-02-14 18:46:55 +08:00
Bernard Xiong bfde38030b
Merge pull request #4334 from mysterywolf/exit
[libc][exit][abort] 重新实现exit和abort函数
2021-02-13 23:20:21 +08:00
LeeChunHei b51c6339f0 finish testing 2021-02-13 18:50:58 +08:00
LeeChunHei fa5c8e1502 modifly to use multi usb(not tested) 2021-02-13 18:50:47 +08:00
LeeChunHei 75a4efc406 Add pulse encoder and usb host to imxrt (not tested) 2021-02-13 18:50:37 +08:00
Meco Man 652d98bca6 update dlibc syscalls.c 2021-02-13 15:16:53 +08:00
Meco Man 2530a5a272 [dlib]remove syscalls.h and add syscalls.c to implement exit() and abort() 2021-02-13 15:14:07 +08:00
Meco Man f1fa47611f update 2021-02-13 13:30:40 +08:00
Meco Man 23d4c200c9 add noreturn 2021-02-13 13:23:18 +08:00
Meco Man b89b3958bc [libc][exit][abort] 重新实现exit和abort函数 2021-02-13 13:16:17 +08:00
Meco Man 598aa86f75 move clock_time_to_tick to time.c 2021-02-12 20:36:17 +08:00
Bernard Xiong 122a1753d5
Merge pull request #4330 from liruncong/RT_SECTION
SECTION改为RT_SECTION
2021-02-12 13:02:31 +08:00
Meco Man 5fc59f88c1 update 2021-02-12 12:14:45 +08:00
Meco Man ac500f35d6 change RT_USING_PTHREADS to RT_USING_POSIX 2021-02-12 12:08:14 +08:00
Meco Man e33e7822d7 add <sys/types.h> 2021-02-12 02:58:44 +08:00
Meco Man fa8e8ed31f add RTM_EXPORT label for unistd.c 2021-02-12 02:21:30 +08:00
Meco Man e3a32e807c update 2021-02-12 02:20:22 +08:00
Meco Man 789f1a8753 move all functions located in <pthread_sleep.c> to this file 2021-02-12 02:12:33 +08:00
Meco Man 417f8b9bed update 2021-02-12 01:46:16 +08:00
Meco Man 107c27f38d update 2021-02-12 01:40:45 +08:00
Meco Man 291fe36139 [pthread][libc] move 'clock_time' to libc 2021-02-12 01:30:41 +08:00
Bernard Xiong a4dd106d49
Merge pull request #4316 from mysterywolf/gettimeofday
[libc][time] 修复多处bug;增加time相关函数
2021-02-11 23:37:25 +08:00
Bernard Xiong ff9ef1a527
Merge pull request #4331 from mysterywolf/syscall
[libc][newlib]remove _gettimeofday_r() and _times_r()
2021-02-11 22:37:26 +08:00
Meco Man ce4fabe158 add errno 2021-02-11 20:48:30 +08:00
Meco Man dbe1a9c2dc 移除无用的代码 2021-02-11 16:29:14 +08:00
Meco Man dd147925e5 fix time() return value 2021-02-11 13:41:24 +08:00
Meco Man e904f9bf27 update common 2021-02-11 03:03:59 +08:00
Meco Man b4c8cb1445 remove declare 2021-02-11 03:02:32 +08:00
Meco Man a400991ee9 remove _gettimeofday_r() and _times_r() 2021-02-11 02:58:19 +08:00
Meco Man e3fee1ca77 2 spaces -> 4 spaces 2021-02-11 02:46:23 +08:00
Meco Man d67d4d3fd0 add difftime() 2021-02-11 02:34:38 +08:00
Meco Man 51cb109cf8 fix bug #3183 - align days[] and months[] to 4 bytes 2021-02-11 02:33:45 +08:00
Meco Man 5e5ceabfdc add ctime_r() and re-implement ctime() 2021-02-11 02:32:47 +08:00
Meco Man 072dbe57c6 format & add clear tm_isdst 2021-02-11 02:31:53 +08:00
Meco Man 66e2a9424b update 2021-02-10 21:01:16 +08:00
liruncong 0208fc5546 [components]SECTION=>RT_SECTION(与catch2中SECTION冲突) 2021-02-09 23:25:46 +08:00
Meco Man 39ff4b5a97 修改时区计算公式的错误 2021-02-08 11:37:24 +08:00
Meco Man 2645aec2e3 删除没有用的预编译,在新版的IAR中此已经不需要了
对time函数增加RT_WEAK
2021-02-08 11:30:49 +08:00
Meco Man 3e9c77efd5 优化IAR 2021-02-08 10:55:08 +08:00
Meco Man 9b428e519f avoid warning 2021-02-08 10:42:50 +08:00
Meco Man d0c2631b12 revert time() 2021-02-08 10:33:12 +08:00
Bernard Xiong 9345ebfa12
Merge pull request #4310 from mysterywolf/pin
[bug][pin] 修复错误码没有为负的错误
2021-02-08 09:09:05 +08:00
Meco Man 6c7dd30532 add function settimeofday & stime 2021-02-08 00:56:31 +08:00
Meco Man 4c6962436a update 2021-02-07 22:33:37 +08:00
Meco Man d92f8a53da update 2021-02-07 22:25:30 +08:00
Meco Man 0d30632de6 fix #3976 2021-02-07 22:09:22 +08:00
Meco Man 86ebf17a23 localtim改为gmtime 2021-02-07 21:49:25 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
Meco Man 23304a77d9 [bug][pin] 修复错误码没有为负的错误 2021-02-06 02:27:18 +08:00
Bernard Xiong 9787116870
Merge pull request #4272 from iysheng/master
[bsp][gd32103c-eval] Add hwtimer driver and modify adc driver with LOG_x function
2021-02-06 00:15:41 +08:00
Bernard Xiong 7fc236dddb
Merge pull request #4306 from mysterywolf/rtc
[libc][stm32-driver RTC] 修复RTC驱动以及libc time.c库若干问题
2021-02-05 20:23:24 +08:00
Meco Man ffd270acef fix comment 2021-02-05 18:55:39 +08:00
wanghaijing f62d8938dc [sdio] free memory and enhance performance 2021-02-05 15:49:30 +08:00
Meco Man c2fca3dffe 修复RTC驱动以及libc time.c库若干问题 2021-02-05 13:13:22 +08:00
iysheng a281ee9874 code format 2021-02-05 11:46:44 +08:00
chenyong cddf947863 [utilities][ulog] Add LOG_RAW ringbuffer to fix printing line limit issue
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-02-01 11:22:05 +08:00
Bernard Xiong c4d16d706e
Merge pull request #4243 from zhouji92/master
[fix] 修复使用lwip 2.1.2作为协议栈,并使能dhcp server选项时,编译报错问题。
2021-01-29 14:21:33 +08:00
Wayne Lin 44e9a48f1d Enlarge ECC/DATA layout array size. 2021-01-26 17:04:47 +08:00
Wayne Lin 998e370ae1 Append RT_WEAK to override various ECC layout. 2021-01-26 10:44:00 +08:00
Bernard Xiong 46a2e685a2
Merge pull request #4258 from Lawlieta/chenyong
[utilities][ulog] fix ulog backend color log length calculation error
2021-01-24 07:44:22 +08:00
Bernard Xiong f9c5007cae
Merge pull request #3271 from fmkong/sensor_irq_disable
[drivers/sensor]disable irq only when the sensor and module sensors a…
2021-01-22 18:35:21 +08:00
Bernard Xiong b36aeb46a6
Merge pull request #4226 from redocCheng/master
解决添加RT_USING_MTD_NOR编译报错的问题
2021-01-22 18:24:04 +08:00
redoc a04bb0be3a
删除换行 2021-01-22 13:45:41 +08:00
redoc d0743d6090
1、【删除】多余语句 2021-01-22 13:44:15 +08:00
chenyong 43b1daf325 [utilities][ulog] fix ulog backend color log length calculation error
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-01-21 18:58:57 +08:00
Bernard Xiong 7ed63ef52b
Merge pull request #4250 from Trisuborn/master
为stm32的PWM驱动添加对STM32H7的支持、添加互补PWM功能的支持,补全pwm_get命令等
2021-01-21 11:58:52 +08:00
Trisuborn 3bf767dfe1 文本错误 2021-01-20 23:55:57 +08:00
Trisuborn 55402e19db 优化互补PWM输出功能的实现逻辑,兼容原本API,增加互补PWM使能/失能命令 2021-01-20 23:47:18 +08:00
Trisuborn 63239801d9 修改无意义代码 2021-01-20 11:24:00 +08:00
chenyong 87b5f3f51e [components][utilities][ulog] Add backend filtering interface, add async log output control interface, ulog mutex change to semaphore
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-01-20 11:20:30 +08:00
zhouji92 74691ea783 [fix] 修复使用lwip 2.1.2作为协议栈,并使能dhcp server选项时,编译报错问题。 2021-01-20 10:07:55 +08:00
Trisuborn aed3cc162f 为stm32的PWM驱动添加对STM32H7的支持、添加互补PWM功能的支持,补全pwm_get命令 2021-01-19 17:14:32 +08:00
redoc 3ac86d08cb
解决添加RT_USING_MTD_NOR编译报错的问题。 2021-01-07 16:28:54 +08:00
Meco Man e3fc77f288 update serial.c 2021-01-01 17:24:26 +08:00
Meco Man a657c00e72 update pipe.c 2021-01-01 17:21:48 +08:00
Meco Man a940728162 update serial 2021-01-01 17:07:11 +08:00
Bernard Xiong 5af9540190
Merge pull request #4213 from mysterywolf/typo
Typo: rt_data_queue_peak() in dataqueue
2020-12-31 16:30:34 +08:00
Meco Man a233495718 Typo: rt_data_queue_peak() in dataqueue 2020-12-31 16:02:42 +08:00
Bernard Xiong 953a9ee84c
Merge pull request #3681 from cliff-cmc/master
[components] dfs: update elmfat to R0.14 patch 1
2020-12-31 15:00:37 +08:00
xiangxistu 14ac354dca [update] when close auto check internet status, shield internet status information.
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-12-31 14:39:08 +08:00
xiangxistu 5db412b138 [add] a new function to manage internet check.
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-12-31 11:53:30 +08:00
Bernard Xiong 72bc0d8fad
Merge pull request #3293 from rgw5267/fix_at
fix the bug that rx_notice out of sync when data received after last rt_device_read() is zero
2020-12-31 08:34:57 +08:00
Bernard Xiong 5fd6aec3d1
Merge pull request #4097 from zhangsz0516/zhangsz_1127
[update][PM]更新RT-Thread PM2.0框架
2020-12-31 08:33:27 +08:00
Bernard Xiong 4529e9a741
Merge pull request #4198 from mysterywolf/gettick
[bug] add function rt_tick_get_millisecond() and fix bug #4012
2020-12-30 17:20:28 +08:00
Meco Man 63cd26b0d1 update 2020-12-30 16:32:20 +08:00
张世争 5b4845089a [update][PM]更新RT-Thread PM2.0框架 2020-12-30 15:21:17 +08:00
Bernard Xiong 32cf867837
Merge pull request #4134 from Hxinrong/rt_event_recvBranch
add error checks of function rt_event_recv()
2020-12-30 13:44:41 +08:00
Bernard Xiong 94ba15a80b
Merge pull request #4062 from luanxg/lxg_dev
[update] 获取timer count时,防止因中断到来导致overflow更新
2020-12-29 08:27:11 +08:00
Meco Man c2e15e003c add function rt_hw_1ms_tick_get() 2020-12-29 00:08:24 +08:00
yangjie eeaf1fcc50 resolve Conflicts
bsp/nrf52832/board/Sconscript
	bsp/nrf52832/startups/Sconscript
	bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
tyustli 48d7cf4af9 【修改】解耦 touch 和 pin 2020-12-25 17:31:16 +08:00
Bernard Xiong 10823e54b4
Merge pull request #4181 from Prry/develop
[sensor] support TOF sensor class
2020-12-22 14:05:04 +08:00
Prry a38e7768ac 缩进由“TAB键”改用为“空格” 2020-12-20 22:23:28 +08:00
yangjie ef62febf1f [SConscript]update group name 2020-12-19 16:49:11 +08:00
Prry e7ed764254 添加TOF传感器描述信息 2020-12-19 12:23:37 +08:00