How can I write my own Extension Module? #119
|
Is there some information about writing my own extension module? |
Replies: 1 comment
|
Hi! There isn’t any dedicated documentation yet, but writing an extension module isn’t too hard once you get familiar with the structure. The exact steps depend a bit on what you want to build and whether it’s for personal use or something you’d like to share upstream. For a simple, personal extension you can start by:
If you plan to contribute it back, there are a few extra pieces—like adding a toggle in It may not be the cleanest example, but you could check out the changes made in #26 If you’re new to coding, feel free to open a draft PR even if it’s rough — I’m happy to give pointers and help you get started. |
Hi! There isn’t any dedicated documentation yet, but writing an extension module isn’t too hard once you get familiar with the structure. The exact steps depend a bit on what you want to build and whether it’s for personal use or something you’d like to share upstream.
For a simple, personal extension you can start by:
firmware/include/extensions/CustomExtension.handfirmware/src/extensions/CustomExtension.cpp.firmware/include/services/ExtensionsService.h.If you plan to contribute it back, there are a few extra pieces—like adding a toggle in
firmware/include/config/extensions.h, updatingfirmware/src/services/ExtensionsService.cpp,…