Bernard Xiong
1ef77bd969
Merge pull request #3601 from OpenNuvoton/rtt_issues
...
Fix issues
2020-05-30 09:43:54 +08:00
Wayne Lin
f0e4009c30
Fix rt_hw_inputcapture_isr public function name in header file.
...
Fix miss-break in HWTIMER_CTRL_INFO_GET case.
2020-05-20 16:04:31 +08:00
GaoJie
8aaa89a6f1
[drivers][watchdog] 修复watchdog.c 注释的一处笔误
2020-05-19 17:30:19 +08:00
Wayne Lin
5d65fe074f
Merge branch 'master' of https://github.com/rt-thread/rt-thread into rtt_issues
2020-05-15 09:41:27 +08:00
Bernard Xiong
084996ddb5
Merge pull request #3565 from OpenNuvoton/rtt_issues
...
Get stuck issue after open-close-open CAN device.
2020-05-04 22:06:16 +08:00
Prry
040816dee8
add vendor information of sensor
2020-05-02 00:39:48 +08:00
Bernard Xiong
664bc4e9d8
Merge pull request #3569 from egbert-h/master
...
mstorage.c: fix the issue bug in_read_capacity()
2020-05-01 17:40:02 +08:00
Wayne Lin
39431f5a70
Rename usbd and usbh source files for IAR building issue.
2020-04-30 15:47:42 +08:00
hphuang
9d374f873c
mstorage.c: fix the issue that _read_capacity() returns the wrong last valid address of storage medium
2020-04-28 19:07:08 +08:00
Wayne Lin
5bddcd378e
Get stuck issue after open-close-open CAN device.
...
Signed-off-by: Wayne Lin <wosayttn@gmail.com>
2020-04-27 16:01:05 +08:00
David Lin
e9d930070d
Update pipe.c
2020-04-13 07:20:29 +08:00
David Lin
ff09587d23
[components/drivers] update pipe.c
...
Fixed stackover flow bug when create pipe->fifo
2020-04-12 11:58:33 +08:00
DeclanHuaChen
9545529b33
Fix some spelling mistakes
2020-04-11 16:06:32 +08:00
yangjie
cb9bc38ec9
[components][serial]关闭uart时,反初始化tx_dma->data_queue,防止内存泄漏
2020-04-10 18:41:59 +08:00
Bernard Xiong
6375094569
Merge pull request #3503 from yangjie11/yj_dev
...
[components][dataqueue]add rt_data_queue_deinit
2020-04-10 15:41:32 +08:00
Bernard Xiong
5599bc73fa
Merge pull request #3425 from DavidLin1577/patch-1
...
Fixed wrong output information
2020-04-10 00:48:38 +08:00
yangjie
1d7b34f471
[components][dataqueue]修改is_init为magic数
2020-04-08 11:05:37 +08:00
yangjie
dfcd38b74d
[components][dataqueue]add rt_data_queue_deinit
2020-04-07 17:36:56 +08:00
Bernard Xiong
0f57faa591
Merge pull request #3484 from qz721/master
...
修复USB不能正常识别composite设备的bug
2020-03-30 21:20:02 +08:00
Bernard Xiong
7f6755c622
Merge pull request #3472 from DavidLin1577/patch-2
...
[components/usb]Fixed a stack overflow bug
2020-03-26 22:06:23 +08:00
qz721
a49ddaef96
修复USB不能正常识别composite设备的bug
2020-03-26 16:24:10 +08:00
SummerGift
e5c1183350
[optimize] stm32 uart driver
2020-03-23 15:44:54 +08:00
David Lin
985a70ab15
Update hub.c
2020-03-21 20:56:31 +08:00
David Lin
10e0f28754
Update cdc_vcom.c
2020-03-21 20:54:13 +08:00
David Lin
3679dfa07e
Update ecm.c
2020-03-21 20:42:55 +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
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
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
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
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
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
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
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
b3d196392c
Merge pull request #3413 from luhuadong/patch1
...
[Sensor] Add vendor info and sensor types for cmd
2020-03-04 11:44:25 +08:00
chenyong
986b64cbe0
[driver][wlan] add raw frame send interface and Management frame filter interface
...
Signed-off-by: chenyong <1521761801@qq.com>
2020-02-29 17:12:48 +08:00
bigmagic
e09c99fcfb
fix raspi3-64 sdio driver
2020-02-28 14:56:56 +08:00
luhuadong
ac6f133f86
[Sensor] fixed %% print
2020-02-26 17:31:26 +08:00
luhuadong
3994ebbfd4
[Sensor] Add vendor info and sensor types for cmd
2020-02-26 17:20:41 +08:00
A.orz
a646b9275d
Update sd.c
...
clean #if 0 code
2020-02-23 09:20:09 +08:00
luhuadong
815d231f4a
add change log
2020-02-22 22:43:14 +08:00
luhuadong
82f981d34c
[Sensor] Support custom commands for rt_sensor_control
2020-02-22 21:00:35 +08:00
luhuadong
26fa5e5fa2
[Sensor] Add the prefix corresponding to sensor types
2020-02-20 16:09:52 +08:00
luhuadong
7c2d7c7eb7
[Sensor] ASAIR is the trademark of Aosong
2020-02-20 15:39:39 +08:00
luhuadong
c734a7b3fa
[Sensor] Dust and eCO2 data should be defined unsigned
2020-02-17 23:26:54 +08:00
luhuadong
da8e829fa8
[Sensor] Add some class and vendor information of sensor
2020-02-17 23:17:54 +08:00
Bernard Xiong
dd5178efdf
Merge pull request #3352 from z14git/serial_bug_fix
...
修复因串口接收缓冲区满且没有开启ULOG_USING_ISR_LOG而造成的死机问题
2020-02-11 11:56:01 +08:00
z14git
50c2af5eea
[serial.c] 修复在没有开启ulog时,警告日志不会输出的问题
2020-01-21 16:38:07 +08:00
z14git
1499844699
修复因串口接收缓冲区满且没有开启ULOG_USING_ISR_LOG而造成的死机问题
2020-01-18 10:12:29 +08:00
Ihavedone
0fdf20cf58
添加虚拟串口接收缓存的 ENV 配置项,可手动配置接收缓存大小,默认为128字节
2020-01-17 15:42:56 +08:00
shangjinlong
b87f493f2b
🐛 fix compile warning, undefine var
2019-12-31 16:16:15 +08:00
zhaoshaowei
3ad6b30e18
[componects] 修复不能发现禁止写spi flash失败的情形
...
`(register_status & SFUD_STATUS_REGISTER_WEL) == 1` 这个表达式始终为假
SFUD_STATUS_REGISTER_WEL = (1 << 1)
2019-12-27 16:52:52 +08:00
ZYH
a4dba7b583
[Components][USB][ECM] fix build error
2019-12-25 13:15:10 +08:00
Bernard Xiong
9111aca176
Merge pull request #3279 from armink/fix_rbb
...
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
2019-12-19 14:59:29 +08:00
armink
6228ff5e98
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
2019-12-19 10:39:55 +08:00
Bernard Xiong
7a00b42e97
Update pipe.c
2019-12-18 23:19:54 +08:00
Bernard Xiong
055061a639
[DeviceDrivers] Fix pipe memory issue.
2019-12-18 21:38:05 +08:00
Bernard Xiong
a87c2ef970
Merge pull request #3234 from fmkong/spi_flash_sfud
...
[drivers/spi_flash_sfud] accept the error from spi read or write in spi_write_read function.
2019-12-18 20:03:28 +08:00
Fanming
f3ee2dd186
[drivers/sensor]disable irq only when the sensor and module sensors are all cloesed.
2019-12-17 17:53:16 +08:00
Fanming
7e9d54d87a
[drivers/spi_flash_sfud] accept the error from spi read or write in spi_write_read function.
2019-12-17 17:46:43 +08:00
tangweikang
15b10bd5e2
[components][sfud] update sfud options.
2019-12-03 16:45:46 +08:00
a1012112796
ab981a32b5
[Device/I2C] Chang debug message print way to ulog
2019-11-26 07:41:43 +08:00
Bernard Xiong
55c3182b78
Merge pull request #3193 from wangk-ge/master
...
修改内存泄漏问题
2019-11-21 22:04:42 +08:00
Bernard Xiong
54b72927d1
Merge pull request #3214 from chengxiaohu/master
...
添加 W25Q64DW SPI Flash 到支持列表
2019-11-21 22:04:19 +08:00
chengxiaohu
6b8a3469f8
Merge branch 'master' of https://github.com/chengxiaohu/rt-thread
2019-11-20 23:38:35 +08:00
chengxiaohu
2a512f3df0
添加 W25Q64DW SPI Flash 到支持列表。实际应用中发现该芯片不支持sfdp。
2019-11-20 23:33:10 +08:00
hichard
ec3b4349d3
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into renhaibo-branch
2019-11-16 11:20:13 +08:00
hichard
aafed7b434
1.修复sd卡热插拔内存泄露的bug
...
2.dfs增加函数,配合实现sd卡热插拔自动挂载卸载文件系统
2019-11-16 11:16:48 +08:00
Bernard Xiong
97b7661f6e
Merge pull request #3202 from armink/fix_rtc
...
[components] remove libc dependency in ulog and RTC driver.
2019-11-16 10:30:23 +08:00
ZYH
d3ee03f9c6
[RNDIS]fix speed on HS
2019-11-15 15:05:21 +08:00
armink
e59339e4b8
[components] remove libc dependency in ulog and RTC driver.
2019-11-14 18:09:55 +08:00
Steven Liu
12eacb8df6
components: drivers: misc: pwm: Missing "pwm1" here.
2019-11-11 17:10:25 +08:00
wangk-ge
649f75f861
修改内存泄漏问题
2019-11-11 16:46:43 +08:00
Ernest
f82d4f1f6f
[DeviceDrivers] add warning about overflow by serial receiver
2019-11-01 10:38:07 +08:00
MurphyZhao
260a61d36a
[components/drivers][pm] fix data type problem
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-09-23 18:02:46 +08:00
Bernard Xiong
32baa8e998
Merge pull request #3041 from FlyLu/master
...
fix i2c flags bug
2019-09-21 10:08:21 +08:00
guozhanxin
711ce4a0ea
[usbd] Fixed Windows first recording failure.|修复windows下第一次录音失败的问题。
...
windows下第一次录放音失败的原因是:第一录放音时 windows 会先连续发送开始、结束检测设备,然后才正式开始。线程来不及处理两次开始事件不会累积,最后导致直接结束,
2019-09-19 23:12:24 +08:00
guozhanxin
98b1956937
[usbd] Add usb audio class.
2019-09-19 21:01:25 +08:00
guozhanxin
cde81a296d
[usbd] Fixed an error where change the interface did not call handler.|修正了改变接口不调用回调的问题
2019-09-19 20:58:58 +08:00
guozhanxin
59dfbb1266
[usb device] Fix the problem of multiple altsetting of interface failing to properly enumerate.
...
修复多备用设备的接口不能正常枚举的问题。
2019-09-12 18:04:44 +08:00
Bernard Xiong
7464427894
[SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition
2019-09-11 10:24:50 +08:00
tangyuxin
8a3e66bc27
[components][drivers][wlan] 修复WLAN事件附加数据为空的问题
2019-09-06 15:28:46 +08:00
linch
55b69111dc
fix i2c flags bug
2019-09-06 14:44:50 +08:00
tangyuxin
2f2933245e
[components][drivers][sdio]修复 SDIO product 为空的问题
2019-09-03 16:55:10 +08:00
tangweikang
0f74ee7e20
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into drv_encoder
...
# Conflicts:
# components/drivers/misc/encoder.c
2019-08-30 16:11:46 +08:00
tangweikang
b76d3dac8a
[components][drivers] change name: encoder -> pulse_encoder
2019-08-30 15:58:52 +08:00
Bernard Xiong
4652480b64
Merge pull request #2993 from balanceTWK/encoder_perfect
...
[components][drivers][encoder] update
2019-08-26 13:45:27 +08:00
tyustli
363c9b1460
[bsp] [stm32] fix drv_can.c and can.c bug
2019-08-23 20:40:09 +08:00
tangweikang
086d26e0b4
[components][drivers][encoder] update
2019-08-23 14:43:44 +08:00
Bernard Xiong
d682c35441
Merge pull request #2948 from balanceTWK/master_capture
...
[components][drivers] add input capture driven framework
2019-08-21 13:48:12 +08:00
tangweikang
f9bad31d57
[components][drivers] change name: capture -> inputcapture
2019-08-21 10:51:02 +08:00
Bernard Xiong
0425f913ef
Merge pull request #2949 from enkiller/wlan
...
[components][drivers][wlan] 1.修复异步调用 dhcp 无法停止的bug 2.支持解挂载 lwip 协议
2019-08-20 08:44:29 +08:00
tangyuxin
d6fb6fec47
[components][drivers][wlan] 1.修复异步调用 dhcp 无法停止的bug 2.支持解挂载 lwip 协议
2019-08-18 20:16:21 +08:00
tyustli
c81eebcd5d
[bsp] [stm32] fix drv_can.c
2019-08-16 12:14:30 +08:00
tangweikang
e1587de6f7
[components][drivers] update capture driven framework
2019-08-15 16:44:05 +08:00
tangweikang
473505053f
[components][drivers] add capture driven framework
2019-08-13 20:33:23 +08:00
Bernard Xiong
ed1db32196
Merge pull request #2937 from balanceTWK/master_encoder
...
[components][drivers] add encoder driven framework
2019-08-13 11:39:37 +08:00
tangweikang
2b9a9e0163
[components][drivers] update : Move clear_count() function from ops->control() to ops->clear_count()
2019-08-12 13:47:03 +08:00
tangweikang
e5dc60e3cf
[components][drivers] update encoder driven framework
2019-08-11 16:15:43 +08:00
tangyuxin
70dd41d24b
[components][drivers][wlan] WLAN 支持被动扫描
2019-08-11 15:17:04 +08:00
tangweikang
cc565da5a1
[components][drivers] add encoder driven framework
2019-08-09 18:42:14 +08:00
Bernard Xiong
ab37857609
Merge pull request #2922 from enkiller/workqueu
...
[components][drivers][ipc] 完善工作队列,增强稳定性
2019-08-07 13:30:24 +08:00
EvalZero
e855fb8536
[components][audio]improve device ops interface and data flows.
2019-08-06 11:36:50 +08:00
tangyuxin
badd211457
[components][drivers][ipc] 完善工作队列,增强稳定性
...
1. 可直接提交延时任务, 无需额外调用延时初始化
2. 修复延时任务 PENDING 时,取消任务会递归调用的问题
2019-08-05 14:18:15 +08:00
tangyuxin
7d801615b2
[components][drivers][wlan] 修复密码临界值判断错误
2019-07-31 11:57:37 +08:00
tangyuxin
77ce9148d7
[components][drivers][wlan] 修复自动连接 32 密码长度失败的问题,增强代码稳定性
2019-07-26 20:27:42 +08:00
Bernard Xiong
20130d19b5
Merge pull request #2894 from enkiller/wlan
...
[components][drivers][wlan] 自动连接周期可配置,可指定扫描通道
2019-07-25 18:52:16 +08:00
tangyuxin
6fbc7494b8
[components][drivers][wlan] 自动连接周期可配置,可指定扫描通道
2019-07-25 10:30:54 +08:00
SummerGift
0cfcb906d5
【完善】去除串口 dma 中无法触发的代码判断
2019-07-23 16:16:12 +08:00
Bernard Xiong
423544d1c3
Merge pull request #2873 from Ingenic-community/master
...
usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
2019-07-21 12:10:12 +08:00
Zhou Yanjie
de69a9b500
sdio: mmc.c: 修复缩进/Fix indentation.
...
修复版权信息中的缩进格式。
Fix indentation in copyright information.
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:18:56 +08:00
Zhou Yanjie
976ea24112
sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation overflow.
...
修改“mmc_parse_ext_csd”函数,防止容量计算过程溢出。
Modify the "mmc_parse_ext_csd" function to prevent the capacity
calculation process from overflowing.
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:18:56 +08:00
Zhou Yanjie
3c9375181d
usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
...
在第375行中,“uint8_t *data,”应改为“rt_uint8_t *data,”。
In line 375, "uint8_t *data," should be changed to "rt_uint8_t *data,".
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 16:03:57 +08:00
Bernard Xiong
9a1be9e73d
Merge pull request #2860 from willianchanlovegithub/sensor
...
[component][drivers][sensors]Increase the output of sensor information
2019-07-17 10:43:35 +08:00
Willian Chan
06b4a0611d
[component][drivers][sensors]Fix compilation warnings
...
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-07-17 09:27:30 +08:00
Willian Chan
7db27345c2
[component][drivers][sensors]Increase the output of sensor information
...
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-07-16 18:30:15 +08:00
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
ZYH
f73e4c3fc4
[Compoments][USB]增加对class的非法注册的判断
2018-10-09 11:41:38 +08:00
ZYH
294223c80b
[Components][USB]修复当未开启复合设备时HID编译失败
2018-10-09 11:32:41 +08:00
Bernard Xiong
0cd2c10627
Merge pull request #1833 from uestczyh222/sdio
...
Fix some bugs for sdio
2018-09-30 12:01:06 +08:00
ZYH
2e74539130
[Components][SDIO]fix 'rocr' declared without an initial value
2018-09-30 11:01:06 +08:00
weety
84ffe47bb5
Fixed Kconfig spelling mistake.
2018-09-29 22:54:28 +08:00
guozhanxin
12b7634c62
[components][drivers][pwm] Add rt_pwm_disable function and API Interface
2018-09-26 17:29:39 +08:00
ZYH
780f538525
[Components][SDIO][MMC] fix null point check
2018-09-22 15:02:48 +08:00
ZYH
3d69c44ab8
[Components][SDIO]fix Null point access
2018-09-22 14:56:55 +08:00
ZYH
f6be7abb2d
[Components][SDIO]block 'err' declared without an initial value
2018-09-22 14:53:08 +08:00
ZYH
f260f7effd
[Components][SDIO]fix Assigned value is garbage or undefined
2018-09-22 14:49:47 +08:00
Bernard Xiong
b5202d17fb
Merge branch 'master' into dev
2018-09-21 17:09:46 +08:00
Bernard Xiong
a13565ce26
Merge pull request #1825 from heyuanjie87/mtd-kenghuo-cla
...
添加新的mtd接口
2018-09-20 18:16:21 +08:00
heyuanjie87
b620c10014
更改许可
2018-09-20 09:41:05 +08:00
tangyuxin
f7423741f2
[DeviceDriver][wlan] 已知问题修复
...
1.Kconfig添加DEBUG选项
2.函数入参检查
3.修复拼写错误及逻辑错误
4.低功耗可以设定等级
5.移除残留中文注释
2018-09-19 15:06:24 +08:00
heyuanjie87
3e71dc88f3
更改许可信息
2018-09-19 10:09:38 +08:00
heyuanjie87
bc5a5f89e9
添加新的mtd接口
2018-09-18 18:41:33 +08:00
ZYH
9a666099aa
[Components][Drivers][hwtimer]fix 'index' declared without an initial value
2018-09-18 15:30:52 +08:00
ZYH
cc8ab15472
[Components][Drivers][SPI]fix "Value stored to 'result' is never read"
2018-09-17 10:06:54 +08:00
tangyuxin
324bfc5897
[DeviceDriver][wlan] add new wlan framework
2018-09-15 10:16:04 +08:00
armink
dff8a2c513
[DeviceDriver] Add rbb (ring block buffer) data structure.
2018-09-12 08:59:58 +08:00
Bernard Xiong
8c2448a4d4
Merge pull request #1774 from EvalZero/sdio_dev
...
[DeviceDriver][SDIO] Update sdio debug log.
2018-09-11 19:03:10 +08:00
liruncong
7b788014f7
修正drivers下,armclang编译时的警告或错误 注:vcom_tx_thread_entry下, if(!res & CDC_TX_HAS_DATE)应为bug.
2018-09-10 19:40:08 +08:00
weety
799c5e4ea2
[sdio] Fixed merge error.
2018-09-09 22:07:06 +08:00
weety
e19cfd4571
[sdio] Fixed issue for requset size calculation.
2018-09-09 21:20:08 +08:00
weety
02a2b78943
[sdio] Fixed error for dma size calculation.
2018-09-09 14:05:45 +08:00
weety
618e185cd3
[sdio] Limit the data size per request based on the sdio controller driver configuration parameters.
2018-09-08 23:21:13 +08:00
EvalZero
2c01189114
[DeviceDriver][SDIO] Update sdio debug log.
2018-09-05 14:50:43 +08:00
liruncong
d3c08afd75
1. 保留目前未用到的rt_usbd_ep_unassign函数,暂时移除static属性,消除警告.
...
2. 修改一处存在多余括号问题. armclang有警告发出.
2018-09-02 22:39:51 +08:00
liruncong
923d6fe33d
消除usb结构体gcc编译时的相关警告
2018-08-28 03:18:39 +08:00
armink
9ef9e4b0f8
[DeviceDriver][SFUD] Update sfud to v1.0.6 latest version.
2018-08-22 16:48:17 +08:00
armink
bc7a43bdaf
[DeviceDriver][SFUD] Replace the vsnprintf to rt_vsnprintf.
2018-08-22 16:41:56 +08:00
MurphyZhao
651149fcbb
[components/drivers/spi] 增加 sfud flash 设备查找接口
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-08-16 14:48:46 +08:00
neverxie
3a83e5524f
[components][pipe] Fix 'pipe' command close bug when open failed.
2018-08-11 18:45:18 +08:00
Bernard Xiong
e6fedb6e9b
[DeviceDrivers] Remove warning in Kconfig
2018-07-28 20:22:47 +08:00
Bernard Xiong
cd5ccea44c
Merge pull request #1652 from enkiller/dev
...
[components][drivers][sdio]修复没有注册SDIO中断导致断言的问题
2018-07-22 11:19:32 +08:00
tangyuxin
78189dfb6b
[components][drivers][sdio]修复没有注册SDIO中断导致断言的问题
2018-07-21 16:29:17 +08:00
liang yongxiang
2f402db661
[device][serial] call rx_indicate function only if the rx_length is not equal 0
2018-07-21 12:34:27 +08:00
liang yongxiang
bd044f674d
[components] format Kconfig
2018-07-18 11:59:50 +08:00
Bluebear233
dc0aa39b42
[DeviceDriver][serial] 修复get_index越界问题
2018-07-16 09:47:36 +08:00
armink
e1c612bf0a
[DeviceDriver][sfud] Fix block erase 0 byte issue when start address is equal end address.
2018-07-14 21:01:38 +08:00
armink
6cd8658dad
[rtdbg] Change all DBG_SECTION_NAME to new format.
2018-07-11 10:23:19 +08:00
zyh
b3eaf17e19
[Components][pipe]暴露 rt_pipe_delete 接口
2018-07-10 14:54:39 +08:00
zyh
151330b721
[Components][USB][Device]Support customer HID class|支持自定义HID设备
2018-07-04 14:13:09 +08:00
Bluebear233
985db0e3bf
[KCONFIG]添加pipe缓冲区大小配置
2018-06-30 10:36:31 +08:00
MurphyZhao
6a85a624d7
[drivers/wlan] Fix the problem that the password is empty
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-06-29 14:57:13 +08:00
Bernard Xiong
f0f883668c
Merge pull request #1579 from RT-Thread/fix_waitqueue
...
Fix waitqueue issue
2018-06-29 13:19:16 +08:00
luo jiao
ef8398c2bb
[components][drivers][pin module]:typo fix for pin_detach_irq
2018-06-26 22:18:58 +08:00
Bernard Xiong
464e1615b9
Merge pull request #1572 from enkiller/mmc
...
[components][drivers]sdio 给局部指针变量赋初值,修复潜在问题
2018-06-26 12:10:05 +08:00
Bernard Xiong
0cac9afc4b
[Kernel] clean code for indentation.
2018-06-26 12:02:03 +08:00
Bernard Xiong
ef132f3c94
[Kernel] clean code for indentation.
2018-06-26 11:57:20 +08:00
Bernard Xiong
a1a56ce1d1
[Kernel] Add flag in wait queue and fix wakeup issue.
2018-06-26 11:19:38 +08:00
tangyuxin
f850a2dd33
[components][drivers]sdio 给局部指针变量赋初值,修复潜在问题
2018-06-26 11:09:13 +08:00
tangyuxin
050600f4a8
[components][drivers]enc28j60 1.默认关闭log打印 2.优化一个未使用的变量
2018-06-26 11:00:52 +08:00
Bernard Xiong
fb36988e86
Merge pull request #1562 from TanekLiang/mmcsd_fix_warning
...
[DeviceDrivers] remove unused-assign code
2018-06-23 19:44:36 +08:00
aozima
7da376280a
Merge pull request #1556 from enkiller/dev
...
[components][drivers]wlan打印ap信息更加友好
2018-06-23 19:20:59 +08:00
tangyuxin
7f4b8d2102
[components][drivers]wlan 1.修改wifi速率单位为bps 2.打印ap信息更加友好
2018-06-23 14:52:08 +08:00
liang yongxiang
fef854a431
[DeviceDrivers] remove unused-assign code
2018-06-23 12:09:24 +08:00
tangyuxin
43531cc276
[components][drivers]Kconfig添加SDIO相关配置
2018-06-23 11:24:31 +08:00
Bluebear233
284744b7b2
Update serial.c
...
rx_fifo->is_full已经满时继续更新rx_fifo->get_index
2018-06-13 21:45:03 +08:00
armink
570ae751be
[components][drivers] Add irq lock to rt_wqueue_wait.
2018-06-12 17:10:20 +08:00
Bernard Xiong
b110d77d8f
Merge pull request #1521 from RT-Thread/feature_v310
...
Feature v310
2018-06-11 11:13:59 +08:00
Bernard Xiong
43e3eed3b9
Merge pull request #1517 from armink/fix_sfud
...
[components][sfud] Fix RT_DEBUG_SFUD macro to bool type.
2018-06-11 10:40:11 +08:00
armink
3b98684664
[components][sfud] Fix RT_DEBUG_SFUD macro to bool type.
2018-06-10 18:27:52 +08:00
Bernard Xiong
564df04da1
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2018-06-10 18:01:15 +08:00
Bernard Xiong
884fb70fe9
[Kernel] Add device ops feature.
2018-06-10 17:59:17 +08:00
Bernard Xiong
e1a57f053a
Merge pull request #1513 from armink/fix_sfud
...
[components][sfud] Update log info.
2018-06-10 15:55:13 +08:00
armink
24f633e025
[components][sfud] Update log info.
2018-06-10 11:08:01 +08:00
aozima
5569d17b95
[DeviceDrivers] rename _pwm.c to rt_drv_pwm.c
2018-06-08 16:07:12 +08:00
aozima
0e5b4a0ff2
[DeviceDrivers] export pwm_enable/set to shell.
2018-06-08 16:04:29 +08:00
aozima
cdfef48395
[DeviceDrivers] add pwm driver framework.
2018-06-07 21:23:22 +08:00
tangyuxin
c67595c242
[components][drivers]Kconfig wifi默认打开sta模式
2018-06-06 11:07:50 +08:00
tangyuxin
2f35ed0ec7
[components][drivers]Kconfig更新
2018-06-06 11:03:09 +08:00
tangyuxin
6f12736c86
[components][drivers]wlan驱动框架更新
2018-06-05 16:52:56 +08:00
guozhanxin
e2c89ec0f5
[components][cputime]to be able trace before use DWT.|使用 DWT 之前必须先使能跟踪系统.
2018-06-04 14:54:07 +08:00
tangyuxin
85b14687f4
[components][drivers]Kconfig 添加Audio选项
2018-05-29 10:10:42 +08:00
MurphyZhao
af54e33d6f
[components/drivers/wlan] remove duplicate configuration in wlan_cmd.c, this configuration is included in the dhcp_server.c
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-05-28 17:59:07 +08:00
zyh
178fce54bd
[Components][USB]fix device ep write 1bytes on hs
2018-05-28 11:04:49 +08:00
armink
a6b6b05d7d
[drivers/rtc] Update NTP update time API.
2018-05-10 18:29:56 +08:00
armink
5501ec36cb
[components/libc] Move time() and clock() function to libc time.c.
2018-05-07 18:19:15 +08:00
aozima
088990f7d3
update enc28j60 driver: ensure enable PHY link changed interrupt.
2018-05-05 13:26:18 +08:00
aozima
3ec384d809
update enc28j60 driver: format code by Astyle.
2018-05-05 13:17:48 +08:00
ZHANG Jinglong
f1e2dd487e
fix an i2c debug print bug
2018-05-03 23:44:56 +08:00
zyh
c053119fac
[Components][HOST]fix sem name
2018-04-27 15:27:26 +08:00
zyh
4f40bc80ec
[Components][USB device] kconfig allow none class
2018-04-24 15:00:33 +08:00
zyh
1ed770039c
[Coponents][USB device]add class register interface
2018-04-24 12:48:05 +08:00
zyh
4c0be8c776
[Components][USB]Add stack size config
2018-04-23 20:09:01 +08:00
armink
7c97e16ecf
[DeviceDriver] Fix RT_DEBUG_SFUD in Kconfig.
2018-04-19 19:40:47 +08:00
Bernard Xiong
0e1ab3d54a
Merge pull request #1349 from TanekLiang/rtc-warning
...
fixed warning when only enable finsh shel…
2018-04-09 13:53:38 +08:00
liang yongxiang
cc81b47be2
[components] fixed signed/unsigned mismatch warning
2018-04-09 12:05:51 +08:00
liang yongxiang
2f5a9c37fa
[DeviceDriver][RTC] fixed warning when only enable finsh shell: function "date" was declared but never referenced
2018-04-09 12:00:43 +08:00
armink
80c2015c3a
[DeviceDriver] Remove rt_memory api using on SFUD.
2018-04-01 23:03:43 +08:00
Bernard Xiong
c6a5a2a386
Merge pull request #1314 from enkiller/dev
...
[drivers]Fix put_force bug
2018-03-28 00:53:08 +08:00
heyuanjie87
fa09a700c1
Update audio.c
2018-03-27 13:59:22 +08:00
tangyuxin
5b31545970
[drivers]Fix put_force bug
2018-03-25 07:54:31 +08:00
ZYH
93060f2478
Merge remote-tracking branch 'upstream/master'
2018-03-23 14:52:07 +08:00
ZYH
0fcf08ae88
[Components][USB]fix a compile error
2018-03-23 14:52:00 +08:00
armink
c74bc870e8
[DeviceDriver][RTC] Fix rtc Kconfig and missing return.
2018-03-21 09:15:21 +08:00
ZYH
7262ab7364
[Components][USB Device]增加复合设备对HS的支持
2018-03-16 18:40:07 +08:00
ZYH
5035662cd9
[Components][USB Device]各个class对HS进行了适配
...
部分class还不支持HS,RNDIS存在暂时无法解决的已知bug
2018-03-16 18:36:14 +08:00
ZYH
0ab93e70f0
[Components][USB Device]增加协议栈对HS设备的支持
...
- 增加winusb对HS的支持。其余class还在完善中
2018-03-16 16:02:57 +08:00
ZYH
9ad0cb214d
Merge pull request #1280 from charlown/master
...
fix cdc_vcom.c notify receive data.
2018-03-15 21:43:17 +08:00
tangyuxin
a745d5ee03
[drivers][pin]增加两种IO中断模式
2018-03-15 11:12:22 +08:00
charlown
4f1f0ad918
fix cdc_vcom.c notify receive data.
2018-03-15 10:07:23 +08:00
aozima
0e4de6f8f4
[DeviceDrivers][SPI][spi_msd.c] fixed CSD Version 2.0 sector count calc.
2018-03-09 21:38:18 +08:00
aozima
f582bb5ba4
[DeviceDrivers][SPI] format spi_msd.c
2018-03-09 21:38:09 +08:00
uestczyh222
6bfb966d7d
[Components][WINUSB]Fix USB_VENDOR_ID and USB_PRODUCT_ID Macro
2018-03-09 15:28:57 +08:00
uestczyh222
55a1c11abc
[Components][WINUSB]Add Guid config to Kconfig Add VID PID config
2018-03-09 15:21:33 +08:00
tangyuxin
2bbb27c29c
[drivers]修复定时器驱动框架单次长时间定时不准确的问题
2018-03-06 10:40:02 +08:00
Bernard Xiong
3aa582bc17
[BSP] Add Kconfig for lpc408x/stm32f10x/stm32f20x/stm32f40x etc
2018-03-04 22:35:07 +08:00
Bernard Xiong
ba2b1f0e56
[DeviceDrivers][MMC] rename fls to __rt_fls
2018-03-04 17:25:59 +08:00
tangyuxin
6ceb4554fc
[Drivers]修复不打开dfs时,wlan驱动编译出错的问题
2018-03-01 09:15:32 +08:00
armink
ae867e1b65
[DeviceDriver][RTC] Add readme doc.
2018-02-16 13:16:53 +08:00
armink
cd23728070
[DeviceDriver][RTC] Add soft RTC and NTP auto sync time config to Kconfig.
2018-02-16 13:14:48 +08:00
armink
59be76af25
[DeviceDriver][RTC] Add 'date' command for set and get date time.
2018-02-16 13:03:56 +08:00
armink
47f389732d
[DeviceDriver] Add clock() to rtc.c .
2018-02-16 13:01:03 +08:00
armink
ce6b0a6efb
[DeviceDriver] Add NTP auto sync time for RTC device.
2018-02-16 12:58:48 +08:00
armink
c4f4710b43
[DeviceDriver][RTC] Add software simulation RTC device.
2018-02-16 12:46:29 +08:00
ZYH
6b18ef3b6a
Merge pull request #1209 from ChunfengMu/fix_bugs
...
cdc_vcom dma 发送流程修改
2018-02-09 12:40:59 +08:00
aozima
cd74a4be47
[drivers] move tf/sd card driver to spi/spi/spi_msd.c, and update Kconfig script.
2018-02-07 10:28:30 +08:00
ChunfengMu
a499c18072
[Components][Drivers][USB]vcom dma_tx模式下根据bulk in提交能力限制tx_ringbuffer的填充长度,避免对下次bulk in传输造成影响.
2018-02-06 01:49:59 +08:00
ChunfengMu
9798917638
1:解决主机端未打开串口时,设备端应用程序dma模式下操作vcom发送数据时,dataqueue条目泄漏的问题。
2018-01-31 02:37:34 +08:00
ChunfengMu
263e9faae4
Update cdc_vcom.c
2018-01-30 10:19:40 +08:00
ChunfengMu
2ea318cc03
1:解决未使用串口设备时,bulkout端点接收数据触发断言的问题。
2018-01-30 01:24:00 +08:00
armink
7b8f8d9615
[DeviceDriver][SFUD] Fix flash device lock not detach when an error occurred. #1167
2018-01-28 18:29:33 +08:00
armink
c63d9a8864
[DeviceDriver][SFUD] Update SFUD to latest version.
2018-01-28 18:14:45 +08:00
ChunfengMu
0b0cbaf9aa
[Components][Drivers][USB]fix compiling errors
2018-01-24 00:27:11 +08:00
Bernard Xiong
828804e26d
Merge pull request #1184 from uestczyh222/master
...
[Components][Drivers][USB Device]fix ep assign bug
2018-01-22 15:43:10 +08:00
Aubr.Cool
537943ed6f
[Components] driver usb vcom fix error for console ( #1160 )
...
* [Components] driver usb vcom fix error for console
2018-01-22 13:18:27 +08:00
uestczyh222
8b1eedf73e
Merge remote-tracking branch 'upstream/master'
2018-01-22 13:13:23 +08:00