Commit Graph

7661 Commits

Author SHA1 Message Date
Bernard Xiong fd3eb65ecb
Merge pull request #2331 from Guozhanxin/sensor_1
完善 Sensor
2019-02-15 13:40:36 +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
guanwenliang 7b53218720 完善STM32G071的BSP 2019-02-15 10:43:09 +08:00
guozhanxin 3d9c306454 [sensor] change heart rate unit form 'HZ' to 'bpm'. 2019-02-14 19:52:55 +08:00
Bernard Xiong a659f041ac
Merge pull request #2330 from misonyo/dev
[bsp/stm32]change str(Dir('#')) to GetCurrentDir()
2019-02-14 19:43:33 +08:00
Bernard Xiong 65b7f438ff
Merge pull request #2329 from RT-Thread/fix_pthread
[ptherad] Fix pthread_exit issue
2019-02-14 16:34:34 +08:00
misonyo 700ce3ae6e [bsp/stm32]change str(Dir('#')) to GetCurrentDir() 2019-02-14 15:55:51 +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
Bernard Xiong 6fc1db1ac6
Merge pull request #2318 from Vincent-VG/master
添加片上外设驱动选项
2019-02-14 12:14:10 +08:00
Bernard Xiong c621ff5389
Merge pull request #2324 from wangyq2018/es32f0654
[bsp] add bsp es32f0654
2019-02-14 12:13:18 +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
GW eddf2386b2 修改配置选项,添加条件编译 2019-02-13 12:25:56 +08:00
wangyq2018 2288481814 [bsp] add bsp es32f0654 2019-02-13 11:06:34 +08:00
Bernard Xiong db1f0f32b5
Merge pull request #2319 from RT-Thread/fix_warning
[Kernel] Code cleanup for compiling warning.
2019-02-13 09:39:33 +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
GW 124d9d0cf4 添加片上外设驱动选项 2019-02-12 13:32:41 +08:00
Bernard Xiong 821c81e21a
Merge pull request #2314 from RT-Thread/fix_pthread
Fix pthread
2019-02-09 10:58:16 +08:00
Bernard Xiong c003bdf44f [pthreads] Add _pthread_destroy to release pthread resource. 2019-02-07 23:50:49 +08:00
Bernard Xiong 25988d30d9 [Kernel] Add thread detach for system thread 2019-02-07 23:49:46 +08:00
Bernard Xiong 6fea6f7b71
Merge pull request #2304 from yuneizhilin/master
完善stm32_adc_init函数
2019-02-06 16:40: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
Bernard Xiong 226b904363
Merge pull request #2267 from Vincent-VG/master
add /bsp/stm32/stml476-st-nucleo
2019-02-05 16:04:00 +08:00
Bernard Xiong 959d71d145
Merge pull request #2311 from Ingenic-community/master
X1000: mtd_nor_partition.c: 修复编译过程中的警告/Fix compile-time warnings
2019-02-05 15:59:58 +08:00
Bernard Xiong f9dbebfa4a
Merge pull request #2300 from XiaojieFan/stm32f103-hw100k-ibox2
Add support W5500,ESP8266,RS485,I2C,RTC,ADC,IWG.
2019-02-05 15:59:08 +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
Zhou Yanjie ad11448024 X1000: mtd_nor_partition.c: 修复编译过程中的警告/Fix compile-time warnings
在第166行中,“rt_size_t length”应改为“rt_uint32_t length”。
在第200行中,“rt_size_t length”应改为“rt_uint32_t length”。

In line 166, "rt_size_t length" should be changed to "rt_uint32_t length".
In line 200, "rt_size_t length" should be changed to "rt_uint32_t length".

Signed-off-by: Zhou Yanjie <zhou_yan_jie@163.com>
2019-02-05 14:55:11 +08:00
Vincent-VG ef975032d2 修改board.c文件头 2019-02-05 10:16:46 +08:00
Vincent-VG 08f75483de 修改文件头 2019-02-05 09:57:38 +08:00
Bernard Xiong 6d1c75d826
Merge pull request #2309 from Ingenic-community/master
BSP: X1000: drivers: board_key.c: 修复编译过程中的警告/Fix compile-time warnings
2019-02-04 19:41:37 +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
Zhou Yanjie d3f47a6574 X1000: drv_sfc_gd25qxx_mtd.c: 修复编译过程中的警告/Fix compile-time warnings
在第36行中,“rt_size_t size”应改为“rt_uint32_t size”。
在第43行中,“rt_size_t size”应改为“rt_uint32_t size”。

In line 36, "rt_size_t size" should be changed to "rt_uint32_t size".
In line 43, "rt_size_t size" should be changed to "rt_uint32_t size".

Signed-off-by: Zhou Yanjie <zhou_yan_jie@163.com>
2019-02-03 00:39:16 +08:00
Zhou Yanjie c4bdf80cfa X1000: board_key.c: 修复编译过程中的警告/Fix compile-time warnings
在第217行中,“(rt_uint32_t*)&keyId”应改为“(rt_ubase_t*)&keyId”。

In line 217, "(rt_uint32_t*)&keyId" should be changed to "(rt_ubase_t*)&keyId".

Signed-off-by: Zhou Yanjie <zhou_yan_jie@163.com>
2019-02-03 00:38:10 +08:00
yuneizhilin e5726f206a 完善stm32_adc_init函数 2019-02-01 12:56:36 +08:00
Bernard Xiong 903d1d73ca
Merge pull request #2301 from sunshine0824/stm32l432
[bsp][stm32] add rtc and iwdg bsp support
2019-02-01 10:28:25 +08:00
Bernard Xiong 11a3645537
code cleanup 2019-02-01 10:07:56 +08:00
Bernard Xiong 9771d3170b
code cleanup 2019-02-01 10:06:34 +08:00
Bernard Xiong a0636e4f9b
Merge pull request #2283 from jinsheng20/stm32f746-disco
Stm32f746 disco
2019-02-01 09:49:35 +08:00