Skip to content

Rpi PicoW: Fix i2c pins and enable environment sensors - #3207

Closed
reinforce wants to merge 46 commits into
meshcore-dev:mainfrom
reinforce:rpi_picow
Closed

Rpi PicoW: Fix i2c pins and enable environment sensors#3207
reinforce wants to merge 46 commits into
meshcore-dev:mainfrom
reinforce:rpi_picow

Conversation

@reinforce

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

ViezeVingertjes and others added 30 commits August 3, 2026 22:57
…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.
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.
[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
ripplebiz and others added 14 commits August 12, 2026 16:11
…em-prefs

Station G3: Expose, persist, and apply FEM gain preferences
…voltage

Set T-Echo Card TCXO voltage to 3.0
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.
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
@oltaco

oltaco commented Aug 14, 2026

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