Commit Graph

1157 Commits

Author SHA1 Message Date
kylepengchn 851d16b18f
Soft spi (#5712)
* add soft-spi
* add spi-bit-ops.c/h to components/drivers/spi
* add a drv_soft_spi example for gd32303e-eval
* use formatting.py scripts for scanning

Signed-off-by: kyle <kylepengchn@163.com>
2022-03-25 23:06:43 +08:00
Man, Jianting (Meco) ba6f78bd8e
format code (#5699) 2022-03-24 08:30:41 +08:00
Man, Jianting (Meco) 2a1272ecfb
消除c99 (#5696) 2022-03-23 14:28:24 +08:00
kylepengchn 5810f4de7d
[components][drivers][spi]: 基于SPI总线驱动框架添加模拟SPI总线扩展 (#5656)
* add soft-spi

* add spi-bit-ops.c/h to components/drivers/spi
* add a drv_soft_spi example for gd32303e-eval

Signed-off-by: kyle <kylepengchn@163.com>

* Fixed the format and the certificate.

Signed-off-by: kyle <kylepengchn@163.com>

* Update the certificate data.

Signed-off-by: kyle <kylepengchn@163.com>
2022-03-23 14:16:14 +08:00
打盹的消防车 0c82e033dc
Open RT_USING_POSIX_STDIO caused serial_v2 to compile failed (#5684)
* fix:Open RT_USING_POSIX_STDIO caused serial_v2 to compile failed
2022-03-20 10:29:16 +08:00
xiangxistu ffae7a2612
[fix] add the header file to avoid compiler error. (#5643) 2022-03-08 11:35:11 +08:00
Man, Jianting (Meco) 91ea28a625
[pipe.h] 移除多余的头文件,防止形成头文件递归包含 (#5621) 2022-03-02 18:45:19 +08:00
woody 6d0caf7bfc
修改dac.c函数名称错误 (#5591) 2022-02-10 18:18:52 +08:00
guo 580194f5f0
Merge pull request #4740 from Guozhanxin/scheduler_check 2022-01-28 16:38:32 +08:00
geniusgogo 039e2ff530 fixed wlan driver dhcp multitask safety 2022-01-28 11:35:10 +08:00
Henson 500d26c257 optimize code 2022-01-26 21:39:06 +08:00
guozhanxin 9b44535740 add RT_DEBUG_SCHEDULER_AVAILABLE check 2022-01-26 16:03:31 +08:00
guozhanxin 2f6f9da5e3 fix usbhost issue by #4378 2022-01-26 11:39:39 +08:00
guo 9b44734643
Merge pull request #4378 from LeeChunHei/usbh_construct
添加多過一個usb host的可能性
2022-01-26 10:39:46 +08:00
thewon86 4db9cfbebe return thread error when resumed by signal 2022-01-25 13:58:33 +08:00
Meco Man e10173daff [device] rename src folder as ipc 2022-01-22 16:43:51 +08:00
Bernard Xiong b5de986122
Merge pull request #5542 from mysterywolf/keil
[sconscript.platform] 优化针对编译器判断
2022-01-20 21:01:00 +08:00
Meco Man 8bf5a28528 [workqueue] 增加rt_work_urgent 2022-01-20 20:58:46 +08:00
Meco Man 36cbc1fd2f [workqueue] time参数改为ticks,防止误解单位为ms 2022-01-20 20:58:46 +08:00
Meco Man 3a789b3317 [workqueue] improve comment 2022-01-20 20:58:46 +08:00
Meco Man 1874bd25aa [timer] improve parameter checking 2022-01-20 20:58:46 +08:00
guo 7c403d3587
Merge branch 'master' into keil 2022-01-20 14:20:43 +08:00
Meco Man 884218588a [sconscript.platform] 优化针对编译器判断的脚本
- 删除啰嗦的代码
related: https://github.com/RT-Thread/rt-thread/issues/3046
2022-01-19 23:24:47 -05:00
liukangcc 27511885f3 [update] change ccflags to cflags 2022-01-20 11:50:30 +08:00
Meco Man 8213bbd92e update 2022-01-14 23:09:32 +08:00
liukangcc 3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
Meco Man f89a162ea3 [core] 使用rt_memcpy rt_memset代替memcpy memset 2022-01-09 00:23:18 +08:00
Meco Man 918ee6147c add RT_USING_POSIX_STDIO 2022-01-05 23:11:58 +08:00
nongxiaoming cec72c92c7 [components][sdio] fix compile warning and optimized code. 2021-12-31 17:05:42 +08:00
nongxiaoming 57165329ac [components][usb] fix compile warning in cdc_vcom.c 2021-12-30 01:38:16 +08:00
Meco Man c8dcf7cc68 [libc]rename group name 2021-12-30 01:27:25 +08:00
guo dcce9886e9
Update sensor.c 2021-12-24 10:10:59 +08:00
guo 51569a068a
Merge pull request #5418 from mysterywolf/revert-5412-clang-arm
Revert "add clang-arm support."
2021-12-24 09:17:41 +08:00
Wayne Lin 9dc4ca0d31 Remove unused comment. 2021-12-24 05:36:12 +08:00
Wayne Lin 28f91a86f5 Correct sem's name of sd block device. 2021-12-24 05:36:12 +08:00
Wayne Lin f508d58c05 Strip tailing space. 2021-12-24 05:36:12 +08:00
Wayne Lin bac75e24bd [SDIO] Create SD block device.
1. New naming rule for multiple cards: sdXpY. Ex: sd0, sd0p0, sd0p1, sd1, sd1p0, sd1p1, .... sdXpY.
2. Always create super-node for backward-compatible and fdisk-like utility. EX: sd0, sd1, ..... sdX.
3. Shrink code.
2021-12-24 05:36:12 +08:00
Wayne Lin 600e67f952 Revert to RT_IPC_FLAG_PRIO. 2021-12-24 05:36:12 +08:00
Wayne Lin 7e6ffd3447 Support multi-partition/-card mounting. 2021-12-24 05:36:12 +08:00
Wayne Lin c84952d9cd Fix infinite-loop in rt_mmcsd_blk_remove.
1. Issue on traveling latest node in list if multi-partitions on card.
2021-12-24 05:36:12 +08:00
Man, Jianting (Meco) ed1f8b3f64 Revert "add clang-arm support."
This reverts commit a5f6fdc780.
2021-12-22 18:57:16 -05:00
guozhanxin a5f6fdc780 add clang-arm support. 2021-12-22 13:03:05 +08:00
guo fb7b9f4fb4
Merge pull request #5318 from enkiller/1201
[components][src] Optimize interrupt disable time
2021-12-21 17:40:59 +08:00
chenyingchun0312 417efc370f [drivers/i2c] optimize i2c driver framework 2021-12-17 10:25:08 +08:00
guo 6373523c31
Merge pull request #5343 from ousugo/addAnnotation
Add pipe.c function annotation
2021-12-15 12:00:42 +08:00
ousugo 9261bab77b Fix format 2021-12-14 21:17:00 +08:00
ousugo c9cbc6fb0c Fix annotation grammatical mistake 2021-12-14 21:17:00 +08:00
ousugo db32aba3d4 fix format 2021-12-14 21:17:00 +08:00
ousugo f62bd0373a add waitqueue.c function annotation 2021-12-14 21:17:00 +08:00
ousugo 3e9757888f Fix format and mistake 2021-12-14 14:13:02 +08:00