8000 Add frozen stage module to ugame10 board · rhwlo/circuitpython@a50ee4f · GitHub
[go: up one dir, main page]

Skip to content

Commit a50ee4f

Browse files
committed
Add frozen stage module to ugame10 board
And also ignore some more pins. This is needed for the builds on the circuitpython.org to be functional.
1 parent 0cdb5fc commit a50ee4f

File tree

4 files changed

+41
-2
lines changed

4 files changed

+41
-2
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,6 @@
9595
[submodule "frozen/pew-pewpew-standalone-10.x"]
9696
path = frozen/pew-pewpew-standalone-10.x
9797
url = https://github.com/pewpew-game/pew-pewpew-standalone-10.x.git
98+
[submodule "frozen/circuitpython-stage"]
99+
path = frozen/circuitpython-stage
100+
url = https://github.com/python-ugame/circuitpython-stage

frozen/circuitpython-stage

Submodule circuitpython-stage added at d8a9d8c

ports/atmel-samd/boards/ugame10/mpconfigboard.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,29 @@
2424
{ MP_OBJ_NEW_QSTR(MP_QSTR_gamepad),(mp_obj_t)&gamepad_module }, \
2525
{ MP_OBJ_NEW_QSTR(MP_QSTR__stage), (mp_obj_t)&stage_module }
2626

27+
#define IGNORE_PIN_PB00 1
28+
#define IGNORE_PIN_PB01 1
29+
#define IGNORE_PIN_PB02 1
30+
#define IGNORE_PIN_PB03 1
31+
#define IGNORE_PIN_PB04 1
32+
#define IGNORE_PIN_PB05 1
33+
#define IGNORE_PIN_PB06 1
34+
#define IGNORE_PIN_PB07 1
35+
#define IGNORE_PIN_PB08 1
36+
#define IGNORE_PIN_PB09 1
37+
#define IGNORE_PIN_PB10 1
38+
#define IGNORE_PIN_PB11 1
39+
#define IGNORE_PIN_PB12 1
40+
#define IGNORE_PIN_PB13 1
41+
#define IGNORE_PIN_PB14 1
42+
#define IGNORE_PIN_PB15 1
43+
#define IGNORE_PIN_PB16 1
44+
#define IGNORE_PIN_PB17 1
45+
#define IGNORE_PIN_PB22 1
46+
#define IGNORE_PIN_PB23 1
47+
#define IGNORE_PIN_PB30 1
48+
#define IGNORE_PIN_PB31 1
49+
2750
// USB is always used internally so skip the pin objects for it.
2851
#define IGNORE_PIN_PA24 1
2952
#define IGNORE_PIN_PA25 1

ports/atmel-samd/boards/ugame10/mpconfigboard.mk

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
LD_FILE = boards/samd21x18-bootloader-external-flash-crystalless.ld
2-
#LD_FILE = boards/samd21x18-bootloader.ld
32
USB_VID = 0x239A
43
USB_PID = 0x801F
54
USB_PRODUCT = "uGame10"
@@ -13,5 +12,18 @@ LONGINT_IMPL = MPZ
1312
CHIP_VARIANT = SAMD21E18A
1413
CHIP_FAMILY = samd21
1514

15+
CIRCUITPY_STAGE = 1
16+
CIRCUITPY_MATH = 1
17+
CIRCUITPY_AUDIOIO = 1
18+
CIRCUITPY_ANALOGIO = 1
19+
CIRCUITPY_GAMEPAD = 1
20+
CIRCUITPY_TOUCHIO = 0
21+
CIRCUITPY_NEOPIXEL_WRITE = 0
22+
CIRCUITPY_RTC = 0
23+
CIRCUITPY_SAMD = 0
24+
CIRCUITPY_USB_MIDI = 0
25+
CIRCUITPY_USB_HID = 0
26+
CIRCUITPY_FREQUENCYIO = 0
27+
CIRCUITPY_SMALL_BUILD = 1
1628

17-
FROZEN_MPY_DIRS += $(TOP)/frozen/ugame10
29+
FROZEN_MPY_DIRS += $(TOP)/frozen/circuitpython-stage

0 commit comments

Comments
 (0)
0