Commit Graph

3228 Commits

Author SHA1 Message Date
Meco Man cb7fa8fcea implement pid_t gettid(void) 2021-04-26 14:34:26 +08:00
Meco Man 19347ed454 [libc][unistd] 完善isatty() 2021-04-26 14:31:31 +08:00
Bernard Xiong 428946c6ae
Merge pull request #4626 from mysterywolf/libc
重新整理common文件夹
2021-04-26 13:50:43 +08:00
Meco Man ae66d82624 update sconscript 2021-04-25 21:32:08 +08:00
Meco Man f9ba41f4c2 更改libc目录为common 以及 none-gcc 2021-04-25 21:10:31 +08:00
Bernard Xiong 75e13c6866
Merge pull request #4631 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
2021-04-25 20:06:24 +08:00
Bernard Xiong e3c19a8463
Merge pull request #4601 from armink/fix_ulog
[ulog] Fix thread info show when kernel not startup.
2021-04-22 13:44:40 +08:00
Bernard Xiong ed84d02eb3
Merge pull request #4618 from mysterywolf/key
[stm32 pandora] implement drv_key and modify drv_sdcard
2021-04-22 11:39:15 +08:00
rtthread-bot 8278898783 Merge remote-tracking branch 'rtt_gitee/gitee_master' 2021-04-21 16:41:19 +00:00
guozhanxin 48bf53b6e0 【完善】uac class, 去除 GPL 代码 2021-04-21 16:39:14 +08:00
Meco Man c871726e89 update readme 2021-04-21 02:16:29 +08:00
Meco Man 40c09fc1e0 重新分类为common文件夹下属all文件夹和excgcc文件夹 2021-04-21 00:56:36 +08:00
RiceChen 0b9e01cced add I2C bus control api 2021-04-20 00:26:28 +08:00
Bernard Xiong 18ccf1d182
Merge pull request #4523 from xiangxistu/master
[fix] the overflow problem of lwip rx thread mailbox.
2021-04-19 13:35:22 +08:00
Bernard Xiong 3fa35a398b
Update ulog.c
Use `rt_thread_self()` to determine whether the scheduler is started or not.
2021-04-19 06:50:58 +08:00
Bernard Xiong 65bc0faa76
Merge pull request #4609 from mysterywolf/ym
[ymodem] Check the file path's legitimacy of 'sy' command
2021-04-19 06:48:00 +08:00
Bernard Xiong 1916135b89
Merge pull request #4608 from majianjia/master
Add more trys when switching MMC card data width
2021-04-19 00:29:09 +08:00
Meco Man 926cd86589 remove dlib and armlibc sys folder 2021-04-18 01:36:35 +08:00
Meco Man 6026c68d37 加入<sys/types.h>声明 2021-04-18 01:00:37 +08:00
Meco Man bc25c8a6e8 update sconscript 2021-04-18 00:55:32 +08:00
Meco Man 9d401ea8b0 重新整理libc重复共用文件,创建common_for_all 和 common_for_keiliar 2021-04-18 00:51:07 +08:00
Meco Man 8ca492e996 format pin.c 2021-04-17 18:01:20 +08:00
Meco Man 8956b2ea46 [stm32 pandora] implement drv_key and modify drv_sdcard 2021-04-17 16:28:09 +08:00
armink fc97cd23d8 [libc/time] Revert the time.h 2021-04-16 09:21:01 +08:00
Meco Man 46d51a99f1 优化get_timeval set_timeval 条件编译代码结构 2021-04-15 16:34:09 +08:00
Meco Man b74022e2c4 mktime support fixed timezone 2021-04-15 14:31:23 +08:00
armink 2ea39b4f05 [ulog] Using gettimeofday for timestamp get. 2021-04-15 14:15:39 +08:00
armink 6eb6752398 [libc/time] Fix MDK build error when using gmtime_r. 2021-04-15 14:12:02 +08:00
armink 3ae6ca1fb0 [ulog] Fix thread info show when kernel not startup. 2021-04-15 14:10:27 +08:00
Meco Man 8e2a456d7a implement set_timeval 2021-04-15 14:01:55 +08:00
liuxianliang 962a97b683 [restore] Restore format 2021-04-15 12:50:54 +08:00
liuxianliang ad9c4ea15b [restore] Restore format 2021-04-15 12:43:56 +08:00
Meco Man 4accfc410c 修改get_timeval的错误返回形式 2021-04-15 00:57:01 +08:00
armink 76be91c7de [libc/time] Add microseconds time get feature in gettimeofday. 2021-04-14 20:10:47 +08:00
Meco Man a6ac475df3 [ymodem] Check the file path's legitimacy of 'sy' command 2021-04-14 01:34:28 +08:00
Jianjia Ma 398718f0f9
Update mmc.c 2021-04-13 18:27:53 +01:00
Jianjia Ma 4e74279d27
Add more trys when switching data width
Try a few times before switching to other data widths. 
The original strategy (simply wait for 20ms ) failed on STM32H743 with an MTFC4GACAJCN-4M (4GB EMMC) when switching data width. 
(unless the debugging info is enabled, which add more delays)
With this EMMC, the fixed delay was set to 50ms for it to be able to work. 

Instead of a fixed delay, I think we better change to trying a few more times with smaller delays.
2021-04-13 18:04:59 +01:00
liuxianliang 865e34650c [add] the function of set [internet up] status, activate the callback. 2021-04-12 18:11:37 +08:00
liuxianliang 97432efadf Merge branch 'master' of https://github.com/RT-Thread/rt-thread into develop_one 2021-04-12 11:20:11 +08:00
Meco Man b4040df9dc [libc][time][bug] LOG_W will cause a recursive printing if ulog timestamp function is turned on 2021-04-11 13:31:11 +08:00
liuxianliang afe6dd9fe5 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into develop_one 2021-04-10 18:03:18 +08:00
StackRyan 791ecc093f [fix] fix measurement unit of "percentage" to "permillage" for accuracy. 2021-04-07 16:59:27 +08:00
liuxianliang 3db7a98a18 [update] change the file encoding to UTF-8. 2021-04-06 11:41:14 +08:00
liuxianliang 2b549d93c8 [fix] change from enter critical area into disable interrupt. 2021-04-06 10:46:31 +08:00
liuxianliang 233e1cd8bc Merge branch 'master' of https://github.com/RT-Thread/rt-thread into develop_one 2021-04-06 10:42:58 +08:00
StackRyan e6f9ecfe26 [add] add spo2 sensor support in drivers/include/drivers/sensor.h and drivers/sensors/sensor.c
Signed-off-by: yuanjie <yuanjie@rt-thread.com>
2021-04-02 21:43:58 +08:00
Bernard Xiong 199f73c72d
Merge pull request #4547 from rtthread-bot/rtt_bot
[update] RT-Thread Robot automatic submission
2021-04-02 18:37:40 +08:00
Meco Man 75ae0a544b NULL -> RT_NULL 2021-04-01 23:04:53 +08:00
Bernard Xiong 50700c8d9b
Merge pull request #4480 from iysheng/serial
[components][serial] fix do RT_DEVICE_CTRL_CLOSE cmd when close seria…
2021-03-31 17:51:58 +08:00
liuxianliang 4431c4796f [fix] remove the possible critical zone risk 2021-03-31 14:59:12 +08:00