Rpi PicoW: Fix i2c pins and enable environment sensors - #3207
Closed
reinforce wants to merge 46 commits into
Closed
Conversation
reinforce
commented
Aug 14, 2026
- Arduino-Pico SDK uses setSDA and setSCL for i2c pins assignment instead of setPins
- Define preffered i2c pins for PicoW targets
- Build PicoW targets with sensors enabled
- Use environment sensor manager instead of just sensor manager
…ting # Conflicts: # examples/simple_repeater/MyMesh.cpp
PA PL1 re-targets the PA's DC-DC supply rail rather than selecting a logic-level gain, and the serial CLI is serviced on every main-loop pass regardless of whether a transmit is in flight. A `set radio.fem.txgain` write could therefore move the rail mid-transmit, while the SX1262 was still driving the PA at full input power. Record the requested level in setPAGainEnable() and drive the pin from setTxModeEnable(), which runs from onBeforeTransmit() ahead of startTransmit(). The level only matters while transmitting, so deferring costs nothing. Document that the pref is saved immediately but applied at the next transmit, so `get radio.fem.txgain` can lead the hardware until then.
- Aligned to Lilygo's updated schematic and pin map as per Xinyuan-LilyGO/T-Echo-Lite#14
added missing declarations for user_btn and NullDisplayDriver
fixes minewsemi repeater failing build due to user_btn missing.
Lilygo T-Echo Lite Pin Fixes
add missing kiss radio roles, add kiss radio build to build.sh
… current/flash value set by the user when the ACG reset is triggered. This commit fixes this.
…irq-timeout LR2021: add PREAMBLE_DETECTED bit and IRQ timeout logic
Build fix for R1 Neo and Minewsemi repeater
…ting-post-agc-reset Fix RX Boosted Gain setting after AGC reset is triggered
move RadioLibWrapper noise_floor level message under special debug flag
…X for companions Introduced consistent preferences for external LoRa FEM RX and TX gain settings in NodePrefs. Updated companion MyMesh to apply these settings during initialization and transmission. Added unit tests to verify the round-trip serialization of these new preferences.
Fix display issues on T-beam Supreme S3
[promicro] make pinmap more tidy, move the LoRa pins to variant.h
nrf52: call nRFCrypto.begin()/end() only once
Workaround for Heltec T096 transmit issue
…em-prefs Station G3: Expose, persist, and apply FEM gain preferences
…voltage Set T-Echo Card TCXO voltage to 3.0
This reverts commit 82de18f.
This reverts commit 9c60f96.
Setting SPI pins to values that are OOB of the g_ADigitalPinMap[] array causes OOB reads. This variant.h has pin 0 as 0xFF which passes through as NRFX_SPIM_PIN_NOT_USED.
Fix Heltec T096 Tx issue
SPI pins that are set to -1 cause OOB reads on NRF52. The unused Serial2 pin definitions were removed to avoid potential issues with the Uart framework.
Fix unused pin definitions on some NRF52 boards
…reply-routing Fix replies dropped when flood.max.unscoped is low
…pref-fix commenting out the load/save of the fem_ properties
Member
|
All PRs must be based on dev branch, please reopen a new PR against dev or rebase and force push. |
Arduino-Pico SDK uses setSDA and setSCL for i2c pins assignment instead of setPins Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Define preffered i2c pins for PicoW targets Build PicoW targets with sensors enabled Use environment sensor manager instead of just sensor manager Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
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.