feat(toolchain): Improved local setup #2695
Draft
+50
−18
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.
Proof of concept of an idea to have a nicer local setup. See https://discord.com/channels/719497620560543766/1313518832434020384/1313518835055198371 for context.
For existing users wanting to try this out:
zmk-config
as a subdirectory ofzmk
, by cloning or otherwise. You should havezmk/zmk-config
, with that naming.zmk/.west/config
to point the manifest tozmk/local/west.yml
:west update
You should now be able to build and flash as usual, using the
zmk-config
'sconfig/west.yml
to manage external modules, and with yourzmk-config
working fine for your own custom stuff, keymaps, etc. without the need to write-DZMK_EXTRA_MODULES
etc for building.Needs discussion, testing, and improved documentation.
TODO: Figure out a nicer interaction with our local west test and west manifest commands.