Commit Graph

9529 Commits

Author SHA1 Message Date
redoc 5a5f262649
Update drv_flash_f1.c
调整stm32_flash_erase的返回值
2020-03-18 15:31:20 +08:00
redoc bac9410d7d
Update drv_flash_f1.c
1、【修改】运算方式,更加简洁易懂;
2、【修正】代码格式 tab、 LOG_D;
3、【增加】返回值;
4、【去除】bank1_flag和bank2_flag,改用bank_size判定。
2020-03-18 15:05:12 +08:00
bigmagic e6600dbf10 remove cortex-a53 from libcpu/arm 2020-03-18 14:22:37 +08:00
bigmagic f6a13de08f add raspi3-64 spi driver 2020-03-18 14:22:15 +08:00
bigmagic ba482c3346 add raspi3-64 i2c driver 2020-03-18 14:22:05 +08:00
bigmagic 6416a18554 add cache option api 2020-03-18 14:21:11 +08:00
luhuadong e6417379ca fixed a typo 2020-03-18 13:47:50 +08:00
Bernard Xiong ed0637fef4
Merge pull request #3463 from sheltonyu/develop
1. modify at32_msp default configuration 2. add hwtimer driver and fi…
2020-03-17 23:23:53 +08:00
Bernard Xiong 388e714ef9
Merge pull request #3465 from SummerLife/replace_introduce_picture
[readme/update] readme architecture figures
2020-03-17 23:12:15 +08:00
unknown db23a69f49 dd STM32L1 HAL DRIVER 2020-03-17 22:11:13 +08:00
SummerGift f8ad59be56 [update] architecture figures 2020-03-17 18:30:13 +08:00
sheltonyu ce4ac6315d 1. modify at32_msp default configuration 2. add hwtimer driver and fix up some driver errors 3. update related files 2020-03-17 10:10:43 +08:00
supperthomas 56a2e831f4 Merge branch 'master' of github.com:supperthomas/rt-thread 2020-03-16 23:59:08 +08:00
Bernard Xiong 41b3ffc497
Merge pull request #3461 from andychen329/patch-2
update readme :Fixed spelling mistakes
2020-03-16 21:31:39 +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 19a7e5fd2c
Merge pull request #3450 from RT-Thread/README-patch
[skip ci] Update README.md
2020-03-16 21:20:31 +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
andychen329 96cb2579cf
update readme :Fixed spelling mistakes
MM32L073PF ->  MM32L373PF
2020-03-16 18:02:10 +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
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