Bernard Xiong
9787116870
Merge pull request #4272 from iysheng/master
...
[bsp][gd32103c-eval] Add hwtimer driver and modify adc driver with LOG_x function
2021-02-06 00:15:41 +08:00
Bernard Xiong
7fc236dddb
Merge pull request #4306 from mysterywolf/rtc
...
[libc][stm32-driver RTC] 修复RTC驱动以及libc time.c库若干问题
2021-02-05 20:23:24 +08:00
Meco Man
ffd270acef
fix comment
2021-02-05 18:55:39 +08:00
wanghaijing
f62d8938dc
[sdio] free memory and enhance performance
2021-02-05 15:49:30 +08:00
Meco Man
c2fca3dffe
修复RTC驱动以及libc time.c库若干问题
2021-02-05 13:13:22 +08:00
iysheng
a281ee9874
code format
2021-02-05 11:46:44 +08:00
Wayne
a50d81827a
Revert "fix the bug that rx_notice out of sync when data received after last rt_device_read() is zero"
2021-02-04 22:53:58 +08:00
tangyuxin
0230d32ca0
添加断言及注释
2021-02-01 15:02:22 +08:00
tangyuxin
b42506fb73
优化功能重复的代码
2021-02-01 15:02:21 +08:00
tangyuxin
c5218b5eee
修复紧急工作队列插入问题
...
紧急工作仍插入队列尾部,先将其插入队列头部
2021-02-01 15:02:20 +08:00
tangyuxin
5b52e6c7e3
修复同步取消锁中断等信号的问题
2021-02-01 15:02:19 +08:00
tangyuxin
5a16a2060e
定时处理函数临界区保护更加完整
...
定时器回调函数中,添加工作之前打开了中断。此时在极端情况下,会导致状态不对。
2021-02-01 15:02:18 +08:00
tangyuxin
10b5aa8f59
合并 cancel 和 cancel_delayed 函数,优化代码体积
...
合并 _workqueue_cancel_work 和 _workqueue_cancel_delayed_work 函数,优化代码体积
2021-02-01 15:02:17 +08:00
tangyuxin
0c87becb3e
合并 submit 和 submit_delayed,优化代码体积
...
将 _workqueue_submit_delayed_work 和 _workqueue_submit_work 函数合并成一个。优化代码体积
2021-02-01 15:02:16 +08:00
chenyong
cddf947863
[utilities][ulog] Add LOG_RAW ringbuffer to fix printing line limit issue
...
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-02-01 11:22:05 +08:00
Bernard Xiong
c4d16d706e
Merge pull request #4243 from zhouji92/master
...
[fix] 修复使用lwip 2.1.2作为协议栈,并使能dhcp server选项时,编译报错问题。
2021-01-29 14:21:33 +08:00
Wayne Lin
44e9a48f1d
Enlarge ECC/DATA layout array size.
2021-01-26 17:04:47 +08:00
Wayne Lin
998e370ae1
Append RT_WEAK to override various ECC layout.
2021-01-26 10:44:00 +08:00
Bernard Xiong
46a2e685a2
Merge pull request #4258 from Lawlieta/chenyong
...
[utilities][ulog] fix ulog backend color log length calculation error
2021-01-24 07:44:22 +08:00
Bernard Xiong
f9c5007cae
Merge pull request #3271 from fmkong/sensor_irq_disable
...
[drivers/sensor]disable irq only when the sensor and module sensors a…
2021-01-22 18:35:21 +08:00
Bernard Xiong
b36aeb46a6
Merge pull request #4226 from redocCheng/master
...
解决添加RT_USING_MTD_NOR编译报错的问题
2021-01-22 18:24:04 +08:00
redoc
a04bb0be3a
删除换行
2021-01-22 13:45:41 +08:00
redoc
d0743d6090
1、【删除】多余语句
2021-01-22 13:44:15 +08:00
chenyong
43b1daf325
[utilities][ulog] fix ulog backend color log length calculation error
...
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-01-21 18:58:57 +08:00
Bernard Xiong
7ed63ef52b
Merge pull request #4250 from Trisuborn/master
...
为stm32的PWM驱动添加对STM32H7的支持、添加互补PWM功能的支持,补全pwm_get命令等
2021-01-21 11:58:52 +08:00
Trisuborn
3bf767dfe1
文本错误
2021-01-20 23:55:57 +08:00
Trisuborn
55402e19db
优化互补PWM输出功能的实现逻辑,兼容原本API,增加互补PWM使能/失能命令
2021-01-20 23:47:18 +08:00
Trisuborn
63239801d9
修改无意义代码
2021-01-20 11:24:00 +08:00
chenyong
87b5f3f51e
[components][utilities][ulog] Add backend filtering interface, add async log output control interface, ulog mutex change to semaphore
...
Signed-off-by: chenyong <chenyong@rt-thread.com>
2021-01-20 11:20:30 +08:00
zhouji92
74691ea783
[fix] 修复使用lwip 2.1.2作为协议栈,并使能dhcp server选项时,编译报错问题。
2021-01-20 10:07:55 +08:00
Trisuborn
aed3cc162f
为stm32的PWM驱动添加对STM32H7的支持、添加互补PWM功能的支持,补全pwm_get命令
2021-01-19 17:14:32 +08:00
shuobatian
791527caca
add armclang support
2021-01-11 20:07:12 +08:00
redoc
3ac86d08cb
解决添加RT_USING_MTD_NOR编译报错的问题。
2021-01-07 16:28:54 +08:00
Meco Man
e3fc77f288
update serial.c
2021-01-01 17:24:26 +08:00
Meco Man
a657c00e72
update pipe.c
2021-01-01 17:21:48 +08:00
Meco Man
a940728162
update serial
2021-01-01 17:07:11 +08:00
Bernard Xiong
5af9540190
Merge pull request #4213 from mysterywolf/typo
...
Typo: rt_data_queue_peak() in dataqueue
2020-12-31 16:30:34 +08:00
Meco Man
a233495718
Typo: rt_data_queue_peak() in dataqueue
2020-12-31 16:02:42 +08:00
Bernard Xiong
953a9ee84c
Merge pull request #3681 from cliff-cmc/master
...
[components] dfs: update elmfat to R0.14 patch 1
2020-12-31 15:00:37 +08:00
xiangxistu
14ac354dca
[update] when close auto check internet status, shield internet status information.
...
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-12-31 14:39:08 +08:00
xiangxistu
5db412b138
[add] a new function to manage internet check.
...
Signed-off-by: xiangxistu <xiangxistu@foxmail.com>
2020-12-31 11:53:30 +08:00
Bernard Xiong
72bc0d8fad
Merge pull request #3293 from rgw5267/fix_at
...
fix the bug that rx_notice out of sync when data received after last rt_device_read() is zero
2020-12-31 08:34:57 +08:00
Bernard Xiong
5fd6aec3d1
Merge pull request #4097 from zhangsz0516/zhangsz_1127
...
[update][PM]更新RT-Thread PM2.0框架
2020-12-31 08:33:27 +08:00
Bernard Xiong
4529e9a741
Merge pull request #4198 from mysterywolf/gettick
...
[bug] add function rt_tick_get_millisecond() and fix bug #4012
2020-12-30 17:20:28 +08:00
Meco Man
63cd26b0d1
update
2020-12-30 16:32:20 +08:00
张世争
5b4845089a
[update][PM]更新RT-Thread PM2.0框架
2020-12-30 15:21:17 +08:00
Bernard Xiong
32cf867837
Merge pull request #4134 from Hxinrong/rt_event_recvBranch
...
add error checks of function rt_event_recv()
2020-12-30 13:44:41 +08:00
Bernard Xiong
94ba15a80b
Merge pull request #4062 from luanxg/lxg_dev
...
[update] 获取timer count时,防止因中断到来导致overflow更新
2020-12-29 08:27:11 +08:00
Meco Man
c2e15e003c
add function rt_hw_1ms_tick_get()
2020-12-29 00:08:24 +08:00
yangjie
eeaf1fcc50
resolve Conflicts
...
bsp/nrf52832/board/Sconscript
bsp/nrf52832/startups/Sconscript
bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
tyustli
48d7cf4af9
【修改】解耦 touch 和 pin
2020-12-25 17:31:16 +08:00
Bernard Xiong
10823e54b4
Merge pull request #4181 from Prry/develop
...
[sensor] support TOF sensor class
2020-12-22 14:05:04 +08:00
Prry
a38e7768ac
缩进由“TAB键”改用为“空格”
2020-12-20 22:23:28 +08:00
yangjie
ef62febf1f
[SConscript]update group name
2020-12-19 16:49:11 +08:00
Prry
e7ed764254
添加TOF传感器描述信息
2020-12-19 12:23:37 +08:00
liuduanfei
963f35e96d
Update netdev.c
2020-12-18 20:53:33 +08:00
mysterywolf
ab75425540
update
2020-12-17 11:32:10 +08:00
mysterywolf
e5b10628ee
update
2020-12-16 16:05:43 +08:00
mysterywolf
9d004a2892
实现 usleep
2020-12-16 15:34:41 +08:00
mysterywolf
702103a203
prepare for usleep
2020-12-16 15:25:08 +08:00
Bernard Xiong
95130a9000
Merge pull request #4117 from mysterywolf/time1
...
[bug][keil][libc]修复开启pthread功能后keil报错的问题
2020-12-16 10:13:45 +08:00
Han Xinrong
db4b3ff125
modify code style
2020-12-15 11:37:23 +08:00
Bernard Xiong
57ddea482f
Merge pull request #4150 from mysterywolf/setwin
...
[ioctl] add TIOCSWINSZ
2020-12-14 15:05:47 +08:00
mysterywolf
1404d208db
[ioctl] add TIOCSWINSZ
2020-12-14 01:13:51 +08:00
Han Xinrong
a1fe7b1ddf
modify the error check of rt_event_recv()
2020-12-13 19:11:04 +08:00
Bernard Xiong
2a4b6453b0
Merge pull request #4145 from thread-liu/action
...
[Audio] Header files are repeatedly included
2020-12-11 17:38:09 +08:00
Bernard Xiong
e2d951ad2a
Merge pull request #3929 from geniusgogo/i2c_update
...
[dirver/i2c] i2c driver support bus lock, STOP control
2020-12-10 22:44:04 +08:00
thread-liu
c827a42a18
[update] audio deficiency head file, compile fail.
2020-12-10 16:56:59 +08:00
thread-liu
82eac71064
[update] Incorrect macro definition name and update jobs name.
2020-12-10 09:51:32 +08:00
Han Xinrong
3bb8edf4c1
error check of rt_event_recv()
...
add error check
2020-12-09 22:24:01 +08:00
Bernard Xiong
86756c0d4c
Merge pull request #4065 from longtengmcu/master
...
fix at socket and sal_socket bug
2020-12-09 17:26:47 +08:00
caixf
0f991c2e3e
[sal] fix
2020-12-08 15:48:58 +08:00
liuduanfei
1f7a8e46a4
Update audio.c
...
修改注释错误 repaly ---> replay
2020-12-07 11:50:15 +08:00
Bernard Xiong
082dda7a1d
Merge pull request #4051 from DavidLin1577/patch-15
...
[net/lwip2.1.2]Update ethernetif.c
2020-12-06 22:21:02 +08:00
Bernard Xiong
cf420e9560
Merge pull request #4052 from DavidLin1577/patch-16
...
[net/lwip1.4.1]Update ethernetif.c
2020-12-06 22:19:22 +08:00
Bernard Xiong
497806c883
Merge pull request #4055 from DavidLin1577/patch-18
...
[components/drivers]fixed re-include '.h' file of audio
2020-12-05 14:56:52 +08:00
Bernard Xiong
fbab9c8c11
Merge pull request #4054 from DavidLin1577/patch-17
...
[components / drivers]update audio_mic.c
2020-12-05 14:55:37 +08:00
mysterywolf
1ad70b20ad
[keil][libc]防止开启pthread功能后 keil报错
2020-12-04 20:16:56 +08:00
Bernard Xiong
21116a56ee
Merge pull request #4114 from zhangsz0516/zhangsz_1203
...
[RTC alarm]alarm功能优化,SOFT_RTC增加alarm功能
2020-12-04 11:51:56 +08:00
张世争
9609bc032a
[RTC alarm]alarm功能优化,SOFT_RTC增加alarm功能
2020-12-03 17:52:03 +08:00
liuduanfei
22c47d4b19
Update dfs_romfs.c
...
修改一处拼写错误
2020-12-03 09:59:09 +08:00
Bernard Xiong
d7c367d38b
Merge pull request #4070 from mysterywolf/getline
...
[bug] [libc] 增加#include <rtconfig.h> 防止开启termios功能后报错
2020-12-03 08:40:07 +08:00
Bernard Xiong
9d60727058
Merge pull request #4109 from bigmagic123/fix_raspi4
...
Fix raspi4
2020-12-03 08:10:37 +08:00
tangyuxin
c3ba2b07fa
[components][workqueue] Modify system work queue initialization level
2020-12-02 14:30:31 +08:00
bigmagic
7a1f0e0f67
when flag is RT_DEVICE_FLAG_STREAM, paser '\n' break!
2020-12-02 10:11:38 +08:00
Bernard Xiong
b7e0e21f6e
Merge pull request #4100 from xingkong121/master
...
Modify comment error
2020-12-02 07:36:41 +08:00
Bernard Xiong
2ee715c411
Merge pull request #4088 from loogg/mlw
...
add 'rt_ringbuffer_peak' API
2020-12-02 07:35:07 +08:00
yangjie11
ba83ddc3c4
[SConscript] change libcpu to LIBARCH,and correcte letter case
2020-11-30 15:52:43 +08:00
xingkong121
9b925fb9c0
Modify comment error
...
Device file system should be registered
2020-11-28 22:47:06 +08:00
guozhanxin
bb016927f8
Improve the clock Settings for switching to high speed mode in the SDIO framework.
2020-11-27 17:28:49 +08:00
Bernard Xiong
0228f7b31d
Merge pull request #4044 from zhangsz0516/zhangsz_1120a
...
[rtc.alarm][fix]fix alarm when update datetime
2020-11-25 16:24:47 +08:00
Bernard Xiong
984d6f1577
Merge pull request #4084 from KyleChenjh/posix_sem_find
...
[bug] [libc] 修复posix_sem_find中iter->sem的数据类型转换问题
2020-11-24 23:30:36 +08:00
chenjh
cb54cda19e
[bug] [libc] 修复posix_sem_find中iter->sem的数据类型转换问题
2020-11-24 11:18:54 +08:00
张世争
945053a833
[components][PM][Update]优化PM电源模式选择
2020-11-23 21:41:19 +08:00
Meco Man
54143409ca
增加#include <rtconfig.h> 防止开启termios功能后报错
2020-11-23 01:14:44 +08:00
longtengmcu
962acc3313
1、修改宏定义的拼写错误,修改打印IMEI号时的打印错误
2020-11-22 20:05:53 +08:00
malongwei
d6c8b46dad
add 'rt_ringbuffer_peak' API
2020-11-22 14:20:02 +08:00
longtengmcu
aac5e9da4c
1、web socket请求数据从服务器回来时,服务器会关闭连接,此时AT socket在读取返回的数据时不应该判断socket为连接的状态
...
2、sal socket在支持多网卡时,sal_getaddrinfo从A网卡获取的地址信息,在sal_freeaddrinfo释放时必须由A网卡进行释放
2020-11-22 12:36:07 +08:00
luanxueguang
accb73d8df
[update] 获取timer count时,防止因中断到来导致overflow更新
2020-11-21 17:44:52 +08:00
David Lin
9f5d860d04
Update audio.c
2020-11-21 16:07:03 +08:00
David Lin
7f1aa82a88
Update audio_pipe.c
2020-11-21 16:05:24 +08:00
David Lin
db71258051
[components / drivers]fixed re-include of audio
2020-11-21 16:00:40 +08:00
David Lin
f086765401
Update cdc_vcom.c
2020-11-21 15:37:45 +08:00
David Lin
b10c9b7b63
Update hid.c
2020-11-21 15:36:56 +08:00
David Lin
cc6b6a6ee3
Update hid.c
2020-11-21 15:36:26 +08:00
David Lin
da464e6cc3
Update mstorage.c
2020-11-21 15:35:53 +08:00
David Lin
107b2063c1
Update winusb.c
2020-11-21 15:32:09 +08:00
David Lin
f273e52614
Update audio_speaker.c
2020-11-21 15:30:12 +08:00
David Lin
b73775da85
Update audio_mic.c
2020-11-21 15:29:45 +08:00
David Lin
626e8537f0
[components / drivers]update audio_mic.c
...
1. delete '#include <rtservice.h>', because rtthread.h had include rtservice.h;
2. delete '#include <rtthread.h>', because rtdevice.h had include rtthread.h.
2020-11-21 15:25:27 +08:00
David Lin
88858f216c
Update ethernetif.c
2020-11-21 12:44:14 +08:00
David Lin
4f99d988d9
Update ethernetif.c
2020-11-21 12:35:19 +08:00
yangjie11
91261e25b9
[SConscript]rename group name
2020-11-20 13:38:11 +08:00
张世争
e8eb74da58
[rtc.alarm][fix]fix alarm when update datetime
2020-11-20 09:02:20 +08:00
guozhanxin
3952fd780f
[fix] When enable audio and usb at the same time. The warning <"MIN" redefined> is shown.
2020-11-18 11:13:28 +08:00
Bernard Xiong
3700283812
Merge pull request #3924 from qiyongzhong0/fix_bug_of_dataqueue
...
Fix bug of dataqueue
2020-11-18 08:09:34 +08:00
Bernard Xiong
37ecf07992
Merge pull request #4028 from zhangsz0516/zhangsz_1117
...
[componets/drivers/touch]完善Touch设备命令
2020-11-18 08:07:54 +08:00
张世争
10862586bf
[componets/drivers/touch]完善Touch设备命令
2020-11-17 08:34:30 +08:00
Bernard Xiong
065488e746
Merge pull request #3956 from xfwangqiang/gcc-fix
...
[Components]&&[BSP][imxrt]add ethernet configuration for imxrt1064-nxp-evk
2020-11-13 07:10:16 +08:00
Bernard Xiong
5623579f3a
Merge pull request #4016 from mysterywolf/armcreadme
...
[libc] add readmes
2020-11-10 16:35:25 +08:00
mysterywolf
d5f8830177
add newlib/dlib readme
2020-11-10 13:06:16 +08:00
mysterywolf
794f969d36
[libc][armlibc] add readme
2020-11-10 12:55:21 +08:00
Bernard Xiong
4b2b9a87c6
Merge pull request #3871 from OpenNuvoton/rtt_usbhost_issue
...
Fix USB host core bugs.
2020-11-07 14:42:37 +08:00
Bernard Xiong
ac6da8d4cf
Merge pull request #4006 from qiyongzhong0/fix_at_client
...
fix at_client, avoid creating the same client repeatedly and prevent …
2020-11-03 10:47:13 +08:00
Bernard Xiong
932e14acb4
Merge pull request #3964 from zhangsz0516/zhangsz_1015
...
add alarm flags, alarm can repeated by hour minute and second
2020-11-03 07:55:41 +08:00
qiyongzhong0
db0880bd26
fix at_client, avoid creating the same client repeatedly and prevent working exceptions and memory leaks.
2020-11-02 17:43:23 +08:00
mysterywolf
22f8b142b6
[revert] [lwip] IAR环境 结构体恢复到之前状态
2020-10-24 18:39:31 +08:00
SimpleInit
c495d5a247
1.Add sensor vendor MAXIM.
...
2.Fix: When printing sub-zero temperature, "-" is displayed after ".".
Signed-off-by: SimpleInit <63694297@qq.com>
2020-10-20 20:55:34 +08:00
张世争
8d3f687abb
add alarm flags, alarm can repeated by hour minute and second
2020-10-15 14:37:00 +08:00
WangQiang
10fb49318c
修改了一些文件头的copyright信息和Change Log
2020-10-14 10:27:17 +08:00
z14git
adceb3e2a4
确保char line[]最后一位为'\0'
2020-10-14 09:27:40 +08:00
WangQiang
502378cf93
1. 抽象了PHY的设备模型,在components中增加了PHY设备的相关代码以及KCONFIG配置和SConscript脚本
...
2. 在IMXRT的Libraries中增加了peripherals目录,用于具体型号的设备驱动相关的代码的实现,不应与MCU的平台相关,实现PHY的设备对象中的相关接口。
3. 修改了BSP中的Sconstruct文件,增加了peripherals目录的构建
4. 修改了KEIL环境的SCT文件,用于实现以太网功能
2020-10-12 19:17:00 +08:00
Bernard Xiong
11ac3ac364
Merge pull request #3949 from enkiller/1009
...
[msh] rm command supports recursive deletion of folders
2020-10-11 11:01:02 +08:00
Bernard Xiong
4515c21d29
Merge pull request #3942 from mysterywolf/unsitd
...
[fixed] 在keil环境下 compilers\armlibc\sys\unistd.h 与 libc_fcntl.h的宏定义发生了…
2020-10-11 09:39:13 +08:00
Bernard Xiong
a5cd7e7abd
Merge pull request #3944 from mysterywolf/libc
...
[fix bug] #3902
2020-10-11 09:37:38 +08:00
tangyuxin
21a4542d7b
[msh] rm command supports recursive deletion of folders
2020-10-09 11:54:42 +08:00
mysterywolf
96acad78ba
将posix_getline.h termios.h 头文件包含从<>改为""以防止路径出现分歧
2020-10-03 00:31:49 +08:00
mysterywolf
c7aa6f0619
[fix bug] #3902
2020-10-02 12:00:52 +08:00
Meco Man
60b1b87903
[fixed] 在keil环境下 compilers\armlibc\sys\unistd.h 与 libc_fcntl.h的宏定义发生了重复定义的冲突
2020-10-02 11:22:17 +08:00
qiyongzhong0
77f0814992
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into fix_bug_of_dataqueue
2020-09-29 12:35:13 +08:00
Bernard Xiong
aa05fc1469
Merge pull request #3675 from DavidLin1577/patch-10
...
[drivers/usb]Fixed a bug may cause stackover flow
2020-09-27 08:23:55 +08:00
Bernard Xiong
08688f7095
Merge pull request #3712 from egbert-h/master
...
mstorage.c: fix bug in device descriptor that MAC OS enumeration failed.
2020-09-27 08:23:14 +08:00
tangyuxin
8861202c3b
[dfs] fix the DEVICE could not get or set flags
2020-09-26 12:30:39 +08:00
tangyuxin
50dc41468e
[add] DFS file system supports device types
2020-09-26 09:55:58 +08:00
xieyangrun
54c6e7d145
[dirver/i2c] i2c driver support bus lock, STOP control
2020-09-23 17:17:20 +08:00
qiyongzhong0
967cc968e8
fix difference of style
2020-09-18 09:45:47 +08:00
qiyongzhong0
44baf269f7
fix bug of dataqueue
2020-09-18 09:33:34 +08:00
Bernard Xiong
8afb8b1e29
Merge pull request #3918 from SimpleInit/master
...
删除非对齐地址访问语句和__CORTEX_M宏定义判断
2020-09-17 14:18:46 +08:00
Bernard Xiong
13c27246c8
Merge pull request #3916 from willianchanlovegithub/Willianchan
...
[drivers/serial]add a line feed to the carriage return character when…
2020-09-17 07:54:45 +08:00
SimpleInit
a70808ce9e
删除非对齐地址访问语句和__CORTEX_M宏定义判断
...
Signed-off-by: SimpleInit <63694297@qq.com>
2020-09-14 23:57:14 +08:00
WillianChan
ee3d05f583
[drivers/serial]resolve compile error
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 18:17:00 +08:00
WillianChan
c6b4c2ea2b
[drivers/serial]modify annotation
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 17:21:38 +08:00
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