Skip to content

espFoC: add fixed point support.#27

Draft
uLipe wants to merge 1 commit intomainfrom
refactor/fixed_point
Draft

espFoC: add fixed point support.#27
uLipe wants to merge 1 commit intomainfrom
refactor/fixed_point

Conversation

@uLipe
Copy link
Owner

@uLipe uLipe commented Mar 17, 2026

Introduce IQ31 (Q1.31) conversion, arithmetic helpers, LUT-based sin/cos, rsqrt approximation, and Clarke/Park transforms, gated by Kconfig option. Add comprehensive unit tests (overflow/underflow/invalid inputs, waveform, transforms, SVPWM-style checks) and update test runner docs for QEMU.

Introduce IQ31 (Q1.31) conversion, arithmetic helpers, LUT-based sin/cos,
rsqrt approximation, and Clarke/Park transforms, gated by Kconfig option.
Add comprehensive unit tests (overflow/underflow/invalid inputs, waveform,
transforms, SVPWM-style checks) and update test runner docs for QEMU.

Signed-off-by: Felipe Neves <ryukokki.felipe@gmail.com>
@uLipe uLipe self-assigned this Mar 17, 2026
@uLipe uLipe marked this pull request as draft March 17, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant