[BSP] 添加raspberry-rp2350适配
Some checks failed
ToolsCI / Tools (push) Has been cancelled
AutoTestCI / components/cpp11 (push) Has been cancelled
AutoTestCI / kernel/atomic (push) Has been cancelled
AutoTestCI / kernel/atomic/riscv64 (push) Has been cancelled
AutoTestCI / kernel/atomic_c11 (push) Has been cancelled
AutoTestCI / kernel/atomic_c11/riscv64 (push) Has been cancelled
AutoTestCI / kernel/device (push) Has been cancelled
AutoTestCI / kernel/ipc (push) Has been cancelled
AutoTestCI / kernel/irq (push) Has been cancelled
AutoTestCI / kernel/mem (push) Has been cancelled
AutoTestCI / kernel/mem/riscv64 (push) Has been cancelled
AutoTestCI / kernel/thread (push) Has been cancelled
AutoTestCI / kernel/timer (push) Has been cancelled
AutoTestCI / rtsmart/aarch64 (push) Has been cancelled
AutoTestCI / rtsmart/arm (push) Has been cancelled
AutoTestCI / rtsmart/riscv64 (push) Has been cancelled
AutoTestCI / components/utest (push) Has been cancelled
RT-Thread BSP Static Build Check / 🔍 Summary of Git Diff Changes (push) Has been cancelled
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (push) Has been cancelled
RT-Thread BSP Static Build Check / collect-artifacts (push) Has been cancelled
pkgs_test / change (push) Has been cancelled
utest_auto_run / AARCH64-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / A9-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / RISCV-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / XUANTIE-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / AARCH64 :default.cfg (push) Has been cancelled
utest_auto_run / A9 :default.cfg (push) Has been cancelled
utest_auto_run / A9-smp :default.cfg (push) Has been cancelled
utest_auto_run / RISCV :default.cfg (push) Has been cancelled
doc_doxygen / doxygen_doc generate (push) Has been cancelled
doc_doxygen / deploy (push) Has been cancelled

This commit is contained in:
hydevcode
2025-08-04 20:53:24 +08:00
committed by R b b666
parent b084503b6d
commit 5347500f33
98 changed files with 3494 additions and 5 deletions

View File

@@ -20,7 +20,8 @@
"RTT_BSP": "RTduino_Arduino Libraries (Raspberry Pico)",
"RTT_TOOL_CHAIN": "sourcery-arm",
"SUB_RTT_BSP": [
"raspberry-pico"
"raspberry-pico/RP2040",
"raspberry-pico/RP2350"
]
},
{

View File

@@ -91,7 +91,6 @@ jobs:
uses: actions/setup-python@main
with:
python-version: 3.8
- name: Install Tools
shell: bash
run: |

View File

@@ -13,7 +13,6 @@
#define __DRV_UART_H__
#include <rthw.h>
#include <rtthread.h>
#ifdef RT_USING_SERIAL
int rt_hw_uart_init(void);

45
bsp/raspberry-pico/RP2040/.gitignore vendored Normal file
View File

@@ -0,0 +1,45 @@
*.pyc
*.map
*.dblite
*.uf2
*.elf
*.bin
*.hex
*.axf
*.exe
*.pdb
*.idb
*.ilk
*.old
build
Debug
documentation/html
packages/
*~
*.o
*.obj
*.out
*.bak
*.dep
*.lib
*.i
*.d
.DS_Stor*
.config 3
.config 4
.config 5
Midea-X1
*.uimg
GPATH
GRTAGS
GTAGS
.vscode
JLinkLog.txt
JLinkSettings.ini
DebugConfig/
RTE/
settings/
*.uvguix*
cconfig.h
!.vscode
!elf2uf2.exe

View File

@@ -2,7 +2,7 @@ mainmenu "RT-Thread Configuration"
BSP_DIR := .
RTT_DIR := ../..
RTT_DIR := ../../..
PKGS_DIR := packages

View File

@@ -5,7 +5,7 @@ import rtconfig
if os.getenv('RTT_ROOT'):
RTT_ROOT = os.getenv('RTT_ROOT')
else:
RTT_ROOT = os.path.normpath(os.getcwd() + '/../..')
RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
from building import *
@@ -38,5 +38,7 @@ os.chdir(ocwd)
objs.extend(SConscript(os.path.join(os.getcwd(), 'board', 'ports', 'SConscript')))
objs.extend(SConscript(os.path.join(os.getcwd(), '..', 'Drivers', 'SConscript')))
# make a building
DoBuilding(TARGET, objs)

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 117 KiB

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Some files were not shown because too many files have changed in this diff Show More