Commit Graph

6274 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 99bdf978d7
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
Yaochenger 49486f98d1
[bsp][core-v-mcu]规范代码格式 添加英文readme_EN (#6718)
Co-authored-by: 1516081466@qq.com <ws051000>
2022-12-10 14:39:26 -05:00
Shell e991be9c51
[smart][risc-v/libcpu] port rv64 cpu code (#6704)
* [risc-v/libcpu] porting Smart & RTOS
* [fix] rv64 plic
* [risc-v/rv64] remove macro in rtdef
2022-12-10 22:16:42 +08:00
liYony 190eda6ab0 [bug] fix tim bug 2022-12-09 23:19:18 -05:00
andrew li 4bbfc5fcb8 add nrf5340 bsp,add uarte and gpio drv for 5340 2022-12-09 07:55:11 -05:00
Rbb666 e6f38ec9dc Corrections psoc6-cy8ckit-062S2-43012 figures 2022-12-09 17:34:38 +08:00
vandoul 2380c32a71
修复bsp/renesas/libraries/drv_spi.c中event定义错误 (#6712)
* fix usage of rt_event for drv_spi.c in renesas's libraries.
2022-12-09 10:14:19 +08:00
Yaochenger 9d8da76543
[bsp] add core-v-mcu bsp (#6705)
* add core-v-mcu bsp

* 规范bsp格式 添加readme

* 修改readme

Co-authored-by: 1516081466@qq.com <ws051000>
2022-12-08 15:01:37 -05:00
vandoul ab9a80c408
add ra4m2 soc support, add sci spi support for ra4m2 (#6707)
* add ra4m2 soc support, add sci spi support for ra4m2

* update ra4m2-eco/README.md

* update ra4m2-eco/README.md

* rename board picture name.

* reduce picture size, update README.md, remove file 'Target 1.bat'

* reduce picture size
2022-12-08 10:04:04 -05:00
zhkag 2e488e0440
[rt-smart]同步 gitee nanosleep 修复 (#6710) 2022-12-08 10:02:40 -05:00
Rbb666 50d5046f13 Corrections mdk_package picture 2022-12-08 16:06:26 +08:00
Rbb666 35c7c38172 add Infineon README 2022-12-07 17:13:40 +08:00
Rbb666 eed673ca6c Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
Man, Jianting (Meco) 4dd0e67056
[tools][musl] add scons --exec-prefix= 用于设置编译工具的前缀 (#6646)
* [tools][musl] add scons --exec-prefix= 用于设置编译工具的前缀

可以通过如下命令在qemu直接调用musl工具链:
scons --exec-path=C:\xxx\arm-linux-musleabi_for_i686-w64-mingw32\bin --exec-prefix=arm-linux-musleabi-

* comment out GenCconfigFile

* 解决部分env变量提前预载之后重载变量的问题
2022-12-06 22:30:28 -05:00
sheltonyu a64750ebed
[bsp/at32] 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers suppor… (#6695)
* 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers support dma

* [bsp/at32] remove #ifndef
2022-12-06 22:13:25 -05:00
liYangYang e3a09b2791
[STM32][SPI]优化APBx时钟配置代码 (#6698)
* [STM32][SPI]优化APBx时钟配置代码
2022-12-06 12:52:37 -05:00
wdfk-prog db3e261bc4 添加判断当前使用定时器是否可配置为主从定时器模式 2022-12-06 00:07:57 -05:00
少年老王 12ec87d64e 修改串口V2的putc顺序
1.顺序修改回V1,保证每次都是当前数据发送完才跳出
2022-12-06 10:37:35 +08:00
liYony 575fe18ea0 some errors 2022-12-06 10:37:15 +08:00
liYony 7a49f8d920 tim_clock_get 2022-12-06 10:37:15 +08:00
liYony e9ddc36488 tim clk config fix 2022-12-06 10:36:59 +08:00
wdfk-prog aaf1abf25f [fix][stm32]修复输出高电平异常的问题 2022-12-05 20:49:28 -05:00
Meco Man dea34be06c [stm32l475-pandora] update readme 2022-12-05 20:44:34 -05:00
yandld 91ba90933c [bsp][lpc55s06] add LPC55S06 support 2022-12-05 18:43:41 -05:00
yandld 4c44047f78 [bsp][lpc55sxx] add LPC55S36 support 2022-12-05 18:43:41 -05:00
liYangYang 4bdca93a8d
[RTduino][STM32]为stm32l431-BearPi开发板对接RTduino软件包 (#6688) 2022-12-04 20:28:15 -05:00
bernard c53d9da22e [lwIP] fix lwip sem/mutex valid issue. 2022-12-03 14:21:06 -05:00
guo ecf2d82159
sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
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
杨熙 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
linshire 1805ca5e2e
[ch32v307]添加了硬件spi驱动 (#6654)
* 添加了硬件spi驱动
2022-11-26 15:00:11 -05: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
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 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
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 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
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