Commit Graph

208 Commits

Author SHA1 Message Date
zhkag 5203e59d9b
[CI] ci 编译时先执行 scons --pyconfig-silent 后进行编译 (#7383) 2023-04-26 18:00:24 +08:00
supperthomas a5ad874417
[github][action] check the dist project for ci (#7320) 2023-04-24 11:02:56 +08:00
Rbb666 2f9d3bfe20 [Renesas]Add HMI-Board bsp 2023-04-24 10:54:57 +08:00
supperthomas 371693b5ce [security] Set up security policy 2023-04-16 20:47:56 -04:00
sheltonyu ec465d6bc4 [bsp/at32] add at32f423-start to auto check workflows 2023-04-07 03:46:36 -04:00
supperthomas 4d0db715ed [action][github] Add the cppcheck help check the PR warning
Signed-off-by: supperthomas <78900636@qq.com>
2023-04-06 23:11:24 -04:00
supperthomas 1c5c49b773 [action][github] Add the index and rebuild company list 2023-04-07 08:27:17 +08: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
supperthomas 5f7170ece3
[action][github] Optimize the action time (#7140)
optmize the action yml
2023-04-01 19:04:27 +08:00
NU-LL 735fb14fe7 [bsp][stm32] add stm32h750-fk750m1-vbt6 bsp 2023-03-26 22:17:57 -04:00
flyingcys 575abd58ff
[bsp]add bl808 uart2 driver && add bl60x/bl70x bsp to ci-action (#7097)
* update bl_mcu_sdk SConscript && add bl808 uart2 driver

* add bl60x/bl70x bsp to ci-action
2023-03-25 19:05:33 +08:00
Yaochenger de4f237482
[atomic]添加arm与risc-v下的常用原子操作函数 (#7053)
* Update Kconfig
* Update trap_gcc.S
* Update bsp/hifive1/drivers/SConscript

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
* Update SConscript
* [atomic]提交一份arm与risc-v架构下的常用原子操作函数
* 修改变量类型
* 更新rtatomic.h与atomic_port.c
* 更新rt-thread\libcpu\arm\common\atomic_port.c
* 更新include/rtatomic.h与libcpu/arm/common/SConscript
* 更新include/rtatomic.h
* 修正格式与Kconfig
* 修正格式与文件结构

* 规范文件格式与文件重命名
* 添加测试用例与CI
* 添加函数声明
* 修改virt64/SConscript 添加atomic_riscv.c
  * 1.规范代码风格
  * 2.添加RISC-V64原子指令支持 解决在RV64下编译器将32-bit运算结果扩展为64-bit 导致判断错误
* 添加C11标准库原子操作测试

---------

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-03-23 20:06:50 +08:00
yuanzihao 23786ee481
[GD32]add gd32470z-lckfb (#7022)
* --复制gd32450z-eval 作为立创梁山派 gd32470z-lckfb的模板进行移植
* -修改模板keil工程的配置,IROM需要注意总共为1024k,分为Code  area 和Data area  ,IRAM1为 : 512K-64K=448K=458752=0x70000。
-重新用ENV生成编译固件
片上SRAM可分为4块,分别为SRAM0(112KB)、SRAM1(16KB)、SRAM2(64KB)和TCMSRAM(64KB)。SRAM0、SRAM1和SRAM2可以被所有的AHB主机访问,然而,TCMSRAM(紧耦合存储器SRAM)只可被Cortex ® -M4内核的数据总线访问。BKPSRAM(备份SRAM)应用于备份域,即使当VDD供电电源掉电时,该SRAM仍可保持其内容。附加SRAM(ADDSRAM)只在一些特殊的GD32F4xx器件中可用。由于采用AHB互联矩阵,上述SRAM块可以同时被不同的AHB主机访问,例如,即使CPU正在访问SRAM0,USBHS也可以访问SRAM1。

* -修改IAR编译的链接脚本
* --修改Flash和RAM大小
-RAM大小为448k是因为512K-64K=448K,其中后面的64K为TCMSRAM(紧耦合存储器SRAM)只可被Cortex ® -M4内核的数据总线访问,先不要乱分配
* -修改MDK链接脚本
* -修改board.h
* -修改MCU型号
* -Finsh控制台和LED1闪灯程序工作正常,串口控制台名称错误,从uart改为uart0
-Scons正常生成工程
* -发现GD32固件库当前没有240Mhz的时钟配置,将固件库升级为GD32F4xx_Firmware_Library_V3.0.3-发布时间为2023-01-04
* -修改bsp/gd32/arm/gd32407v-start/board/SConscript文件
* -修改led1和change logs
* -按照提交规范使能 One ELF Section per Function(MDK) 并用scons重新生成工程
* -发现整个GD32的IAR模板工程template.eww 是没有的,所以当前是不支持IAR开发的,需要后面学习一下IAR使用再实现了。
* -使用formatting源码格式化工具跑一边gd32470z-lckfb目录
* -使用formatting源码格式化工具跑一遍[components/net/netdev/src/netdev.c]
-三个月前的提交多了几个空格
2023-03-10 23:21:31 -05:00
Misthao fab0e506be
新增stm32f401-weact-blackpill BSP(STM32F401CCU6最小系统板) (#6973)
* 新增stm32f401-weact-blackpill
2023-03-06 10:09:03 +08:00
杨熙 b7c2d1ba42
[bsp][lpc55sxx] add CPU define for S06/S16/S29/S36 make GCC comiple pass 2023-03-02 22:13:22 -05:00
Rbb666 00ad3921e4 [STM32]Add STM32F723E-DISCO bsp support 2023-03-01 08:23:35 -05:00
guozhanxin b32eae36d3 [ci]add aarch64 smart ci 2023-02-13 10:56:17 +08:00
guozhanxin 1c46f2f686 add rt-smart risv64 ci 2023-02-13 10:56:17 +08:00
guozhanxin aa83f64ef2 [ci] utest add --strict 2023-02-13 10:56:17 +08:00
guozhanxin ba5c63e65d add rtsmart ci 2023-02-13 10:56:17 +08:00
Rbb666 db5ed9c576 [IFX]Add psoc6 bsp 2023-02-03 13:56:30 +08:00
sheltonyu a59a8d9302 fixed format error, add auto compile check 2023-02-01 11:30:56 +08:00
Rbb666 ae78aedfac [Renesas]Fix ra6m3 build error 2023-02-01 10:32:55 +08: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
BruceOu e498687a58
[BSP] Add n32g4frml-stb bsp (#6773)
新增n32g4frml-stb bsp,在n32g4frml-stb 开发板上测试通过。
Add n32g4frml-stb bsp. passed the test on the n32g4frml-stb board.
2023-01-05 01:45:17 -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
打盹的消防车 525417085b
[bsp] add air32f103 (#6785) 2022-12-27 19:44:20 -05:00
ANDREW LI-Nordic 91cdcea900
[bsp][nrf5340]add 5340 define for 1000000 baud rate;change RTC driver for 5340 (#6754)
* add nrf5340 bsp,add uarte and gpio drv for 5340

* [bsp][nrf5340]add 5340 define for 1000000 baud rate;change RTC driver for 5340

Co-authored-by: andrew li <andrew.li@nordicsemi.no>
2022-12-20 20:11:27 -05:00
Rbb666 eed673ca6c Add Infineon BSP production document 2022-12-07 16:01:00 +08:00
guozhanxin 197ce2cd40 fix ci install libsdl-dev error 2022-12-06 21:05:01 -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
Meco Man e89b0e7d8a [stm32 f411] rename stm32f411-weact-blackpill 2022-11-12 02:16:42 -05:00
Meco Man fb10694b16 update PR template 2022-10-31 23:51:56 -04:00
NU-LL 2704c1bfd8 [ci] add new bsp to ci 2022-10-20 11:44:34 +08:00
Meco Man 65baa8b697 [pr-template] 修正PR模板的链接路径错误 2022-10-20 11:40:42 +08:00
Meco Man d277ee2e35 [n32] add CI queue 2022-10-19 22:21:28 -04:00
Man, Jianting (Meco) 901a24c759
[ci]add ft2004 (#6503) 2022-10-11 08:45:37 +08:00
Rbb666 0eba85eed4 修改英飞凌BSP名称 2022-10-10 08:48:10 -04:00
Alex e0294dab50
GitHub Workflows security hardening (#6472)
* build: harden action_tools.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden action.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden action_utest.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-29 01:44:28 -04:00
liYangYang 9f97906756
[GD32][BSP]添加GD32303C-START开发板 (#6465)
* first copy

* [GD32][BSP]添加GD32303C-START开发板

* 更新yml文件

* 更新scons脚本
2022-09-28 12:00:43 -04:00
slhuan 75133af2e7 更正stm32/stm32f103-100ask-mini和pro的默认下载器为st-link,添加基于mm32f3270系列由百问网自主设计的火龙果开发板的bsp 2022-09-02 10:04:47 +08:00
Man, Jianting (Meco) 5f474ed26c
[scons] 使用target=mdk5 和 iar时,打印IDE版本号 (#6315)
* [scons] 使用target=mdk5 和 iar时,打印IDE版本号

* 移除对keil iar生成功能的检查
1.这些工程是否可以生成是BSP可选项,不是每个BSP都支持
2.CI环境中并没有安转IAR和Keil环境,导致直接获取IDE版本失败

* MDKProject函数重命名为MDK2Project
2022-08-24 22:39:21 -04:00
woody 7d469384b5
将swm320和swm341整合进synwit (#6290)
* 将swm320和swm341整合进synwit
2022-08-16 12:43:24 -04:00
Man, Jianting (Meco) 10ac2b25f4 ci: restrict rt-thread organization 2022-08-14 13:00:37 -04:00
woody 0189987d91
add synwit swm341 bsp (#6235)
华芯微特SWM341芯片的bsp支持包
* 修改dac.c函数名称错误
* delete swm320-lq100 bsp
* 修复sdio读写块的地址偏移问题
* add synwit swm341 bsp
* 修复gcc下启动文件错误
* 为测试用例添加说明
2022-08-13 22:29:05 -04:00
Rbb666 9a8249bbba
【BSP】CY8CKIT-062S2-43012 (#6237)
英飞凌 CY8CKIT-062S2-43012 BSP
2022-08-09 12:36:36 -04:00
BruceOu 1a010ef141
[bsp/gd32]Optimize GD32 bsp architecture (#6108)
* [bsp/gd32]Optimize GD32 bsp architecture
2022-06-28 19:43:00 +08:00
100ask-Alen 3d06d96f65
[bsp][stm32][drv_adc.c]: change the bsp name of 100ask to be consistent with other bsp and commit a bug for drv_adc,c (#6068)
* [bsp][stm32][drv_adc.c]: change the bsp name of 100ask to be consistent with other bsp and commit a bug for drv_adc,c (#6068)
2022-06-14 14:17:22 +08:00
100ask-Alen 4fa1beb812
[bsp][100ask]: create two new bsp for 100ask stm32f103 boards and commit them (#6045)
* 重新pull后上传bsp和action
* remove the file named main.c in cubemx prj and add enter at last in the file named user_key.c
* remove personal project environment file project.uvguix.slhuan in rtt/bsp/stm32/stm32f103_100ask_mini
* remove system_stmf1xx.c in bsp/stm32/stm32f103-100ask_pro/mini
* modify stm32f1xx_it.c code to conform to the specification

Co-authored-by: slhuan <953172510@qq.com>
2022-06-08 23:28:49 +08:00
levizhxl 093793dfe2
HC32 configuration file revise (#6015)
* fixed some configuration errors.
2022-06-06 09:56:05 +08:00
rewine 9ebe0f3b47 [bsp] rename qemu-riscv-virt64 to qemu-virt64-riscv 2022-05-25 10:05:23 +08:00
Meco Man 4557d3c8c3 update 2022-05-20 10:51:55 +08:00
Meco Man 19672b7c3a update stm32 ci checking list 2022-05-20 10:51:55 +08:00
sheltonyu 8579f19ceb [bsp/at32] add at32f413 and at32f415 series 2022-05-13 15:38:43 +08:00
Meco Man a5ba85f434 [nxp] add ci check 2022-05-13 10:06:37 +08:00
guozhanxin 1404186602 [utestcases] add cpp11 base testcase. 2022-04-21 14:35:11 +08:00
sheltonyu 9609c2a942 update for ci 2022-04-18 10:07:15 +08:00
Kevin Liu 8af8decb62
Add Microchip SAM series MCU support for RT-Thread (#5771)
* Add Microchip SAM series MCU support for RT-Thread

Add Microchip SAM series MCU support for RT-Thread, including SAM Cortex-M0+, M4F and M7.

* Add bsp directory to ignored check list

Add bsp directory to ignored check list, add microchip /samc21/same54/same70 to workflows list

* remove STDIO definition and bug fix

1. remove STDIO code from Microchip official BSP. 2. bug fix of SAME70 hpl/hpl_usart.c, samc21&same54 hpl/hpl_sercom.c baudrate update interface.  3. Add RT-Thread standard STDIO implementation on Microchip SAM MCU.

* add CAN driver & example and script fix

Add CAN driver and example for SAMC21/SAME5x/SAME70 and fix rtconfig.py issue(unused space might result link error)

* Add Chinese version README

Add Chinese version README for SAMC21/E54/E70
2022-04-14 10:54:53 +08:00
guo 45c6db63fc
[ci] update action use python@v3 (#5756) 2022-04-01 12:05:39 +08:00
GUI f587a55bc2
[libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568 (#5722)
* [libcpu/aarch64] add smp support

* [libcpu/aarch64] rt_hw_trap_irq get irq instead of iar when using gicv2

* [libcpu/aarch64] disable irq/fiq when switch thread

* [libcpu/aarch64] add gtimer frq set and stack align

* [libcpu/aarch64] add gicv3 support and bsp/rockchip/rk3568
2022-03-29 11:08:25 +08:00
Man, Jianting (Meco) d583a07ac4
Update action.yml 2022-03-28 21:47:36 -04:00
Meco Man d8aee1c74a 将mb9x系列BSP并入fujitsu文件夹中 2022-03-28 20:15:54 -04:00
Meco Man c8420ffc0b 将at91系列BSP并入一个文件夹中 2022-03-28 20:09:56 -04:00
Meco Man 8003788ad5 将龙芯bsp并入loongson文件夹中 2022-03-28 20:06:03 -04:00
Meco Man 82a2fb169e 将acm32并入一个文件夹中 2022-03-28 19:55:01 -04:00
FmdAE 0f2e9a3afb
bsp-ft32 (#5652) 2022-03-23 11:03:48 +08:00
Man, Jianting (Meco) 59079fe91f
update documentation (#5674) 2022-03-14 21:18:14 +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
yanmowudi 98b98124c7 delete swm320-lq100 bsp 2022-02-14 13:53:04 +08:00
charlown 36ef2e1abb merge #5571: add wch chip. 2022-01-28 11:55:24 +08:00
guozhanxin 4dab5e0e59 [ci] Optimize AutoTestCI trigger timing. 2022-01-20 20:51:30 +08:00
guozhanxin 5820cc27b8 [ci] add scons tools test 2022-01-20 20:51:30 +08:00
Ouxiaolong 0d929da6ca [bsp]gd32103c-eval,gd32105c-eval,gd32107c-eval,gd32303e-eval,gd32450z-eval 2022-01-16 14:58:05 +08:00
BruceOu 10a963b955
Update action.yml
Add gd32105r-start, gd32205r-start, gd32305r-start, gd32407v-start
2022-01-09 10:14:47 +08:00
GuEe-GUI 353f717037 [libcpu/aarch64] add smp support 2022-01-08 18:24:02 +08:00
mazhiyuan 8aee6e73c9 [CI]fix the install error of env tools 2021-12-30 01:29:10 +08:00
supperthomas 5593e39847 [bsp/stm32] stm32l433 starterkit first version 2021-12-29 12:10:41 +08:00
supperthomas 7af733fa3f Update action.yml 2021-12-17 10:23:44 +08:00
supperthomas 640379c9db add the action 2021-12-17 10:23:44 +08:00
guo a087a1b0fc
Merge pull request #5280 from liukangcc/u575
[update] add stm32u575-st-nucleo bsp.
2021-11-18 22:43:00 +08:00
liukangcc 234cf4d8ff [update] readme. 2021-11-15 11:55:24 +08:00
guozhanxin b3de430911 [update] ci toolchain download using github link. 2021-11-14 20:54:41 +08:00
liukangcc bae07bdab1 [add] bsp stm32l552ze-nucleo 2021-11-01 15:05:02 +08:00
mazhiyuan 99ce0fd712 add k210 to ci queue 2021-10-26 14:24:11 +08:00
guo c8ee4cc67d
Merge pull request #5182 from NU-LL/tkm32f499 2021-10-26 07:50:40 +08:00
guo d090e0762e
Merge pull request #5226 from supperthomas/nrf_ci
[bsp/nrf5x] add the ci of nrf5x
2021-10-25 21:44:58 +08:00
supperthomas 3fd5e53c4f add the ci of nrf5x 2021-10-25 20:48:29 +08:00
mazhiyuan e85a951ee7 pip去掉sudo 2021-10-25 15:50:55 +08:00
mazhiyuan 976fb46ea1 test 2021-10-25 15:35:46 +08:00
mazhiyuan a2f99ded3b update action.yml 2021-10-25 15:23:19 +08:00
mazhiyuan ae1988e54d add source ~/.env/env.sh for ci 2021-10-25 14:03:08 +08:00
mazhiyuan 96085cc377 添加CI中pkgs --update 2021-10-25 13:45:56 +08:00
supperthomas 490fb129bb add the ci machine 2021-10-24 15:31:13 +08:00
NU-LL c44876ac2d fix github action bug 2021-10-14 21:34:11 +08:00
NU-LL 6e5fda2af5 modify github action 2021-10-14 19:54:46 +08:00
Bernard Xiong 98404184b1
Merge pull request #5128 from liukangcc/action
[update] add riscv toolchain for ci.
2021-10-13 15:37:26 +08:00
liukangcc 791ec32926 [update] add riscv toolchain for ci. 2021-10-12 10:49:26 +08:00
guo 0f8c465352
Merge pull request #5136 from cndabai/thread_tc 2021-10-12 09:52:01 +08:00
mazhiyuan c3465dfab7 add thread testcase 2021-10-11 13:47:26 +08:00
Meco Man 9b0692c507 [efm32] 将efm32踢出ci检测队列 2021-10-10 00:21:29 -04:00