Repository navigation
AUDIO_KIT: Bluetooth Receiver's libraries frozen, a 152 KB filesystem - #695
Merged
Merged
Conversation
…esystem to 152 KB The kit freezes appkit, touchkit, controlkit, deskkit and spectrum, leaves hmilink, medialink, mp4mux and usb_hid out of the omnipython package and LVGL's 24/32/40 px fonts out of the image. The app slot shrinks to 0x3C4000 (the image is 0x3BF760) and the filesystem grows from 96 KB to 152 KB, which holds the board config, Bluetooth Receiver and its settings. modules/omnipython takes a leave_out option for this.
…left out omip then counts those modules as there and doesn't copy them, or the rest of the package, onto the filesystem the variant made room in.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ESP32 Audio Kit's firmware now freezes the app libraries Bluetooth Receiver imports: appkit, touchkit, controlkit, deskkit and spectrum. It is the only build that freezes app libraries. As files, they and the app don't fit beside the firmware on the kit's 4 MB. The app itself and the board config still install with omip.
To make room:
mpconfigvariant.cmake).modules/omnipythontakes aleave_outoption, and the kit leaves hmilink, medialink, mp4mux and usb_hid out of the omnipython package. bledev is frozen through the same path, because itsrequire("omnipython")would otherwise freeze the whole package a second time.leave_outalso freezes an_omip_left_outmodule naming what it left out. omip ≥ the next omnipython release reads it and doesn't copy those modules, or the rest of the package, onto the filesystem (PyDevices/omnipython#844). Until the library pin moves past that release, an omip install on the kit copies the omnipython package into /lib and runs out of room.How each step came out:
The step-3 image was flashed to a kit (erase, then the whole image). It boots, joins Wi-Fi and starts WebREPL. Bluetooth Receiver isn't installed on it yet (see above).
Tests:
test_build_mp(141 pass, with the AUDIO_KIT table updated) andtest_freeze_list(a new case forleave_outand the marker, which fails without the change).