summaryrefslogtreecommitdiff
path: root/components/drivers
AgeCommit message (Collapse)Author
2020-03-16Merge pull request #3458 from shawn1221/mmc-upstream-20200316Bernard Xiong
component: sdio: fix potential ricky clock setting
2020-03-16Merge pull request #3456 from zhao0116/spiBernard Xiong
spi: support slave mode and master mode runtime config
2020-03-16component: sdio: fix potential ricky clock settingShawn Lin
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 <[email protected]>
2020-03-16[Sensor] Add user-commands range limitationluhuadong
2020-03-16Support msc mode automatic switchingCliff Chen
Signed-off-by: Cliff Chen <[email protected]>
2020-03-16spi: support slave mode and master mode runtime configYifeng Zhao
support slave mode and master mode runtime config. Change-Id: Iabadbade8997bb8e3adef8ce95f6c45f6bb35329 Signed-off-by: Yifeng Zhao <[email protected]>
2020-03-12[Components] sdio: try bus width depends on host's capabilityShawn Lin
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 <[email protected]>
2020-03-12[component] sdio: Fix mmc mount function if the whole device is a partitionShawn Lin
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 <[email protected]>
2020-03-08Fixed wrong output information in core.cDavid Lin
rt_kprintf("alloc memery failed\n"); -> rt_kprintf("alloc memory failed\n");
2020-03-05Fixed typos in KconfigDavid Lin
mesage -> message memmory -> memory
2020-03-04Fixed wrong output informationDavid Lin
to ->too
2020-03-04Fixed wrong output informationDavid Lin
to -> too
2020-03-04Merge pull request #3413 from luhuadong/patch1Bernard Xiong
[Sensor] Add vendor info and sensor types for cmd
2020-02-29[driver][wlan] add raw frame send interface and Management frame filter ↵chenyong
interface Signed-off-by: chenyong <[email protected]>
2020-02-28fix raspi3-64 sdio driverbigmagic
2020-02-26[Sensor] fixed %% printluhuadong
2020-02-26[Sensor] Add vendor info and sensor types for cmdluhuadong
2020-02-23Update sd.cA.orz
clean #if 0 code
2020-02-22add change logluhuadong
2020-02-22[Sensor] Support custom commands for rt_sensor_controlluhuadong
2020-02-20[Sensor] Add the prefix corresponding to sensor typesluhuadong
2020-02-20[Sensor] ASAIR is the trademark of Aosongluhuadong
2020-02-17[Sensor] Dust and eCO2 data should be defined unsignedluhuadong
2020-02-17[Sensor] Add some class and vendor information of sensorluhuadong
2020-02-11Merge pull request #3352 from z14git/serial_bug_fixBernard Xiong
修复因串口接收缓冲区满且没有开启ULOG_USING_ISR_LOG而造成的死机问题
2020-01-21[serial.c] 修复在没有开启ulog时,警告日志不会输出的问题z14git
2020-01-18修复因串口接收缓冲区满且没有开启ULOG_USING_ISR_LOG而造成� ↵z14git
��死机问题
2020-01-17添加虚拟串口接收缓存的 ENV ↵Ihavedone
配置项,可手动配置接收缓存大小,默认为128字节
2019-12-31:bug: fix compile warning, undefine varshangjinlong
2019-12-27[componects] 修复不能发现禁止写spi flash失败的情形zhaoshaowei
`(register_status & SFUD_STATUS_REGISTER_WEL) == 1` 这个表达式始终为假 SFUD_STATUS_REGISTER_WEL = (1 << 1)
2019-12-25[Components][USB][ECM] fix build errorZYH
2019-12-19Merge pull request #3279 from armink/fix_rbbv4.0.2Bernard Xiong
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
2019-12-19[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.armink
2019-12-18Update pipe.cBernard Xiong
2019-12-18[DeviceDrivers] Fix pipe memory issue.Bernard Xiong
2019-12-18Merge pull request #3234 from fmkong/spi_flash_sfudBernard Xiong
[drivers/spi_flash_sfud] accept the error from spi read or write in spi_write_read function.
2019-12-17[drivers/sensor]disable irq only when the sensor and module sensors are all ↵Fanming
cloesed.
2019-12-17[drivers/spi_flash_sfud] accept the error from spi read or write in ↵Fanming
spi_write_read function.
2019-12-03[components][sfud] update sfud options.tangweikang
2019-11-26[Device/I2C] Chang debug message print way to uloga1012112796
2019-11-21Merge pull request #3193 from wangk-ge/masterBernard Xiong
修改内存泄漏问题
2019-11-21Merge pull request #3214 from chengxiaohu/masterBernard Xiong
添加 W25Q64DW SPI Flash 到支持列表
2019-11-20Merge branch 'master' of https://github.com/chengxiaohu/rt-threadchengxiaohu
2019-11-20添加 W25Q64DW SPI Flash ↵chengxiaohu
到支持列表。实际应用中发现该芯片不支持sfdp。
2019-11-16Merge branch 'master' of https://github.com/RT-Thread/rt-thread into ↵hichard
renhaibo-branch
2019-11-161.修复sd卡热插拔内存泄露的bughichard
2.dfs增加函数,配合实现sd卡热插拔自动挂载卸载文件系统
2019-11-16Merge pull request #3202 from armink/fix_rtcBernard Xiong
[components] remove libc dependency in ulog and RTC driver.
2019-11-15[RNDIS]fix speed on HSZYH
2019-11-14[components] remove libc dependency in ulog and RTC driver.armink
2019-11-11components: drivers: misc: pwm: Missing "pwm1" here.Steven Liu