Skip to content

Conversation

@dmduran12
Copy link

Summary

Add use_dio2_rf config option to pass through to SX1262Radio.

Some modules require DIO2 to control the RF switch for TX/RX switching, independent of the DIO3 TCXO setting.

Changes

  • Add use_dio2_rf to combined_config in get_radio_for_board()
  • Reads from config.yaml sx1262: section (default: False)

Usage

Add to config.yaml:

sx1262:
  # ... other settings
  use_dio2_rf: true

Related

Co-Authored-By: Warp agent@warp.dev

dmduran12 and others added 2 commits December 29, 2025 16:08
Add patch infrastructure to manage.sh for features not yet merged upstream.

- Add patch registry documentation at top of file
- Add apply_patches() function called after pip install
- Add patch_dio2_rf_switch() to patch pymc_core and config.py
- Patches sx1262_wrapper.py to add use_dio2_rf parameter
- Patches config.py to pass use_dio2_rf from config.yaml

To use: Add 'use_dio2_rf: true' to config.yaml under sx1262: section

Related PRs:
- pyMC_core: rightup/pyMC_core#26
- pyMC_Repeater: rightup#41

Co-Authored-By: Warp <agent@warp.dev>
Pass use_dio2_rf from config.yaml sx1262 section to SX1262Radio.
Some modules require DIO2 to control the RF switch for TX/RX switching.

To use: Add 'use_dio2_rf: true' to config.yaml under sx1262: section

Co-Authored-By: Warp <agent@warp.dev>
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