File tree Expand file tree Collapse file tree 5 files changed +24
-5
lines changed Expand file tree Collapse file tree 5 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 7
7
types : [created]
8
8
9
9
env :
10
- MICROPYTHON_VERSION : v1.22.1
10
+ MICROPYTHON_VERSION : feature/multi-msc
11
11
12
12
jobs :
13
13
build :
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function log_warning {
14
14
15
15
function micropython_clone {
16
16
log_inform " Using MicroPython $MICROPYTHON_VERSION "
17
- git clone https://github.com/micropython /micropython --depth=1 --branch=$MICROPYTHON_VERSION
17
+ git clone https://github.com/pimoroni /micropython --depth=1 --branch=$MICROPYTHON_VERSION
18
18
cd micropython
19
19
git submodule update --init lib/pico-sdk
20
20
git submodule update --init lib/cyw43-driver
@@ -72,4 +72,4 @@ function cmake_build {
72
72
ccache --show-stats || true
73
73
cd build-$BOARD_NAME
74
74
cp firmware.uf2 $RELEASE_FILE .uf2
75
- }
75
+ }
Original file line number Diff line number Diff line change 3
3
#define MICROPY_HW_BOARD_NAME "Pimoroni Tufty 2040"
4
4
#define MICROPY_HW_FLASH_STORAGE_BYTES (7 * 1024 * 1024)
5
5
6
+ #define MICROPY_HW_USB_MSC (1)
7
+ #define MICROPY_HW_USB_DESC_STR_MAX (40)
8
+ #define MICROPY_HW_USB_MANUFACTURER_STRING "Pimoroni"
9
+ #define MICROPY_HW_USB_PRODUCT_FS_STRING MICROPY_HW_BOARD_NAME " MicroPython"
10
+
6
11
#define MICROPY_HW_USB_VID (0x2E8A)
7
12
#define MICROPY_HW_USB_PID (0x1002)
8
13
Original file line number Diff line number Diff line change 1
1
// Board and hardware specific configuration
2
2
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico"
3
- #define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
3
+ #define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
4
+
5
+ #define MICROPY_HW_USB_MSC (1)
6
+ #define MICROPY_HW_USB_VID (0x1FFB)
7
+ #define MICROPY_HW_USB_PID (0x2043)
8
+ #define MICROPY_HW_USB_DESC_STR_MAX (40)
9
+ #define MICROPY_HW_USB_MANUFACTURER_STRING "Pimoroni"
10
+ #define MICROPY_HW_USB_PRODUCT_FS_STRING MICROPY_HW_BOARD_NAME " MicroPython"
Original file line number Diff line number Diff line change 20
20
21
21
#define MICROPY_HW_PIN_EXT_COUNT CYW43_WL_GPIO_COUNT
22
22
23
- #define MICROPY_HW_PIN_RESERVED (i ) ((i) == CYW43_PIN_WL_HOST_WAKE || (i) == CYW43_PIN_WL_REG_ON)
23
+ #define MICROPY_HW_PIN_RESERVED (i ) ((i) == CYW43_PIN_WL_HOST_WAKE || (i) == CYW43_PIN_WL_REG_ON)
24
+
25
+ #define MICROPY_HW_USB_MSC (1)
26
+ #define MICROPY_HW_USB_VID (0x1FFB)
27
+ #define MICROPY_HW_USB_PID (0x2043)
28
+ #define MICROPY_HW_USB_DESC_STR_MAX (40)
29
+ #define MICROPY_HW_USB_MANUFACTURER_STRING "Pimoroni"
30
+ #define MICROPY_HW_USB_PRODUCT_FS_STRING MICROPY_HW_BOARD_NAME " MicroPython"
You can’t perform that action at this time.
0 commit comments