feat: add parallel PWM receiver input support - #220
Open
turkEman wants to merge 1 commit into
Open
Conversation
Added first-class configurable parallel PWM receiver input for ESP32. New files: - Device/InputPWM.cpp / .h: ISR-based PWM capture driver Modified files: - ModelConfig.h: feature_rx_pwm flag, pin_input_pwm_0..7 config - Model.h: PWM device integration - Input.cpp / .h: PWM backend init path - Connect/Cli.cpp: CLI get/set for feature and pin params Validated on ESP32 hardware: - GPIO assignment via CLI, persistent after reboot - Correct channel updates in Betaflight Configurator receiver tab - Stable 43 Hz input rate, AUX channels functional Unused PWM pins should be set to -1.
Owner
|
Hi @turkEman Please resubmit you PR without formatting changes. They are unneccesary at this stage, and I'm not able to figure out what changes are significant. Also you need to rebase your your branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Added first-class configurable parallel PWM receiver input for ESP32.
New files:
Modified files:
Validated on ESP32 hardware:
Unused PWM pins should be set to -1.
Also updated platformio.ini for rp2040/rp2350 environments to use the
official PlatformIO registry package (platform = raspberrypi) instead of
a direct GitHub URL, which was re-downloading ~700MB on every build.