Meco Man
850e1aeb52
[libc][time] 细微调整time.c
2021-04-28 13:03:43 +08:00
chunyexixiaoyu
2afca00787
[ADD]riscv.c dlmodule can support riscv architecture
...
[CHG]dlelf.c support distinguishing 32-bit ELF format and 64-bit ELF format
2021-04-27 21:24:42 +08:00
Aubr.Cool
e72008b614
update serial drv
2021-04-27 13:53:14 +08:00
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
Bernard Xiong
6bb07da6e8
Merge pull request #4439 from OpenNuvoton/sfud_dualio_issue
...
[sfud] Correct dual_io dummy cycle setting to 4.
2021-03-31 13:53:02 +08:00
liuxianliang
154d73a4e7
[fix] iperf speed test have been stable.
2021-03-31 13:37:19 +08:00
jeshrz
7c999e1950
enhance robustness for pthread
2021-03-31 09:22:47 +08:00
liuxianliang
6d89a9f120
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into develop_one
2021-03-30 10:25:00 +08:00
rtthread-bot
11dd63e9e9
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-03-29 06:39:42 +00:00
Bernard Xiong
fefeff8de1
Merge pull request #4535 from mysterywolf/time
...
[libc][time] add debug tag
2021-03-28 17:50:43 +08:00
Bernard Xiong
7d1a7e3f73
Merge pull request #4513 from yangjie11/comp-license
...
[components]update GPL license to Apache-2.0
2021-03-28 16:53:26 +08:00
Meco Man
a584b8ba6b
[libc][time] add debug tag
2021-03-28 10:33:13 +08:00
Bernard Xiong
9cf0720b68
Merge pull request #4531 from whj4674672/pipe
...
pipe name depend on RT_NAME_MAX
2021-03-27 14:51:15 +08:00
Bernard Xiong
029e016176
Merge pull request #4527 from CraztTnspt/master
...
[components][finsh] add support for tasking toolchain
2021-03-27 14:50:32 +08:00
Bernard Xiong
ec6d707539
Merge pull request #4526 from mysterywolf/time1
...
[libc][time] add LOG_W to give a warning when RTC device is not used
2021-03-27 14:22:10 +08:00
wanghaijing
78c370d793
pipe name depend on RT_NAME_MAX
2021-03-27 11:56:50 +08:00
Meco Man
d1d9c492f8
[bug][dfs] rt_strlen(name) + 1) -> DFS_PATH_MAX
2021-03-27 01:24:32 +08:00
crazt
86f12ac118
[components][finsh] add support for tasking toolchain
2021-03-26 17:39:40 +08:00
Meco Man
0ec2a5f782
[libc][time] add LOG_W to give a warning when RTC device is not used
2021-03-26 17:36:43 +08:00
liuxianliang
adaa45eebe
[fix] the overflow problem of lwip rx thread mailbox.
2021-03-26 10:04:37 +08:00
yangjie
c30a715380
[components]update GPL license to Apache-2.0
2021-03-24 18:59:36 +08:00
Bernard Xiong
5c50a8794f
Merge pull request #4458 from mysterywolf/time
...
[libc][time] 修复没有末尾\0的bug
2021-03-23 20:10:37 +08:00
Bernard Xiong
5ded4a1f52
Merge pull request #4476 from xfwangqiang/sensor_pr
...
[components][sensor]Optimize the Sensor Module
2021-03-23 20:09:26 +08:00
Bernard Xiong
58ba2d5e9d
Merge pull request #4492 from mysterywolf/pin
...
[stm32][pin] 删除无用注释
2021-03-23 20:01:14 +08:00
wangqiang
c72227680d
Fixed formatting issues
2021-03-22 10:11:42 +08:00
Meco Man
b7bfa04c06
[dfs] cat命令执行后增加\n 与linux行为一致
2021-03-21 02:03:45 +08:00
Meco Man
80256f6a92
[stm32][pin] 删除无用注释
2021-03-21 01:48:25 +08:00
Bernard Xiong
230af2d111
Merge pull request #4446 from dillon-min/comp
...
[component][driver][usb] Make compositive usb device string more clear
2021-03-20 18:24:51 +08:00
Bernard Xiong
677f9c5aa6
Merge pull request #4470 from mysterywolf/ioctl
...
[libc][ioctl] 将sys/ioctl.h移至common文件夹
2021-03-19 22:52:40 +08:00
iysheng
fcffea4501
[components][serial] fix do RT_DEVICE_CTRL_CLOSE cmd when close serial device regardless of DMA config
2021-03-18 10:51:50 +08:00
Bernard Xiong
6a80bcef1f
Merge pull request #4473 from mysterywolf/AT
...
[at][bug] 修复内存泄漏的bug
2021-03-17 17:57:22 +08:00
wangqiang
3487f2790a
1. 优化pin.h, sensor.h, rtdevice.h,避免反向包含
...
2. 优化rt_sensor_close函数,polling模式下不需要操作和rt_pin_irq_enable函数
3. 优化rt_device_register和sensor_polling的LOG信息
4. 修复sensor_polling函数打开设备时的标志错误的问题
2021-03-17 17:42:43 +08:00
wangqiang
da0e3ed35d
将sensor.h的头文件放置了一份在driver/include下面,rtdevice.h的头文件也包含了sensor.h,简化应用层调用sensor模块
2021-03-17 15:20:54 +08:00
Meco Man
c40fd2da70
update
2021-03-17 14:00:49 +08:00
Meco Man
08af865c50
[at][bug] 修复内存泄漏的bug
2021-03-17 13:56:42 +08:00
wangqiang
58bb9f5b2e
优化ops的检测代码
2021-03-17 13:44:05 +08:00
xfwangqiang
613f89a372
检测rt_sensor_device下的ops和ops中的函数指针,防止因未定义ops中的函数而造成的问题
2021-03-17 13:44:05 +08:00
Meco Man
9d17aa7ce5
[libc][ioctl] 将sys/ioctl.h移至common文件夹
2021-03-17 02:37:42 +08:00
dillon-min
247df39bfe
Merge branch 'master' into comp
2021-03-16 20:15:43 +08:00
tangyuxin
1b68098f08
[libc] Fix Win32 compilation errors
2021-03-16 14:07:36 +08:00
Bernard Xiong
b12615f344
Merge pull request #4427 from mysterywolf/components
...
[components] auto & manual formatted
2021-03-16 13:53:54 +08:00
Bernard Xiong
0ae1743b61
Merge pull request #4449 from yangjie11/yj_dev
...
[components][dfs] remove jffs2 and uffs
2021-03-16 09:07:15 +08:00
yangjie
3ec59a8865
[components][dfs/Kconfig] 修改help描述
2021-03-15 13:44:25 +08:00
Meco Man
cc1277d491
[libc][time] 修复没有末尾\0的bug
2021-03-15 11:29:42 +08:00
Dillon Min
9789e4c930
component: driver: usb: enlarge uconfig_descriptor's data array space
...
if you add more compositive usb device(more than 4), the data[256]
can't hold all the devices's config information, array out of bounds.
Fixes: 60c27fc4b
("add USB composite and mass storage class features in USB device stack")
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
2021-03-12 16:30:39 +08:00
Bernard Xiong
7ae652ca77
Merge pull request #4451 from mysterywolf/uip
...
[uip] remove uip
2021-03-12 16:12:27 +08:00
Meco Man
8e16fe6d85
[uip] remove uip
2021-03-12 10:36:50 +08:00
Meco Jianting Man
cd4cf46f3b
Delete dfs_jffs2.h
2021-03-12 10:10:31 +08:00
Meco Jianting Man
5dfe7a8f68
Delete dfs_jffs2.c
2021-03-12 10:10:21 +08:00
Meco Jianting Man
c6b6b77716
Delete dfs_uffs.h
2021-03-12 10:09:56 +08:00
Meco Jianting Man
40a087fc8d
Delete uffs_rtthread.c
2021-03-12 10:09:47 +08:00
Meco Jianting Man
f3fbbf8477
Delete dfs_uffs.c
2021-03-12 10:09:34 +08:00
Dillon Min
effcee25b7
component: driver: usb: Add usb interface string(iInterface) setting
...
To make compositive usb device string more reansonable, not all devices
just show same "RTT Composite Device" on windows device manager.
add a interface rt_usbd_device_set_interface_string to set respective
interface string.
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
v1 -> v2: remove all tabs to space, to match rt-thread coding style
2021-03-11 17:29:41 +08:00
yangjie
29d11a6d0d
[components][dfs] remove jffs2 and uffs
2021-03-11 16:47:15 +08:00
Meco Jianting Man
bc606f9a78
Delete rmtx.c
2021-03-11 15:42:22 +08:00
Wayne Lin
22ab98a59e
[sfud] Correct dual_io dummy cycle setting to 4.
2021-03-10 23:31:14 +08:00
Meco Man
0c9bcefc6c
[ioctl] 增加TIOCGWINSZ功能
2021-03-10 20:30:13 +08:00
Bernard Xiong
d9b8984398
Merge pull request #4433 from mysterywolf/clang
...
[libc][time][bug] 修复ARM6报错的问题
2021-03-09 21:00:15 +08:00
Bernard Xiong
8bb2817d35
Merge pull request #4366 from whj4674672/wqueue
...
[fix] wait queue flag 赋的值使用宏
2021-03-09 20:59:28 +08:00
Bernard Xiong
783b6949ab
Merge pull request #4432 from mysterywolf/mutex
...
[libc] remove inherent mutex protection
2021-03-09 20:54:25 +08:00
Meco Man
09c5420d21
[libc][time][bug] 修复ARM6报错的问题
2021-03-09 17:51:35 +08:00
Meco Man
9952042b0c
remove inherent mutex protect
2021-03-09 11:33:22 +08:00
Meco Man
ab04030f8f
revert
2021-03-08 21:53:02 +08:00
Meco Man
f6cb281440
[components] remove uip
2021-03-08 18:31:46 +08:00
Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
Bernard Xiong
ea22af576c
Merge pull request #4422 from mysterywolf/libctime
...
[libc] remove difftime()
2021-03-05 23:47:34 +08:00
Meco Man
ff9210a84d
revise comment
2021-03-05 23:13:57 +08:00
Meco Man
3253312758
remove difftime()
2021-03-05 23:09:00 +08:00
Bernard Xiong
729a1ad3b4
Merge pull request #4280 from enkiller/0130-1631
...
[finsh] add mount/umount cmd
2021-03-05 08:17:28 +08:00
tangyuxin
991c25dd5d
[finsh] add mount/umount cmd
2021-03-03 21:29:46 +08:00
Bernard Xiong
7628f36f05
Merge pull request #4376 from LeeChunHei/hid_fix
...
修復usb host hid和umouse驅動
2021-03-03 13:54:54 +08:00
Bernard Xiong
d9b88ddf2b
Merge pull request #4290 from enkiller/0201-1456
...
优化工作队列体积,临界区保护更加完善
2021-03-03 08:53:27 +08:00
Bernard Xiong
fac97f1716
Merge pull request #4305 from OpenNuvoton/revert-3293-fix_at
...
Revert "fix the bug that rx_notice out of sync when data received aft…
2021-03-03 08:53:01 +08:00
iysheng
0b2212f773
[components][ulog] Add support with timestamp print in function ulog_hexdump
2021-03-02 12:11:19 +08:00
Wayne Lin
eaacc0ae3e
Optimize getc flow.
2021-03-02 10:42:40 +08:00
Bernard Xiong
339ebf3c16
Merge pull request #4401 from howard0su/i2c_security
...
Return when i2c transfer 0 messages
2021-03-01 19:09:12 +08:00
Bernard Xiong
0a54f4c3dd
Merge pull request #4388 from mysterywolf/getline
...
[libc][getline] 删除不必要的声明信息
2021-03-01 15:18:52 +08:00
Howard Su
5a184c19b2
Return when i2c transfer 0 messages
...
msg->flags is accessed without proper intialized msg variable.
2021-02-28 16:42:27 +08:00
Meco Man
70f5c10262
remove comments
2021-02-28 11:12:18 +08:00
Meco Man
ac275965f2
[libc][newlib] 对syscall中malloc相关桩函数做出编译调整
2021-02-28 11:09:48 +08:00
Bernard Xiong
2bf53d315d
Merge pull request #4369 from mysterywolf/removeminilibc
...
[libc]移除minilibc 并将其职能并入newlibc中
2021-02-27 09:12:45 +08:00
Meco Man
952e35d9d3
update Kconfig
2021-02-26 06:34:52 +08:00
Meco Man
88abde1578
[libc] beatify getline
2021-02-26 06:17:22 +08:00
Bernard Xiong
fae0fa8eea
Merge pull request #4383 from mysterywolf/istty
...
[libc]fix bug of _isatty_r()
2021-02-26 00:48:58 +08:00
Bernard Xiong
4f6fea18c6
Merge pull request #4385 from mysterywolf/mutex
...
[libc][armlibc] add multithreaded protection
2021-02-26 00:23:18 +08:00
xiangxistu
e02f3764bd
[delete] useless logic
2021-02-25 14:44:02 +08:00
xiangxistu
7a2ae46ecf
[fix] the wrong 'ifconfig' information for multi-network interface
2021-02-25 14:06:03 +08:00
Meco Man
1ce2065660
[libc][armlibc] add multithreaded protection
2021-02-25 09:14:19 +08:00
Meco Man
20b95b8af5
[libc]fix bug of _isatty_r()
2021-02-24 22:09:00 +08:00
Bernard Xiong
b7a71b8552
Merge pull request #4371 from mysterywolf/fixold
...
[libc] 去除RT_USING_NOLIBC 历史遗留
2021-02-24 16:45:29 +08:00
Bernard Xiong
86aec6371a
Merge pull request #4381 from mysterywolf/exit
...
[kernel] rt_thread_control() 关闭线程后增加rt_schedule调度
2021-02-24 16:43:00 +08:00
Meco Man
2b98ac215a
[kernel] rearrange rt_thread_control() - schedule the thread when close it
2021-02-24 16:29:43 +08:00
LeeChunHei
e03eaec462
update to new usb api in hid and mouse source file
2021-02-23 13:42:19 +08:00
Meco Man
bf7a3af6fd
update readme
2021-02-23 11:28:25 +08:00
Meco Man
6ee0d45644
update
2021-02-23 11:16:41 +08:00
Meco Man
9220447060
update
2021-02-23 10:28:13 +08:00
Bernard Xiong
4426af03f8
Revert "添加imxrt的pulse encoder和usb host驅動"
2021-02-23 09:44:27 +08:00
Bernard Xiong
d9c3459e11
Merge pull request #4295 from LeeChunHei/test_branch
...
添加imxrt的pulse encoder和usb host驅動
2021-02-23 09:41:27 +08:00
Meco Man
497e7b45d4
remove minilibc
2021-02-23 03:28:19 +08:00
Meco Man
b2d3317c6a
remove minilibc
2021-02-23 03:21:16 +08:00
tangyuxin
4f2359d34c
[workqueue] 修复临界条件线程意外挂起问题
...
线程判断任务链表为空时,开中断挂起线程,在挂起线程的过程中,提交的任务不会被执行。
将线程的挂起与恢复放在中断保护内,确保挂起挂起恢复是一个完整的过程
2021-02-22 17:10:33 +08:00