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
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