Skip to content

Commit 8d692f3

Browse files
committed
pewpew_m4: Enable analogio and usb_hid
The newest version for the Stage library for PewPewM4 no longer contains embedded graphics, which frees enough space in flash to enabled back AnalogIO and also add USB_HID. There is still ~192 bytes left free. If new additions to CircuitPython make it grow further, we can disable USB_HID again.
1 parent 9cdf5e1 commit 8d692f3

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,15 @@ INTERNAL_FLASH_FILESYSTEM = 1
1010
LONGINT_IMPL = NONE
1111

1212
CIRCUITPY_FULL_BUILD = 0
13-
# TODO: Turn off analogio for now for space reasons, but restore it
14-
# when frozen module gets smaller.
15-
CIRCUITPY_ANALOGIO = 0
1613
CIRCUITPY_AUDIOBUSIO = 0
1714
CIRCUITPY_BITBANGIO = 0
1815
CIRCUITPY_FREQUENCYIO = 0
1916
CIRCUITPY_I2CPERIPHERAL = 0
2017
CIRCUITPY_NEOPIXEL_WRITE = 0
21-
CIRCUITPY_NETWORK = 0
2218
CIRCUITPY_PIXELBUF = 0
2319
CIRCUITPY_PS2IO = 0
2420
CIRCUITPY_RTC = 0
2521
CIRCUITPY_TOUCHIO = 0
26-
CIRCUITPY_USB_HID = 0
2722
CIRCUITPY_USB_MIDI = 0
2823
CIRCUITPY_AUDIOPWMIO = 0
2924
CIRCUITPY_AUDIOMP3 = 0
@@ -33,7 +28,6 @@ CIRCUITPY_GAMEPADSHIFT = 0
3328
CIRCUITPY_NETWORK = 0
3429
CIRCUITPY_ROTARYIO = 0
3530
CIRCUITPY_SAMD = 0
36-
CIRCUITPY_TOUCHIO = 0
3731
CIRCUITPY_VECTORIO = 0
3832

3933
CIRCUITPY_AUDIOMIXER = 1
@@ -42,6 +36,8 @@ CIRCUITPY_DISPLAYIO = 1
4236
CIRCUITPY_GAMEPAD = 1
4337
CIRCUITPY_STAGE = 1
4438
CIRCUITPY_MATH = 1
39+
CIRCUITPY_ANALOGIO = 1
40+
CIRCUITPY_USB_HID = 1
4541

4642
FROZEN_MPY_DIRS += $(TOP)/frozen/circuitpython-stage/pewpew_m4
4743
CIRCUITPY_DISPLAY_FONT = $(TOP)/ports/atmel-samd/boards/ugame10/brutalist-6.bdf

0 commit comments

Comments
 (0)