Bernard Xiong
32e07e51a7
Merge pull request #3457 from cliff-cmc/msc
...
Support msc mode automatic switching
2020-03-16 15:31:35 +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
a7bcf90d78
Merge pull request #3433 from DavidLin1577/patch-5
...
Fixed a hidden stack overflow bug
2020-03-15 20:52:06 +08:00
Bernard Xiong
6d3c0be646
Merge pull request #3453 from DavidLin1577/patch-6
...
[bsp]Fixed a stack overflow bug in drv_crypto.c
2020-03-15 20:39:48 +08:00
Bernard Xiong
aecdd04611
Merge pull request #3451 from yangjie11/wifi-new
...
[bsp][stm32/pandora]增加对板载 AP6181 的支持
2020-03-15 20:38:36 +08:00
David Lin
d38dbcaaa3
Update pwm.c
2020-03-15 07:22:34 +08:00
David Lin
508b334fe7
Update pwm.c
2020-03-15 00:21:38 +08:00
David Lin
45ae555a0b
[bsp]Fixed a stack overflow bug in drv_crypto.c
...
Added if null before used.
2020-03-14 23:11:37 +08:00
David Lin
25ac5039e7
Update pwm.c
...
rt_malloc -> rt_calloc
2020-03-14 22:38:48 +08:00
supperthomas
d7921bc857
Merge branch 'master' of github.com:supperthomas/rt-thread
2020-03-14 18:20:32 +08:00
supperthomas
ff302f44eb
Merge branch 'master' of github.com:supperthomas/rt-thread
2020-03-14 18:10:37 +08:00
supperthomas
a90610dee5
[bsp/stm32] add bsp of stm32l496zg-nucleo
2020-03-14 18:08:21 +08:00
supperthomas
e847fab957
[bsp/stm32] add bsp of stm32l496zg-nucleo
2020-03-14 17:50:53 +08:00
yangjie
9b889944ba
[bsp][stm32/pandora]增加AP6181移植文件
2020-03-14 16:59:31 +08:00
yangjie
dae2d1e8fe
[bsp][stm32/pandora]增加对板载 AP6181 的支持
2020-03-14 16:17:02 +08:00
Bernard Xiong
891e4794c0
Merge pull request #3295 from ChazJin/patch-3
...
Fix bug for synopsys_emac.c
2020-03-14 15:50:30 +08:00
Bernard Xiong
0cdbf619f8
[skip ci] Update README.md
2020-03-14 10:36:34 +08:00
Bernard Xiong
38cb95331f
Merge pull request #3438 from Cathy-lulu/update-readme
...
update readme
2020-03-14 09:35:14 +08:00
Bernard Xiong
d17011d124
Merge pull request #3439 from sheltonyu/develop
...
[bsp/at32] modify at32f403a-start README.md
2020-03-13 18:12:21 +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
Cathy-lulu
d1cf363b6f
Update README.md
2020-03-13 17:40:11 +08:00
Bernard Xiong
23d02c68c0
Merge pull request #3441 from shawn1221/mmc-upstream-20200312
...
component sdio fix
2020-03-13 16:48:59 +08:00
Bernard Xiong
ea968f6833
Merge pull request #3372 from karl-zh/lpc55_add_ns_scons
...
Lpc55 add ns scons project
2020-03-12 16:59:23 +08:00
redoc
91a52192b8
update tab
2020-03-12 15:04:10 +08:00
redoc
363903b984
chage tab
2020-03-12 15:02:26 +08:00
redoc
acf4fc6d2e
update drv_flash_f1.c
...
support stm32f103vg
2020-03-12 14:46:46 +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
sheltonyu
1becc3a77f
[bsp/at32] modify at32f403a-start README.md
2020-03-11 17:51:51 +08:00
Cathy Li
632c86ca07
update readme
...
Signed-off-by: Cathy Li <liyan@rt-thread.com>
2020-03-11 17:09:44 +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
Bernard Xiong
3e8c03e934
Merge pull request #3421 from ErnestChen1/master
...
[bsp] fix UART DMA TX
2020-03-10 16:24:38 +08:00
Bernard Xiong
a189eb6c33
Merge pull request #3432 from DavidLin1577/patch-4
...
Fixed wrong output information in core.c
2020-03-10 16:21:41 +08:00
Bernard Xiong
817afbdf59
Merge pull request #3434 from tyustli/pm
...
[bsp/stm32] add pm support by cubemx tool
2020-03-10 13:05:30 +08:00
Bernard Xiong
86e91dc7df
Merge pull request #3435 from sheltonyu/develop
...
Upload at32 bsp first version.
2020-03-10 13:03:51 +08:00
sheltonyu
f15aec01ed
upload at32 bsp first version.
2020-03-09 15:10:16 +08:00
tyustli
6304ed3ad5
[bsp/stm32] add pm support by cubemx tool
2020-03-09 14:08:58 +08:00
David Lin
b2d33e9147
Update pwm.c
2020-03-08 07:18:37 +08:00
David Lin
c689c2c67f
Fixed a hidden stack overflow bug
...
'memset' should been next step after 'NULL' judge
2020-03-08 00:48:32 +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
tanglj86
e8614639eb
[bsp/stm32] add support for NUCLEO-F410RB board;
2020-03-07 19:11:49 +08:00
Bernard Xiong
9d9432eb93
Merge pull request #3430 from DavidLin1577/patch-3
...
Fixed typo 'rthread' in help infomation
2020-03-06 22:51:24 +08:00
David Lin
622e8cb0ca
Fixed typo 'rthread' in help infomation
...
rthread -> rtthread
2020-03-06 21:46:21 +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
Bernard Xiong
90e8b3664d
Merge pull request #3401 from thread-liu/master
...
[update] 修改了 stm32f407-atk-explorer mdk5 工程编译报错的bug
2020-03-04 11:45:26 +08:00