Commit Graph

14694 Commits

Author SHA1 Message Date
Bernard Xiong c5cb58383c
[BSP] Add vscode setting. (#6992) 2023-02-28 09:17:36 +08:00
杨熙 8015b61fcb
[bsp][lpc55sxx] update spi driver (#6986)
* [bsp][lpc55sxx] update spi driver

1. update spi driver, fix pin driver
2. move DMA_Init to board.c

* [bsp][lpc55sxx] formmat code

* [bsp][lpc55sxx] format lpc55s69_nxp_evk board file
2023-02-27 18:27:42 -05:00
sheltonyu 7542f780e9 replace RT_WEAK macros with rt_weak 2023-02-27 18:27:14 -05:00
sheltonyu d6605e3f8b fixed gcc compiling usb driver errors, update for including file position and adding macros 2023-02-27 18:27:14 -05:00
liYangYang 26fab3e792
[wch][spi] 修改ch32 risc-v spi底层驱动函数返回值类型 (#6979)
* [wch][spi] 修改ch32 risc-v spi底层驱动函数返回值类型

---------

Co-authored-by: Zxy <1308465141@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-02-27 18:26:16 -05:00
褚仕成 dfad527019 [arduino][lpc55s69] : update PWM 2023-02-27 14:20:08 +08:00
Zxy f5798d9917
[pin][5.0.0] 修正pin框架数据类型使用不当 (#6934) 2023-02-26 21:17:51 -05:00
liYangYang 93d572dee6
[spi][5.0.0] 修正SPI设备框架中,对函数返回值类型使用不恰当的情况 (#6937) 2023-02-26 21:09:07 -05:00
Bernard Xiong f295d3df78
[libcpu.aarch64] add rt_backtrace function. (#6982)
* [libcpu.aarch64] add rt_backtrace function.
2023-02-27 10:04:10 +08:00
geniusgogo ab7ab19be5
fixed ctime timer_delete timerid parameter check. (#6977)
* fixed ctime timer_delete timerid parameter check.
2023-02-27 09:59:45 +08:00
vandoul cdd2755bbd
[bsp][lpc55sxx]修复drv_spi和drv_pwm测试得到的问题 (#6983)
修复spi通过env配置选中之后没有使能的问题,修改spi获取时钟源的API,修改cs脚无效的问题;
修复pwm不能修改频率和占空比的问题,修改pwm获取时钟源的API解决PWM频率和占空比不正确的问题。
2023-02-26 20:06:05 -05:00
linshire e63e33a3c6
[ch32][bsp] fix warning: rt_size_t to rt_ssize_t 2023-02-25 13:50:33 -05:00
wangxiaoyao 12f0df9279 [libcpu/aarch64] stop when no page is free 2023-02-25 20:05:59 +08:00
wangxiaoyao fef2607764 [lwp] save virtual addr in shm structure 2023-02-25 20:05:59 +08:00
geniusgogo a53367ac08 fixed O_LARGEFILE not defined ci build error. 2023-02-25 17:07:20 +08:00
geniusgogo 53afeda538 fix inet_ioctlsocket set O_LARGEFILE flag by musl. 2023-02-25 17:07:20 +08:00
geniusgogo d3553e7220 fixed fstat/stat/readlink syscall. 2023-02-25 17:07:20 +08:00
zhkag 4c1c6ef4e4 解决关中断时进行了调度操作 2023-02-25 02:46:01 -05:00
xqyjlj e50a7e3f85
🐞 fix(components/drivers/tty/pty.c): fix ptmx not init (#6970)
* 🐞 fix(components/drivers/tty/tty.c): fix wrong log format

* 🐞 fix(components/drivers/tty/pty.c): fix ptmx not init

*  feat(components/drivers/tty/pty.c): pts default use ECHO, ONLCR

* 🌈 style(components/drivers/tty/tty.c): format
2023-02-25 15:33:28 +08:00
Yifang 7763183074
[rtduino][lpc55s69] 纠正uart引脚错误并使能相关依赖项 (#6976)
* [rtduino][lpc55s69] 纠正uart引脚错误并使能相关依赖项

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-02-25 01:28:03 -05:00
螺丝松掉的人 faddfecbd2
[rtduino][lpc55s69] update (#6972) 2023-02-25 01:26:37 -05:00
Rbb666 022760c569 [Infineon]Fix scb5 can't use bug 2023-02-25 00:35:57 -05:00
sheltonyu a5c62b9a84
[bsp/at32] add support usb driver (#6968)
* add support usb driver

* fixed code format error
2023-02-24 21:47:04 -05:00
jonas 7bf6648853 [serial]增加at32的serial_v2驱动 2023-02-24 14:54:20 +08:00
Shell 382e9bcac7
[rt-smart] handling kernel from accessing unmapped user stack (#6957)
[rt-smart] handling kernel from accessing unmapped user stack
2023-02-24 14:52:16 +08:00
Yifang 08c2a65136
[rtduino][lpc55s69] 修正RTduino框架下的引脚错误 (#6963)
1.修正RTduino框架下的引脚错误
2.Kconfig新增RTduino依赖项
3.README文档完善
4.上传LPC55s69兼容arduino部分引脚图
2023-02-23 13:47:55 -05:00
Rbb666 96a636f0b5 [Renesas]Add tft-lcd lvgl support 2023-02-23 13:29:08 -05:00
jonas 6d4764ad69 serial_v2 rt_device_write/read return data type as rt_ssize_t 2023-02-23 09:50:39 -05:00
guo 52cb2f0b7e
[lwIP] apply AF_UNIX feature (#6954) 2023-02-23 12:08:57 +08:00
liYony b3b8c2362d [spi] rt_spi_configure 增加对cs_pin处理 2023-02-22 21:18:05 -05:00
褚仕成 1533b88390 [arduino][lpc55s69] : 对接RTduino 2023-02-22 19:20:33 -05:00
jonas aaba21c938 [fix]避免字符设备特殊控制指令和通用控制指令冲突 2023-02-21 23:43:37 -05:00
yangfasheng ff5894922a update rtdevice.h add lcd 2023-02-21 13:12:54 -05:00
zhkag feed84b258 fix rt_kprint 64bit error 2023-02-21 15:49:30 +08:00
wangxiaoyao 1c2daeafdc [fix] typo 2023-02-21 08:48:49 +08:00
wangxiaoyao 26891e9117 [fix] pipeline 2023-02-21 08:48:49 +08:00
wangxiaoyao 484a0d602e [fixup] add cache maintenance ops;
fix bugs on cache maintenance when starting user app
2023-02-21 08:48:49 +08:00
wangxiaoyao f84d89b0ca [libc] including musl signal.h with _POSIX_SOURCE 2023-02-21 08:48:49 +08:00
wangxiaoyao 855aef9c9c [mm] distinguish NULL and MAP_FAILED 2023-02-21 08:48:49 +08:00
wangxiaoyao ed58f6676d [src] add assertion for debugging 2023-02-21 08:48:49 +08:00
xieyangrun 29c7278edc driver/fdt] add parse reg array, get address and size by index. 2023-02-21 08:47:25 +08:00
Bernard Xiong 0ea687e0cb [lwP] fix _m_lock in posix mutex 2023-02-21 08:47:00 +08:00
vandoul c377c4bea3
[nxp][lpc55sxx] add status to lpc_i2c_bus in drv_i2c for lpc55sxx. (#6935)
添加一个status,判断I2C执行结果来修复i2c传输始终正确的BUG。
2023-02-19 23:09:27 -05:00
guozhanxin 1b3d287cee [revert] workqueue RT_THREAD_SUSPEND flag 2023-02-17 09:39:33 -05:00
guozhanxin b065486b23 [workqueue] Reduce critical section, improve performance 2023-02-16 20:59:14 -05:00
liYony bc385cd55c [spi]优化挂载函数对cs_pin的处理 2023-02-16 09:47:55 -05:00
Rbb666 73f1ee76b6 [Renesas]Add use lvgl document 2023-02-16 14:00:47 +08:00
zhkag 0f85648cfb
Improve timer accuracy and realize (#6926)
* add cputimer frame

* add cputime sleep

* ctime use cputime

* Processing cputime has no timeout function

* Migration cputime Code

* formatting file

* 整理代码

* add document copyright information

* 改 cputime_timer 为 cputimer

* 简化 _cputimer_list 初始化

* rt_cputimer_create -> rt_cputimer_init

* Remove RT_USING_CPUTIME and code cleanup.

* Remove RT_USING_CPUTIME in cputimer.c
* Set set_next_timeout as static function.

---------

Co-authored-by: Bernard Xiong <bernard.xiong@gmail.com>
2023-02-15 20:46:22 +08:00
Meco Man ad79e29474 format ch32 driver 2023-02-15 09:36:04 +08:00
Meco Man 5f080215a1 [ng32] format ng32f452 bsp 2023-02-15 09:36:04 +08:00