Skip to content

Commit a29e114

Browse files
authored
Merge pull request #3005 from hathach/fix-rp2-picosdk-board
add missing board.h for BOARD=pico_sdk
2 parents 72b1fc5 + c1df796 commit a29e114

File tree

5 files changed

+52
-2
lines changed

5 files changed

+52
-2
lines changed

hw/bsp/rp2040/boards/adafruit_feather_rp2040_usb_host/board.h

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
* This file is part of the TinyUSB stack.
2525
*/
2626

27+
/* metadata:
28+
name: Adafruit Feather RP2040 with USB Type A Host
29+
url: https://www.adafruit.com/product/5723
30+
*/
31+
2732
#ifndef TUSB_BOARD_H
2833
#define TUSB_BOARD_H
2934

hw/bsp/rp2040/boards/adafruit_fruit_jam/board.h

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
* This file is part of the TinyUSB stack.
2525
*/
2626

27+
/* metadata:
28+
name: Adafruit Fruit Jam - Mini RP2350
29+
url: https://www.adafruit.com/product/6200
30+
*/
31+
2732
#ifndef TUSB_BOARD_H
2833
#define TUSB_BOARD_H
2934

hw/bsp/rp2040/boards/pico_sdk/board.h

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/*
2+
* The MIT License (MIT)
3+
*
4+
* Copyright (c) 2025 Ha Thach (tinyusb.org)
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in
14+
* all copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
* THE SOFTWARE.
23+
*
24+
* This file is part of the TinyUSB stack.
25+
*/
26+
27+
#ifndef TUSB_BOARD_H
28+
#define TUSB_BOARD_H
29+
30+
#ifdef __cplusplus
31+
extern "C" {
32+
#endif
33+
34+
// UART and LED are already defined in pico-sdk board
35+
36+
#ifdef __cplusplus
37+
}
38+
#endif
39+
40+
#endif

hw/bsp/rp2040/boards/raspberry_pi_pico/board.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
/* metadata:
2828
name: Pico
29-
url: https://www.raspberrypi.org/products/raspberry-pi-pico/
29+
url: https://www.raspberrypi.com/products/raspberry-pi-pico/
3030
*/
3131

3232
#ifndef TUSB_BOARD_H

hw/bsp/rp2040/boards/raspberry_pi_pico2/board.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
/* metadata:
2828
name: Pico2
29-
url: https://www.raspberrypi.org/products/raspberry-pi-pico/
29+
url: https://www.raspberrypi.com/products/raspberry-pi-pico-2/
3030
*/
3131

3232
#ifndef TUSB_BOARD_H

0 commit comments

Comments
 (0)