Commit Graph

32 Commits

Author SHA1 Message Date
CXSforHPU bb91502465
[drivers] Specifies the name of the drivers driver file
https://github.com/RT-Thread/rt-thread/pull/9420
2024-09-13 17:40:40 -04:00
CXSforHPU 416ec66380
[device] add dev_ prefix for file names 2024-08-23 18:15:09 -04:00
LZerro f190cba0ab
[i2c] adjust the timing for I2C initialization 2024-04-29 20:46:12 -04:00
Meco Man 6a9c42a19d [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
kk 2549b82bd6
[pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
kurisaw 345ce24e31 [bsp][renesas] RTduino configuration update
sync update

some optimize

[bsp][driver] Updates the naming convention of the i2c configuration item
2024-01-18 11:57:51 +08:00
Stwsyburg ca1b1e5164 Fix many abnormal symbols in annotations 2023-04-16 22:37:16 -04:00
luobeihai 8baaf73210
add apm32 can driver and add apm32e1/s1 rtt driver support (#7170)
* add apm32 can driver and add apm32e1/s1 rtt driver support

* format some files

* modified action.yml file and modified bsp picture and add bsp README.md
2023-04-05 00:18:51 -04:00
shandianchengzi dc5123547c [bsp] Fix many abnormal symbols in annotations. 2023-03-31 23:57:17 -04:00
Zxy 4ed9bc11f7
[errno code]fix that use RT_ENOSYS without - (#7084)
* [errno code]fix that use RT_ENOSYS without -

* Update bsp/airm2m/air32f103/libraries/rt_drivers/drv_hwtimer.c

---------

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-03-23 01:54:42 -04:00
Meco Man deb40e8c0c [errno code][-RT_EBUSY] fix that use RT_EBUSY without - 2023-03-22 01:55:18 -04:00
Meco Man eb3cb250be [errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without - 2023-03-22 01:54:52 -04:00
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
luobeihai 674c4d4ebc
add apm32 rtt sdio/flash/sdram driver (#7065)
* add rtt sdio/flash/sdram driver

* formatting rtt drivers
2023-03-20 00:04:18 -04:00
Meco Man dfddd79b24 [errno code][-RT_EINVAL] fix that use RT_EINVAL without - 2023-03-16 20:21:43 -04:00
Meco Man 2cc9bd876e [error code][-RT_EIO] fix that use RT_EIO without - 2023-03-16 20:20:37 -04:00
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
luobeihai 2da43febbd
add some apm32 bsp and fix apm32f0/apm32f1 gcc startup assembly file bug and fix apm32 drv_eth.c bug (#6855)
* add some apm32 bsp and fix apm32f0/apm32f4 gcc startup assembly file bug and fix drv_eth.c bug

* fix apm32f103xe-minibroard and apm32f407ig-minibroard link.lds file error

* replace apm32f051r8-evalboard picture

* fix apm32f1 gcc assembly startup file suffix name

* renamed startup_apm32f10x_md.s/startup_apm32f10x_hd.s file and modify apm32f103xe-minibroard/board SConscript file
2023-01-15 21:16:02 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
luobeihai 24575c4486
add apm32F0 serie MCU support (#6789)
* add apm32F0 serie MCU support
add apm32f072vb-miniboard bsp
update F103/F407 bsp

* replace apm32f072vb picture

* Update action.yml
2023-01-05 01:15:02 -05:00
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
SC-201611121359\Administrator f4f1a88975 增加 F4 GCC 启动文件。
修改 F1/F4 配置文件uart改为uart1。
修改 F1/F4 main 打印内容。
2022-07-31 23:30:33 -04:00
Aligagago 250b3cbc16 使用 AStyle.exe 统一代码格式 2022-07-27 11:45:29 +08:00
Aligagago 1b55a1dedd 1. 更新 apm32\libraries\APM32F10x_Library 为 Geehy 官网 APM32F10x_SDK_V1.6。
2. 增加 apm32\libraries\APM32F4xx_Library 为 Geehy 官网 APM32F4xx_SDK_V1.2。
3. 更新 apm32\libraries\Drivers。
4. 增加 apm32f407ig-minibroard 支持。
2022-07-27 11:45:29 +08:00
stevetong459 84e18bb2d5
fix the startup files of apm32f1 (#5725)
* fix the startup files of apm32f1

* delete ARM folder for apm32f1
2022-03-28 16:50:01 +08:00
stevetong459 fb61c7960b
本次PR涉及①BSP驱动新增②F103库更新③GCC、IAR适配及MDK更新④README文件及由更新驱动引起的脚本改动。 (#5638)
* 本次提交包括①BSP驱动新增②F103库更新③GCC、IAR适配及MDK更新④README文件及由更新驱动引起的脚本改动。
详情如下:
一、BSP驱动新增
这是本次PR的主要目的,现新增了如下BSP驱动:
ADC、DAC、RTC、PWM、HWTIMER、I2C、SPI和WDT等八个驱动文件。
二、F103库更新:
本次提交使用2022年3月初极海官网发布的最新F103库,主要增加了版权声明、USB驱动及其他代码调整。
三、编译器适配:
1、新增GCC编译支持,在ENV工具下编译能成功且输出的bin文件能够使开发板闪灯。
2、新增IAR工程支持。
3、由F103的SDK更新,MDK的工程也进行了相应更新。
四、其他
1、README文件做了修改,加入了scons编译后的jlink下载说明和官网链接。
2、Kconfig、SConscript脚本根据驱动更新做了修改。

* 格式化代码(AStyle + Formatting)

* 增加BSP APM版权声明

* 在ci添加当前bsp的路径,以能够验证gcc能否正常编译

* 路径的“\”改为“/”
2022-03-08 12:03:06 +08:00
guo cda8caeda0
Merge pull request #5180 from liukangcc/bsp
[update] bsp .config file and rtconfig.h file.
2021-10-15 13:54:46 +08:00
liukangcc eb962237f5 [update] add .ignore_format.yml for apm32 bsp. 2021-10-14 15:36:09 +08:00
BernardXiong c82bce24a7 [BSP] fix formating issue 2021-09-25 12:09:09 +08:00
BernardXiong 43336faf1e [BSP] fix formatting issue in APM32 BSP 2021-09-25 12:05:46 +08:00
WuKaiLi 284c6ffc98 解决 代码格式问题
添加联系人
2021-09-05 21:40:55 +08:00
abbcc 3ac58b8577 添加 APM32F103ZE MINI 板 bsp 2021-09-02 09:55:07 +08:00