mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-31 19:05:44 +00:00
Support native configuration Waveshare Pico LoRa module on Orange Pi Zero3 (#7295)
* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28 * Merge PR #420 * Fixed double and missing Default class. * Use correct format specifier and fixed typo. * Removed duplicate code. * Fix error: #if with no expression * Fix warning: extra tokens at end of #endif directive. * Fix antenna switching logic. Complementary-pin control logic is required on the rp2040-lora board. * Fix deprecated macros. * Set RP2040 in dormant mode when deep sleep is triggered. * Fix array out of bounds read. * Admin key count needs to be set otherwise the key will be zero loaded after reset. * Don't reset the admin key size when loading defaults. Preserve an existing key in config if possible. * Remove log spam when reading INA voltage sensor. * Remove static declaration for admin keys from userPrefs.h. Load hard coded admin keys in case config file has empty slots. * Removed newlines from log. * Fix issue #5665. * Fix build for Pico2 RP2350 platform. * Enable Wifi client on Pico2W. * Use correct processor on Pico2. * Fix deprecated warning. * Update platform and framework for RP2350. * Added Pico2W variant including Wifi support. * Fix typo in used variant. * Remove obsolete define. * Fix for native Linux build. * Simplify RP2350 platform tag reference. Co-authored-by: Austin <vidplace7@gmail.com> * Cast user prefs strings. * Update to last successfully building platform package. * Define I2C GPIOs to ensure usage of both ports. Possibly fixes #5361 * RAK11310 support for RAK12002 RTC added. * Update platform and framework packages to 4.4.3. * Use RP2040 base platform and framework package. Use RAK11300 board definition in arduino-pico framework. * Use RAK11300 board definition in arduino-pico framework. * Fix build when MESHTASTIC_EXCLUDE_GPS is defined. * Added configuration for Waveshare Pico LoRa module in combination with Orange Pi Zero3. * Equal to upstream master. --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com> Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com> Co-authored-by: Austin <vidplace7@gmail.com> Co-authored-by: Tom Fifield <tom@tomfifield.net>
This commit is contained in:
parent
72f3d19d5a
commit
d42bde135f
52
bin/config.d/lora-ws-raspberry-pico-to-orangepi-03.yaml
Normal file
52
bin/config.d/lora-ws-raspberry-pico-to-orangepi-03.yaml
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# https://www.waveshare.com/pico-lora-sx1262-868m.htm
|
||||||
|
# http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-3.html
|
||||||
|
#
|
||||||
|
# See Orange Pi Zero3 manual, chapter 3.16, page 124 for 26-pin header pinout
|
||||||
|
#
|
||||||
|
# Pin Connection
|
||||||
|
# Waveshare Orange Pi Zero3
|
||||||
|
# 36 3.3V 17
|
||||||
|
# 15 MOSI 19
|
||||||
|
# 16 MISO 21
|
||||||
|
# 14 CLK 23
|
||||||
|
# 38 GND 25
|
||||||
|
# 4 BUSY 18
|
||||||
|
# 20 RESET 22
|
||||||
|
# 5 CS 24
|
||||||
|
# 26 DIO1/IRQ 26
|
||||||
|
|
||||||
|
Lora:
|
||||||
|
Module: sx1262 # Waveshare Raspberry Pico Lora module
|
||||||
|
DIO2_AS_RF_SWITCH: true
|
||||||
|
DIO3_TCXO_VOLTAGE: true
|
||||||
|
# Specify either the spidev1_1 or the CS below, not both!
|
||||||
|
# On DietPi Linux, when using the user overlay dietpi-spi1_1.dtbo, CS will be configured with spidev1.1
|
||||||
|
spidev: spidev1.1 # See Orange Pi Zero3 manual, chapter 3.18.3, page 130
|
||||||
|
# CS: # CS PIN_24 -> chip 1, line 233
|
||||||
|
# pin: 24
|
||||||
|
# gpiochip: 1
|
||||||
|
# line: 233
|
||||||
|
SCK: # SCK PIN_23 -> chip 1, line 230
|
||||||
|
pin: 23
|
||||||
|
gpiochip: 1
|
||||||
|
line: 230
|
||||||
|
Busy: # BUSY PIN_18 -> chip 1, line 78
|
||||||
|
pin: 18
|
||||||
|
gpiochip: 1
|
||||||
|
line: 78
|
||||||
|
MOSI: # MOSI PIN_19 -> chip 1, line 231
|
||||||
|
pin: 19
|
||||||
|
gpiochip: 1
|
||||||
|
line: 231
|
||||||
|
MISO: # MISO PIN_21 -> chip 1, line 232
|
||||||
|
pin: 21
|
||||||
|
gpiochip: 1
|
||||||
|
line: 232
|
||||||
|
Reset: # NRST PIN_22 -> chip 1, line 71
|
||||||
|
pin: 22
|
||||||
|
gpiochip: 1
|
||||||
|
line: 71
|
||||||
|
IRQ: # DIO1 PIN_26 -> chip 1, line 74
|
||||||
|
pin: 26
|
||||||
|
gpiochip: 1
|
||||||
|
line: 74
|
Loading…
Reference in New Issue
Block a user