Commit Graph

6117 Commits

Author SHA1 Message Date
liYangYang 19106eb3a1
[RTduino]更新blue-pill引脚分布 (#6400)
* [RTduino]更新引脚分布

* update

* update readme
2022-09-08 23:07:55 -04:00
Meco Man f35791e36b [rtduino] [stm32f072] update i2c device readme 2022-09-09 10:47:22 +08:00
hg0720 cd2a381a13 修改了ch32 的 readme 文件 2022-09-08 21:38:21 -04:00
小李憨憨 dd92a4979f Modify error annotations 2022-09-08 13:45:03 -04:00
liyangyang 29c6f6ed73 Remove duplicate initialization code 2022-09-08 07:19:45 -04:00
Yifang 464f827254
[annotation] renesas默认使用串口V2标准 (#6391) 2022-09-07 21:05:17 -04:00
Meco Man ce16945cba [kernel][version] 采用新的版本宏定义
版本控制规范:https://semver.org/

目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突
```c
/* RT-Thread version information */
#define RT_VERSION                      4L              /**< major version number */
#define RT_SUBVERSION                   1L              /**< minor version number */
#define RT_REVISION                     1L              /**< revise version number */
```

参考ESP32:
```c
/** Major version number (X.x.x) */
#define ESP_ARDUINO_VERSION_MAJOR   2
/** Minor version number (x.X.x) */
#define ESP_ARDUINO_VERSION_MINOR   0
/** Patch version number (x.x.X) */
#define ESP_ARDUINO_VERSION_PATCH   3
```

建议改成:
```c
/* Major version number (X.x.x) */
#define RT_VERSION_MAJOR   4
/* Minor version number (x.X.x) */
#define RT_VERSION_MINOR   2
/* Patch version number (x.x.X) */
#define RT_VERSION_PATCH   0
```
2022-09-07 10:11:45 -04:00
liyangyang c75f52ff3a [RTduino]Add SPI adaptation 2022-09-07 10:11:23 -04:00
Yifang f325032c5e
[stm32h750-artpi][Kconfig] add SPI3 (#6382)
* [add] board/Kconfig 完善SPI3部分

* [add] 提交代码注释

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-06 22:00:30 -04:00
xiao xie 05afaa9fc5
[imxrt1170]Fix flexcan driver (#6378)
fix flexcan driver for imxrt1170
2022-09-06 21:20:04 -04:00
小李憨憨 5967ce44ff Add annotations 2022-09-06 14:28:45 -04:00
Freey0 e0f61010e2 fix: Fix accidentally close PDMA used by other devices when close the serial port 2022-09-06 01:06:24 -04:00
xuhonghao d321e52412
[bsp][APM32][APM32F407VGT6] (#6377)
使用APM32F407VGT6芯片发现shell命令行无法接收命令,解决shell命令行输入问题

将board.c中的:
GPIO_ConfigStruct.mode = GPIO_MODE_IN;
GPIO_ConfigStruct.pupd = GPIO_PUPD_UP;
修改为:
GPIO_ConfigStruct.mode = GPIO_MODE_AF;
GPIO_ConfigStruct.pupd = GPIO_PUPD_NOPULL;

使用APM32F407VGT6测试成功
2022-09-06 01:01:03 -04:00
Fan Yang c1b22ede30
Add BSP for HPM6750EVK and HPM6750EVKMINI (#6374)
* Add CANFD support and correct typos

- Added CANFD required fields to can.h
- Fixed typos in can.h and can.c
- Corrected all the projects affected by the typo
- Fixed wrong line-ending in some affected can driver files

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>

* update

* bsp: support boards from hpmicro

- Supported HPM6750EVKMINI
- Supported HPM6750EVK

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-09-06 00:48:16 -04:00
linshire ae62b57632 add drv_ulog.h so that the project can built successfully 2022-09-06 00:29:51 -04:00
linshire 36e03d0448
Ch32 v307 kconfig fix (#6373)
* add Kconfig file "USART2~USART8"
2022-09-05 11:13:04 -04:00
xiao xie 20c4798239
[imxrt1170]add rtc Kconfig (#6370) 2022-09-05 07:39:10 -04:00
xiao xie d1daf06619
[imxrt1170]Update iar project (#6369) 2022-09-04 21:47:03 -04:00
liYangYang cc5af9a72d
[bsp][stm32]添加硬石科技YS-F1Pro开发板 (#6364) 2022-09-01 23:06:44 -04:00
100ask-alen 74d1b986bb 补充开发板资料说明 2022-09-02 10:04:47 +08:00
slhuan 91e13b5d9d 删除了未完善的驱动文件及其配置文件 2022-09-02 10:04:47 +08:00
slhuan bff97ce25a 修正bsp中.c/.h中的格式以及多余的末尾空格 2022-09-02 10:04:47 +08:00
slhuan 75133af2e7 更正stm32/stm32f103-100ask-mini和pro的默认下载器为st-link,添加基于mm32f3270系列由百问网自主设计的火龙果开发板的bsp 2022-09-02 10:04:47 +08:00
self-confident neko 6da3b2b4b6
完善CH32V307的串口BSP (#6359)
* Update drv_usart.h

CH32V307的串口1外设是对接在APB2桥上,其他串口均对接在APB1桥上

已完全测试,并发现一个问题,已修正。
2022-09-01 12:35:11 -04:00
xiao xie 44b815d8d5
[imxrt]消除编译警告;修正板级配置信息 (#6363)
* add ignore files and directories

* 消除编译警告;修正板级配置信息
2022-09-01 08:15:11 -04:00
liYangYang d25bf469fa
[rt_drv_pwm]完善PWM框架互补输出部分代码 (#6338)
* [pwm]Improve the code

* 将与bsp无关的代码移植到框架部分

* 添加注释
2022-09-01 00:59:44 -04:00
xiao xie 9bbe2097db
[imxrt1170] Update readme (#6358)
update README
2022-08-31 21:19:59 -04:00
xiao xie 0a3be62703
Support flexcan (#6355)
* add ignore files and directories

* add flexcan support;fix build problem

* 优化格式,消除编译警告

* 增加can引脚分配;支持imxrt1170

* 优化格式
2022-08-31 21:19:02 -04:00
guozhanxin 11dccf2581 [ESP32-C3]add English README.md. 2022-08-31 14:54:30 +08:00
Rbb666 a5bf680e2b 【renesas】Fix initialize assertion problem of serial V2 2022-08-31 14:15:17 +08:00
Rbb666 34a05bfdf7 Cypress-Modify configuration 2022-08-31 14:15:17 +08:00
xjy c2199eb85b 修复imxrt除1170系列外bsp网络驱动编译错误 2022-08-30 07:47:07 -04:00
xjy198903 58769e67c6
修复imxrt1170网络驱动问题 (#6342)
1、修复ksz8081.c编译错误;
2、修复rt1170网络驱动问题
2022-08-29 15:47:58 -04:00
YuQi b11cb41ae7
tms320f28379d fix init (#6343)
解决 tms320f28379d bsp 启动的问题。主要改动如下。

修正context.s中汇编代码错误。在旧版的代码中,操作数为32位而汇编命令却使用了针对16位数据的命令MOV,导致程序在某些情况无法正常启动线程。
由于C28x的平台下,SP只支持16bit寻址,所以用于线程空间存放的heap以及ebss段都需要放在低16位的空间,针对这个问题修改了CMD文件。此外还增加基于CMD文件基于RAM的支持,方便调试。
新增rtdef.h中RT_SECTION,RT_USED,ALIGN和RT_WEAK的定义。旧版bsp中这些定义为空,导致INIT_EXPORT注册的函数失效。
修改程序启动代码,在程序入口直接调用原生启动代码
以上改动在LAUNCHXL-F28379D 通过了测试。
2022-08-29 15:35:23 -04:00
liYang~ ef8ae7963c
[drv_usart]完善ch32的串口驱动。 (#6336) 2022-08-27 00:34:27 -04:00
winfenggao ae66e67dee bug:
UART_FLAG_TC 不能在中断里CLEAR;
因为函数 static int stm32_putc(struct rt_serial_device *serial, char c)里发送完成后
while 循环等这个标志退出,中断服务函数CLEAR后,此处进入死循环
2022-08-25 10:25:34 -04:00
liYang~ c67cbdb30c
[drv_gpio]为ch32完善gpio驱动 (#6334)
* 修改Kconfig的不足

* update gpio driver

* formatting code
2022-08-25 10:24:53 -04:00
Meco Man 4fa40bcee5 [stm32l4-pandora] 整理文件系统
增加ROMFS,FATFS和未来的LittleFS将挂载在ROMFS上
初步增加littlefs文件系统,尚未完全实现一键化配置
2022-08-24 22:40:11 -04:00
emuzit a38b39ac25
ch569w-evt: add usbhs device mode driver (#6330)
ch569w-evt: add usbhs device mode driver

* usbd driver tested with cdc_vcom, internal loopback
  (can't run both MSH & usbd due to 16KB RAM limitation)
* reduce usrstack & main thread stack size for usbd test
* ch56x_uart.c : iron out UART0_PIN_ALT assignment
2022-08-24 07:59:37 -04:00
liYang~ 9cfb864068
[bsp]添加ch32v307vct6 (#6331) 2022-08-23 21:51:35 -04:00
liYang~ 0ff905ce43
[bsp]添加ch32v307需要的库文件 (#6329)
* add ch32v307 lib

* fix scons
2022-08-23 02:13:33 -04:00
Man, Jianting (Meco) a02ab79fd5
Merge pull request #6326 from OpenPowerware/master
[bsp][tms320f28379d] libc compatible
2022-08-22 16:47:32 -04:00
Yunjie Gu db4bc4a525 libc compatible 2022-08-22 21:07:22 +01:00
supperthomas f602d199d3
[bsp/maxium/max3660]Update README.md (#6323)
* Update README.md

* rename as max32660-evsys

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-22 13:44:25 -04:00
Man, Jianting (Meco) 955b8d9ae3
[bsp] update esp32 Kconfig (#6218) 2022-08-22 13:40:27 -04:00
Meco Man 97a5e4ca19 [rtduino] remove libraries dependencies 2022-08-22 09:45:45 +08:00
Meco Man 2f7c294d97 [stm32f407-explorer][fs] 优化文件系统选项配置 2022-08-22 09:45:01 +08:00
Meco Man 10695d6a90 [fal] PKG_USING_FAL -> RT_USING_FAL 2022-08-22 09:42:35 +08:00
Yunjie Gu b43f0e7205
[bsp][tms320f28379d] Fix compile ti (#6254)
* compile_ok

Issues fixed:
(1) update .config: select FINSH_USING_SYMTAB
(2) add rt_size_t in rtconfig_project.h
(3) fix finsh problems of using sym table
(4) update .project to include ipc source codes.
Todo list:
(1) automate the build source selection of ccs and reconcile it with scons

* change compiler

* msh can run now

the key step is to swap the order of rt_interrupt_nest -- and RT_OBJECT_HOOK_CALL(rt_interrupt_leave_hook,()) in irq.c. This is an improvised solution and an issue has been raised.

* Update 2837x_FLASH_lnk_cpu1.cmd

The original one is also fine. Just to make it more rigorous since FSymTab is in data section.

* update readme.md

Complier selection and maintainer update.

Co-authored-by: YuQi <qiyu_sjtu@163.com>
2022-08-20 13:16:41 -04:00
chenbin 5b8a3678f0
[n32g45x] bsp 完善can驱动中断处理 (#6313)
* 完善can驱动中断处理
优化can波特率采样率,采样点在75%以上
增加新的can驱动宏定义支持,避免编译错误

* Update drv_can.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-20 12:21:51 -04:00