Commit Graph

786 Commits

Author SHA1 Message Date
tangyuxin 46498d5d1e [components][drivers][wlan] 功能可裁剪
- WLAN 连接信息保存功能可裁剪
- WIFI MSH 命令功能可裁剪
- WLAN 管理功能可裁剪
- WLAN 自动连接功能可裁剪
- WLAN 自动连接时使用最新热点信息
- WLAN 用户事件回调由独立线程调用
- WLAN 独立线程可裁剪
- WLAN 协议管理功能可裁剪
- LWIP 协议层可裁剪
- SCAN 结果支持过滤
- WIFI 阻塞式连接支持多次扫描
- WLAN 新增网卡对象指针
- WLAN 获取信息时更新信号强度
- 其他优化性质改动
2019-07-16 18:26:31 +08:00
tangyuxin 1f2e8e1f3f [components][drivers][hwcrypto] 更正一处命名错误 2019-07-15 13:48:14 +08:00
BernardXiong c92ec76df8 [Device Drivers] Remove backup mtd code 2019-06-27 07:43:53 +00:00
BernardXiong 0c07c2005d [DeviceDrivers] Remove backup mtd code 2019-06-27 07:36:25 +00:00
guozhanxin 608ead86f4 [driver][nand] Fix hardfault errors.|修复 hardfault 错误。 2019-06-19 17:57:47 +08:00
guozhanxin b2dedae40d [driver][mtd_nand] Add debug command to MSH.|向 MSH 添加调试命令。 2019-06-19 17:21:43 +08:00
guozhanxin c421757cc4 [driver][mtd_nand] Formatting code.|格式化代码。 2019-06-19 17:21:42 +08:00
Bernard Xiong d8702aa568
Merge pull request #2793 from tyustli/cpp11_error
fix kernel and framework no cast type error
2019-06-19 15:33:27 +08:00
tyustli d8eb0cfc1e fix kernel and framework no cast type error 2019-06-18 20:09:19 +08:00
Bernard Xiong b01eb52c25
Merge pull request #2789 from tyustli/touch
add touch index in Kconfig file
2019-06-18 18:11:42 +08:00
tyustli e8e2e0af3c add touch index in Kconfig file 2019-06-18 11:12:16 +08:00
Bernard Xiong 93de68129e
Merge pull request #2780 from zhangjun1996/master
修复由于stm32系列的can驱动编译错误
2019-06-17 20:05:27 +08:00
Bernard Xiong 2acfc7009c
Merge pull request #2775 from Guozhanxin/sensor_fix
修复 sensor 设备关闭后分配的内存不释放的问题
2019-06-17 13:25:37 +08:00
zhangjun1996 537c2376f9 1,修复由于stm32系列的hal库升级导致stm32f1和stm32f4平台的can驱动编译错误
2,关闭components/drivers/Kconfig中默认打开的can硬件滤波器选项
3,为了让can波特率设置匹配stm32f429的时钟,给stm32f429增加波特率表
4,以上修复在stm32f103-fire-arbitrary,stm32f407-atk-explorer,stm32f429-atk-apollo三个bsp中测试通过
2019-06-15 11:52:11 +08:00
tyustli 06051905f0 修改函数出错时返回值为负值 2019-06-14 09:03:07 +08:00
guozhanxin 7d6fa2388d [sensor] To streamline the code.| 精简代码,去除冗余的代码。 2019-06-13 17:52:52 +08:00
tyustli 116b7880c3 add enable/disable interrupt command 2019-06-13 16:48:40 +08:00
guozhanxin 2600f82e39 [sensor] Fixed error with mutex_lock take and release not matching.| 修复锁的获取和释放不对应的错误. 2019-06-13 16:01:23 +08:00
guozhanxin 44abc90990 [sensor] Add static keywords for internal functions.| 为内部函数添加 static 关键词。 2019-06-13 15:39:11 +08:00
guozhanxin 1ec6f5b101 [sensor] Fix the problem that memory is not free after the sensor is closed. | 修复sensor设备关闭后内存不释放的问题。 2019-06-13 15:39:11 +08:00
tyustli 10ac5f7a34 modify return value and delete device name calloc 2019-06-13 11:16:44 +08:00
tyustli 89b90592ee add touch framework 2019-06-12 09:38:32 +08:00
Bernard Xiong 97ea1a3b6e
Merge pull request #2768 from lymzzyh/rndis
[Components][USB][RNDIS/ECM] 修复热插拔鲁棒性和delay linkup 使用硬件定时器时报错的问题
2019-06-11 17:29:51 +08:00
Bernard Xiong 71b0c1cb73
Merge pull request #2767 from Zero-Free/master
[components][pm]add pm ops support
2019-06-11 16:03:01 +08:00
ZYH e1517a0981 [Components][USB][RNDIS] fix delay linkup using soft timer 2019-06-11 15:32:37 +08:00
ZYH 2a738e1ee2 [Components][USB][ECM] fix hotplug 2019-06-11 15:27:11 +08:00
ZYH c12d59dc02 [Components][USB][RNDIS] fix hotplug 2019-06-11 15:24:21 +08:00
EvalZero 0008256663 [components][pm]add pm ops support 2019-06-11 11:33:21 +08:00
ZYH 7a75e449b6 [Components][USB][ECM] fix hotplug 2019-06-10 14:10:59 +08:00
ZYH cc9ce52bae [Components][USB][RNDIS] fix hotplug and "delay linkup" 2019-06-10 14:10:08 +08:00
Bernard Xiong c8f0ae3f11
Merge pull request #2755 from Guozhanxin/sensor_fix
[sensor] Fixed error with mutex_lock take and release not matching.
2019-06-06 21:30:45 +08:00
guozhanxin 8ade4fff2e [sensor] Fixed error with mutex_lock take and release not matching.| 修复锁的获取和释放不对应的错误. 2019-06-06 16:14:51 +08:00
tangyuxin ab7c1530ea [components][drivers] 硬件大数适应性调整 2019-06-05 16:57:09 +08:00
guozhanxin 34e5383f9a [sensor] fixed step name display abnormal. 2019-05-30 00:06:44 +08:00
armink ab700d54aa [DeviceDriver][SPI] Cleanup the at45db/gd25q/w25q/sst25v SPI flash driver. Please using SFUD instead of them. 2019-05-29 14:05:39 +08:00
armink f9a7b47955 [DeviceDrivers][i2c] Remove the fm24clxx driver in i2c. 2019-05-29 11:17:46 +08:00
tangyuxin 1cb3c89bce [components][drivers] add hardware crypto device 2019-05-25 10:59:12 +08:00
Bernard Xiong 6b1f8d9155 remove gnu99 code 2019-05-16 10:22:57 +08:00
misonyo f58e947da6 [components/drivers/serial]add low level DMA TX config support. 2019-05-13 15:57:04 +08:00
Bernard Xiong ec6cb9f260 [BSP][qemu-vexpress-a9] code cleaup for compiling warning. 2019-05-12 15:07:26 +08:00
EvalZero 42a32fd473 [components][pm]add check for pm initialize. 2019-05-09 20:53:34 +08:00
Bernard Xiong d0b686ed3c
Merge pull request #2653 from Zero-Free/pm_dev
改进低功耗组件
2019-05-09 09:42:19 +08:00
guozhanxin 8f2f232887 [sensor] 完善sensor框架
* 修复开启 RTC 编译报错的问题。
* 在显示 sensor 数据时添加单位。
2019-05-08 11:47:07 +08:00
EvalZero d51e0783ba [components][pm]fix some issues with low power components 2019-05-07 21:03:48 +08:00
EvalZero c57f2370ad [components][pm]improve low power management components 2019-05-06 18:17:55 +08:00
tangyuxin 91345d62af [components][drivers][ipc] 初始化工作对象所有成员 2019-04-28 14:31:57 +08:00
yaomo718 b67a8152a5 [components][drivers][can] can.c bug修复:
在RT_CAN_USING_HDR宏关闭的时候,接收数据大小的计算应该是:已使用链表数*sizeof(struct rt_can_msg)。
2019-04-25 11:18:28 +08:00
EvalZero 83b6260b3f [components][workqueue]improve delayed work for reinit. 2019-04-22 11:43:45 +08:00
Zhou DingHua fdc9683150 Add new sensor type and vendor type.
sensor type: force sensor
  vendor type: MiraMEMS
2019-04-17 16:32:32 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
EvalZero c3ee1be7ee [components][drivers][workqueue] increase the default stack size of the workqueue thread. 2019-04-03 18:26:55 +08:00
HubretXie 24c9e8cb3f
Update sfud.c
修复可能存在越界访问的问题
2019-04-02 16:09:17 +08:00
Bernard Xiong 2c8fb7022e
Merge pull request #2526 from BernardXiong/fix_pipe
[libc] Fix the unamed pipe close issue
2019-04-01 18:10:44 +08:00
Bernard Xiong 98ff2c00ce
Merge pull request #2463 from EvalZero/master
[components][drivers][workqueue] add system default workqueue and delayed work.
2019-04-01 18:10:27 +08:00
Bernard Xiong ff00378728 [libc] Fix the unamed pipe close issue 2019-03-31 15:21:49 +08:00
EvalZero c7ccb4f532 [components][drivers][workqueue] add system default workqueue and delayed work. 2019-03-30 14:29:30 +08:00
misonyo 97c930cd65 [components]add rt_device_ops for adc device and fix finsh_getchar() return wrong value in Big-endian status. 2019-03-23 09:47:45 +08:00
Bernard Xiong 0adf83b6a1
Merge pull request #2352 from ylz0923/master
[bsp][stm32] add can driver.
2019-03-17 10:04:05 +08:00
tangweikang fcdd5d197f [components] 添加 RT_USING_ALARM 选项 2019-03-14 18:05:31 +08:00
杨连钊 afe802733f [components][drivers][can] can.c fix bug. 2019-03-14 17:12:27 +08:00
guozhanxin f6eabb2d0a [sensor] Fixed a problem where threads were repeatedly created。| 修复线程被重复创建的问题 2019-03-08 10:37:48 +08:00
guozhanxin 507a90f055 [sensor] add irq_handle for driver. | 为底层驱动添加中断回调。 2019-03-08 10:34:10 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
MLW 8b18522cfd 解决_tc_flush可能引起的缓冲区冲突 2019-03-03 14:12:01 +08:00
tangyuxin e094371969 [components][drivers][wlan] 修复一处加锁错误 2019-02-25 17:33:16 +08:00
armink 65d94a4ecd [DeviceDriver] Add rt_sfud_flash_find_by_dev_name function to SFUD porting file. 2019-02-20 16:27:27 +08:00
guozhanxin fb9482d61b [sensor] change RT_SENSOR_FLAG_FIFO to RT_DEVICE_FLAG_FIFO_RX 2019-02-15 10:51:20 +08:00
guozhanxin 3d9c306454 [sensor] change heart rate unit form 'HZ' to 'bpm'. 2019-02-14 19:52:55 +08:00
Bernard Xiong 509a6c14ac
Merge pull request #2325 from qgyhd1234/qspi
[components][driver]修复使用spi驱动在sfud的qspi模式下的断言问题
2019-02-14 12:14:21 +08:00
Bernard Xiong 23ae1997ba
Merge pull request #2320 from Guozhanxin/rtt_sensor
添加新的 sensor 框架
2019-02-13 18:30:24 +08:00
zylx 57dc5965cc [components][driver]fix qspi bug 2019-02-13 17:35:18 +08:00
guozhanxin b9937f076b rename sensor_test to sensor_cmd 2019-02-13 15:08:16 +08:00
guozhanxin 37d0400739 rename rt_sen_ to rt_sensor_ 2019-02-13 15:00:35 +08:00
guozhanxin 9458791c28 add const keyword for sensor ops 2019-02-12 16:53:27 +08:00
Bernard Xiong 7383269905 [Kernel] Code cleanup for compiling warning. 2019-02-12 14:33:45 +08:00
guozhanxin eae4394329 add "extern "C" {}" for c++ 2019-02-12 14:17:50 +08:00
guozhanxin 64813b6b07 add first version 2019-02-12 14:09:34 +08:00
weety 5293175998 Fixed data loss issue when USB CDC serial works in dma transmission mode. 2019-02-03 20:36:34 +08:00
Bernard Xiong c974949cee
Update Kconfig 2019-01-30 09:24:47 +08:00
misonyo 227b6eb30d [components/drivers & bsp/stm32]fix kconfig syntax error and add rx buffer size config 2019-01-28 13:54:20 +08:00
misonyo e02d6e616b [driver/ringbuffer]illegal access to freed memory 2019-01-21 21:59:39 +08:00
armink 59a4e4b2b7 [DeviceDriver][wlan] Add device ops to wlan. 2019-01-18 20:41:39 +08:00
陈迎春 e45d7da503
Update serial.c
"remove  #ifdef RT_SERIAL_USING_DMA in rt_serial_open, always check device open dma flag"
2019-01-16 13:21:20 +08:00
armink 9e7254ef59 [DeviceDriver][SFUD] Change the rt_sfud_flash_find() function position. 2019-01-15 20:13:49 +08:00
Noe Xu 52729bb62d Fix rtthread CAN driver issue.
Reset rx tx handler when closing CAN device, Or it will not work after
reopening.

Change-Id: I43482c21263a989322f8df2ac9349128f7cb630a
2019-01-13 23:37:15 -08:00
zyh b18534e1af [components][USB][Device][Core]fix the device_qualifier error respond on fullspeed 2018-12-27 16:48:29 +08:00
misonyo 3b4bb18c06 [components/drivers/hwtimer]修复定时器向下计数模式时时间获取错误bug 2018-12-25 09:59:16 +08:00
Bernard Xiong 12b8a0cc38
Merge pull request #2020 from enkiller/dev
[components][drivers][wlan] 更正表意错误的返回值类型
2018-12-18 14:16:05 +08:00
HubretXie 716823bfec
减少sfud对任务栈的占用
用全局空间换栈空间,当多个任务需要使用sfud时,可以节省内存
例如多个任务需要使用文件系统,任务栈可以减少
2018-12-17 18:09:02 +08:00
Bernard Xiong f12d5bfba0
Merge pull request #2065 from qgyhd1234/hwtimer
完善 hwtimer 测试例程,修改 readme 显示错误
2018-12-14 11:05:58 +08:00
Bernard Xiong 1f37de29c4 Fix the value width issue under 32/64 bit arch. 2018-12-13 14:54:26 +08:00
zylx 6ea32ee488 [components][drivers] delete redundant judgment 2018-12-13 10:00:03 +08:00
zylx f497b17111 [components][drivers]fix hardware timer 2018-12-12 17:20:55 +08:00
Bernard Xiong 9677fe6f2c
Merge pull request #2045 from ErnestChen1/master
[add] DMA choice of serial
2018-12-10 09:29:42 +08:00
KE1VG8CBMISQ6ED\Administrator 895fb5c1a9 Update adc.c
check fun is NULL, error
2018-12-08 22:56:34 +08:00
chenchaoqun@rt-thread.com 5098c934d3 [add] DMA choice of serial 2018-12-08 11:37:13 +08:00
Bernard Xiong 538923d34e
Merge pull request #2038 from enkiller/181206
[components][drivers][spi]] 修复开启 mtd nor 后编译错误的问题
2018-12-06 11:33:45 +08:00
tangyuxin 353792b626 [components][drivers][wlan] 更正表意错误的返回值类型 2018-12-06 10:47:00 +08:00
tangyuxin 5f0bf58069 [components][drivers][spi]] 修复开启 mtd nor 后编译错误的问题 2018-12-06 09:50:17 +08:00
HubretXie cd0521d7d2
Update spi_flash_sfud.c 2018-12-05 19:59:06 +08:00
Bernard Xiong bcd591c5f5
Merge pull request #2018 from dogandog/master
Update serial.h
2018-11-30 12:48:04 +08:00
Owen a3e4d57a54
Update serial.h
correct definition of struct serial_configure
2018-11-30 11:07:56 +08:00
geniusgogo d168f2ac74 fixed pm tick adjust 2018-11-29 23:40:04 +08:00
MurphyZhao 7556ab89da [components/drivers/audio] [修复] audio 中枚举类型不匹配的问题
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-28 18:56:40 +08:00
MurphyZhao 3cf808921d [components/drivers/audio] [修复] 编译警告
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-28 18:56:39 +08:00
Bernard Xiong a87914b535
Merge pull request #2006 from armink/fix_sfud
Update sfud
2018-11-26 18:20:20 +08:00
armink 7a6034fdf7 [DeviceDriver] Add RT_USING_QSPI macro. 2018-11-26 13:34:33 +08:00
armink c19848d63e [DeviceDriver] Update SFUD readme.md . 2018-11-24 22:10:59 +08:00
aozima 669eb13ed9 [DeviceDriver] update RT_USING_DEVICE_OPS.
1. fixed audio_pipe.c compile error.
2. update pwm driver: support RT_USING_DEVICE_OPS.
2018-11-24 17:29:50 +08:00
armink 31fc754805 [DeviceDriver] Fix a build error for SFUD. 2018-11-24 16:42:43 +08:00
armink 3a3da42738 [DeviceDriver] Add QSPI device driver support for SFUD. 2018-11-24 15:11:24 +08:00
armink 3b20db1903 [DeviceDriver] Update SFUD (Serial Flash Universal Driver) library to latest version. 2018-11-24 15:08:47 +08:00
armink 15b2feb60d [DeviceDriver] Update QSPI driver framework. 2018-11-24 15:02:53 +08:00
Bernard Xiong 2ca5995160
Merge pull request #1987 from enkiller/dev
[components][drivers][wlan] Modify wlan device registration interface
2018-11-23 17:27:07 +08:00
Bernard Xiong 70bfe427e6
Merge pull request #2001 from armink/fix_rbb
[DeviceDriver][rbb] Add some comments and rt_rbb_blk_size/rt_rbb_blk_…
2018-11-23 17:17:46 +08:00
Bernard Xiong 8cc81af1f6
Merge pull request #1998 from SummerGGift/Remove_code
[components][driver]: Remove the extra spi reinitialization code
2018-11-22 20:26:07 +08:00
armink 74232f2de4 [DeviceDriver][rbb] Add some comments and rt_rbb_blk_size/rt_rbb_blk_buf API.
Signed-off-by: armink <armink.ztl@gmail.com>
2018-11-22 18:08:12 +08:00
SummerGift e9c0964061 [components][driver]: optimized code 2018-11-22 16:33:32 +08:00
SummerGift fac430805f [components][driver]: change to new spi API 2018-11-22 16:26:29 +08:00
SummerGift 92fac771b1 [components][driver]: Store SPI configuration information to msd device 2018-11-22 14:52:02 +08:00
SummerGift 025951939a [components][driver]: spi sd card, remove the extra reinitialization code 2018-11-22 13:57:28 +08:00
zylx 257ce972d0 [DeviceDrivers][spi]:add qspi support 2018-11-22 13:54:37 +08:00
tangyuxin 3df952d34c [components][drivers][wlan] Modify wlan device registration interface 2018-11-20 11:15:34 +08:00
chenchaoqun@rt-thread.com 049944529f [add] adc framework 2018-11-20 10:08:31 +08:00
Bernard Xiong 45960a8d14
Merge pull request #1977 from SummerGGift/sfud
[component][sfud]: fix bug when probe device more than once
2018-11-14 19:23:41 +08:00
chenyong 739e8a8438 [drivers] Modify RTC_SYNC_USING_NTP depends on PKG_NETUTILS_NTP
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-14 18:26:53 +08:00
SummerGift dc704b1828 [component][sfud]: fix bug when probe device more than once 2018-11-14 17:58:57 +08:00
flyingcys 39c0ba3df2 fix wlan_dev bug 2018-11-03 16:24:30 +08:00
armink 83b7b763b7 The dbg_log API is DISCARDED. Change all dbg_log to LOG_X. 2018-11-02 10:20:30 +08:00
armink 5a70247898 [components][DeviceDriver] Update log tag from [SDIO] to SDIO. 2018-11-02 10:15:29 +08:00
Bernard Xiong 7fd434e2f7
Merge pull request #1935 from armink/add_pm
[DeviceDriver][pm] Update pm driver.
2018-10-29 19:44:20 +08:00
armink f05baecc5a [DeviceDriver][pm] Update pm driver. 2018-10-29 19:02:31 +08:00
Bernard Xiong 98fc1cb4cf
Merge pull request #1933 from armink/add_pm
[DeviceDriver] Add power management device driver.
2018-10-29 10:27:38 +08:00
armink 2d59fe0310 [DeviceDriver] Add power management device driver. 2018-10-29 09:54:52 +08:00
Peter Zhang 4f14dc9186 [components][drivers][usb_common]: Fix typo for 'ifndf' in usb_common.h 2018-10-26 14:33:21 +08:00
Peter Zhang 328a697c1d [components][drivers][usb][usb_device][cdc_vcom]: Add 'RT_VCOM_TX_TIMEOUT' to configure TX_TIMEOUT whick may block vcom tx thread for a long time. Add 'RT_VCOM_TASK_STK_SIZE', 'RT_VCOM_TX_USE_DMA', 'RT_VCOM_SERNO', 'RT_VCOM_SER_LEN', 'RT_VCOM_TX_TIMEOUT' to Kconfig 2018-10-26 14:29:22 +08:00
zyh d950ffc485 [Components][USB]修复拼写错误 2018-10-26 11:41:54 +08:00
Bernard Xiong 95fde46d18
Merge pull request #1923 from uestczyh222/usb
[Components][drivers][usb]修复非对齐访问异常
2018-10-26 07:08:24 +08:00
liruncong d3764db892 解决以下问题:
1) usb驱动中时间未与RT_TICK_PER_SECOND关联问题,RT_TICK_PER_SECOND变化时,这些时间将发生变化
解决: 增加USB_TIMEOUT_BASIC/USB_TIMEOUT_LONG/USB_DEBOUNCE_TIME
2) 修正rt_usbh_detach_instance函数使用device->cfg_desc前未判断是否有效. 可导致abort
3) rt_usbh_hub_port_change增加device->port初始化,否则struct uhcd_ops相关函数无法直接得到端口号
2018-10-23 20:04:51 +08:00
zyh c2539db38e [Components][drivers][usb]修复非对齐访问异常 2018-10-22 12:08:43 +08:00
Bernard Xiong 1699a12b15
Merge pull request #1908 from enkiller/wlan-lwip
[components][wlan] 兼容lwip1.4
2018-10-18 21:35:06 +08:00
tangyuxin a7956e5ec9 [components][wlan] 兼容lwip1.4 2018-10-18 14:24:15 +08:00
tangyuxin 1e0e221dd7 [components][wlan] 修复某些情况下模式初始化两遍的bug 2018-10-18 14:19:32 +08:00
Bernard Xiong 070248bb04
Update spi_flash_w25qxx.c 2018-10-15 09:23:58 +08:00
Bernard Xiong e158d48de0 [license] Fix the bad license replace. 2018-10-15 00:50:04 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
ZYH e00364c5e4 [Components][SDIO]修复脏值调用 2018-10-12 11:22:05 +08:00
Bernard Xiong 65fc7421e0
Merge pull request #1871 from uestczyh222/master
[Components][USB]增加健壮性
2018-10-09 19:54:10 +08:00
Bernard Xiong 05101c4bba
Merge pull request #1789 from liruncong/dev-usb
修正drivers下一处bug,并修正armclang编译时该目录下的错误或警告
2018-10-09 13:49:52 +08:00
ZYH 2b7488ca85 [Components][USB]更新license 2018-10-09 11:43:35 +08:00