Skip to content

Contributing

Val edited this page Nov 17, 2026 · 2 revisions

Bug reports, hardware test results, documentation fixes and code are all welcome. The short version is in CONTRIBUTING.md; this page adds the background.

Ways to help

You can How
Test on your device Answer in Discussions; ZT706S reports are especially valuable
Report a bug Bug report, see Troubleshooting for what to include
Suggest a feature Feature request
Improve this wiki Suggest changes in Discussions
Write code Pull request, see below

Pull requests

  1. For anything larger than a small fix, open an issue first so the approach can be agreed.
  2. One focused change per pull request.
  3. pio run must build all four environments without new warnings (Building).
  4. Test on hardware when behavior changes, and say which model you used. If you could not test, say so.
  5. Never add code that writes to the protected boot block 0x08000000–0x0801FFFF (Memory and Flash Layout).
  6. Do not modify vendor/, except to update a third-party component as a whole.

Code style

  • C++17, no exceptions, no RTTI, no thread-safe statics. No heap allocation outside the UI library's own heap.
  • Fixed-size buffers with static_assert on their sizes; large buffers belong in a dedicated RAM region (the main stack is small, see Memory and Flash Layout).
  • Follow the surrounding code: naming, brace style, short comments that explain why.
  • A failure must be visible: return a status and show a message. Missing data is shown as missing.
  • Hardware state is changed only after the change is confirmed to be valid; a refused change leaves the old state in place.
  • Keep the main loop responsive: long work (file writes, decoding) is done in slices.

How changes reach a release

Releases are pre-releases named vX.Y.Z with exactly four files per release: the Recovery .ZTK and the firmware .OSC for each model. See Releases and Versioning.

License

OpenOSC is GPL-3.0. By contributing you agree that your contribution is distributed under the same license.

Clone this wiki locally