Skip to content

feat: add parallel PWM receiver input support - #220

Open
turkEman wants to merge 1 commit into
rtlopez:masterfrom
turkEman:feature/rx-parallel-pwm
Open

feat: add parallel PWM receiver input support#220
turkEman wants to merge 1 commit into
rtlopez:masterfrom
turkEman:feature/rx-parallel-pwm

Conversation

@turkEman

Copy link
Copy Markdown

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.

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.

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.
@rtlopez

rtlopez commented May 20, 2026

Copy link
Copy Markdown
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.

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.

2 participants