Commit Graph

9331 Commits

Author SHA1 Message Date
Bernard Xiong a8cd463347
Merge pull request #3470 from Sunwancn/fix-adc-channel-bug
[drv_adc.c]Fixed ADC channel configuration bug for SMT32F0/L0/H7
2020-03-22 21:25:56 +08:00
Bernard Xiong 2e42ad8279
Merge pull request #3442 from redocCheng/master
drv_flash_f1.c support stm32f103vg
2020-03-22 21:24:47 +08:00
Bernard Xiong 88eafe77e9
Merge pull request #3466 from gyd0317/dev
add STM32L1 HAL DRIVER
2020-03-22 21:24:11 +08:00
Bernard Xiong d1ba07a47b
Merge pull request #3474 from Guozhanxin/rtt_master
修复 scons --target=eclipse 时,部分带值宏出错的问题
2020-03-22 21:23:39 +08:00
guozhanxin c1b35a48a5 修复 scons --target=eclipse 时,部分带值宏出错的问题 2020-03-22 09:13:50 +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
Sunwancn d211a27aff [drv_adc.c]Fix ADC channel Configuration bug for SMT32F0/L0/H7 2020-03-20 09:05:45 +08:00
Bernard Xiong 9c544e069c
Merge pull request #3468 from bigmagic123/aarch64_cache_api
Aarch64 cache api
2020-03-19 02:11:34 +08:00
gyd0317 588bda5553 change gcc statup files 2020-03-18 21:42:13 +08:00
Bernard Xiong f70d14ef93
Merge pull request #3467 from luhuadong/develop
fixed a typo
2020-03-18 20:36:26 +08:00
redoc 4b46aafa75
Update drv_flash_f1.c
1、【修改】返回值。
2020-03-18 15:38:10 +08:00
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
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
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