Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Addon Rework - Per-Core Addons with Manager #129

Merged
merged 4 commits into from
Oct 23, 2022

Conversation

arntsonl
Copy link

Now add-ons are added per core with a manager, which allows add-ons to be added and memory recovered if an add-on is not used.

This is a stepping stone for getting add-ons enabled/disabled in the Web-UI config, and also should make it easier to manage add-ons from one location instead of two. This also takes away StorageManager's task of storing a public vector full of pointers, which we want to avoid.
Missed an end-line
…nse as each core should have its own add-ons in memory, rather than static (shared) memory.

Also changed the ConfigManager slightly to remove the auto-update on neopico in config, as this was a hack. Also missed a runtime setting for gp2040aux.cpp to make it sleep a tiny bit.
@TheTrainGoes
Copy link

Tested and working on my end. Good to merge if you are

@arntsonl arntsonl merged commit 5fcda07 into OpenStickFoundation:main Oct 23, 2022
@arntsonl arntsonl deleted the addonrework branch October 23, 2022 15:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants