WillianChan
183f8b9402
[drivers/serial]add a line feed to the carriage return character when using interrupt tx
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 15:27:06 +08:00
luhuadong
6c25b839ee
[sensor] support GPS/GNSS sensor class
2020-09-11 18:04:28 +08:00
Bernard Xiong
de0bb6f96c
Merge pull request #3883 from bigmagic123/ls2k_add_gmac
...
Ls2k add gmac
2020-09-11 13:33:16 +08:00
Bernard Xiong
ac751db670
Merge pull request #3888 from mysterywolf/master
...
[add] [libc] libc新增getline/getdelim函数(posix.1-2008)
2020-09-11 13:20:50 +08:00
Bernard Xiong
36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
...
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
yangjie
9d0b860e54
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 11:14:53 +08:00
Bernard Xiong
8ea34bf936
Merge pull request #3850 from SimpleInit/master
...
修复"response+1"导致STM32 HAL库SPI内存非对齐访问的hard fault
2020-09-11 09:15:32 +08:00
mysterywolf
b3ab8a99e1
Signed-off-by: mysterywolf
2020-09-09 08:59:39 +08:00
mysterywolf
28e0c99d00
Signed-off-by: mysterywolf
2020-09-09 00:53:53 +08:00
Bernard Xiong
bb49360a78
Merge pull request #3885 from Michael0066/master
...
ulog:fixed compile err
2020-09-08 18:54:52 +08:00
mysterywolf
4305a678a3
修改common文件夹的sconscript 并 取消并恢复上一个commit的提交内容
2020-09-08 16:29:47 +08:00
mysterywolf
a890c67fb4
增加lwip/cc.h LWIP_TIMEVAL_PRIVATE是能与否的平台判断条件
2020-09-08 13:39:40 +08:00
mysterywolf
ff097f0467
增加 __GNUC__宏定义 和sconscript的平台识别以避免重复定义
2020-09-08 13:16:49 +08:00
mysterywolf
0607ff84ab
解决minilibc time.c和newlibc仅定义RT_LIBC_USING_TIME时冲突的问题
2020-09-08 11:12:56 +08:00
mysterywolf
f021cb982a
修改common下的sconscript脚本文件,增加unistd.c排除条件
2020-09-08 10:52:02 +08:00
mysterywolf
5eccf51b61
Signed-off-by: mysterywolf
2020-09-08 10:29:17 +08:00
mysterywolf
237a71de27
修复common文件夹,该文件夹为armlibc/newlib/dlib的共同文件的文件夹
2020-09-08 10:26:03 +08:00
mysterywolf
05190990b4
增加posix_getline.c/.h版权信息
2020-09-05 22:09:22 +08:00
mysterywolf
443978eb78
增加RT_USING_POSIX_GETLINE用于单独控制是否启用getline函数,并修改Kconfig增加对应选项
2020-09-05 19:47:34 +08:00
mysterywolf
f13014526c
[bug fix]对各个libc库的termios.h增加宏定义,以防止在termios函数没有定义时,将posix_termios.h头文件引入导致报错
2020-09-05 17:52:32 +08:00
mysterywolf
6eb62a3f9d
将unistd.c不再放在common中,分散到各个库中
2020-09-05 17:50:54 +08:00
mysterywolf
8a08be6b9e
[fix bugs]修改armlibc/sys/types.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
2020-09-05 17:41:54 +08:00
mysterywolf
d5d8b345f4
修改libc_signal.h 该文件中不能用rt_数据类型,否则会引起编译器递归编译
2020-09-05 16:59:53 +08:00
mysterywolf
74ab1551fd
add posix 2008 limit.h
2020-09-05 16:14:21 +08:00
mysterywolf
a41ebbb697
add posix functions getline/getdelim
2020-09-05 15:42:03 +08:00
michael
3f3ff458ed
ulog:fixed compile err
...
syslog.c:154:34: error: unknown type name 'uint8_t'
2020-09-04 11:15:02 +08:00
bigmagic
e0aa079e52
LwIP on 64 bit processor
2020-09-04 10:23:31 +08:00
Wayne Lin
f4d86cec7f
Fix USB host core issues.
...
1. Limit >4 USB ports hubs.
2. Double free intf.
3. dname buffer size is too small.
4. Reset child pointer after detaching instance.
2020-09-02 17:49:17 +08:00
mysterywolf
5721fa8990
Signed-off-by: mysterywolf
2020-09-02 10:33:37 +08:00
mysterywolf
a162640f89
Signed-off-by: mysterywolf
2020-09-02 10:25:52 +08:00
mysterywolf
837604553b
增加unistd.c文件
2020-09-02 10:22:47 +08:00
mysterywolf
9b470d448d
取消isatty函数在本文件中的实现,转移到其他文件中
2020-09-02 10:18:52 +08:00
Bernard Xiong
3626325277
Merge pull request #3862 from qiyongzhong0/fix_dataqueue
...
fix dataqueue, limit queue size to usable values (2,4,8,16...) to avo…
2020-08-31 08:53:28 +08:00
qiyongzhong0
c16c5b968f
fix dataqueue, limit queue size to usable values (2,4,8,16...) to avoid errors when put_index exceed 0xffff.
2020-08-30 14:35:09 +08:00
michael
4bf1535c42
utest:fixed compile err
2020-08-29 22:45:22 +08:00
SimpleInit
4a654414e3
修复"response+1"导致STM32 HAL库SPI内存非对齐访问的hard fault
2020-08-26 21:03:15 +08:00
thread-liu
fcd844f982
update error SFUD support manufacturer (Micronix -> Macronix) and add MX25L51245G sfud flash info.
2020-08-15 14:34:19 +08:00
Bernard Xiong
d463a5a0ba
Merge pull request #3802 from liuduanfei/master
...
Change I2C configuration hierarchy
2020-08-13 18:18:10 +08:00
Bernard Xiong
ad3e6d8898
[DFS] clean the unnecessary checking
2020-08-07 08:51:22 +08:00
liuduanfei
27a6ebf4b1
Update Kconfig
2020-08-05 10:06:20 +08:00
Meco
576475f14f
change format
2020-08-05 09:28:10 +08:00
Meco
f7ba4a6341
增加条件编译,防止RT_USING_DFS没有定义时 _sys_flen()出现编译警告:stat变量定义但没有被调用 的问题
2020-08-05 02:47:27 +08:00
liuduanfei
719b71a015
Update Kconfig
2020-08-04 15:11:48 +08:00
liuduanfei
ba5f2a5bb6
Update Kconfig
...
Change I2C configuration hierarchy
2020-08-04 15:10:43 +08:00
tangweikang
b2a9b8308e
[components][usb] word error : PROERTY -> PROPERTY
2020-08-04 11:01:22 +08:00
zhiweih
814b646d17
Specify date string length in FINSH date command.
...
libc ctime returns a fixed 25 character string without a NULL terminator. Print it without specifying length in FINSH date command prints extra contents and could potentially be dangerous.
2020-07-27 23:09:26 +08:00
Bernard Xiong
fa599be08c
Merge pull request #3767 from ErnestChen1/function_parameter
...
[update] function must have parameter
2020-07-27 17:57:28 +08:00
chenchaoqun
a1ac12c1f1
[update] function must have parameter
2020-07-24 15:20:12 +08:00
luhuadong
f56af401cc
[at_socket] update AT_SW_VERSION and adjust at_socket_ops
2020-07-23 01:13:48 +08:00
luhuadong
067106f164
[at_socket] support alloc socket dynamically with at device
2020-07-21 00:29:12 +08:00
tangweikang
43c0118e8f
[components][wlan] Fix for rt_wlan_event_dispatch() not passing user_buff. | 修复 rt_wlan_event_dispatch() 未传递 user_buff 的问题。
2020-07-17 15:29:22 +08:00
luhuadong
cc15a1b59c
[sensor] fixed sensor cmd delay time
2020-07-08 22:53:02 +08:00
Bernard Xiong
87999c405f
Merge pull request #3740 from armink/fix_spi
...
[DeviceDriver][SFUD] Update the 'sf bench' command.
2020-07-06 22:14:11 +08:00
Bernard Xiong
fe0e6a2d86
Merge pull request #3736 from SantaPasserby/fix_sysylog_formater
...
syslog_formater调用rt_snprintf多了个参数。
2020-07-06 21:34:48 +08:00
armink
5f756ca50e
[DeviceDriver][SFUD] Update the 'sf bench' command.
2020-07-06 20:25:18 +08:00
luhuadong
f2070beb54
[Sensor] Add two concentration unit ppm & ppb
2020-07-04 17:14:31 +08:00
luhuadong
1fde73a93c
[Sensor] Add AMS sensor vendor info
2020-07-04 16:48:05 +08:00
teh-c
d5e03ad5d1
rt_snprintf多了个参数。
2020-07-03 17:10:43 +08:00
hphuang
0bfb881168
merge latest usb class with workaround
2020-07-03 11:13:24 +08:00
liuduanfei
13e768203d
delete duplicate header files
2020-06-28 23:20:31 +08:00
朱天龙 (Armink)
b31822420b
Merge pull request #3715 from thread-liu/add_stm32mp1_driver
...
[update] add drivers for stm32mp1.
2020-06-24 13:48:48 +08:00
thread-liu
a84d575314
[update] format code
2020-06-24 12:53:24 +08:00
thread-liu
2fcd940b57
[update] add drivers for stm32mp1.
2020-06-23 11:26:11 +08:00
liuxianliang
0d8f90788f
[remove] the doc folder of lwIP 2.1.2
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-23 10:00:58 +08:00
liuxianliang
be64fcba86
[update] remove lwIP 2.1.0.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-23 10:00:11 +08:00
hphuang
6cafbf07ce
mstorage.c: fix bug in device descriptor that MAC OS enumeration failed.
2020-06-22 15:25:29 +08:00
liuxianliang
5af6aa47c1
[update] remove doc doxygen files and add doxygen zip file.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-22 09:28:48 +08:00
liuxianliang
38db074fca
[update] Added custom functions for RT-Thread.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 14:09:33 +08:00
liuxianliang
de1fd2bfc4
[add] lwIP 2.1.2 transplantation on RT-Thread.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 14:01:09 +08:00
liuxianliang
a9796b90ad
[add] the code of original lwIP 2.1.2.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-20 13:44:12 +08:00
liuxianliang
f715f29588
[fix] lwip clock confict with minilib clock
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2020-06-18 16:42:02 +08:00
xieyangrun
1418cb1875
[net/lwip]: enable LWIP_SO_LINGER option feature of LWIP.
2020-06-18 11:06:06 +08:00
Bernard Xiong
7b31868464
Merge pull request #3686 from armink/fix_spi
...
[SFUD] Update the flash chip information table.
2020-06-13 19:12:21 +08:00
Bernard Xiong
b04fdd89ed
Merge pull request #3679 from DavidLin1577/patch-11
...
[finsh]Fixed a bug may cause stackover flow
2020-06-13 16:23:40 +08:00
armink
02c8084138
[SFUD] Update the flash chip information table.
2020-06-13 16:03:46 +08:00
armink
b7a9312be6
[SFUD] Update rt_sfud_flash_probe_ex API
2020-06-13 12:07:20 +08:00
armink
6a9e081ec5
[SFUD] Add new probe API (rt_sfud_flash_probe_ext) for using user SPI configuration.
2020-06-13 11:50:30 +08:00
armink
930de79000
[SFUD] Update the log format to rtdbg.
2020-06-13 11:36:12 +08:00
armink
179d0ee439
[SFUD] Update the W25Q64DW JEDEC ID
2020-06-13 11:28:24 +08:00
armink
202bde05ec
[DeviceDriver][SPI] Fix 3 wires SPI issue.
2020-06-13 11:24:26 +08:00
David Lin
5bb38bb4e8
Update msh_file.c
2020-06-13 10:13:51 +08:00
Cliff Chen
1a9ecf27f3
[components] dfs: update elmfat to R0.14 patch 1
...
merge from https://github.com/abbrev/fatfs.git
(cf1fa008119c8ae2d05311ba3d97da0c4dca33b6)
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
Change-Id: I321ba7933e1a4d6c07b3fbaa2a134eb54bb43b32
2020-06-12 16:31:43 +08:00
David Lin
7129694f38
[finsh]Fixed a bug may cause stackover flow
...
add code:
if (line_buf == RT_NULL) return -RT_ENOMEM;
2020-06-12 08:49:46 +08:00
luhuadong
9e7fdad8fb
[Sensor] Add Plantower sensor info
2020-06-11 21:26:31 +08:00
David Lin
822df76f8e
Update ethernetif.c
2020-06-10 23:32:06 +08:00
David Lin
aa0b68a575
Update ethernetif.c
2020-06-10 23:30:44 +08:00
David Lin
8beb439926
Update ethernetif.c
2020-06-10 23:27:25 +08:00
David Lin
1703c70fd5
[ drivers/usb]Fixed a bug may cause stackover flow
2020-06-10 12:53:51 +08:00
David Lin
4f53c68b3b
Update ethernetif.c
2020-06-10 11:09:11 +08:00
David Lin
a5fddaecc3
Update ethernetif.c
2020-06-10 11:08:01 +08:00
David Lin
5f6c3d7345
Update ethernetif.c
...
if LWIP_NETIF_HOSTNAME enable, the length is 'sizeof(struct netif)+ LWIP_HOSTNAME_LEN',
not only equal to 'sizeof(struct netif)'.
2020-06-10 10:59:50 +08:00
Bernard Xiong
be43008c56
[libc] remove pthread.h in newlib/syscalls.c
2020-06-06 13:23:56 +08:00
Bernard Xiong
fe2e9e924e
[libc] fix 64bit issue for pthreads
2020-06-06 13:21:32 +08:00
Bernard Xiong
a4f1905b6d
[libc] Fix pthreads compiling issue with new newlib version
2020-06-06 13:20:58 +08:00
Wayne Lin
c72ee2d63c
[W25Q32BV]Support fast read QUAD_OUTPUT and QUAL_IO.
2020-06-02 14:46:52 +08:00
Bernard Xiong
a6a8b90935
Merge pull request #3618 from longtengmcu/master
...
fix three bugs about ethernet
2020-06-01 15:32:53 +08:00
Bernard Xiong
1ef77bd969
Merge pull request #3601 from OpenNuvoton/rtt_issues
...
Fix issues
2020-05-30 09:43:54 +08:00
Bernard Xiong
81610509d1
Merge pull request #3603 from cliff-cmc/master
...
[dlmodule] Fix crash when dlmodule exit
2020-05-29 08:53:55 +08:00
Bernard Xiong
32714439f0
Merge pull request #3634 from jch12138/master
...
添加static前缀,防止与用户自定函数冲突
2020-05-29 06:47:54 +08:00
jch12138
c0a4da7c5b
添加static前缀,防止与用户自定函数冲突
2020-05-28 20:57:43 +08:00
longtengmcu
d75f03e4b0
1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1 …
...
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
4、修改注释信息
2020-05-21 22:05:38 +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
Bernard Xiong
19c01e9d5e
Merge pull request #3611 from 2000000/watchdog_fix
...
[drivers][watchdog] 修复watchdog.c 注释的一处笔误
2020-05-20 15:10:19 +08:00
luhuadong
ce35dfbc40
[AT] Adjust where the AT socket callback function
2020-05-20 01:11:46 +08:00
GaoJie
8aaa89a6f1
[drivers][watchdog] 修复watchdog.c 注释的一处笔误
2020-05-19 17:30:19 +08:00
longtengmcu
63950c9259
1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1
...
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
2020-05-17 15:51:35 +08:00
Cliff Chen
42f9de1b42
[dlmodule] Fix crash when dlmodule exit
...
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
2020-05-15 17:53:55 +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
luhuadong
88a02d7bd8
fixed some typos
2020-05-09 10:33:36 +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
Bernard Xiong
786eb5ae9c
[C++] rename the Thread/Mutex to cxx_Thread/Mutex to avoid same name issue
2020-04-30 21:08:04 +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
bigmagic
3afb24f4c1
fix aarch64 compiler warning
2020-04-17 22:35:55 +08:00
Bernard Xiong
d3ce0b27ff
Merge pull request #3534 from Keyun-Johan/mydoc
...
socket_new() 错误返回时的问题
2020-04-15 16:08:43 +08:00
Keyun-Johan
5ea637903d
Update sal_socket.c
...
OK
2020-04-13 17:42:37 +08:00
David Lin
e9d930070d
Update pipe.c
2020-04-13 07:20:29 +08:00
Keyun-Johan
63e855d78a
socket_new()成功后,后续函数不成功返回-1,没有删除socket
2020-04-12 19:22:19 +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
bigmagic
3d29ac8953
remove redefinition 'mode_t'
2020-04-11 22:35:02 +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
08ef236308
Merge pull request #3513 from jch12138/master
...
为FINSH添加clear命令
2020-04-10 11:14:33 +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
jch12138
ebfba4974c
add clear
2020-04-07 20:19:33 +08:00
yangjie
dfcd38b74d
[components][dataqueue]add rt_data_queue_deinit
2020-04-07 17:36:56 +08:00
Bernard Xiong
e382ae08da
Merge pull request #3491 from GitHubIDforRoger/posix_termios.h头文件找不到pid_t定义的bug
...
posix_termios.h头文件修改
2020-04-07 16:36:32 +08:00
luanxueguang
a1dc525859
[update] 修复拼写错误
2020-04-02 13:50:09 +08:00
roger
a3d6d47225
祛除了不必要的格式修改
2020-03-31 09:35:13 +08:00
Bernard Xiong
0f57faa591
Merge pull request #3484 from qz721/master
...
修复USB不能正常识别composite设备的bug
2020-03-30 21:20:02 +08:00
roger
63a82cac47
在posix_termios.c中引用termios.h
2020-03-30 15:59:44 +08:00
roger
8601850a21
first commit
2020-03-30 15:21:58 +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
Bernard Xiong
d33d9dd9a6
Merge pull request #3437 from Chinese66/patch-1
...
Update ry_sy.c
2020-03-13 18:09:43 +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
Chinese66
2822ec377d
Update ry_sy.c
...
修改了读取不到文件大小,导致的文件传输的问题,问题说明在
https://www.rt-thread.org/qa/forum.php?mod=viewthread&tid=423781
2020-03-11 11:56:35 +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
Bernard Xiong
87a8585e36
Merge pull request #3423 from djndl1/cppthread
...
make clock_time.h available to C++
2020-03-03 23:59:14 +08:00
Bernard Xiong
d81ab720d3
Merge pull request #3420 from Lawlieta/chenyong
...
[driver][wlan] add raw frame send interface and Management frame filter interface
2020-03-03 16:41:34 +08:00
djndl1
48b9ab570f
make clock_time.h available to C++
2020-03-03 01:34:18 +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
David Lin
fac95192ea
[finsh]Minor optimization in finsh_compiler.c
...
The code just clean the first member of array 'finsh_vm_stack', but it works well in the past years,
memset(&finsh_vm_stack[0], 0, sizeof(finsh_vm_stack[0]));
Is it better to re-code as below, it will be more readable and robust:
memset(&finsh_vm_stack[0], 0, sizeof(finsh_vm_stack));
2020-02-29 16:53:44 +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
Bernard Xiong
87cf14d95f
Merge pull request #3389 from DavidLin1577/patch-3
...
Fixed typo: 'lenght' and 'sfotware' in Kconfig
2020-02-22 20:03:03 +08:00
Bernard Xiong
1c3a482ca4
Merge pull request #3396 from DavidLin1577/patch-10
...
Fixed typo 'WirtePageWithLayout' in uffs
2020-02-22 13:25:04 +08:00
David Lin
ec20c2c7ff
Fixed typo 'WirtePageWithLayout' in uffs
...
WirtePageWithLayout ->WritePageWithLayout
2020-02-21 21:37:05 +08:00
David Lin
3790384734
Fixed typo 'WirtePageWithLayout' in uffs
...
WirtePageWithLayout ->WritePageWithLayout
2020-02-21 21:34:21 +08:00
David Lin
8d497e945a
Fixed typo 'WirtePageWithLayout' in uffs
...
WirtePageWithLayout ->WritePageWithLayout
2020-02-21 21:30: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
David Lin
e16591ced1
Fixed typo: 'lenght' and 'sfotware' in Kconfig
...
lenght -> length
sfotware -> software
2020-02-19 22:35:43 +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
c3410c7884
Merge pull request #3380 from DavidLin1577/patch-8
...
[net] Fixed macro error in lc-switch.h
2020-02-17 12:17:23 +08:00
Bernard Xiong
72a2c8361c
Merge pull request #3377 from DavidLin1577/patch-5
...
Fixed typo: 'wirte' in uffs_nandif.c
2020-02-17 12:12:51 +08:00
David Lin
ca1e9137d6
[net] Fixed macro error in lc-switch.h
...
Fixed macro error: __LC_SWTICH_H__ -> __LC_SWITCH_H__
2020-02-16 20:54:45 +08:00
David Lin
8e19bec11b
Fixed typo: 'wirte' in uffs_nandif.c
...
Note that the word 'wirte' is wrong,
so that 'wirte' should been replaced with 'write'.
2020-02-16 20:08:36 +08:00
David Lin
812d3d2833
Fixed typo: 'lenght'
...
Note that the word 'lenght' is wrong,
so that 'lenght' should been replaced with 'length'.
2020-02-16 17:07:34 +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
luhuadong
3d5357bc75
[AT] Fix typos in Kconfig
2020-02-10 03:35:04 +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
Bernard Xiong
e3e0aa7f4d
Merge pull request #3317 from a1012112796/writing/log
...
[ULOG] fix row size bug for backend which don't suport color
2020-01-07 16:46:14 +08:00
a1012112796
73cae9564b
[ULOG] fix raw size bug for backend which don't suport color
2020-01-07 11:22:26 +08:00
Bernard Xiong
f5ae4d2fc3
Merge pull request #3310 from tonyzheng-rockchip/fix-dlmodule
...
Fix dlmodule
2020-01-07 08:10:15 +08:00
tonyzheng-rockchip
1f5118f7dd
Add priority & stack_size param parsing for dlmodule
2020-01-03 14:31:38 +08:00
tonyzheng-rockchip
04c20bc8ed
Revert "Add priority & stack_size parameters for dlmodule custom"
...
This reverts commit f38b5a9f9f
.
2020-01-03 09:18:51 +08:00
Bernard Xiong
24f961fa70
Merge pull request #3303 from junlon2006/hotfix/compile-warning
...
🐛 fix compile warning, undefine var
2020-01-02 11:50:57 +08:00
tonyzheng-rockchip
f38b5a9f9f
Add priority & stack_size parameters for dlmodule custom
2020-01-02 08:54:48 +08:00
Bernard Xiong
848c3ff02b
Merge pull request #3298 from xiangxistu/master
...
[net][lwip] fix assert in the sys_arch_mbox_fetch function when close socket
2020-01-01 11:55:55 +08:00
shangjinlong
b87f493f2b
🐛 fix compile warning, undefine var
2019-12-31 16:16:15 +08:00
liuxinaliang
83b290c289
[net][lwip] fix lwIP 2.1.0 personalized sign bug
2019-12-29 15:35:22 +08:00
liuxinaliang
a0e62f665f
[net][lwip] fix assert in the sys_arch_mbox_fetch function when close socket
2019-12-29 15:32:27 +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
Bernard Xiong
c2322353aa
Merge pull request #3294 from tonyzheng-rockchip/fix-dlmodule
...
Fix dlmodule must depends on file system issue
2019-12-27 15:42:28 +08:00
tonyzheng-rockchip
d910372010
Fix dlmodule must depends on file system issue
...
解决dlmodule只能依赖于文件系统的问题;
增加dlmodule扩展接口,以适应更多需求;
2019-12-27 14:27:31 +08:00
任光伟
27b7e0d929
解决在判断接收字节为0与RESET信号量之间接收到数据时,导致此次数据无法被处理的bug。
...
Signed-off-by: RGW <rgw5267@gmail.com>
2019-12-26 00:53:19 +08:00
ZYH
a4dba7b583
[Components][USB][ECM] fix build error
2019-12-25 13:15:10 +08:00
任光伟
9893f64610
ulogbuffer增加1,为\0预留空间
...
Signed-off-by: RGW <rgw5267@gmail.com>
2019-12-23 10:49:01 +08:00
Bernard Xiong
c2f23fd1e8
Merge pull request #3278 from xiangxistu/master
...
[net][lwip] add personalized RT-Thread sign into lwip protocol stack
2019-12-22 03:33:51 +08:00
liuxianliang
f9ef8c7ed9
[net][lwip] modified hostname, support lwIP 1.4.1 ,lwIP 2.0.2 and lwIP 2.1.2
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-21 17:43:32 +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
Bernard Xiong
01fa184f9a
Merge pull request #3275 from BernardXiong/delayUtil
...
Delay until
2019-12-19 11:04:40 +08:00
armink
6228ff5e98
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
2019-12-19 10:39:55 +08:00
liuxianliang
a9cad2b95b
[net][lwip] rename hostname, change "RT-Thread_xx" into "RTTHREAD_xx"
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-19 10:36:40 +08:00
Bernard Xiong
7a00b42e97
Update pipe.c
2019-12-18 23:19:54 +08:00
Bernard Xiong
b5e4aa58e0
[Kernel] Fix the signal compiling issue when using minilibc
2019-12-18 23:06:36 +08:00
Bernard Xiong
055061a639
[DeviceDrivers] Fix pipe memory issue.
2019-12-18 21:38:05 +08:00
Bernard Xiong
78d42efd22
[DFS] cleanup the log in dfs.
2019-12-18 21:37:42 +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
liuxianliang
3557d8f8a1
[net][lwip] add personalized RT-Thread sign into lwip protocol stack as hostname.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-18 14:20:55 +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
Bernard Xiong
457759ded7
[Util] fix the dependence of file feature in ymodem
2019-12-17 13:38:49 +08:00
Steven Liu
3c5f46468c
[components]: utilities: ymodem: Add ry_sy function.
...
Use "ry" to receive files and use "sy file_path" to
send files. Default console uart and you can choose
any other uart if you want.
Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
2019-12-13 11:49:53 +08:00
Bernard Xiong
ea507e2e81
Merge pull request #3232 from balanceTWK/sfud_temp
...
[components][sfud] update sfud options.
2019-12-11 08:30:29 +08:00
Jingsai Lu
cd1ff2ab0d
fix spelling mistake in the comments of shell.c
2019-12-07 13:47:03 +08:00
tangweikang
15b10bd5e2
[components][sfud] update sfud options.
2019-12-03 16:45:46 +08:00
HubretXie
3c2bfa2349
【修复bug】修复sal判断internet连接的隐藏bug
...
1、当前判断网卡是否连接Internet是通过连接rtt-thread的服务器来判断的,
2、这个月开始好像服务器挂了,不响应请求
3、这里超时用的2000秒,导致sys workqueue被卡死在这里了
2019-11-26 09:38:16 +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
Bernard Xiong
92ab9d28b6
Merge pull request #3206 from hichard/master
...
1.修复sd卡热插拔内存泄露的bug
2019-11-21 06:34:01 +08:00
Bernard Xiong
5a40f932c9
Merge pull request #3207 from loogg/mlw
...
去除sal shut_down后释放socket导致close失败的问题
2019-11-21 06:33:20 +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
malongwei
c531fdc7ae
去除sal shut_down后释放socket导致close失败的问题
2019-11-16 12:33:09 +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
chenyong
df07cccccc
[components][finsh] fix compile error when the symbol table feature closed
2019-11-11 10:36:49 +08:00
Bernard Xiong
3777bec075
Merge pull request #3140 from tanglj86/master
...
fix rt_thread_mdelay parameter error bug;
2019-11-11 08:19:14 +08:00
Ernest
f82d4f1f6f
[DeviceDrivers] add warning about overflow by serial receiver
2019-11-01 10:38:07 +08:00
tanglj86
5e16a09cfb
fix rt_thread_mdelay parameter error bug;
2019-10-19 15:00:15 +08:00
qinpan1003
b838280d24
fix bug for pthread_create memory leak
2019-10-10 22:42:14 +08:00
Bernard Xiong
6aa07774bb
Merge pull request #3105 from zhangjun1996/master
...
[components]添加ftruncate、flock、getuid、umask接口
2019-10-09 20:20:59 +08:00
zhangjun
d08f533659
[components][dfs][filesystems][elmfat]修正代码风格
2019-10-08 09:11:35 +08:00
tyustli
7adbabca87
fix Queue.h mpool bug
2019-09-30 14:47:45 +08:00
zhangjun
f7e7170536
[components][libc][compilers][newlib]添加flock接口
2019-09-26 14:34:59 +08:00
zhangjun
8ed3daed5f
[components][libc][compilers][newlib]添加getuid和umask函数
2019-09-26 11:27:37 +08:00
zhangjun
60f2ae4d3c
[components][dfs]添加ftruncate接口
2019-09-26 10:22:33 +08:00
chenyong
2b50d3d32c
[components][finsh] Decouple RT_USING_DEVICE dependency for msh feature
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-25 20:14:39 +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
Bernard Xiong
4d63839024
Merge pull request #3092 from liu2guang/finsh_update_dev
...
[修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input leng…
2019-09-21 07:54:54 +08:00
流光
dfd9fa4d9d
[修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input length exceeding 256 bytes
2019-09-20 14:48:01 +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
Bernard Xiong
ae7a33c27c
Merge pull request #3077 from jesven/fix_mempool
...
修正rt_mp_free有可能唤醒一个错误任务指针的问题
2019-09-17 14:11:14 +08:00
shaojinchun
770cc2ffeb
修改mempool使用rt_list_for_each宏进行遍历
2019-09-17 11:02:34 +08:00
shaojinchun
ae1fdc70f0
修正rt_mp_free有可能唤醒一个错误任务指针的问题
2019-09-16 16:55:40 +08:00
Bernard Xiong
1b2a1263df
Merge pull request #3075 from liruncong/libc
...
[components/libc/compilers]c++文件引用libc.h支持
2019-09-16 08:47:49 +08:00
liruncong
408bb22af6
[components/libc/compilers]撤销由VS编辑器在键入}后自动引起的缩进
2019-09-15 11:47:11 +08:00
Bernard Xiong
6db1bd4516
Merge pull request #3062 from yangjie11/yj_kconfig_com
...
[bsp]解除组件初始化与使用user main的依赖,并修改相应的 Kconfig
2019-09-15 09:35:42 +08:00
Bernard Xiong
00c2e46d5b
Merge pull request #3067 from Lawlieta/develop
...
[net][netdev] fix IMEI spell mistake in ifconfig command
2019-09-15 09:34:25 +08:00
liruncong
d76d30cf50
[components/libc/compilers]c++文件引用libc.h支持
2019-09-14 22:52:06 +08:00
liruncong
7953cdfae3
[components/utilities/utest]修正无测试用例时,执行utest_run时跑飞问题. utest_init增加__CLANG_ARM编译开关判断
2019-09-14 22:44:44 +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
chenyong
438d17e27b
[net][netdev] fix IMEI spell mistake in ifconfig command
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-12 14:34:54 +08:00
Bernard Xiong
900cc4b13b
Merge pull request #3052 from Lawlieta/develop
...
[net] Remove libc select in SAL and AT Socket function
2019-09-12 08:42:51 +08:00
zhangjun
3f39059217
[components][libc][compilers][common]移除time.c中未使用的变量timezone
2019-09-11 18:51:10 +08:00
zhangjun
43f4e10b9a
Merge branch 'master' of https://github.com/rt-thread/rt-thread
2019-09-11 18:42:31 +08:00
yangjie
476dfe51f7
[components/Kconfig]解除组件初始化与使用user main的依赖,默认两者均不使能
2019-09-11 12:03:37 +08:00
Bernard Xiong
7464427894
[SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition
2019-09-11 10:24:50 +08:00
chenyong
4da818f8c2
[net] Remove libc select in SAL and AT Socket function
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-10 14:20:44 +08:00
zhangjun
a186ada6da
[components][libc][compilers]移动time相关头文件到common目录
2019-09-10 09:59:11 +08:00
Bernard Xiong
1370a4c79b
Merge pull request #3044 from yangjie11/stm32-lib
...
[bsp][stm32] update Stm32 lib
2019-09-09 08:08:43 +08:00
yangjie
27222e9cd8
[compilers][libc] 在 minilibc 的 math.h 中增加 float_t 与 double_t 的定义
2019-09-07 18:06:03 +08:00
Bernard Xiong
187a860e17
Merge pull request #3045 from loogg/mlw-fs
...
at_socket的socket成员可能重复问题
2019-09-07 13:37:51 +08:00
malongwei
b0ccfa31ab
fix at_socket.c
2019-09-07 11:47:15 +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
Bernard Xiong
30c43a098a
Merge pull request #3030 from enkiller/pr
...
[components][net][sal]修复多线程访问创建相同fd的问题
2019-09-05 08:04:13 +08:00
tangyuxin
2f2933245e
[components][drivers][sdio]修复 SDIO product 为空的问题
2019-09-03 16:55:10 +08:00
tangyuxin
4219eb7fc3
[components][net][sal]修复多线程访问创建相同fd的问题
2019-09-03 16:16:10 +08:00
zhangjun
dabe951415
[components][libc][common]修改__IAR_SYSTEMS_ICC__宏定义的作用范围
2019-09-02 14:52:32 +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
zhangjun
6910a9e97b
修复IAR8.1之后出现的__localtime32等重定义错误
2019-08-27 15:03:01 +08:00
Bernard Xiong
6f8ea1dac9
Merge pull request #3003 from Lawlieta/develop_at
...
[network][at] Fix the end sign "\r\n" conversion error in AT server,and at_server_send、at_server_recv function
2019-08-26 15:59:57 +08:00
chenyong
108b85f2af
[network][at] Fix the end sign "\r\n" conversion error,and at_server_send、at_server_recv function
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-26 14:55:38 +08:00
Bernard Xiong
a9866f9372
Merge pull request #3001 from Lawlieta/develop
...
[network][netdev] Improve the ping command error log prompt
2019-08-26 13:46:55 +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
chenyong
f39b44ce80
[network][netdev] Improve the ping command error log prompt
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-24 16:37:26 +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
chenyong
0d8a216260
[network][netdev] Improve the default netdev operation and format code
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-22 18:33:30 +08:00
chenyong
d588940dac
[network][lwip] Fix DNS server address set error when multiple network device.
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-22 18:33:29 +08:00
Bernard Xiong
61f151f463
Merge pull request #2981 from LaoYeNing/rtt-branch
...
[stm32][driver_eth] 修复开启自动协商时出错的 bug
2019-08-22 17:31:24 +08:00
zhangjun
9714b520c4
[components][libc]修改Kconfig选项名
2019-08-22 15:59:51 +08:00
zhangjun
3ede7630c0
[components][libc][compilers][common]拆分armcc和iar的time相关函数到common目录,同时修复原来在使用LIBC时time相关函数的BUG(armcc下使用gmtime、localtime、mktime会导致崩溃)
2019-08-22 15:34:50 +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
tyustli
32cffea71e
[bsp] [stm32] fix drv_can.c
2019-08-19 09:15:03 +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
laoyening
cdb70c696e
1、修复因LAN8720A重启无效而导致无法进行自动协商,引起网卡初始化失败。
...
2、LWIP-1.4.1中tcp协议栈的初始化顺序有误,导致使用netdev组件时,网卡无法正常注册,该问题之前在LWIP-2.0.2和LWIP-2.1.0已经修复。
2019-08-15 10:37:58 +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
Bernard Xiong
94b0b0cd2c
Merge pull request #2943 from enkiller/wlan
...
[components][drivers][wlan] WLAN 支持被动扫描
2019-08-13 11:38:44 +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
tangyuxin
16304f14a8
[components][net] 1.网卡可卸载 2.dhcpd 服务可停止
2019-08-11 11:53:28 +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
Bernard Xiong
45a3172719
Merge pull request #2911 from enkiller/wlan
...
[components][drivers][wlan] 修复密码临界值判断错误
2019-08-05 08:34:48 +08:00
armink
8feb6af992
[component/ulog] Fix ulog hexdump show issue.
2019-08-03 16:52:37 +08:00
tangyuxin
7d801615b2
[components][drivers][wlan] 修复密码临界值判断错误
2019-07-31 11:57:37 +08:00
Bernard Xiong
4bd0ce9bfe
Merge pull request #2899 from gbcwbz/fix-dfs-list_fd
...
[components][dfs] Fix fd error in command list_fd
2019-07-29 13:33:49 +08:00
Bernard Xiong
fafdbeaf78
Merge pull request #2898 from ouyangshengduo/master
...
修改at_socket.c文件中的sendto函数,len局部变量没有给初始值
2019-07-29 13:31:43 +08:00
Bernard Xiong
dfc81e2d1b
Merge pull request #2901 from enkiller/netdev
...
[components][net][netdev] 修复一处BUG
2019-07-29 13:31:07 +08:00
tyustli
85a9f5add9
fix bug in Thread.cpp/Thread.h/components.c files
2019-07-27 17:33:36 +08:00
Bernard Xiong
5180262010
Merge pull request #2837 from BernardXiong/fix_dlib
...
[dlib] Add more header files for IAR/dlib
2019-07-27 14:26:22 +08:00
tangyuxin
afd0140e67
[components][net][netdev] 修复一处BUG
2019-07-27 09:13:19 +08:00
tangyuxin
77ce9148d7
[components][drivers][wlan] 修复自动连接 32 密码长度失败的问题,增强代码稳定性
2019-07-26 20:27:42 +08:00
gbcwbz
97c9abffd1
[components][dfs] Fix fd error in command list_fd
2019-07-26 19:07:05 +08:00
senduo
350947b190
修改at_socket.c文件中的sendto函数,len局部变量没有给初始值
...
len值如果不给初始值0,到最后__exit的时候,result = len会导致result的值变成一个不可预估的值,进而导致mbedtls库的while循环无法正常结束,其中mebedtls中发生异常的地方在ssl_tls.c文件中的mbedtls_ssl_flush_output函数while( ssl->out_left > 0 ),因为out_left 是一个无符号整型,退出的条件只能是 out_left = 0,又因为这里面的len没有给初始值0,返回出来的值是一个很大的整型数字,导致了mbedtls中的死循环
2019-07-26 18:33:33 +08:00
Bernard Xiong
531f07172b
Merge pull request #2895 from Lawlieta/develop
...
[net][sal] Fix not clean event issue after poll get the error event in lwIP
2019-07-26 05:57:19 +08:00
Bernard Xiong
20130d19b5
Merge pull request #2894 from enkiller/wlan
...
[components][drivers][wlan] 自动连接周期可配置,可指定扫描通道
2019-07-25 18:52:16 +08:00
chenyong
232019e8d1
[net][sal] Fix not clean event issue after poll get the error event in lwIP.
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-07-25 11:20:40 +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
Bernard Xiong
789fb4a938
Merge pull request #2875 from Ingenic-community/mmc
...
sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation overflow.
2019-07-20 14:01:42 +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
armink
c33299ab93
[finsh] Fix the compile error when only using msh mode on x86_64 platform.
2019-07-19 15:44:36 +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