Commit Graph

15877 Commits

Author SHA1 Message Date
Yuqiang Wang d08ae0bfd1
[driver][soft-spi] spi device driver framework adds pin init function function
为什么提交这份PR (why to submit this PR)
ps:在设备初始化阶段不应该存在对硬件的操作

你的解决方案是什么 (what is your solution)
ps:添加一个pin_init函数,在spi设备使用时调用该函数来完成硬件引脚的状态初始化,而不是在设备初始化阶段对硬件进行操作,已经在瑞萨HMI上通过验证
2024-04-09 18:33:29 -04:00
Troy 5bb902895c
[libc] add some posix function comments 2024-04-09 18:11:34 -04:00
flyingcys 62cd7ad961 support cvitek bsp spinor flash 2024-04-09 18:09:54 -04:00
zms123456 cbf316a5f7
[components][drivers]fix compile warning in 64 bits arch cpu (#8739)
fix compile warning in 64 bits arch
2024-04-09 21:38:10 +08:00
Shell 4b0f42c24a
[drivers/serial] Introduce hooker for TTY (#8733)
In this patch, a hook list has been introduced to address the concerns
regarding coupling issues arising from modifications to the serial code
for integrating TTY logic.

Signed-off-by: Shell <smokewood@qq.com>
2024-04-09 21:36:16 +08:00
Meco Man 38204386b3
[ci] add vi package checking (#8737)
* [ci] add vi package checking

* [ci] add MultiButton software package checking
2024-04-09 21:36:04 +08:00
Meco Man 9352624c4e [hmi-board][rtduino] remove switchToPWM 2024-04-08 21:14:24 +08:00
flyingcys b1a6508929
[bsp/cvitek]update cv18xx series README.md
update cv18xx series README.md
2024-04-07 12:35:53 -04:00
zms123456 4ffcbfef2a
[components][drivers]add ofw support i2c 2024-04-07 09:57:38 -04:00
flyingcys 9c938e51a6
[bsp/cvitek]add gitignore file
提交 cvitek 下大核 被gitignore 编译依赖文件
2024-04-07 09:56:42 -04:00
Meco Man 545155616d [iar] fix legacy macros will be added if cannot get the IAR version 2024-04-06 23:37:32 -04:00
Siwei Xu dd55489839 [bsp][nxp] Add SPI1 config for FRDM-MCXN947 board 2024-04-06 13:18:06 -04:00
bernard 8d1d75fc40 [tools] Add install env script 2024-04-05 00:54:01 -04:00
xhackerustc e0e9eb8b15
[nxp/mcxn] add SPI6 support (#8704)
* [bsp][nxp] add missing drv_spi.h

Otherwise when building spi users such as u8g2, gcc will complain can't
find the drv_spi.h.

* [bsp][nxp] enable spi6

* [bsp][nxp] add spi sample code which uses spi6 to loopback

Connect spi6's MISO <--> MSIO, I.E P3_20 and P3_22 with Dupont Line
The sample usage and output would be:

msh >spi_sample
spi rbuf : 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f

spi loopback mode test over!
2024-04-04 20:08:39 -04:00
Zhang 447a10c964 [bsp][nxp] mcxn947基础上去除多余修改: 2024-04-03 17:57:46 -04:00
Zhang 42e01a80a0 [bsp][nxp]基于MCXN947的spi_driver添加spi7读写W25Q64_Flash: 2024-04-03 11:12:19 +08:00
posfilu c911ed4875 [kernel]SIGNAL节点分配失败应该返回错误 2024-04-02 20:32:39 -04:00
flyingcys 1b857df4e0
support cv181x-riscv for RT-SMART (#8724) 2024-04-03 07:37:45 +08:00
zhao maosheng 687eb87a2b fix: code format of serial.c and compile error in aarch64 context_gcc 2024-04-02 08:07:21 -04:00
Dyyt587 34fb8d2f10
[bsp][stm32] fix hardware i2c driver bug 2024-04-01 23:21:09 -04:00
Troy 3a4db99104
[libc][posix/io] add comments 2024-04-01 23:18:15 -04:00
zealsoftstudio 79e2946467
[nxp/mcxn] support Ethernet 2024-04-01 18:44:26 -04:00
Jingbao Qiu c24280f6ef [bsp][CV1800B] add SPI driver for CV1800B
Signed-off-by: Jingbao Qiu <qiujingbao.dlmu@gmail.com>
2024-04-01 17:41:09 -04:00
zms123456 d856f77a55
[components][drivers] fix posix tty, and add more baudrate (#8683)
* serial-tty fix

* v2
2024-04-01 21:23:04 +08:00
白熊 1ea7ddfa9a
[bsp][ch32v307v]添加了硬件iic驱动 2024-04-01 00:40:55 -04:00
Meco Man 1bf8a460e7 [finsh] remove finsh_syscall_lookup() function declaration 2024-03-31 20:31:35 -04:00
Yuqiang Wang 4ceffbf06a
[bsp][renesas] rtduino supports the soft spi switch to pwm function
1.修改drv_gpio.c:R_IOPORT_Open()函数只需执行一次,修改位置为init时执行
2.默认HMI-Board使能rtduino后支持soft spi,通过switch_pwm可切换为pwm功能
2024-03-31 20:31:27 -04:00
wdfk-prog 5cfa9c6390 [bsp][stm32][spi] 优化H7 DMA数据非字节对齐的处理流程 2024-03-31 20:30:56 -04:00
Meco Man 8691ed3767 [pico][ci] add RTduino libraries check 2024-03-31 20:30:10 -04:00
Shicheng Chu e7311d170a
[bsp][rtduino] pico rtduino support spi 2024-03-31 13:59:48 -04:00
Meco Man a4204c61bd [devcie][pwm] fix warnings 2024-03-31 07:38:00 +08:00
Shell 864055bf18
[fixup] aarch64 UMP compiler error (#8677)
Signed-off-by: Shell <smokewood@qq.com>
2024-03-30 17:58:38 +08:00
Meco Man 6d1bc9b2f8 [msh] add comment for secondary-commands
新增加的二级命令使用方式没有清晰的描述
- 功能实现PR:https://github.com/RT-Thread/rt-thread/pull/8086
- 补充优化PR:https://github.com/RT-Thread/rt-thread/pull/8251
- 使用二级命令的例子:https://github.com/RT-Thread/rt-thread/pull/8398
- 相关issue:https://github.com/RT-Thread/rt-thread/issues/8691
2024-03-30 02:48:54 -04:00
Meco Man efb7f2c1cf [gcc] add footprint information when compiling 2024-03-30 02:07:34 -04:00
liYangYang 9a1996ef59
[bsp][art-pi-smart] 关闭内存对齐检查来避免数据访问异常 2024-03-29 21:43:57 -04:00
Meco Man d2c12e2da8 [RTduino] change the pinout group name 2024-03-29 21:49:13 +08:00
geniusgogo 99245a1a8f fix pin ofw variable init. 2024-03-29 21:48:31 +08:00
Troy 7e492fc37c Add comments for all functions in components/libc/posix/io/eventfd/eventfd.c 2024-03-28 21:28:46 -04:00
Shell 83e95bdff4
sync smart & dfs (#8672)
Signed-off-by: xqyjlj <xqyjlj@126.com>
Signed-off-by: Shell <smokewood@qq.com>
Co-authored-by: xqyjlj <xqyjlj@126.com>
2024-03-28 23:42:56 +08:00
flyingcys 40e26f4909
support cv181x c906_little (#8680) 2024-03-28 23:35:54 +08:00
Shell 751c2ada43
[libcpu/aarch64] improve performance of IRQ dis/en-able (#8687)
Signed-off-by: Shell <smokewood@qq.com>
2024-03-28 23:32:05 +08:00
Troy 56fd6984ac Fix the issue of incorrect return of invalid parameters in aio_write 2024-03-27 22:58:54 -04:00
Yuqiang Wang 221e469049 [bsp][renesas] fix FSP could not be recognized after being imported into studio 2024-03-27 18:44:44 -04:00
Yuqiang Wang 9ba6782cde [bsp][renesas] Fixed some problems after importing HMI-Board into studio 2024-03-27 18:44:44 -04:00
Meco Man e0f2313c53 [msh] solve data access bugs and fix shell.c strcat()
When using musl libc's strcat, strcat itself will cause system crash.
2024-03-27 18:40:56 -04:00
liYony 61c1041d47 [rt-smart][art-pi] update imx6ull-smart bsp 2024-03-27 18:40:56 -04:00
Yuqiang Wang f0f9c965b2
[bsp][ch32] Fixed the issue that importing ch32v307 project into studio would not compile (#8678) 2024-03-26 17:43:12 -04:00
Troy 51d4a9c804 Fix epoll.c file format error 2024-03-26 17:42:01 -04:00
Troy 9fc7c7569b Fix incorrect naming of triggered 2024-03-26 17:42:01 -04:00
Troy 46d6036c28 modified: components/libc/posix/io/aio/aio.c Added some function comments
modified:   components/libc/posix/io/aio/aio.h		Align comments within the aiocb structure
modified:   components/libc/posix/io/epoll/epoll.c	Add comments for all functions and members within structure members
2024-03-26 17:42:01 -04:00