Skip to content

[BSP] 添加raspberry-rp2350适配 #10580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/ALL_BSP_COMPILE.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/bsp_buildings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ jobs:
uses: actions/setup-python@main
with:
python-version: 3.8

- name: Install Tools
shell: bash
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#define __DRV_UART_H__

#include <rthw.h>
#include <rtthread.h>

#ifdef RT_USING_SERIAL
int rt_hw_uart_init(void);
Expand Down
File renamed without changes.
45 changes: 45 additions & 0 deletions bsp/raspberry-pico/RP2040/.gitignore
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ mainmenu "RT-Thread Configuration"

BSP_DIR := .

RTT_DIR := ../..
RTT_DIR := ../../..

PKGS_DIR := packages

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand Down Expand Up @@ -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)
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading