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
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
Bernard Xiong
2844e3d974
[dlib] Add more header files for IAR/dlib
2019-07-08 13:34:57 +08:00
Bernard Xiong
3eb3a736de
Merge pull request #2831 from Lawlieta/develop
...
[net][lwip][dhcpd] Fix dhcp server compile error in lwIP 2.1.0
2019-07-05 17:09:57 +08:00
chenyong
52d1c50efe
[net][lwip] Fix set_if() compile error when enable dhcpd fucntion and close finsh.
...
[net][dhcpd]Fix dhcpd fucntion compile error in lwIP 2.1.0.
2019-07-04 16:17:52 +08:00
guozhanxin
04296e97b6
[netdev] Add a non-null judgment to the netstat command.|为 netstat 命令添加非空判断。
2019-07-03 22:30:33 +08:00
chenyong
dcd8b8029b
[net][netdev] Delete network commands interrupt disable processing
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-07-03 10:49:19 +08:00
chenyong
48857d1e67
[net][netdev] Add FINSH_USING_MSH control for netdev network commands
2019-07-02 20:11:41 +08:00
guozhanxin
f128f155a4
[components] move freemodbus to package.|将freemodbus移到软件包。
2019-06-28 10:09:09 +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
tangyuxin
7d09071858
[components][dfs][nfs] 修复Linux NFS服务器认证问题
2019-06-26 14:38:52 +08:00
Bernard Xiong
2f1ab87138
Merge pull request #2808 from tyustli/cpp_thread
...
fix cpp thread class error
2019-06-25 21:33:36 +08:00
mulan
759848122e
Update Thread.cpp
2019-06-25 16:14:58 +08:00
chenyong
7d2ffe63e9
[net][sal][netdev] Add IPv6 option configuration and feature support in SAL and netdev
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-06-24 17:46:18 +08:00
tyustli
9efd293bb9
fix format display
2019-06-24 16:05:32 +08:00
tyustli
a559179e6f
fix cpp thread class error
2019-06-24 15:59:26 +08: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
guozhanxin
167342cf41
[dfs] fix some bug for uffs filesystem.|修复了一些uffs文件系统的BUG.
2019-06-18 10:45:54 +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
Bernard Xiong
91c858ead2
Merge pull request #2740 from loogg/master
...
Update shell.c
2019-05-30 08:37:19 +08:00
guozhanxin
34e5383f9a
[sensor] fixed step name display abnormal.
2019-05-30 00:06:44 +08:00
loogg
52d1e51e3e
Update shell.c
2019-05-29 20:34:03 +08:00
loogg
b29154673e
Update shell.c
2019-05-29 20:14:53 +08:00
Bernard Xiong
ebe6c55c75
Merge pull request #2733 from nicedayzhu/patch-1
...
[bugfix][net][netdev] Update netdev->ip_addr&gw&netmask after registered.
2019-05-29 18:11:35 +08:00
nicedayzhu
fe3ab4605d
[Bugfix]Update netdev info after registered
...
1.修复ifconfig命令无法正确显示IP,网关,掩码的问题
2.lwip_2.1.0,增加netdev->mtu = lwip_netif->mtu;
2019-05-29 15:34:02 +08:00
nicedayzhu
c8e1fbf673
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 15:22:11 +08:00
nicedayzhu
c10f087d9e
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 14:15:10 +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
nicedayzhu
6454fa81d8
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 13:42:06 +08:00
nicedayzhu
f5cb3ac760
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 13:37:16 +08:00
armink
f9a7b47955
[DeviceDrivers][i2c] Remove the fm24clxx driver in i2c.
2019-05-29 11:17:46 +08:00
nicedayzhu
c25f7cbfc7
bugfix
...
[net][netdev] Update netdev->ip_addr&gw&netmask after registered.
2019-05-29 11:12:05 +08:00
Bernard Xiong
7494b40d6a
Merge pull request #2728 from Lawlieta/develop
...
[net][at] Fix socket create failed issue when default netdev mismatch.
2019-05-28 20:11:46 +08:00
chenyong
1f9a668607
[net][at] Fix socket create failed issue when default netdev mismatch.
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-28 16:25:42 +08:00
chenyong
4608e1164c
[net][sal] Improve the sal_bind() function
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-28 12:04:25 +08:00
chenyong
b5ad12573f
[net][at] update AT component V1.3.0, change as follows:
...
- AT Socket feature supports multi-client connections;
- Fix `send data error, current socket (0) state (0) is error` issue when the socket is closed;
- Improve dirty data processing when AT device hard reset;
- Improve `at_obj_set_urc_table()` fucntion, Support for setting multiple URC tables;
- Improve RAW data print format;
2019-05-27 12:03:04 +08:00
tangyuxin
1cb3c89bce
[components][drivers] add hardware crypto device
2019-05-25 10:59:12 +08:00
Bernard Xiong
cd8ed012fc
Merge pull request #2695 from BernardXiong/remove_gnu99
...
remove gnu99 code
2019-05-16 13:51:02 +08:00
Bernard Xiong
9e8c5033df
Merge pull request #2694 from armink/fix_ulog
...
[components][ulog] Make the asynchronous log output more timely.
2019-05-16 13:50:44 +08:00
Bernard Xiong
b7a6cc42de
Merge pull request #2690 from SummerGGift/master_rt-thread
...
[components][libc] Modify the gettimeofday() function
2019-05-16 13:49:45 +08:00
Bernard Xiong
6b1f8d9155
remove gnu99 code
2019-05-16 10:22:57 +08:00
armink
11b0c65921
[components][ulog] Make the asynchronous log output more timely.
2019-05-16 09:55:35 +08:00
Bernard Xiong
4539172f5c
Merge pull request #2687 from armink/fix_ulog
...
[components][ulog] Fix the log length error when using multiple non-c…
2019-05-16 09:38:08 +08:00
SummerGift
a900eaa053
Merge remote-tracking branch 'remotes/origin/master' into master_rt-thread
2019-05-16 09:33:14 +08:00
Bernard Xiong
b249ad77bb
Merge pull request #2689 from balanceTWK/pr_master
...
[components][freemodbus] update function : xMBPortSerialInit(); xMBMasterPortSerialInit
2019-05-16 09:16:31 +08:00
SummerGift
e809ced607
【完善】格式化 minilibc/time.c
2019-05-16 08:48:31 +08:00
SummerGift
9f300de9cc
【修改】dlib newlib minilib 中的 gettimeofday() 函数实现
2019-05-16 08:47:47 +08:00
SummerGift
ec99faf022
【修改】由于 gettimeofday 函数依赖 rtc 设备才能实现,因此如果无法获取 rtc 设备应当断言
2019-05-16 08:42:01 +08:00
tangweikang
4f44fa8f60
[components][freemodbus] update function : xMBPortSerialInit(...) and xMBMasterPortSerialInit(...) | 更新 xMBPortSerialInit() 与 xMBMasterPortSerialInit() 函数
2019-05-15 17:16:20 +08:00
chenyong
9abdebbec9
[net][sal] Fix fcntl() function not support F_GETFL/F_SETFL operations for socketfd.
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-15 14:45:31 +08:00
tangweikang
3dd64da78b
[components][freemodbus] update function : xMBPortSerialInit(...) and xMBMasterPortSerialInit(...) | 更新 xMBPortSerialInit() 与 xMBMasterPortSerialInit() 函数
2019-05-15 12:03:03 +08:00
armink
415d12220b
[components][ulog] Fix the log length error when using multiple non-color backends.
2019-05-15 08:57:45 +08:00
misonyo
f58e947da6
[components/drivers/serial]add low level DMA TX config support.
2019-05-13 15:57:04 +08:00
Bernard Xiong
9f7cc78b06
Merge pull request #2680 from BernardXiong/pthreads
...
[pthreads] Change the pthreads management.
2019-05-13 12:12:50 +08:00
Bernard Xiong
ab595cc864
[pthreads] fix the free ptd issue when there is no pthread slot.
2019-05-13 09:19:44 +08:00
Bernard Xiong
7038465d13
[pthreads] Add PTHREAD_NUM_MAX in Kconfig.
2019-05-12 21:48:54 +08:00
Bernard Xiong
bb506e8493
[pthreads] Add spinlock declare and fix code issue.
2019-05-12 21:44:28 +08:00
Bernard Xiong
a5b611bfd9
Merge pull request #2679 from Lawlieta/develop_sal
...
[net][sal] Fix sys/time.h missing error when not enabled POSIX support
2019-05-12 20:40:45 +08:00
chenyong
efdb51504c
[net][sal] Fix sys/time.h missing error when not enabled POSIX support
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-12 20:00:05 +08:00
Bernard Xiong
5d36fa78c0
[pthreads] Use pthread table for pthread management.
2019-05-12 17:56:11 +08:00
Bernard Xiong
b7cc4e9c8a
Merge pull request #2678 from BernardXiong/pthreads
...
[pthreads] The fields definition are more like those of newlib/glibc.
2019-05-12 17:01:26 +08:00
Bernard Xiong
ec6cb9f260
[BSP][qemu-vexpress-a9] code cleaup for compiling warning.
2019-05-12 15:07:26 +08:00
Bernard Xiong
3638e5129e
[pthreads] The fields definition are more like those of newlib/glibc.
2019-05-12 15:04:46 +08:00
chenyong
4de0533a51
[net][sal][netdev] Delete the link_up status judgment in the send/recv interface
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-10 15:57:58 +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
Bernard Xiong
abc5fff696
Merge pull request #2659 from Guozhanxin/sensor_fix
...
[sensor] 完善sensor框架
2019-05-08 15:27:12 +08:00
Bernard Xiong
955d78cd14
Merge pull request #2658 from Lawlieta/develop_sal
...
[net][sal] Improve ioctl interface to support socketfd operations
2019-05-08 15:26:28 +08:00
Bernard Xiong
dfaced4cb6
Merge pull request #2655 from Lawlieta/develop
...
[net][sal] Add options and types for UDP multicast traffic handling
2019-05-08 14:29:15 +08:00
guozhanxin
8f2f232887
[sensor] 完善sensor框架
...
* 修复开启 RTC 编译报错的问题。
* 在显示 sensor 数据时添加单位。
2019-05-08 11:47:07 +08:00
chenyong
25ebcc9c33
[net][sal] Improve ioctl interface to support for socketfd operations
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-08 10:48:17 +08:00
EvalZero
d51e0783ba
[components][pm]fix some issues with low power components
2019-05-07 21:03:48 +08:00
chenyong
cbe67ae354
[net][sal] Add options and types for UDP multicast traffic handling
...
[net][sal] Add options for level IPPROTO_IP
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-07 17:24:11 +08:00
EvalZero
c57f2370ad
[components][pm]improve low power management components
2019-05-06 18:17:55 +08:00
Bernard Xiong
4a2242b94d
Merge pull request #2650 from Lawlieta/develop
...
[net][netdev] Add default netdev automatic change features configuration
2019-05-06 09:26:29 +08:00
chenyong
7424e44e20
[net][netdev] Add default netdev automatic change features configuration
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-05 20:35:01 +08:00
Bernard Xiong
dd1a906b6d
Merge pull request #2638 from ericQiang/rtt_dev
...
[bug fix]不使能LWIP的TCP功能时,编译出错。
2019-05-05 18:18:08 +08:00
chenyong
9752dd7889
[net][sal] Delete the judgment of the default network interface device when socket is created
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-05 14:50:29 +08:00
Bernard Xiong
c2244a5c57
Merge pull request #2628 from HubertXie/master
...
实现多网卡自动切换功能
2019-05-01 20:25:31 +08:00
ericQiang
ee6671f22b
[bug fix]不使能LWIP的TCP功能时,编译出错。
2019-04-30 00:22:17 +08:00
HubretXie
fd05ad76d6
Update sal_socket.c
...
格式化代码
2019-04-28 15:26:52 +08:00
HubretXie
2d82b62111
Update netdev.c
...
根据family查找netdev时,优先查找family匹配并且已经联网的网卡
再查找family匹配但是未联网的网卡
2019-04-28 15:24:23 +08:00
HubretXie
f7e5f4cd50
Update sal_socket.c
...
创建sock时,默认网卡联网时才优先使用
2019-04-28 15:21:19 +08:00
tangyuxin
91345d62af
[components][drivers][ipc] 初始化工作对象所有成员
2019-04-28 14:31:57 +08:00
chenyong
c9bea68240
[net][lwip] Fix open the netdev and the lwip component, ping command export error issue
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-28 00:53:58 +08:00
chenyong
2721e7189a
[net][netdev] Fix netdev link_down status, socket create failed issue
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-27 17:24:58 +08:00
shaojinchun
1e7bd3d8a1
修改lwp支持中arm cortex-a的swi入口函数处理
2019-04-27 13:54:51 +08:00
Bernard Xiong
0f69471cfd
Merge pull request #2615 from yaojinrun/master
...
[components][drivers][can] can.c bug修复:
2019-04-26 13:49:44 +08:00
Bernard Xiong
688452841c
Merge pull request #2616 from Lawlieta/develop
...
[net][at] Modify AT commands send timeout error log level
2019-04-26 13:49:04 +08:00
chenyong
99c069ffd3
[net][at] Modify AT commands send timeout error log level
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-26 10:04:43 +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
Bernard Xiong
214c1a6d45
Merge pull request #2608 from misonyo/rttdev
...
[components/dfs]fix index overflow bug when not filesystem was selected
2019-04-24 21:15:42 +08:00
guozhanxin
0c3da7e367
[components/dfs/ramfs] Automatically select memheap when ramfs enabled.|当使能ramfs时自动选中memheap。
2019-04-24 15:11:49 +08:00
Bernard Xiong
ec0cb1e1e7
Merge pull request #2609 from Lawlieta/develop
...
[net][sal] fix sockfd initialize error problem
2019-04-24 08:57:19 +08:00
chenyong
6f732ebb7f
[net][sal] fix sockfd initialize error problem
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-24 00:11:04 +08:00
misonyo
958d42f32c
[components/dfs]fix index overflow bug when not filesystem was selected
2019-04-23 23:03:34 +08:00
Bernard Xiong
258e1e09c2
Merge pull request #2603 from Lawlieta/develop
...
[net][netdev] Improve netdev DNS setting function
2019-04-23 16:40:03 +08:00
chenyong
126fa9b561
[net][netdev] Improve netdev DNS setting function
2019-04-23 15:08:10 +08:00
yangjie
10595c48bd
[components/vbus]remove log_trace from vbus.c
2019-04-23 14:08:05 +08:00
yangjie
3ebd59f41d
[components/vmm]remove log_trace item from vmm
2019-04-23 14:01:55 +08:00
yangjie
36c78e5480
[components/utilities]delete log_trace,remove log_trace menu from Kconfig
2019-04-23 14:00:18 +08:00
Bernard Xiong
ca7ebe6175
Merge pull request #2600 from EvalZero/master
...
[components][workqueue]improve delayed work for reinit.
2019-04-22 19:28:25 +08:00
Bernard Xiong
a641540936
Merge pull request #2596 from Lawlieta/develop
...
[net][lwip] fix lwip netdev DNS address setup error
2019-04-22 19:23:35 +08:00
EvalZero
3ada52e353
[components][net]synchronize delayed work changes.
2019-04-22 11:50:39 +08:00
EvalZero
83b6260b3f
[components][workqueue]improve delayed work for reinit.
2019-04-22 11:43:45 +08:00
chenyong
f169ceb184
[net][lwip] fix lwip netdev DNS address setup error
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-22 11:28:45 +08:00
Bernard Xiong
c33431cda2
Merge pull request #2590 from Lawlieta/develop
...
[net] [netdev] Add network interface device(netdev) components
2019-04-18 23:26:34 +08:00
chenyong
9df6313537
[net][sal] fix delay_work timer not detach problem
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-17 18:42:10 +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
chenyong
946484760e
[net][at][lwip] Modify AT component and lwIP components for netdev
2019-04-16 20:21:33 +08:00
chenyong
3d6e0ea374
[net][netdev]add network interface device components, SAL component adaptation netdev change
2019-04-16 18:24:55 +08:00
Bernard Xiong
ea9dbfa4f0
Merge pull request #2569 from armink/fix_dfs
...
[DFS] Update dfs file open log.
2019-04-13 10:41:09 +08:00
armink
6c92eb40da
[DFS] Update dfs file open log.
2019-04-12 10:39:05 +08:00
armink
fa4d4ab7cf
Update all of debug log definition to DBG_TAG and DBG_LVL.
2019-04-12 10:18:57 +08:00
MurphyZhao
9be085aa04
[components/net/lwip-1.4.1] 修复不开启 RT_USING_LIBC 时 errno 错误码重复定义的问题
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 15:14:20 +08:00
MurphyZhao
81e028105d
[components/net/lwip-1.4.1] 移除对 errno.h 的引入
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:28:59 +08:00
MurphyZhao
9596a94a8b
[compilers/newlib] 在 syscalls.c 增加 __errno () 函数实现,解决在使用 newlib 编译时 errno 无法重定向到 _rt_errno 的问题
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:24:36 +08:00
HubretXie
25cdd8bba9
fix use printf format bug
...
fix use printf format bug
2019-04-09 20:11:07 +08:00
Bernard Xiong
694878d4c3
Merge pull request #2540 from enkiller/dfs
...
[components][dfs]格式化代码
2019-04-08 17:19:46 +08:00
tangyuxin
e71ec65549
[components][dfs]格式化代码
2019-04-08 14:51:01 +08:00
Bernard Xiong
b490052579
Merge pull request #2539 from EvalZero/master
...
[components][drivers][workqueue] increase the default stack size of t…
2019-04-03 22:48:32 +08:00
EvalZero
c3ee1be7ee
[components][drivers][workqueue] increase the default stack size of the workqueue thread.
2019-04-03 18:26:55 +08:00
tangyuxin
ae41b850c4
[components][cplusplus] 格式化代码
2019-04-03 17:25:49 +08:00
Bernard Xiong
bc5acf3bc0
Merge pull request #2537 from lymzzyh/finsh
...
[components][finsh][shell]remove finsh get char error print
2019-04-03 15:54:52 +08:00
ZYH
1030004e78
remove finsh get char error print
2019-04-03 14:43:02 +08:00
HubretXie
5066ba6a0e
Update at_socket.c
...
修复sock未初始化使用的问题
2019-04-02 16:10:54 +08:00
HubretXie
24c9e8cb3f
Update sfud.c
...
修复可能存在越界访问的问题
2019-04-02 16:09:17 +08:00
Bernard Xiong
cfb4a9c323
Merge pull request #2525 from jesven/fix_dlopen
...
fix dlmodule_load(): return immediately when open file fail
2019-04-01 18:11:13 +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
shaojinchun
832fc23b02
fix dlmodule_load(): return immediately when open file fail
2019-03-31 14:24:58 +08:00
EvalZero
c7ccb4f532
[components][drivers][workqueue] add system default workqueue and delayed work.
2019-03-30 14:29:30 +08:00
Bernard Xiong
eabb04ed3d
Merge pull request #2491 from lymzzyh/size_t
...
[libc]fix size_t ssize_t
2019-03-29 08:53:21 +08:00
ZYH
6b7335a36f
[libc]fix size_t ssize_t
2019-03-28 17:18:40 +08:00
tyustli
8327200072
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2019-03-26 14:06:13 +08:00
tyustli
1be90253d0
delete the CMSIS from components and add the CMSIS
...
and add the CMSIS in some specific BSP
2019-03-26 13:58:33 +08:00
Bernard Xiong
94e7f7316b
Merge pull request #2503 from qz721/libcpu_cortex_a
...
Make 'qemu-vexpress-a9' and 'imx6ul' use the same libcpu code.
2019-03-25 21:58:48 +08:00
qz721
2eb1bef773
Make 'qemu-vexpress-a9' and 'imx6ul' use the same libcpu code.
2019-03-25 20:03:49 +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
MurphyZhao
e5c5215917
[components/utilities/utest] 增加测试运行测试打印
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-03-19 14:27:39 +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
Bernard Xiong
fc5cfe0a5e
Merge pull request #2450 from jesven/fix_lf
...
Fix lf
2019-03-14 20:25:09 +08:00
Bernard Xiong
656d20362b
Merge pull request #2449 from qgyhd1234/checksum
...
[components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和
2019-03-14 20:23:36 +08:00
tangweikang
fcdd5d197f
[components] 添加 RT_USING_ALARM 选项
2019-03-14 18:05:31 +08:00
zylx
bb97c76b59
[components][lwip]LWIP 1.4.1 支持硬件校验和
2019-03-14 17:33:29 +08:00
shaojinchun
b225764b84
fix lwp SConscript的头文件目录为空的问题;lwp把arm9改名成arm926
2019-03-14 17:28:44 +08:00
杨连钊
afe802733f
[components][drivers][can] can.c fix bug.
2019-03-14 17:12:27 +08:00
zylx
9818ee2d29
[components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和
2019-03-14 16:39:50 +08:00
misonyo
14e048aa8e
[components/shell] shell will not work if ch is none zero as random value in stack
...
The serial getchar will only modify the LSB of ch, the MSB 3 bytes
will be unchanged as the random value on stack, so if MSB 3 bytes
not zero, the value got is wrong.
2019-03-13 22:05:03 +08:00
armink
3e4a93cc91
Delete the unused '--keep' link flag when used RT_USED marco.
2019-03-12 11:40:53 +08:00
gbcwbz
860f8d954d
[finsh] change return type of finsh_getchar from ch to int
...
finsh_getchar invokes getchar, who's return type is int, and return value may < 0, which means error occurred or EOF.
finsh should handle that situation properly, and inform user about the error.
2019-03-10 15:50:03 +08:00
Bernard Xiong
6a12704bc6
Merge pull request #2412 from armink/fix_ulog
...
Update the ulog
2019-03-10 13:04:25 +08:00
liruncong
4f108dbadf
[components/libc]armclang支持相关
2019-03-10 10:55:27 +08:00
liruncong
ce9629cb57
[components/libc/compilers/armlibc]_sys_exit增加RT_WEAK限定,由具体bsp重新实现,通常需要关闭中断,关闭IO输出等
2019-03-10 10:55:24 +08:00
liruncong
d0239b43a0
[components/cplusplus]修正cplusplus_system_init在arm V6下的问题
2019-03-10 10:55:22 +08:00
liruncong
e5522d6292
[components/net]增加const限定
2019-03-10 10:55:11 +08:00
armink
584593071e
[component][ulog] Fixed the thread name output.
2019-03-09 15:49:32 +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
Bernard Xiong
ce2cbb42ec
Merge pull request #2388 from armink/fix_rtdbg
...
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-07 17:03:23 +08:00
armink
4f7c06f923
[component][DFS] Change the log level on dfs_file_open() func.
2019-03-07 15:56:39 +08:00
armink
0d7ba79219
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-06 17:54:30 +08:00
chenyong
0d9b7d60db
[net][sal_socket] improve closesocke/shutdown error handling
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-03-05 19:25:05 +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
Bernard Xiong
4723d5d472
Merge pull request #2361 from qgyhd1234/ymodem
...
[components][ymodem]ymodem 握手阶段增加超时重试,防止数据接收不全
2019-02-24 23:47:17 +08:00
zylx
e2c0749d04
[components][ymodem]ymodem 握手阶段增加延时,防止数据接收不全
2019-02-21 11:09:41 +08:00
Bernard Xiong
89ff902ab5
Merge pull request #2358 from armink/fix_sfud
...
[DeviceDriver] Add rt_sfud_flash_find_by_dev_name function to SFUD
2019-02-20 18:37: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
mlw
6d947e4f49
更改AT_CMD_MAX_LEN介绍
2019-02-20 12:19:56 +08:00
马龙伟
b8c0c30c78
增加AT_CMD_MAX_LEN配置
2019-02-18 14:22:15 +08:00
Bernard Xiong
c7a384b4f5
Merge pull request #2322 from zhaojuntao/update-utest-0213
...
[components][utest] 增加线程模式、loop功能、通配符指定名字
2019-02-15 13:42:15 +08:00
MurphyZhao
e3546a5043
[components][utest] 增加 utest_help,用于输出帮助信息
...
[components][utest] 对于不支持的测试用例,增加输出日志
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-15 12:04:36 +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
MurphyZhao
a305c6cca9
[components][utest] utest_run 增加 loop 功能,方便持续运行单一一个测试用例;
...
[components][utest] utest_run 指定测试用例名字的时候,增加通配符 `*` 的支持,及支持仅指定测试用例名字的前部分字节来运行测试用例。该功能会执行匹配成功的所有测试用例。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-14 15:28:56 +08:00
Bernard Xiong
f9f7e6c520
[ptherad] Fix pthread_exit issue
...
When pthread invokes pthread_exit, it just detach self.
2019-02-14 13:45:25 +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
MurphyZhao
0dc7b9a5a2
[components][utest] utest 延时启动
...
在使用 utest 的线程模式的时候,utest_run 命令执行完成后,finsh 会输出 `msh >`,干扰了 utest 内部的日志结构,因此默认在 utest 启动前增加延时。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-14 12:03:29 +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
MurphyZhao
82f022f6f0
[components][utest] 增加 utest 线程模式
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-13 14:37:08 +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
Bernard Xiong
f182626681
Merge pull request #2310 from weety/dev
...
Fixed data loss issue when USB CDC serial works in dma transmission m…
2019-02-12 14:27:41 +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
Bernard Xiong
c003bdf44f
[pthreads] Add _pthread_destroy to release pthread resource.
2019-02-07 23:50:49 +08:00
Bernard Xiong
f87db0908e
Merge pull request #2312 from Ingenic-community/master
...
net: lwip-2.1.0: 修复编译过程中的警告/Fix compile-time warnings
2019-02-06 07:48:58 +08:00
Zhou Yanjie
4c585c2d31
lwip-2.1.0: ethernetif.c: 修复编译过程中的警告/Fix compile-time warnings
...
在第334行中,“(rt_uint32_t*)&msg”应改为“(rt_ubase_t *)&msg”。
在第366行中,“(rt_uint32_t*)&msg”应改为“(rt_ubase_t *)&msg”。
In line 334, "(rt_uint32_t*)&msg" should be changed to "(rt_ubase_t *)&msg".
In line 366, "(rt_uint32_t*)&msg" should be changed to "(rt_ubase_t *)&msg".
Signed-off-by: Zhou Yanjie <zhou_yan_jie@163.com>
2019-02-05 15:30:23 +08:00
Zhou Yanjie
949468f34c
lwip-2.1.0: sys_arch.c: 修复编译过程中的警告/Fix compile-time warnings
...
在第519行中,“(rt_uint32_t *)msg”应改为“(rt_ubase_t *)msg”。
在第550行中,“(rt_uint32_t *)msg”应改为“(rt_ubase_t *)msg”。
In line 519, "(rt_uint32_t *)msg" should be changed to "(rt_ubase_t *)msg".
In line 550, "(rt_uint32_t *)msg" should be changed to "(rt_ubase_t *)msg".
Signed-off-by: Zhou Yanjie <zhou_yan_jie@163.com>
2019-02-05 15:22:29 +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
b24dde2525
Merge pull request #2287 from misonyo/dev
...
[components/drivers & bsp/stm32]fix kconfig syntax error etc.
2019-01-30 11:35:56 +08:00
Bernard Xiong
c974949cee
Update Kconfig
2019-01-30 09:24:47 +08:00
Bernard Xiong
14fd4e34a9
Merge pull request #2249 from PiscesLyn/patch-2
...
ymodem support multiple files transmission
2019-01-30 09:12:40 +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
qiaoqidui
32d1bfd949
fix lwip2.1.0 port bug
...
fix lwip2.1.0 port bug
2019-01-27 18:01:31 +08:00
MurphyZhao
655c4ad36b
[component][utest] 增加 utest 日志输出级别配置,提供 ASSERT 和 ALL 两个级别,便于测试用例控制 log 输出
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-25 17:25:29 +08:00
Bernard Xiong
71da3392fc
Merge pull request #2263 from RT-Thread/fix_fdopen
...
[DFS] Remove opened file check
2019-01-25 03:16:21 +08:00
Bernard Xiong
3b4a9f51c7
[DFS] Remove opened file check
...
Remove opened file check in dfs_file_open function. It will be replaced with POSIX flock/fcntl.
2019-01-24 20:55:27 +08:00
Bernard Xiong
a68bdc94e4
Merge pull request #2250 from gztss/master
...
实现_sys_flen()函数并解决了unistd.h和dirent.h不能同时包含的问题。
2019-01-24 09:43:36 +08:00
gztss
11751d60e0
实现_sys_flen()函数
2019-01-24 09:05:41 +08:00
Bernard Xiong
358a3884f6
Merge pull request #2254 from misonyo/dev
...
[driver/ringbuffer]illegal access to freed memory
2019-01-23 11:11:03 +08:00
MurphyZhao
f9e5d87c98
[components][utest] 将 utest_assert.h 加入 utest.h,以后测试用例仅需要包含 utest.h
...
[components][utest] 增加 buf 类型的字节比较 assert 宏
[components][utest] 修复错误日志打印的输出类型为 ERR 级别
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-22 15:46:12 +08:00
Lyn
626d0e9e06
ymodem support multiple files transmission
2019-01-22 13:58:59 +08:00
misonyo
e02d6e616b
[driver/ringbuffer]illegal access to freed memory
2019-01-21 21:59:39 +08:00
Bernard Xiong
bef1d55736
Merge pull request #2244 from RT-Thread/fix_libc_posix
...
Fix libc posix
2019-01-21 19:41:38 +08:00
Bernard Xiong
929e9c8f4b
Merge pull request #2243 from EvalZero/master
...
[lwIP] the errno definition of rt_libc.h is used by default.
2019-01-21 18:18:06 +08:00
Bernard Xiong
97560dd8e2
[libc] Fix the addr=NULL issue in mmap.
2019-01-21 17:19:07 +08:00
Bernard Xiong
75061a2712
[libc] Fix the result length issue in aio_read_work.
2019-01-21 17:18:48 +08:00
EvalZero
b676d7230d
[lwIP] the errno definition of rt_libc.h is used by default.
2019-01-21 15:50:25 +08:00
armink
59a4e4b2b7
[DeviceDriver][wlan] Add device ops to wlan.
2019-01-18 20:41:39 +08:00
Bernard Xiong
3b21ead135
Merge pull request #2200 from RT-Thread/thread_stat
...
[Kernel] Enable RUNNING status in thread.
2019-01-16 17:36:22 +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
Bernard Xiong
d55a9cd62a
Merge pull request #2202 from RT-Thread/fix_lwp
...
[lwp] Fix compiling warning in lwP.
2019-01-13 21:41:22 +08:00
Bernard Xiong
b998c4ed8d
[DFS][romfs] code cleanup
2019-01-13 14:33:24 +08:00
Bernard Xiong
9af2d29351
[DFS][romfs] code cleanup
2019-01-13 14:31:55 +08:00
Bernard Xiong
711c923614
[lwp] Fix compiling warning in lwP.
2019-01-13 14:25:52 +08:00
Bernard Xiong
bd7ebbf17b
[DFS][romfs] fix the mkrom issue when file/dir size zero
2019-01-13 14:24:00 +08:00
Bernard Xiong
c2a85453b3
[finsh] Add RUNNING stat in thread
2019-01-13 14:22:13 +08:00
yangfasheng
c16d3de633
update dfs.c dfs_file.c dfs_file.h
...
Signed-off-by: yangfasheng <yangfasheng@rt-thread.com>
2019-01-09 17:40:32 +08:00
Hao Zhu
d3c2cb5845
[components][libc] add extern "C" for header file
2019-01-09 15:13:03 +08:00
MurphyZhao
5d6c7e0df7
[components][dfs] Refix #2100 PR
...
#2100 PR 增加 `#include <libc.h>` 后,如果定义了 `RT_USING_DFS_DEVFS`,那就必须要开启 LIBC 才可以成功编译,增加了对 RT_USING_LIBC 的依赖。但是,这个修复又是关于开启 POSIX 的时候遇到的问题,因此建议在引入 <libc.h> 的地方,加入对 `RT_USING_POSIX` 的依赖。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-05 14:20:44 +08:00
MurphyZhao
5ea985d0fb
[components][utilities/ulog] 修改 ulog_console_backend_init 从 `INIT_COMPONENT_EXPORT` 修改为 `INIT_PREV_EXPORT` 级别的自动初始化,与 ulog_init 同级
...
目的是为了组件初始化中的其他模块可以使用 ulog 输出日志。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-04 18:59:51 +08:00
朱天龙 (Armink)
c7daacc96f
[component][ulog] Fix the ulog_strcpy function.
2019-01-03 15:31:04 +08:00
Bernard Xiong
9556288e54
Merge pull request #2103 from thomasonegd/master
...
fix socket nullptr bug
2019-01-02 10:47:52 +08:00
Bernard Xiong
56f1a8af4f
Merge pull request #2100 from gbcwbz/vi
...
Fix stdio fd error when POSIX api is used
2018-12-30 18:31:18 +08:00
Bernard Xiong
38c49099c9
[libc] Fix the printf issue when disable DFS
2018-12-28 21:41:01 +08:00
Bernard Xiong
214652fd7e
Merge pull request #2130 from jesven/fix_list_thread
...
修正rt_object_get_information参数类型不匹配警告
2018-12-27 19:08:55 +08:00
shaojinchun
fdfc7e541a
修正rt_object_get_information参数类型不匹配警告
2018-12-27 17:48:38 +08:00
Bernard Xiong
e70cece9b5
Merge pull request #2128 from lymzzyh/master
...
[components][USB][Device][Core]fix the device_qualifier error respond on fullspeed
2018-12-27 17:39:40 +08:00
Bernard Xiong
137ed381c7
Merge pull request #2123 from jesven/fix_list_thread
...
修正list_thread关中断时间过长的问题
2018-12-27 17:16:32 +08:00
zyh
b18534e1af
[components][USB][Device][Core]fix the device_qualifier error respond on fullspeed
2018-12-27 16:48:29 +08:00
shaojinchun
ed9a558da9
list_*时,提供对第一层object的原子保护
2018-12-27 16:31:22 +08:00
Bernard Xiong
61b6fca3dd
[bsp] Update tm4c19x and fix the mb_recv warning in lwip-1.4.1
2018-12-27 12:04:48 +08:00
Bernard Xiong
96e6deac29
[Kernel] Fix the errno definitions in armcc/iar.
2018-12-27 09:11:07 +08:00
shaojinchun
3f79a78393
修正list_thread关中断时间过长的问题
2018-12-26 11:51:35 +08:00
misonyo
3b4bb18c06
[components/drivers/hwtimer]修复定时器向下计数模式时时间获取错误bug
2018-12-25 09:59:16 +08:00
thomasonegd
71c3c35c3c
fix socket nullptr bug
2018-12-24 08:31:54 +08:00
gbcwbz
48848c2917
[libc][armlibc] Fix getchar error after exit vi
...
- _sys_istty() add stdio as tty
- without this, after exit vi program getchar will return -1, I don't know why it works
2018-12-23 19:15:20 +08:00
gbcwbz
0924d277f6
[dfs] Fix stdio fd error when POSIX api is used
...
POSIX api e.g. poll read write
2018-12-23 19:14:14 +08:00
Bernard Xiong
9b9dc591f5
[lwp] Correct the change log.
2018-12-19 20:10:33 +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
zhaohengbo
afcd8b4521
fix some bug when stack grows upward
2018-12-15 11:20:24 +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
dcf7bce2cc
Merge pull request #2041 from zhaojuntao/utest-dev
...
[components][utilities] 增加 utest(单元测试框架)
2018-12-12 12:55:36 +08:00
Bernard Xiong
a5b22a5b06
Merge pull request #2043 from HubertXie/master
...
Update at_socket.c
2018-12-12 12:55:21 +08:00
HubretXie
3a8c6f32c0
Update at_socket.c
...
修改socket读取遗留数据逻辑
2018-12-12 11:29:14 +08:00
Bernard Xiong
b628ac0e7e
Merge pull request #2052 from jesven/lwp_ok
...
add lwp support
2018-12-10 20:00:25 +08:00
shaojinchun
2b21d2316a
修改许可协议
...
修改cpu目录名及相关修改
2018-12-10 18:23:21 +08:00
shaojinchun
a8953e9211
add lwp support
2018-12-10 16:44:48 +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
Bernard Xiong
d43fcbcd80
Merge pull request #2047 from zhangxiaosen88/master
...
Update adc.c
2018-12-10 09:25:10 +08:00
shaojinchun
56c0df1e58
修正dfs在fd_get时,未检查有效性的问题
2018-12-10 08:33:17 +08:00
KE1VG8CBMISQ6ED\Administrator
895fb5c1a9
Update adc.c
...
check fun is NULL, error
2018-12-08 22:56:34 +08:00
MurphyZhao
bce7f85907
[components/utilities/utest] 移除不那么必要的日志接口 redefine
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-08 15:01:08 +08:00
MurphyZhao
98b10877e7
[components/utilities/utest] 修复 gcc 编译警告
...
[components/utilities/utest] 移除组件的版本号
[components/utilities/utest] 优化 basename 函数的处理
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-08 14:48:54 +08:00
chenchaoqun@rt-thread.com
5098c934d3
[add] DMA choice of serial
2018-12-08 11:37:13 +08:00
HubretXie
7ac5bd992f
Update at_socket.c
2018-12-07 19:05:24 +08:00
MurphyZhao
51b17a15e4
[components/utilities/utest] 完善代码,增加注释
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-06 18:59:13 +08:00
MurphyZhao
8824b2ca77
[components/utilities] [Kconfig] 增加 kconfig RT_USING_UTEST 配置
...
[components/utilities] [utest] 增加 testcase 运行超时时间参数
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-06 17:13:14 +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
MurphyZhao
0759b66eb9
【更新】components/utilities/utest 增加 SConscript depend
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-05 18:07:03 +08:00
MurphyZhao
1ecf6cbc7c
【更新】utest gcc 链接符
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-05 14:53:37 +08:00
HubretXie
81cd4d4f4b
Update ulog.h
...
增加LOG_HEX
2018-12-04 09:10:52 +08:00
HubretXie
fa06299637
Update ulog_def.h
...
增加log_hex
2018-12-04 09:09:58 +08:00
HubretXie
889afa7b04
Update dfs_elm.c
...
fatfs: mkfs时增加FM_SFD参数,减少文件系统对flash空间的占用
2018-12-03 18:09:52 +08:00
MurphyZhao
85d275b399
[components/utilities][add] 增加测试框架 utest 代码
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-30 16:13:17 +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
Bernard Xiong
5bcd30c5a0
Merge pull request #2015 from Lawlieta/at
...
[net][at] Fix at_recvfrom() select event issue
2018-11-30 09:54:25 +08:00
geniusgogo
d168f2ac74
fixed pm tick adjust
2018-11-29 23:40:04 +08:00
chenyong
37a3a03e33
[net][at] Fix at_recvfrom() select event issue
...
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-29 18:55:14 +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
6445328acc
Merge pull request #1999 from jesven/smp_4.0
...
Smp 4.0
2018-11-22 22:44: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
shaojinchun
2a57ba9f96
统一getcwd和chdir的加锁方式
2018-11-22 18:21:45 +08:00
shaojinchun
fc6bc1ad39
Add smp support to RT-Thread 4.0
2018-11-22 18:16:47 +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
Bernard Xiong
46dae3f35f
Merge branch 'master' into dev-4.0.x
2018-11-20 23:13:45 +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
chenyong
beaff7c09d
[net][sal] Add SAL components TLS features support
...
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-15 14:48:20 +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
Bernard Xiong
ea17191127
Merge pull request #1972 from Dahua1992/master
...
修复syslog.c缺少#include <sys/time.h>
2018-11-13 11:59:20 +08:00
Dahua1992
0df270bfc5
add #include <sys/time.h>
...
原因tm = gmtime_r(&now, &tm_tmp);报错
2018-11-13 10:55:05 +08:00
Dahua1992
c71828fb33
add #include <sys/time.h>
...
原因 tm = gmtime_r(&now, &tm_tmp);报错
2018-11-13 10:22:53 +08:00
chenyong
270c39708a
[net][at] Modify AT CLI configuration
2018-11-13 09:51:18 +08:00
Bernard Xiong
00a655ac1c
[Kernel] Add ARCH_CPU_STACK_GROWS_UPWARD option
2018-11-11 15:56:02 +08:00
Bernard Xiong
e108dfe4a5
[libc] Fix the _EXFUN issue in newlib
2018-11-10 16:58:07 +08:00
Bernard Xiong
d8ca5e0185
Merge pull request #1961 from armink/fix_ulog
...
[component][ulog] Fix a input parameter check error.
2018-11-10 12:12:09 +08:00
armink
106e6b77b2
[component][ulog] Fix a input parameter check error.
2018-11-10 09:49:21 +08:00
Bernard Xiong
d04730710a
Merge pull request #1955 from armink/fix_ulog
...
Fix ulog
2018-11-10 06:51:36 +08:00
armink
f28b9d83f7
[component][ulog] Fix a compile error when timestamp is enable.
2018-11-09 17:31:40 +08:00
Bernard Xiong
cb93510dc3
[Components] Remove GDB stub from kernel.
2018-11-09 09:41:19 +08:00
armink
acfe61b501
[component][ulog] Fix some comments.
2018-11-09 09:19:44 +08:00
Bernard Xiong
ad42abb933
[Libc] Disable ENV when disable DFS.
2018-11-09 09:18:05 +08:00
armink
6a165e5cb1
[component][ulog] Update version to 0.1.1 .
2018-11-08 11:27:18 +08:00
armink
c990f0a026
[component][ulog] Add tag filter to hexdump function.
2018-11-08 11:23:03 +08:00
armink
2ff67c932f
[component][ulog] Add show filter settings shell command 'ulog_filter'.
2018-11-08 11:22:02 +08:00
armink
ad602f5b90
[component][ulog] Add filter get API.
2018-11-08 11:20:42 +08:00
armink
2fe79faf3d
[component][ulog] Fix a memory leak problem.
2018-11-08 10:59:25 +08:00
chenchaoqun@rt-thread.com
931cdb1f6f
[finsh/shell] compatible definition for cube package
2018-11-07 14:31:32 +08:00
armink
4e6f13e0da
[component] fix Kconfig warning in at and ulog.
2018-11-06 11:41:44 +08:00
Bernard Xiong
c7d9daefaa
Merge pull request #1868 from jg1uaa/master
...
change hello.mo building process, compile and link separately
2018-11-05 09:14:02 +08:00
flyingcys
39c0ba3df2
fix wlan_dev bug
2018-11-03 16:24:30 +08:00
Bernard Xiong
1946de1104
Merge pull request #1943 from zhaojuntao/ADD-LWIP210
...
Add lwip210
2018-11-02 20:14:09 +08:00
MurphyZhao
2d18b4ad08
[components][net] 移除 SAL 中 LWIP_NETCONN_FULLDUPLEX 的判断
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 18:27:04 +08:00
MurphyZhao
f3abe00d60
[components][net] 更新 LWIP210 注释
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 16:59:37 +08:00
MurphyZhao
c3cc7a29c8
[components][dfs] 移除冗余代码
...
[components][net] 修复 Kconfig
[components][net][sal] 还原对 SAL 框架的修改,在 proto_ops 结构体实例赋值位置修改
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 10:26:37 +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
3dc6334b2a
Merge pull request #1944 from armink/add_ulog
...
[component][ulog] Update ulog hexdump format.
2018-11-02 09:44:04 +08:00
Bernard Xiong
198e108bcd
Merge pull request #1941 from HubertXie/master
...
Update at_socket.c
2018-11-01 19:48:05 +08:00
armink
9ceecb4d95
[component][ulog] Update ulog hexdump format.
2018-11-01 19:39:08 +08:00
HubretXie
61bb8a05d2
Update at_socket.c
...
at socket 接收数据正常时清除错误标识
2018-11-01 18:43:04 +08:00
MurphyZhao
58a6b51236
[components][dfs] AND [components][net][sal] 适配 LWIP210
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:21:41 +08:00
MurphyZhao
f08039ff6f
[components][net] 更新 Kconfig 和 SConscript,支持 LWIP210
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:16:29 +08:00
MurphyZhao
8455ad8797
[components][net][add] 增加 lwip-2.1.0 组件
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:15:07 +08:00
armink
c336099a93
[component][ulog] Reduce thread stack usage when using ulog.
2018-11-01 14:51:50 +08:00
HubretXie
b9d6336526
Update at_socket.c
...
at接收超时 添加 EAGAIN 类型返回
2018-11-01 14:23:30 +08:00
armink
e588dfa633
[component][ulog] Add newline param for ulog_output API.
2018-10-31 10:54:12 +08:00
armink
12a803bcc9
[component] Add ulog logger basic component.
2018-10-30 09:11:42 +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
8c1c6516b3
[Components] Change license to Apache License v2.0
2018-10-29 11:06:58 +08:00
Bernard Xiong
fbac6c8be7
Remove lwIP 1.3.2 and yaffs2 from RT-Thread Platform.
2018-10-29 11:05:33 +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
Bernard Xiong
05b58271b0
Merge pull request #1930 from zhang-peter/master
...
Add RT_VCOM_TX_TIMEOUT and some configure to Kconfig
2018-10-29 10:25:22 +08:00
armink
2d59fe0310
[DeviceDriver] Add power management device driver.
2018-10-29 09:54:52 +08:00
Bernard Xiong
125195c870
Merge pull request #1925 from qgyhd1234/gmtime_r
...
[kernel][kservice] add rt_gmtime_r api
2018-10-27 14:28:40 +08:00
hichard
6d2be00b9c
修复IAR dlib的时间映射,从rtt历史版本找到iar支持64bit时间的起始版本
2018-10-26 20:36:17 +08:00
zylx
920d6ecec7
[Libc] move gmtime_r api to rt-thread\components\libc\compilers\common
2018-10-26 15:21:31 +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
zylx
3bf68f2f42
[Libc][dlib][armlibc] add gmtime_r api
2018-10-26 11:17:41 +08:00
Bernard Xiong
95fde46d18
Merge pull request #1923 from uestczyh222/usb
...
[Components][drivers][usb]修复非对齐访问异常
2018-10-26 07:08:24 +08:00
Bernard Xiong
484afe9d2c
[Kernel] Add 64bit CPU support.
2018-10-26 06:35:42 +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
2ae638e22d
Merge pull request #1909 from slyant/mydev-change
...
修改at_client.c 传入参数timeout单位是ms,此处需要转换为tick
2018-10-19 19:09:32 +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
slyant
a6b51ada1e
修改at_client.c 传入参数timeout单位是ms,此处需要转换为tick
2018-10-18 21:01:30 +08:00
Bernard Xiong
ce2313d2d3
Merge pull request #1906 from enkiller/wlan-dev
...
[components][wlan] 修复某些情况下模式初始化两遍的bug
2018-10-18 15:59:31 +08:00
Bernard Xiong
29b49f46dd
Merge pull request #1905 from enkiller/dev
...
[components][net] dhcpd Support LWIP2.0 and LWIP1.4
2018-10-18 15:58:35 +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
tangyuxin
e05cdc69a0
[components][net] dhcpd Support LWIP2.0 and LWIP1.4
2018-10-18 11:57:15 +08:00
Bernard Xiong
9c255e7d2f
Merge pull request #1899 from hichard/master
...
修复iar dlib时间映射函数的函数声明,适应不同版本的iar
2018-10-18 00:35:22 +08:00