David Lin
a76fde6ca4
[bsp] mini optimized the drv_xpt2046.c
...
error device name xpt2049 in pi4 , so changed xpt2049 -> xpt2046.
2021-02-08 12:34:25 +08:00
David Lin
79267212ef
[bsp]Mini optimized the drv_sound.c
...
1. "tx_fifo = rt_calloc(1, TX_FIFO_SIZE); " , so deleted the line "rt_memset(tx_fifo, 0, TX_FIFO_SIZE);"
2. " rx_fifo = rt_calloc(1, TX_FIFO_SIZE); " , so deleted the line "rt_memset(rx_fifo, 0, TX_FIFO_SIZE);"
2021-02-08 11:57:50 +08:00
Wayne Lin
47a23a93f5
[spi/SConscript] armclang doesn't support --c99 option.
2021-02-08 11:52:38 +08:00
Wayne Lin
1679a9c618
Remove IAR warnings.
2021-02-08 11:51:52 +08:00
Meco Man
39ff4b5a97
修改时区计算公式的错误
2021-02-08 11:37:24 +08:00
Meco Man
2645aec2e3
删除没有用的预编译,在新版的IAR中此已经不需要了
...
对time函数增加RT_WEAK
2021-02-08 11:30:49 +08:00
Meco Man
3e9c77efd5
优化IAR
2021-02-08 10:55:08 +08:00
Meco Man
9b428e519f
avoid warning
2021-02-08 10:42:50 +08:00
Meco Man
d0c2631b12
revert time()
2021-02-08 10:33:12 +08:00
David Lin
82586c5e02
mini optimize the i2c.c
2021-02-08 10:12:57 +08:00
Bernard Xiong
21ebf93e20
Merge pull request #4270 from greedyhao/stm32-pwm-fix
...
[bsp][stm32] fix PWMN_CMD_DISABLE config
2021-02-08 09:53:01 +08:00
Bernard Xiong
9345ebfa12
Merge pull request #4310 from mysterywolf/pin
...
[bug][pin] 修复错误码没有为负的错误
2021-02-08 09:09:05 +08:00
Meco Man
6c7dd30532
add function settimeofday & stime
2021-02-08 00:56:31 +08:00
Meco Man
4c6962436a
update
2021-02-07 22:33:37 +08:00
Meco Man
d92f8a53da
update
2021-02-07 22:25:30 +08:00
Meco Man
0d30632de6
fix #3976
2021-02-07 22:09:22 +08:00
Meco Man
86ebf17a23
localtim改为gmtime
2021-02-07 21:49:25 +08:00
Meco Man
64bd41d654
update
2021-02-07 21:17:27 +08:00
Meco Man
f073911cd3
解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数
2021-02-07 21:08:41 +08:00
Bernard Xiong
4c240b6c1b
Merge pull request #4313 from balanceTWK/TASKING
...
[toolchain] Added support for the TASKING toolchain.
2021-02-07 13:56:03 +08:00
tangweikang
b1cdc3a2cb
[toolchain] Added support for the TASKING toolchain.
2021-02-07 12:06:02 +08:00
tangyuxin
83692a54c4
【workqueue】添加函数声明
...
rt_err_t rt_workqueue_cancel_all_work(struct rt_workqueue *queue);
2021-02-07 11:14:59 +08:00
tangyuxin
a96156faf1
[workqueue] 提交正在执行的工作,返回 BUSY
2021-02-07 10:30:25 +08:00
tangyuxin
83dca09e1c
[workqueue] 修复提交工作后立即取消,获取无效工作任务的问题
...
当高优先级任务提交工作后,立即取消。此时队列被唤醒,下面紧接着获取链表中第一个任务。但此时已经是空链表了。
每次线程被唤醒。检查当前任务链表是否未空
2021-02-06 21:54:25 +08:00
tangyuxin
7eabe5c9e9
[workqueue] 取消正在执行的工作返回BUSY
2021-02-06 20:39:52 +08:00
tangyuxin
3ef3fb50af
[workqueue] 队列销毁时取消所有工作并释放内核对象
2021-02-06 20:15:50 +08:00
tangyuxin
d6b44ca52e
[workqueue] 支持取消延时工作任务
2021-02-06 20:08:31 +08:00
supperthomas
0fe8fccfbd
first version
2021-02-06 07:36:26 +08:00
Meco Man
23304a77d9
[bug][pin] 修复错误码没有为负的错误
2021-02-06 02:27:18 +08:00
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
Meco Man
852d7d7552
Merge pull request #15 from RT-Thread/master
...
pr
2021-02-05 20:44:25 +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
Wayne Lin
4fcb87a8aa
Support M2354 platform.
...
1. Add NuMaker-M2354 BSP.
2. Fix SLCD library and modify its demo.
2021-02-05 18:52:13 +08:00
Bernard Xiong
e98b026615
Merge pull request #4307 from mysterywolf/rmbspci
...
[action.yml] 移除gkipc BSP 防止该BSP无人维护导致CI报错
2021-02-05 18:34:54 +08:00
Bernard Xiong
25bcd72e1b
Merge pull request #4308 from whj4674672/sdio
...
[sdio] free memory and enhance performance
2021-02-05 18:23:17 +08:00
wanghaijing
f62d8938dc
[sdio] free memory and enhance performance
2021-02-05 15:49:30 +08:00
Meco Man
90370f7a4e
移除gkipc BSP 防止该BSP无人维护导致CI报错
2021-02-05 13:58:54 +08:00
iysheng
e2d6f6aadd
[bsp][gd32103c-eval] Modify adc driver with LOG_x function and deselect adc and hwtimer driver
2021-02-05 13:53:52 +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
iysheng
2b50fbafe2
[bsp][gd32103c-eval] Add hwtimer driver
2021-02-05 11:45:05 +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
Bernard Xiong
d514fea54a
Merge pull request #4259 from mysterywolf/gitignore
...
[kernel][kservice] add RT_WEAK for several functions
2021-02-04 14:23:15 +08:00
Bernard Xiong
6b980039b1
Merge pull request #4301 from thread-liu/master
...
[update] elf2uf2.exe
2021-02-04 14:21:37 +08:00
Bernard Xiong
fb6ba097a5
Merge pull request #4304 from greedyhao/bluetrum
...
[bsp][bluetrum] add adc and rtc support
2021-02-04 14:21:16 +08:00
greedyhao
4b9e58cb1b
[bsp][bluetrum] add adc and rtc support
2021-02-04 13:51:55 +08:00
thread-liu
a5c91a07ef
[update] elf2uf2.exe
2021-02-04 11:13:30 +08:00
Bernard Xiong
e210bc7cb6
Merge pull request #4273 from greedyhao/bluetrum
...
[bsp][bluetrum] add pwm support
2021-02-03 10:53:16 +08:00
Bernard Xiong
58c3b2f523
Merge pull request #4289 from mysterywolf/stm32bsp
...
[stm32][bsp]更新BSP readme列表
2021-02-02 21:33:36 +08:00