luhuadong
88a02d7bd8
fixed some typos
2020-05-09 10:33:36 +08:00
Bernard Xiong
084996ddb5
Merge pull request #3565 from OpenNuvoton/rtt_issues
...
Get stuck issue after open-close-open CAN device.
2020-05-04 22:06:16 +08:00
Prry
040816dee8
add vendor information of sensor
2020-05-02 00:39:48 +08:00
Bernard Xiong
664bc4e9d8
Merge pull request #3569 from egbert-h/master
...
mstorage.c: fix the issue bug in_read_capacity()
2020-05-01 17:40:02 +08:00
Bernard Xiong
786eb5ae9c
[C++] rename the Thread/Mutex to cxx_Thread/Mutex to avoid same name issue
2020-04-30 21:08:04 +08:00
hphuang
9d374f873c
mstorage.c: fix the issue that _read_capacity() returns the wrong last valid address of storage medium
2020-04-28 19:07:08 +08:00
Wayne Lin
5bddcd378e
Get stuck issue after open-close-open CAN device.
...
Signed-off-by: Wayne Lin <wosayttn@gmail.com>
2020-04-27 16:01:05 +08:00
bigmagic
3afb24f4c1
fix aarch64 compiler warning
2020-04-17 22:35:55 +08:00
Bernard Xiong
d3ce0b27ff
Merge pull request #3534 from Keyun-Johan/mydoc
...
socket_new() 错误返回时的问题
2020-04-15 16:08:43 +08:00
Keyun-Johan
5ea637903d
Update sal_socket.c
...
OK
2020-04-13 17:42:37 +08:00
David Lin
e9d930070d
Update pipe.c
2020-04-13 07:20:29 +08:00
Keyun-Johan
63e855d78a
socket_new()成功后,后续函数不成功返回-1,没有删除socket
2020-04-12 19:22:19 +08:00
David Lin
ff09587d23
[components/drivers] update pipe.c
...
Fixed stackover flow bug when create pipe->fifo
2020-04-12 11:58:33 +08:00
bigmagic
3d29ac8953
remove redefinition 'mode_t'
2020-04-11 22:35:02 +08:00
DeclanHuaChen
9545529b33
Fix some spelling mistakes
2020-04-11 16:06:32 +08:00
yangjie
cb9bc38ec9
[components][serial]关闭uart时,反初始化tx_dma->data_queue,防止内存泄漏
2020-04-10 18:41:59 +08:00
Bernard Xiong
6375094569
Merge pull request #3503 from yangjie11/yj_dev
...
[components][dataqueue]add rt_data_queue_deinit
2020-04-10 15:41:32 +08:00
Bernard Xiong
08ef236308
Merge pull request #3513 from jch12138/master
...
为FINSH添加clear命令
2020-04-10 11:14:33 +08:00
Bernard Xiong
5599bc73fa
Merge pull request #3425 from DavidLin1577/patch-1
...
Fixed wrong output information
2020-04-10 00:48:38 +08:00
yangjie
1d7b34f471
[components][dataqueue]修改is_init为magic数
2020-04-08 11:05:37 +08:00
jch12138
ebfba4974c
add clear
2020-04-07 20:19:33 +08:00
yangjie
dfcd38b74d
[components][dataqueue]add rt_data_queue_deinit
2020-04-07 17:36:56 +08:00
Bernard Xiong
e382ae08da
Merge pull request #3491 from GitHubIDforRoger/posix_termios.h头文件找不到pid_t定义的bug
...
posix_termios.h头文件修改
2020-04-07 16:36:32 +08:00
luanxueguang
a1dc525859
[update] 修复拼写错误
2020-04-02 13:50:09 +08:00
roger
a3d6d47225
祛除了不必要的格式修改
2020-03-31 09:35:13 +08:00
Bernard Xiong
0f57faa591
Merge pull request #3484 from qz721/master
...
修复USB不能正常识别composite设备的bug
2020-03-30 21:20:02 +08:00
roger
63a82cac47
在posix_termios.c中引用termios.h
2020-03-30 15:59:44 +08:00
roger
8601850a21
first commit
2020-03-30 15:21:58 +08:00
Bernard Xiong
7f6755c622
Merge pull request #3472 from DavidLin1577/patch-2
...
[components/usb]Fixed a stack overflow bug
2020-03-26 22:06:23 +08:00
qz721
a49ddaef96
修复USB不能正常识别composite设备的bug
2020-03-26 16:24:10 +08:00
SummerGift
e5c1183350
[optimize] stm32 uart driver
2020-03-23 15:44:54 +08:00
David Lin
985a70ab15
Update hub.c
2020-03-21 20:56:31 +08:00
David Lin
10e0f28754
Update cdc_vcom.c
2020-03-21 20:54:13 +08:00
David Lin
3679dfa07e
Update ecm.c
2020-03-21 20:42:55 +08:00
Bernard Xiong
30a9ef64c1
Merge pull request #3427 from DavidLin1577/patch-2
...
Fixed typos in Kconfig
2020-03-21 11:45:40 +08:00
Bernard Xiong
beda0899f5
Merge pull request #3397 from luhuadong/develop
...
[Sensor] Support custom commands for rt_sensor_control
2020-03-16 21:28:30 +08:00
Bernard Xiong
cc319ac1aa
Merge pull request #3458 from shawn1221/mmc-upstream-20200316
...
component: sdio: fix potential ricky clock setting
2020-03-16 21:20:09 +08:00
Bernard Xiong
822d8f4002
Merge pull request #3456 from zhao0116/spi
...
spi: support slave mode and master mode runtime config
2020-03-16 15:34:33 +08:00
Shawn Lin
4c7106fa9d
component: sdio: fix potential ricky clock setting
...
Currently RTT mmc stack only support Highspeed mode or
blow, which means the max speed should be 52MHz according
to JEDEC spec. Two problems show here:
(1) max_data_rate = (unsigned int)-1. The value of unsigned int
depends on compilers/arch. Moreover, it makes no sense to assume
cpu addressing width with IP clock rate limit.
(1)hs_max_data_rate was set to 200MHz.
So what should BSP drivers do if 52MHz < max_data_rate < 200MHz?
Either it blindly sets a spec-violated clock rate to drive a Highspeed
card, or just adjust the clock rate internally. Both cases are
really bad for practice.
If the card claims to support Highspeed, we set the clock to not
to exceed 52MHz. Otherwise it should be set according to
card->max_data_rate parsed by ext_csd. This patch fixes it as-is,
and also simplify the code a lot.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2020-03-16 14:45:41 +08:00
luhuadong
7c4e70b3b3
[Sensor] Add user-commands range limitation
2020-03-16 11:03:32 +08:00
Cliff Chen
1c68bd9d3c
Support msc mode automatic switching
...
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
2020-03-16 10:50:34 +08:00
Yifeng Zhao
d906bf5b18
spi: support slave mode and master mode runtime config
...
support slave mode and master mode runtime config.
Change-Id: Iabadbade8997bb8e3adef8ce95f6c45f6bb35329
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
2020-03-16 10:20:03 +08:00
Bernard Xiong
d33d9dd9a6
Merge pull request #3437 from Chinese66/patch-1
...
Update ry_sy.c
2020-03-13 18:09:43 +08:00
Shawn Lin
11277014a3
[Components] sdio: try bus width depends on host's capability
...
It makes no sense to try bus width if not supported by drivers or BSP,
since we know it must be failed. It saves a lot for booting in time
critical environment.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2020-03-12 09:00:41 +08:00
Shawn Lin
a33bc0f321
[component] sdio: Fix mmc mount function if the whole device is a partition
...
If the whole sd card was formatted as a partition, current
code break out the loop mistakenly, so it skips dfs_mount_device
later. Simply remove the broken 'break' to solve this problem.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2020-03-12 09:00:33 +08:00
Chinese66
2822ec377d
Update ry_sy.c
...
修改了读取不到文件大小,导致的文件传输的问题,问题说明在
https://www.rt-thread.org/qa/forum.php?mod=viewthread&tid=423781
2020-03-11 11:56:35 +08:00
David Lin
eb5467bece
Fixed wrong output information in core.c
...
rt_kprintf("alloc memery failed\n"); -> rt_kprintf("alloc memory failed\n");
2020-03-08 00:20:31 +08:00
David Lin
053ffb0527
Fixed typos in Kconfig
...
mesage -> message
memmory -> memory
2020-03-05 09:20:05 +08:00
David Lin
39538e036b
Fixed wrong output information
...
to ->too
2020-03-04 23:13:45 +08:00
David Lin
f9ab9d5868
Fixed wrong output information
...
to -> too
2020-03-04 23:04:52 +08:00