diff --git a/include/utils.h b/include/utils.h index a5a085a..fcae99f 100644 --- a/include/utils.h +++ b/include/utils.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -45,7 +45,7 @@ namespace Utils { void checkRebootMode(); void checkRebootTime(); void checkSleepByLowBatteryVoltage(uint8_t mode); - bool checkValidCallsign(const String& callsign); + bool callsignIsValid(const String& callsign); void startupDelay(); } diff --git a/src/aprs_is_utils.cpp b/src/aprs_is_utils.cpp index 6350f90..3bd305e 100644 --- a/src/aprs_is_utils.cpp +++ b/src/aprs_is_utils.cpp @@ -1,22 +1,22 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ -#include +#include #include #include "configuration.h" #include "aprs_is_utils.h" @@ -204,7 +204,7 @@ namespace APRS_IS_Utils { int firstColonIndex = packet.indexOf(":"); if (firstColonIndex > 5 && firstColonIndex < (packet.length() - 1) && packet[firstColonIndex + 1] != '}' && packet.indexOf("TCPIP") == -1) { const String& Sender = packet.substring(3, packet.indexOf(">")); - if (Sender != Config.callsign && Utils::checkValidCallsign(Sender)) { + if (Sender != Config.callsign && Utils::callsignIsValid(Sender)) { STATION_Utils::updateLastHeard(Sender); Utils::typeOfPacket(packet.substring(3), 0); // LoRa-APRS const String& AddresseeAndMessage = packet.substring(packet.indexOf("::") + 2); diff --git a/src/digi_utils.cpp b/src/digi_utils.cpp index 1ddf642..5874e0d 100644 --- a/src/digi_utils.cpp +++ b/src/digi_utils.cpp @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -75,7 +75,7 @@ namespace DIGI_Utils { } else { // CrossFreq Digipeater String suffix = thirdParty ? ":}" : ":"; String packetToRepeat = packet.substring(0, packet.indexOf(suffix)); - + String terms[] = {",WIDE1*", ",WIDE2*", "*"}; for (String term : terms) { int index = packetToRepeat.indexOf(term); @@ -99,8 +99,8 @@ namespace DIGI_Utils { } else { temp = packet.substring(packet.indexOf(">") + 1, packet.indexOf(":")); } - if (temp.indexOf(",") > 2) { // checks for path - const String& path = temp.substring(temp.indexOf(",") + 1); // after tocall + if (temp.indexOf(",") > 2) { // checks for path in temp + const String& path = temp.substring(temp.indexOf(",") + 1); // extract path after tocall if (Config.digi.mode == 2 || backupDigiMode) { if (path.indexOf("WIDE1-1") != - 1) { return buildPacket(path, packet, thirdParty, false); @@ -135,45 +135,45 @@ namespace DIGI_Utils { } void processLoRaPacket(const String& packet) { - if (packet.indexOf("NOGATE") == -1) { - bool thirdPartyPacket = false; - String temp, Sender; - int firstColonIndex = packet.indexOf(":"); - if (firstColonIndex > 5 && firstColonIndex < (packet.length() - 1) && packet[firstColonIndex + 1] == '}' && packet.indexOf("TCPIP") > 0) { // 3rd Party - thirdPartyPacket = true; - temp = packet.substring(packet.indexOf(":}") + 2); - Sender = temp.substring(0, temp.indexOf(">")); - } else { - temp = packet.substring(3); - Sender = packet.substring(3, packet.indexOf(">")); - } - if (Sender != (Config.tacticalCallsign == "" ? Config.callsign : Config.tacticalCallsign)) { // Avoid listening to own packets - if (!thirdPartyPacket && Config.tacticalCallsign == "" && !Utils::checkValidCallsign(Sender)) { - return; + if (packet.indexOf("NOGATE") >= 0) return; + + bool thirdPartyPacket = false; + String temp, Sender; + int firstColonIndex = packet.indexOf(":"); + if (firstColonIndex > 5 && firstColonIndex < (packet.length() - 1) && packet[firstColonIndex + 1] == '}' && packet.indexOf("TCPIP") > 0) { // 3rd Party + thirdPartyPacket = true; + temp = packet.substring(packet.indexOf(":}") + 2); + Sender = temp.substring(0, temp.indexOf(">")); + } else { + temp = packet.substring(3); + Sender = packet.substring(3, packet.indexOf(">")); + } + + if (Sender == (Config.tacticalCallsign == "" ? Config.callsign : Config.tacticalCallsign)) return; // Avoid listening to self packets + if (!thirdPartyPacket && Config.tacticalCallsign == "" && !Utils::callsignIsValid(Sender)) return; // No thirdParty + no tactical y no valid callsign + + if (STATION_Utils::check25SegBuffer(Sender, temp.substring(temp.indexOf(":") + 2))) { + STATION_Utils::updateLastHeard(Sender); + Utils::typeOfPacket(temp, 2); // Digi + bool queryMessage = false; + if (temp.indexOf("::") > 10) { // it's a message + String AddresseeAndMessage = temp.substring(temp.indexOf("::") + 2); + String Addressee = AddresseeAndMessage.substring(0, AddresseeAndMessage.indexOf(":")); + Addressee.trim(); + if (Addressee == (Config.tacticalCallsign == "" ? Config.callsign : Config.tacticalCallsign)) { // it's a message for me! + queryMessage = APRS_IS_Utils::processReceivedLoRaMessage(Sender, AddresseeAndMessage, thirdPartyPacket); } - if (STATION_Utils::check25SegBuffer(Sender, temp.substring(temp.indexOf(":") + 2))) { - STATION_Utils::updateLastHeard(Sender); - Utils::typeOfPacket(temp, 2); // Digi - bool queryMessage = false; - if (temp.indexOf("::") > 10) { // it's a message - String AddresseeAndMessage = temp.substring(temp.indexOf("::") + 2); - String Addressee = AddresseeAndMessage.substring(0, AddresseeAndMessage.indexOf(":")); - Addressee.trim(); - if (Addressee == (Config.tacticalCallsign == "" ? Config.callsign : Config.tacticalCallsign)) { // it's a message for me! - queryMessage = APRS_IS_Utils::processReceivedLoRaMessage(Sender, AddresseeAndMessage, thirdPartyPacket); - } - } - if (!queryMessage) { - String loraPacket = generateDigipeatedPacket(packet.substring(3), thirdPartyPacket); - if (loraPacket != "") { - STATION_Utils::addToOutputPacketBuffer(loraPacket); - if (Config.digi.ecoMode != 1) displayToggle(true); - lastScreenOn = millis(); - } - } + } + if (!queryMessage) { + String loraPacket = generateDigipeatedPacket(packet.substring(3), thirdPartyPacket); + if (loraPacket != "") { + STATION_Utils::addToOutputPacketBuffer(loraPacket); + if (Config.digi.ecoMode != 1) displayToggle(true); + lastScreenOn = millis(); } } } + //} } } \ No newline at end of file diff --git a/src/gps_utils.cpp b/src/gps_utils.cpp index 5f7e188..fc23cd9 100644 --- a/src/gps_utils.cpp +++ b/src/gps_utils.cpp @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -34,7 +34,7 @@ extern Configuration Config; extern HardwareSerial gpsSerial; extern TinyGPSPlus gps; -extern bool callsignIsValid; +extern bool stationCallsignIsValid; String distance, iGateBeaconPacket, iGateLoRaBeaconPacket; @@ -49,7 +49,7 @@ namespace GPS_Utils { String encodedGPS = APRSPacketLib::encodeGPSIntoBase91(Config.beacon.latitude, Config.beacon.longitude, 0, 0, Config.beacon.symbol, false, 0, true, Config.beacon.ambiguityLevel); if (Config.callsign.indexOf("NOCALL-10") != 0) { - if (!callsignIsValid) { + if (!stationCallsignIsValid) { displayShow("***** ERROR ******", "CALLSIGN = NOT VALID!", "", "Only Rx Mode Active", 3000); Config.loramodule.txActive = false; Config.aprs_is.messagesToRF = false; @@ -57,7 +57,7 @@ namespace GPS_Utils { Config.beacon.sendViaRF = false; Config.digi.mode = 0; Config.digi.backupDigiMode = false; - } else if (callsignIsValid && Config.tacticalCallsign != "") { + } else if (stationCallsignIsValid && Config.tacticalCallsign != "") { beaconPacket = APRSPacketLib::generateBasePacket(Config.tacticalCallsign, "APLRG1", Config.beacon.path); Config.aprs_is.active = false; Config.beacon.sendViaAPRSIS = false; @@ -155,7 +155,7 @@ namespace GPS_Utils { const uint8_t nonEncondedLatitudeOffset = 9; // "N" / "S" const uint8_t nonEncondedLongitudeOffset = 19; // "E" / "W" const uint8_t encodedByteOffset = 14; - + int indexOfExclamation = packet.indexOf(":!"); int indexOfEqual = packet.indexOf(":="); int baseIndex = - 1; diff --git a/src/power_utils.cpp b/src/power_utils.cpp index 48c2735..fb1fc81 100644 --- a/src/power_utils.cpp +++ b/src/power_utils.cpp @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -44,7 +44,7 @@ #endif extern Configuration Config; -extern bool callsignIsValid; +extern bool stationCallsignIsValid; namespace POWER_Utils { @@ -73,7 +73,7 @@ namespace POWER_Utils { #if ADC_CTRL_INVERTED == 1 digitalWrite(ADC_CTRL, LOW); #else - digitalWrite(ADC_CTRL, HIGH); + digitalWrite(ADC_CTRL, HIGH); #endif } @@ -110,7 +110,7 @@ namespace POWER_Utils { #else return false; #endif - } + } void activateGPS() { #ifdef HAS_AXP192 @@ -320,11 +320,11 @@ namespace POWER_Utils { #ifdef USE_WIRE1_WITH_BOARD_I2C_PINS Wire1.begin(BOARD_I2C_SDA, BOARD_I2C_SCL); #endif - + delay(1000); BATTERY_Utils::setup(); BATTERY_Utils::startupBatteryHealth(); - callsignIsValid = Utils::checkValidCallsign(Config.callsign); + stationCallsignIsValid = Utils::callsignIsValid(Config.callsign); setCpuFrequencyMhz(80); } diff --git a/src/sleep_utils.cpp b/src/sleep_utils.cpp index d8efea4..7db6bfd 100644 --- a/src/sleep_utils.cpp +++ b/src/sleep_utils.cpp @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -51,12 +51,13 @@ namespace SLEEP_Utils { if (Config.digi.ecoMode == 1) { pinMode(RADIO_WAKEUP_PIN, INPUT); attachInterrupt(digitalPinToInterrupt(RADIO_WAKEUP_PIN), wakeUpLoRaPacketReceived, RISING); - #if defined(HAS_ESP32) || defined(HAS_ESP32_S2) || defined(HAS_ESP32_S3) + + #if defined(CONFIG_IDF_TARGET_ESP32) || defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32S3) esp_sleep_enable_ext1_wakeup(GPIO_WAKEUP_PIN, ESP_EXT1_WAKEUP_ANY_HIGH); - #endif - #if defined(HAS_ESP32_C3) + #elif defined(CONFIG_IDF_TARGET_ESP32C3) esp_deep_sleep_enable_gpio_wakeup(1ULL << GPIO_WAKEUP_PIN, ESP_GPIO_WAKEUP_GPIO_HIGH); #endif + //#if defined(ARDUINO_ARCH_STM32) || defined(ARDUINO_ARCH_NRF52) } #endif } diff --git a/src/utils.cpp b/src/utils.cpp index b0f6420..b856190 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -61,13 +61,13 @@ extern bool passcodeValid; extern std::vector lastHeardStations; -bool statusAfterBoot = true; -bool sendStartTelemetry = true; -bool beaconUpdate = false; -uint32_t lastBeaconTx = 0; -uint32_t lastScreenOn = millis(); -uint32_t lastStatusTx = 0; -bool callsignIsValid = false; +bool statusAfterBoot = true; +bool sendStartTelemetry = true; +bool beaconUpdate = false; +uint32_t lastBeaconTx = 0; +uint32_t lastScreenOn = millis(); +uint32_t lastStatusTx = 0; +bool stationCallsignIsValid = false; String beaconPacket; String secondaryBeaconPacket; @@ -157,9 +157,9 @@ namespace Utils { if (beaconUpdate) { if (!Config.display.alwaysOn && Config.display.timeout != 0) displayToggle(true); - if (sendStartTelemetry && + if (sendStartTelemetry && Config.battery.sendVoltageAsTelemetry && - !Config.wxsensor.active && + !Config.wxsensor.active && (Config.battery.sendInternalVoltage || Config.battery.sendExternalVoltage) && (lastBeaconTx > 0)) { TELEMETRY_Utils::sendEquationsUnitsParameters(); @@ -198,7 +198,7 @@ namespace Utils { } beaconPacket += Config.beacon.comment; secondaryBeaconPacket += Config.beacon.comment; - if (callsignIsValid && Config.tacticalCallsign != "") { + if (stationCallsignIsValid && Config.tacticalCallsign != "") { beaconPacket += " de "; beaconPacket += Config.callsign; secondaryBeaconPacket += " de "; @@ -244,7 +244,7 @@ namespace Utils { if (Config.battery.sendExternalVoltage) { char externalVoltageInfo[10]; // "xx.xxV\0" (max 7 chars) snprintf(externalVoltageInfo, sizeof(externalVoltageInfo), "%.2fV", externalVoltage); - + char sixthLineBuffer[25]; // Ensure enough space snprintf(sixthLineBuffer, sizeof(sixthLineBuffer), " (Ext V=%s)", externalVoltageInfo); sixthLine = sixthLineBuffer; @@ -415,9 +415,9 @@ namespace Utils { } } - bool checkValidCallsign(const String& callsign) { + bool callsignIsValid(const String& callsign) { if (callsign == "WLNK-1") return true; - + String cleanCallsign; if (callsign.indexOf("-") > 0) { // SSID Validation cleanCallsign = callsign.substring(0, callsign.indexOf("-")); diff --git a/src/wx_utils.cpp b/src/wx_utils.cpp index 27d7b59..d4de9d5 100644 --- a/src/wx_utils.cpp +++ b/src/wx_utils.cpp @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -42,7 +42,7 @@ float newHum, newTemp, newPress, newGas; Adafruit_BME280 bme280; -Adafruit_AHTX0 aht20; +Adafruit_AHTX0 aht20; #if defined(HELTEC_V3) || defined(HELTEC_V3_2) Adafruit_BMP280 bmp280(&Wire1); Adafruit_Si7021 si7021 = Adafruit_Si7021(); @@ -161,7 +161,7 @@ namespace WX_Utils { Adafruit_BMP280::SAMPLING_X1, Adafruit_BMP280::SAMPLING_X1, Adafruit_BMP280::FILTER_OFF - ); + ); Serial.println("BMP280 Module init done!"); break; case 3: @@ -306,7 +306,7 @@ namespace WX_Utils { humStr = ".."; } - String presStr = (wxModuleType == 4 || wxModuleType == 5) + String presStr = (wxModuleType == 4 || wxModuleType == 5) ? "....." : generatePresString(newPress + getAltitudeCorrection() / CORRECTION_FACTOR); diff --git a/variants/ESP32_C3_OctopusLab_LoRa/board_pinout.h b/variants/ESP32_C3_OctopusLab_LoRa/board_pinout.h index 831db19..05fa745 100644 --- a/variants/ESP32_C3_OctopusLab_LoRa/board_pinout.h +++ b/variants/ESP32_C3_OctopusLab_LoRa/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_C3 - // LoRa Radio #define HAS_SX1268 #define RADIO_HAS_XTAL @@ -47,5 +45,5 @@ #define OLED_SDA 0 #define OLED_SCL 1 #define OLED_RST -1 // Reset pin # (or -1 if sharing Arduino reset pin) - + #endif \ No newline at end of file diff --git a/variants/ESP32_DIY_1W_LoRa/board_pinout.h b/variants/ESP32_DIY_1W_LoRa/board_pinout.h index 9a4b57b..2475d6a 100644 --- a/variants/ESP32_DIY_1W_LoRa/board_pinout.h +++ b/variants/ESP32_DIY_1W_LoRa/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1268 #define HAS_1W_LORA diff --git a/variants/ESP32_DIY_1W_LoRa_915/board_pinout.h b/variants/ESP32_DIY_1W_LoRa_915/board_pinout.h index 0a73840..f34d01c 100644 --- a/variants/ESP32_DIY_1W_LoRa_915/board_pinout.h +++ b/variants/ESP32_DIY_1W_LoRa_915/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1262 #define HAS_1W_LORA diff --git a/variants/ESP32_DIY_1W_LoRa_LLCC68/board_pinout.h b/variants/ESP32_DIY_1W_LoRa_LLCC68/board_pinout.h index dd17a26..44345b7 100644 --- a/variants/ESP32_DIY_1W_LoRa_LLCC68/board_pinout.h +++ b/variants/ESP32_DIY_1W_LoRa_LLCC68/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_LLCC68 #define HAS_1W_LORA @@ -41,7 +39,7 @@ // Display #define HAS_DISPLAY - + #undef OLED_SDA #undef OLED_SCL #undef OLED_RST diff --git a/variants/ESP32_DIY_1W_LoRa_Mesh_V1_2/board_pinout.h b/variants/ESP32_DIY_1W_LoRa_Mesh_V1_2/board_pinout.h index 426e76b..fc65f39 100644 --- a/variants/ESP32_DIY_1W_LoRa_Mesh_V1_2/board_pinout.h +++ b/variants/ESP32_DIY_1W_LoRa_Mesh_V1_2/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1268 #define HAS_1W_LORA diff --git a/variants/ESP32_DIY_LoRa/board_pinout.h b/variants/ESP32_DIY_LoRa/board_pinout.h index 75c67e8..85cb497 100644 --- a/variants/ESP32_DIY_LoRa/board_pinout.h +++ b/variants/ESP32_DIY_LoRa/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 5 diff --git a/variants/ESP32_DIY_LoRa_915/board_pinout.h b/variants/ESP32_DIY_LoRa_915/board_pinout.h index c679364..5bdcc12 100644 --- a/variants/ESP32_DIY_LoRa_915/board_pinout.h +++ b/variants/ESP32_DIY_LoRa_915/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1276 #define RADIO_SCLK_PIN 5 diff --git a/variants/ESP32_DIY_LoRa_A7670/board_pinout.h b/variants/ESP32_DIY_LoRa_A7670/board_pinout.h index 20bfacd..c635ff7 100644 --- a/variants/ESP32_DIY_LoRa_A7670/board_pinout.h +++ b/variants/ESP32_DIY_LoRa_A7670/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 18 @@ -46,8 +44,8 @@ // Aditional Config #define INTERNAL_LED_PIN 13 // 13 for V1.1 and 12 for V1.0 - #define BATTERY_PIN 35 - + #define BATTERY_PIN 35 + #define HAS_A7670 #define A7670_PWR_PIN 4 #define A7670_ResetPin 5 diff --git a/variants/ESP32_DIY_LoRa_A7670_915/board_pinout.h b/variants/ESP32_DIY_LoRa_A7670_915/board_pinout.h index a3a65d3..95c3d51 100644 --- a/variants/ESP32_DIY_LoRa_A7670_915/board_pinout.h +++ b/variants/ESP32_DIY_LoRa_A7670_915/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1276 #define RADIO_SCLK_PIN 18 @@ -33,7 +31,7 @@ // I2C #define USE_WIRE_WITH_OLED_PINS - // Display + // Display #define HAS_DISPLAY #undef OLED_SDA diff --git a/variants/LoRaHAM_V2/board_pinout.h b/variants/LoRaHAM_V2/board_pinout.h index 2303959..caf44ab 100644 --- a/variants/LoRaHAM_V2/board_pinout.h +++ b/variants/LoRaHAM_V2/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 36 diff --git a/variants/OE5HWN_MeshCom/board_pinout.h b/variants/OE5HWN_MeshCom/board_pinout.h index ee86932..c2590cc 100644 --- a/variants/OE5HWN_MeshCom/board_pinout.h +++ b/variants/OE5HWN_MeshCom/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1268 #define HAS_1W_LORA diff --git a/variants/QRPLabs_LightGateway_1_0/board_pinout.h b/variants/QRPLabs_LightGateway_1_0/board_pinout.h index f22da56..cbbfa37 100644 --- a/variants/QRPLabs_LightGateway_1_0/board_pinout.h +++ b/variants/QRPLabs_LightGateway_1_0/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1268 #define RADIO_VCC_PIN 21 diff --git a/variants/QRPLabs_LightGateway_Plus_1_0/board_pinout.h b/variants/QRPLabs_LightGateway_Plus_1_0/board_pinout.h index 0ea2bed..ab354bd 100644 --- a/variants/QRPLabs_LightGateway_Plus_1_0/board_pinout.h +++ b/variants/QRPLabs_LightGateway_Plus_1_0/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1268 #define HAS_1W_LORA diff --git a/variants/TROY_LoRa_APRS/board_pinout.h b/variants/TROY_LoRa_APRS/board_pinout.h index 049f7a2..82edcb4 100644 --- a/variants/TROY_LoRa_APRS/board_pinout.h +++ b/variants/TROY_LoRa_APRS/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 5 diff --git a/variants/WEMOS-D1-R32-RA02/board_pinout.h b/variants/WEMOS-D1-R32-RA02/board_pinout.h index c1c44d1..e4efc1f 100644 --- a/variants/WEMOS-D1-R32-RA02/board_pinout.h +++ b/variants/WEMOS-D1-R32-RA02/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 18 diff --git a/variants/WEMOS-LOLIN32-OLED-DIY/board_pinout.h b/variants/WEMOS-LOLIN32-OLED-DIY/board_pinout.h index 7588548..1e9a087 100644 --- a/variants/WEMOS-LOLIN32-OLED-DIY/board_pinout.h +++ b/variants/WEMOS-LOLIN32-OLED-DIY/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 15 diff --git a/variants/WEMOS_S2_MINI_DIY_LoRa/board_pinout.h b/variants/WEMOS_S2_MINI_DIY_LoRa/board_pinout.h index 5b409cc..7ab85c0 100644 --- a/variants/WEMOS_S2_MINI_DIY_LoRa/board_pinout.h +++ b/variants/WEMOS_S2_MINI_DIY_LoRa/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S2 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 36 diff --git a/variants/XIAO_ESP32S3_WIO_SX1262/board_pinout.h b/variants/XIAO_ESP32S3_WIO_SX1262/board_pinout.h index 72502a3..6a9b8cb 100644 --- a/variants/XIAO_ESP32S3_WIO_SX1262/board_pinout.h +++ b/variants/XIAO_ESP32S3_WIO_SX1262/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/esp32c3_DIY_1W_LoRa/board_pinout.h b/variants/esp32c3_DIY_1W_LoRa/board_pinout.h index bb55433..2f286b6 100644 --- a/variants/esp32c3_DIY_1W_LoRa/board_pinout.h +++ b/variants/esp32c3_DIY_1W_LoRa/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_C3 - // LoRa Radio #define HAS_SX1268 #define HAS_1W_LORA diff --git a/variants/esp32c3_DIY_1W_LoRa_915/board_pinout.h b/variants/esp32c3_DIY_1W_LoRa_915/board_pinout.h index 3f2a1b0..3ca9af1 100644 --- a/variants/esp32c3_DIY_1W_LoRa_915/board_pinout.h +++ b/variants/esp32c3_DIY_1W_LoRa_915/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_C3 - // LoRa Radio #define HAS_SX1262 #define HAS_1W_LORA diff --git a/variants/heltec-lora32-v2/board_pinout.h b/variants/heltec-lora32-v2/board_pinout.h index 8b43c17..1bfcdb0 100644 --- a/variants/heltec-lora32-v2/board_pinout.h +++ b/variants/heltec-lora32-v2/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 5 diff --git a/variants/heltec-lora32-v2_915/board_pinout.h b/variants/heltec-lora32-v2_915/board_pinout.h index 1cb22c2..cf68107 100644 --- a/variants/heltec-lora32-v2_915/board_pinout.h +++ b/variants/heltec-lora32-v2_915/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1276 #define RADIO_SCLK_PIN 5 diff --git a/variants/heltec_ht-ct62/board_pinout.h b/variants/heltec_ht-ct62/board_pinout.h index 009cf8f..c9aec7b 100644 --- a/variants/heltec_ht-ct62/board_pinout.h +++ b/variants/heltec_ht-ct62/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_C3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_vision_master_e290/board_pinout.h b/variants/heltec_vision_master_e290/board_pinout.h index ddbc1c4..8638f42 100644 --- a/variants/heltec_vision_master_e290/board_pinout.h +++ b/variants/heltec_vision_master_e290/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_wifi_lora_32_V3/board_pinout.h b/variants/heltec_wifi_lora_32_V3/board_pinout.h index 935acbd..b9ac76e 100644 --- a/variants/heltec_wifi_lora_32_V3/board_pinout.h +++ b/variants/heltec_wifi_lora_32_V3/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_wifi_lora_32_V3_2/board_pinout.h b/variants/heltec_wifi_lora_32_V3_2/board_pinout.h index e099b01..ad9e199 100644 --- a/variants/heltec_wifi_lora_32_V3_2/board_pinout.h +++ b/variants/heltec_wifi_lora_32_V3_2/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_wifi_lora_32_V4/board_pinout.h b/variants/heltec_wifi_lora_32_V4/board_pinout.h index 3543e05..c8760ad 100644 --- a/variants/heltec_wifi_lora_32_V4/board_pinout.h +++ b/variants/heltec_wifi_lora_32_V4/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_wireless_bridge/board_pinout.h b/variants/heltec_wireless_bridge/board_pinout.h index 51fc7e7..50c768c 100644 --- a/variants/heltec_wireless_bridge/board_pinout.h +++ b/variants/heltec_wireless_bridge/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1276 #define RADIO_SCLK_PIN 5 @@ -53,5 +51,5 @@ Yellow LED (Wifi): PIN 23 / GPIO0 Blue LED (BT/BLE): PIN 25 / GPIO16 */ - + #endif \ No newline at end of file diff --git a/variants/heltec_wireless_paper_v1/board_pinout.h b/variants/heltec_wireless_paper_v1/board_pinout.h index df1dc75..ebf8c33 100644 --- a/variants/heltec_wireless_paper_v1/board_pinout.h +++ b/variants/heltec_wireless_paper_v1/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_wireless_paper_v1_2/board_pinout.h b/variants/heltec_wireless_paper_v1_2/board_pinout.h index df1dc75..ebf8c33 100644 --- a/variants/heltec_wireless_paper_v1_2/board_pinout.h +++ b/variants/heltec_wireless_paper_v1_2/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_wireless_stick/board_pinout.h b/variants/heltec_wireless_stick/board_pinout.h index eaee591..6ff3b0c 100644 --- a/variants/heltec_wireless_stick/board_pinout.h +++ b/variants/heltec_wireless_stick/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_wireless_stick_lite_v3/board_pinout.h b/variants/heltec_wireless_stick_lite_v3/board_pinout.h index 313ae84..39a7b00 100644 --- a/variants/heltec_wireless_stick_lite_v3/board_pinout.h +++ b/variants/heltec_wireless_stick_lite_v3/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_wireless_stick_lite_v3_display/board_pinout.h b/variants/heltec_wireless_stick_lite_v3_display/board_pinout.h index 8138a3c..015f8b6 100644 --- a/variants/heltec_wireless_stick_lite_v3_display/board_pinout.h +++ b/variants/heltec_wireless_stick_lite_v3_display/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/heltec_wireless_tracker/board_pinout.h b/variants/heltec_wireless_tracker/board_pinout.h index f12363a..23bbcc9 100644 --- a/variants/heltec_wireless_tracker/board_pinout.h +++ b/variants/heltec_wireless_tracker/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO @@ -38,7 +36,7 @@ #define USE_WIRE_WITH_BOARD_I2C_PINS #define BOARD_I2C_SDA 7 #define BOARD_I2C_SCL 6 - + // Display #define HAS_DISPLAY #define HAS_TFT diff --git a/variants/ttgo-lora32-v21/board_pinout.h b/variants/ttgo-lora32-v21/board_pinout.h index c76de72..cf3f15e 100644 --- a/variants/ttgo-lora32-v21/board_pinout.h +++ b/variants/ttgo-lora32-v21/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 5 diff --git a/variants/ttgo-lora32-v21_915/board_pinout.h b/variants/ttgo-lora32-v21_915/board_pinout.h index 18a4e41..ba0ef61 100644 --- a/variants/ttgo-lora32-v21_915/board_pinout.h +++ b/variants/ttgo-lora32-v21_915/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1276 #define RADIO_SCLK_PIN 5 @@ -50,5 +48,5 @@ #define INTERNAL_LED_PIN 25 // Green Led #define BATTERY_PIN 35 #define HAS_ADC_CALIBRATION - + #endif \ No newline at end of file diff --git a/variants/ttgo-t-beam-v1/board_pinout.h b/variants/ttgo-t-beam-v1/board_pinout.h index 8e55e7d..57b7fae 100644 --- a/variants/ttgo-t-beam-v1/board_pinout.h +++ b/variants/ttgo-t-beam-v1/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 5 diff --git a/variants/ttgo-t-beam-v1_2/board_pinout.h b/variants/ttgo-t-beam-v1_2/board_pinout.h index 12ff362..2b135e0 100644 --- a/variants/ttgo-t-beam-v1_2/board_pinout.h +++ b/variants/ttgo-t-beam-v1_2/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1278 #define RADIO_SCLK_PIN 5 @@ -30,7 +28,7 @@ #define RADIO_RST_PIN 14 #define RADIO_BUSY_PIN 26 #define RADIO_WAKEUP_PIN RADIO_BUSY_PIN - #define GPIO_WAKEUP_PIN GPIO_SEL_26 + #define GPIO_WAKEUP_PIN GPIO_SEL_26 // Display #define HAS_DISPLAY diff --git a/variants/ttgo-t-beam-v1_2_915/board_pinout.h b/variants/ttgo-t-beam-v1_2_915/board_pinout.h index bebd734..5445fe0 100644 --- a/variants/ttgo-t-beam-v1_2_915/board_pinout.h +++ b/variants/ttgo-t-beam-v1_2_915/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1276 #define RADIO_SCLK_PIN 5 diff --git a/variants/ttgo-t-beam-v1_2_SX1262/board_pinout.h b/variants/ttgo-t-beam-v1_2_SX1262/board_pinout.h index 6ab04d5..f300c71 100644 --- a/variants/ttgo-t-beam-v1_2_SX1262/board_pinout.h +++ b/variants/ttgo-t-beam-v1_2_SX1262/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/ttgo-t-beam-v1_915/board_pinout.h b/variants/ttgo-t-beam-v1_915/board_pinout.h index 5361301..e0898f7 100644 --- a/variants/ttgo-t-beam-v1_915/board_pinout.h +++ b/variants/ttgo-t-beam-v1_915/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1276 #define RADIO_SCLK_PIN 5 diff --git a/variants/ttgo-t-beam-v1_SX1268/board_pinout.h b/variants/ttgo-t-beam-v1_SX1268/board_pinout.h index 1439f13..9941a06 100644 --- a/variants/ttgo-t-beam-v1_SX1268/board_pinout.h +++ b/variants/ttgo-t-beam-v1_SX1268/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32 - // LoRa Radio #define HAS_SX1268 #define RADIO_SCLK_PIN 5 @@ -35,7 +33,7 @@ #define GPIO_WAKEUP_PIN GPIO_SEL_33 // Display - #define HAS_DISPLAY + #define HAS_DISPLAY #undef OLED_SDA #undef OLED_SCL diff --git a/variants/ttgo_lora32_t3s3_v1_2/board_pinout.h b/variants/ttgo_lora32_t3s3_v1_2/board_pinout.h index cefcfde..916fd51 100644 --- a/variants/ttgo_lora32_t3s3_v1_2/board_pinout.h +++ b/variants/ttgo_lora32_t3s3_v1_2/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/ttgo_t_beam_s3_SUPREME_v3/board_pinout.h b/variants/ttgo_t_beam_s3_SUPREME_v3/board_pinout.h index d6dd1e9..e557091 100644 --- a/variants/ttgo_t_beam_s3_SUPREME_v3/board_pinout.h +++ b/variants/ttgo_t_beam_s3_SUPREME_v3/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO diff --git a/variants/ttgo_t_deck_GPS/board_pinout.h b/variants/ttgo_t_deck_GPS/board_pinout.h index ddc7eb7..f8cb0e2 100644 --- a/variants/ttgo_t_deck_GPS/board_pinout.h +++ b/variants/ttgo_t_deck_GPS/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO @@ -45,7 +43,7 @@ #undef OLED_SDA #undef OLED_SCL - #undef OLED_RST + #undef OLED_RST // GPS #define GPS_RX 43 diff --git a/variants/ttgo_t_deck_plus/board_pinout.h b/variants/ttgo_t_deck_plus/board_pinout.h index 2e0781b..82754ac 100644 --- a/variants/ttgo_t_deck_plus/board_pinout.h +++ b/variants/ttgo_t_deck_plus/board_pinout.h @@ -1,17 +1,17 @@ /* Copyright (C) 2025 Ricardo Guzman - CA2RXU - * + * * This file is part of LoRa APRS iGate. - * + * * LoRa APRS iGate is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * LoRa APRS iGate is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with LoRa APRS iGate. If not, see . */ @@ -19,8 +19,6 @@ #ifndef BOARD_PINOUT_H_ #define BOARD_PINOUT_H_ - #define HAS_ESP32_S3 - // LoRa Radio #define HAS_SX1262 #define HAS_TCXO @@ -45,7 +43,7 @@ #undef OLED_SDA #undef OLED_SCL - #undef OLED_RST + #undef OLED_RST // GPS #define GPS_RX 43