Skip to content

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Sep 10, 2021

The proxlight trinkey is tight on space, but we'd like it to work for both HID and MIDI. It appears that if we freeze the APDS9960 library instead of HID, then sample programs will fit.

Done:

  • Enable usb_midi, which was previously disabled.
  • Do not freeze adafruit_hid.
  • Freeze adafruit_adps9960.

The APDS9960 library itself could be reduced by about 500 bytes by shortening and underscoring the command constants, but that doesn't help make anything else fit, so it's not high priority to fix right now.

@dhalbert dhalbert requested a review from jedgarpark September 10, 2021 19:00
@dhalbert dhalbert changed the title proxlight: Freeze adafruit_adps9960 instead of adafruit_hid; enable usb_midi proxlight: Freeze adafruit_apds9960 instead of adafruit_hid; enable usb_midi Sep 10, 2021
@dhalbert dhalbert merged commit f5bb53e into adafruit:main Sep 10, 2021
@dhalbert dhalbert deleted the prox-trinkey-squeeze branch September 10, 2021 22:17
dhalbert pushed a commit that referenced this pull request Oct 16, 2021
Addresses issues #2697 and #5329.

Signed-off-by: Damien George <damien@micropython.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants