Commit Graph

14324 Commits

Author SHA1 Message Date
linshire aaf5462c6d 更改了函数名 2022-12-02 13:03:59 -05:00
Rbb666 622062aaec first commit ra6m3-ek 2022-12-01 21:22:09 -05:00
supperthomas 5ff358fec6 [bsp][lpc55s69] Fix the ci error for lpc55s69 2022-11-30 21:58:53 -05:00
Meco Man 88e5657082 [tools] 支持通过--project-name=xxx设置生成的工程文件名称
默认为project.xx 与原来保持一致
相关:https://club.rt-thread.org/ask/article/f998b21633f90916.html
2022-11-30 21:33:23 -05:00
zhkag cf221f45d7 修复 riscv64 messagequeue_tc 报错 2022-11-29 21:08:22 -05:00
杨熙 2bbbd4b3fd
[bsp][lpc55sxx] add support of LPC5528/LPC55S28 (#6667)
* [bsp][lpc55sxx] add support of LPC5528/LPC55S28

1. add .ignore_format
2. add support of LPC55S28
3. fix LPC55S69 keil comiple error
3. refine README

* [bsp][lpc55sxx]

1. remove cmake file
2. formating code using rt-thread formating tools
3. CMSIS folder -> ../

* [bsp][lpc55s69]

 - add IAR support(IAR version: 9.30.1)
2022-11-29 19:56:50 -05:00
supperthomas 2f0f426375 [bsp/nrf5x] Fix the Kconfig of nrf52832
Signed-off-by: supperthomas <78900636@qq.com>
2022-11-27 21:23:42 -05:00
yandld 6c5f9ffb0a [bsp][lpc55sxx] update NXP SDK to 2_12_0
update NXP SDK to 2_12_0
2022-11-27 21:01:12 -05:00
Bernard Xiong 83d3b3ed62
Merge pull request #6650 from mxgsgtc/faster-startup-for-cortex-a
[bsp] faster startup for cortex-a
2022-11-27 22:00:11 +08:00
linshire 1805ca5e2e
[ch32v307]添加了硬件spi驱动 (#6654)
* 添加了硬件spi驱动
2022-11-26 15:00:11 -05:00
xiaoguang_ma 16f6157b1e [bsp] faster startup for cortex-a
If the application defines dozens of global variables,
the speed of clearing the bss segment will be slower.

Because icache can be enabled before the mmu enabled.
Therefore, in order to speed up the process of clearing the BSS segment,
enable icache needs to be put ahead.
2022-11-25 18:04:35 +09:00
ccx-lan 82cf0cb1de
[GD32] fix bug on spi driver (#6636)
* fix bug on spi driver

* [gd32] fix bugs on spi driver
2022-11-24 00:14:55 -05:00
wdfk-prog cef57d006d
[armlibc] 修复AC6更新至6.19后_sys_tmpnam()函数编译报错 (#6647)
* [armlibc] 修复AC6更新至6.19后_sys_tmpnam()函数编译报错

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-11-24 00:12:48 -05:00
Meco Man 3e2beebe43 [libc][musl]解决signal.h报错的问题 2022-11-22 22:18:26 -05:00
Man, Jianting (Meco) bdd663a33f
[libc][musl] support arm-linux-musleabi toolchain
目前基本功能已经可以在QEMU上跑起来,但是pthread和内核signal选中会报冲突。先合并一版本,后续解决这些问题。
2022-11-22 21:40:50 -05:00
Meco Man fc83546cf5 [ch32] fix a typo 2022-11-22 13:48:14 +08:00
ShaquilleLiu 2878566c92
增加野火 启明6M5板级支持包 (#6616)
* 增加 野火 启明6M5 板级支持包

* 修复串口引脚描述错误

* 上一版提交,UART端口改了,但是uart编号漏改

Co-authored-by: Liuxiequan <liuxiequan@cvte.com>
2022-11-21 22:08:02 -05:00
wdfk-prog 569e2ae1e8
[CAN]update struct can_filter_item and rt_can_msg (#6556)
* 修改ry命令,已便于自定义保存路径

* modified:   components/utilities/ymodem/ry_sy.c

* 修复从被动错误恢复后发送返回异常

* 修复在自动重传模式下,ACK异常阻塞线程
- 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断
- 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。

* 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数

* formatting格式化代码

* update struct can_filter_item and rt_can_msg
1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index,
以便准确区分.采用宏定义兼容以前变量名.
2. 添加接收标识rxfifo,已指明是哪个RXFIFO.

* 更正42M下的波特率

* 修复接收获取索引号错误

* 添加接收标识

* 更新注释

* 取消CANFD限制

* update struct can_filter_item and rt_can_msg
2022-11-21 21:45:51 -05:00
Meco Man 84eab69604 [msh] remove list_xxx commands, use 'list' to replace 2022-11-21 21:39:45 -05:00
Man, Jianting (Meco) 10451fb95b Revert "[kernel] 修正复制name字段时潜在的内存踩踏问题"
This reverts commit 2d17fe736f.
2022-11-21 21:32:13 -05:00
Meco Man 6808f48bdc [stm32] 解决Error_Handler()函数在*_msp.c文件下报错的问题
在用户头文件区增加#include <drv_common.h>即可
2022-11-21 21:31:33 -05:00
Meco Man dc5f280a9a [stm32l475-pandora] select AHT10_USING_SENSOR_DEVICE 2022-11-21 21:31:16 -05:00
Meco Man 66411e0828 [sensor] improve cmd
using floating print format by default
2022-11-21 21:31:16 -05:00
supperthomas d3de944d49 [doc] Add the Nordic chip and link
Signed-off-by: supperthomas <78900636@qq.com>
2022-11-21 18:56:33 -05:00
lpy 8e8fcd8d25
[stm32f410][RTduino] 修改pins_arduino.c和Kconfig (#6629) 2022-11-20 21:48:39 -05:00
Harrypotter-zhs aa15f7cd56 修改ch32v307软件spi的宏 2022-11-20 13:16:21 -05:00
螺丝松掉的人 d98a4ec1b5
[arduino][f411-blackpill] 已配置cubeMX,并生成pinout文件 (#6614)
* [arduino][f411-blackpill] 已配置cubeMX,并生成pinout文件

Signed-off-by: 褚仕成 <1468559561@qq.com>

* [arduino][f411-blackpill] 完善cubeMX配置

* 编辑 Kconfig 文件

* 完善Kconfig文件中PWM的配置

* 将rtduino的配置移至Onboard Peripheral Drivers

* 使能SPI

* Update Sconscript

Signed-off-by: 褚仕成 <1468559561@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-11-18 20:58:32 -05:00
Meco Man 953a8c265d add rt_sensor_float_t 2022-11-19 00:54:22 +08:00
Meco Man df397eb767 [sensor] 传感器数据类型使用float代替rt_uint32_t类型 2022-11-19 00:54:22 +08:00
Meco Man cf66a5bc63 use rt_memcpy/rt_memset to replace memcpy/memset 2022-11-17 12:08:13 -05:00
Meco Man b9a9225c84 format imxrt drver files 2022-11-17 12:08:13 -05:00
xjy 60b741520f 修复rtc驱动,实现掉电能保存时钟数据(硬件外接电池) 2022-11-17 12:08:13 -05:00
xiao xie 5338b1d5f2
[imxrt1176]Fix usb (#6589)
修复USB驱动,实现imxrt1176平台usb host,支持usb3.0读写
2022-11-14 23:51:35 -05:00
guozhanxin 15eeb25ba0 【修复】工作目录下,当某一目录下的源文件都不需要添加到工程时,此目录不会被屏蔽的问题。 2022-11-14 23:48:10 -05:00
myshow2258 87be8fdba8 Modified bsp/stm32/libraries/HAL_Drivers/drv_usbd.c
Modified   components/drivers/usb/usbdevice/class/cdc_vcom.c
修复cdc在v1v2的serial框架下接收发送错误的问题.stm32下usbd添加更多的ep_id,以支持复合设备.
2022-11-14 23:47:49 -05:00
Meco Man d1c353f6b6 [kernel] 优化Sconscript脚本 2022-11-14 22:20:23 -05:00
Meco Man 6b9bdc12a9 [sensor] use arg to replace user_data 2022-11-14 22:19:47 -05:00
Yunjie Gu 9e152c117e c28x scons 2022-11-14 22:19:27 -05:00
Yohozzy b64f21e628 Update netdev.c 2022-11-14 22:18:41 -05:00
Meco Man 2d17fe736f [kernel] 修正复制name字段时潜在的内存踩踏问题 2022-11-14 19:20:06 -05:00
lpy a6151716b2
添加STM32F410 NUCLEO RTDUINO (#6613)
* 添加STM32F410 NUCLEO RTDUINO

* 修改stm32f410 nuleco RTDUINO

* 修改stm32f410 nuleco RTDUINO

* Update Sconscript

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-11-13 23:16:52 -05:00
HEYAHONG 7e299cd662 修复SPI驱动不能使用RT_SPI_MODE_0与RT_SPI_MODE_2的错误。CLKPHA在设置工作模式时已设置,后面出现重复设置。 2022-11-12 22:18:48 -05:00
Meco Man e89b0e7d8a [stm32 f411] rename stm32f411-weact-blackpill 2022-11-12 02:16:42 -05:00
zhugengyu 1537544f6a
[bsp/phytium] add phytium bsp to support e2000 bootup with smp (#6566)
add phytium board (E2000) bsp
support usart
support SMP with demo
2022-11-10 09:22:48 -05:00
a1012112796 5370d4da50 replace `rt_enter_critical` with `dfs_lock` for list_fd
I found that if use mutex in `rt_kprintf`,
the `rt_enter_critical` will create a assert
error later. after chehcking,I found all
operation with fd_table has using
`dfs_lock/unlock` to protect. so I think
using `dfs_lock` is enough. thanks.

Signed-off-by: a1012112796 <1012112796@qq.com>
2022-11-09 22:41:15 -05:00
Meco Man f57eb4feb5 [sensor] 修改fetch_data方法的参数数据类型为rt_sensor_data_t 2022-11-09 17:23:27 +08:00
Meco Man f550fc58a9 [sensor]修改传感器设备名称前缀 2022-11-09 17:23:27 +08:00
Meco Man 39b25f660a [sensor] use rt_ssize_t as the return value data type 2022-11-09 17:23:27 +08:00
Meco Man 255020bca8 [sensor] 统一数据结构名称和函数命名 2022-11-08 12:17:50 -05:00
xjy fe0a57c322 修复flexspi配置语法错误 2022-11-08 00:50:16 -05:00