kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Badger2040: Monkey-patch MicroPython flash size
rodzic
6585d6a670
commit
fa775ee196
|
@ -52,6 +52,7 @@ jobs:
|
||||||
cp pimoroni-pico-${GITHUB_SHA}/micropython/examples/badger2040/image.py micropython/ports/rp2/modules/
|
cp pimoroni-pico-${GITHUB_SHA}/micropython/examples/badger2040/image.py micropython/ports/rp2/modules/
|
||||||
cp pimoroni-pico-${GITHUB_SHA}/micropython/examples/badger2040/checklist.py micropython/ports/rp2/modules/list.py
|
cp pimoroni-pico-${GITHUB_SHA}/micropython/examples/badger2040/checklist.py micropython/ports/rp2/modules/list.py
|
||||||
cp pimoroni-pico-${GITHUB_SHA}/micropython/examples/badger2040/badge.py micropython/ports/rp2/modules/
|
cp pimoroni-pico-${GITHUB_SHA}/micropython/examples/badger2040/badge.py micropython/ports/rp2/modules/
|
||||||
|
cp pimoroni-pico-${GITHUB_SHA}/micropython/badger2040-mpconfigboard.h micropython/ports/rp2/boards/PICO/mpconfigboard.h
|
||||||
|
|
||||||
# Linux deps
|
# Linux deps
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
// This is a hack! Need to replace with upstream board definition.
|
||||||
|
#define MICROPY_HW_BOARD_NAME "Pimoroni Badger2040 2MB"
|
||||||
|
#define MICROPY_HW_FLASH_STORAGE_BYTES (512 * 1024)
|
Ładowanie…
Reference in New Issue