emdashes begone (#10847)

This commit is contained in:
Tom
2026-07-01 19:01:27 -05:00
committed by GitHub
parent dee94e0758
commit 3becaf2d95
276 changed files with 1795 additions and 1793 deletions
+11 -11
View File
@@ -1,4 +1,4 @@
# Raspberry Pi Pico 2 + W5500 + E22-900M30S Meshtastic Variant
# Raspberry Pi Pico 2 + W5500 + E22-900M30S - Meshtastic Variant
Meshtastic support for a **Raspberry Pi Pico 2** (RP2350, 4 MB flash) with an external **W5500** Ethernet module and an **EBYTE E22-900M30S** LoRa module.
@@ -20,9 +20,9 @@ Meshtastic support for a **Raspberry Pi Pico 2** (RP2350, 4 MB flash) with an ex
| GPIO | Function |
| ---- | --------------------------------------- |
| GP24 | VBUS sense HIGH when USB is connected |
| GP24 | VBUS sense - HIGH when USB is connected |
| GP25 | User LED (heartbeat) |
| GP29 | ADC3 VSYS/3, measures supply voltage |
| GP29 | ADC3 - VSYS/3, measures supply voltage |
### W5500 Ethernet (SPI0)
@@ -33,7 +33,7 @@ Meshtastic support for a **Raspberry Pi Pico 2** (RP2350, 4 MB flash) with an ex
| SCK | GP18 |
| MOSI | GP19 |
| RST | GP20 |
| INT | (nc) |
| INT | - (nc) |
| VCC | 3.3V |
| GND | GND |
@@ -50,10 +50,10 @@ Meshtastic support for a **Raspberry Pi Pico 2** (RP2350, 4 MB flash) with an ex
| RESET | GP15 | Active LOW reset |
| DIO1 | GP14 | IRQ interrupt |
| BUSY | GP2 | Module busy indicator |
| RXEN | GP3 | LNA enable held HIGH permanently |
| RXEN | GP3 | LNA enable - held HIGH permanently |
| TXEN | ← DIO2 | See wiring note below |
| VCC | 3.3V | Add a 100 µF capacitor close to the module |
| GND | GND | |
| GND | GND | - |
> See `wiring.svg` in this directory for the full connection diagram.
@@ -81,10 +81,10 @@ With this bridge in place, `SX126X_DIO2_AS_RF_SWITCH` causes the SX1262 to drive
pio run -e pico2_w5500_e22
```
### Flash BOOTSEL mode
### Flash - BOOTSEL mode
1. Hold the **BOOTSEL** button on the Pico 2.
2. Connect USB to the PC it appears as a `RPI-RP2` storage drive.
2. Connect USB to the PC - it appears as a `RPI-RP2` storage drive.
3. Copy the `.uf2` file:
```text
@@ -119,7 +119,7 @@ Services available once connected:
## Technical notes
### LoRa RF control
### LoRa - RF control
| Define | Effect |
| ------------------------------ | ----------------------------------------------------------- |
@@ -128,7 +128,7 @@ Services available once connected:
| `SX126X_DIO3_TCXO_VOLTAGE 1.8` | E22 TCXO controlled by DIO3 |
| `-D EBYTE_E22_900M30S` | Sets `TX_GAIN_LORA=7`, max power 22 dBm |
> RXEN and TXEN may both be HIGH simultaneously during TX this is safe for the E22 RF switch.
> RXEN and TXEN may both be HIGH simultaneously during TX - this is safe for the E22 RF switch.
### Ethernet
@@ -138,7 +138,7 @@ Services available once connected:
### HW_VENDOR
Mapped to `meshtastic_HardwareModel_PRIVATE_HW` no dedicated model exists in the Meshtastic protobuf for this hardware combination yet.
Mapped to `meshtastic_HardwareModel_PRIVATE_HW` - no dedicated model exists in the Meshtastic protobuf for this hardware combination yet.
---
@@ -22,7 +22,7 @@ lib_deps =
${rp2350_base.lib_deps}
${networking_base.lib_deps}
${networking_extra.lib_deps}
# Standard WIZnet Ethernet library supports W5100/W5200/W5500 auto-detect
# Standard WIZnet Ethernet library - supports W5100/W5200/W5500 auto-detect
arduino-libraries/Ethernet@^2.0.2
debug_build_flags = ${rp2350_base.build_flags}, -g
@@ -1,5 +1,5 @@
// Raspberry Pi Pico 2 + external W5500 Ethernet module + EBYTE E22-900M30S
// RP2350 (4 MB flash) wire modules to the GPIO pins listed below
// RP2350 (4 MB flash) - wire modules to the GPIO pins listed below
//
// LoRa (SX1262 / E22-900M30S) on SPI1:
// SCK=GP10 MOSI=GP11 MISO=GP12 CS=GP13
@@ -11,7 +11,7 @@
//
// See wiring.svg in this directory for a complete connection diagram.
// Community/DIY board no dedicated Meshtastic HardwareModel
// Community/DIY board - no dedicated Meshtastic HardwareModel
#define PRIVATE_HW
#define ARDUINO_ARCH_AVR
@@ -20,20 +20,20 @@
#define LED_POWER PIN_LED
// Power monitoring
// GP24: VBUS sense HIGH when USB is present (digital read)
// GP24: VBUS sense - HIGH when USB is present (digital read)
// GP29: ADC3 measures VSYS/3 (200 kΩ / 100 kΩ divider, same as standard Pico 2)
#define EXT_PWR_DETECT 24
#define BATTERY_PIN 29
#define ADC_MULTIPLIER 3.0
#define BATTERY_SENSE_RESOLUTION_BITS 12
// No real battery suppress false "battery at 100%" while USB powers VSYS
// No real battery - suppress false "battery at 100%" while USB powers VSYS
#define NO_BATTERY_LEVEL_ON_CHARGE
// Optional user button connect a button between GP6 and GND
// Optional user button - connect a button between GP6 and GND
// #define BUTTON_PIN 6
// #define BUTTON_NEED_PULLUP
// GPS on UART1 (Serial2) GP8 TX, GP9 RX
// GPS on UART1 (Serial2) - GP8 TX, GP9 RX
// GP8/GP9 belong to UART1, so we must use Serial2 (not the default Serial1/UART0).
// GP0/GP1 (UART0 defaults) are free but the firmware treats pin 0 as "not configured".
// GP4/GP5 occupied by I2C (SCL/SDA for BMP-280).