sh123 / esp32_loraprs

LoRa ESP32 KISS Bluetooth modem (for APRSDroid or aprs.fi iOS) + APRS-IS RX/TX iGate over WiFi + Digipeater + DV (with Codec2 Walkie-Talkie)
https://github.com/sh123/esp32_loraprs
GNU General Public License v3.0
196 stars 39 forks source link

Sketch too big for T-BEAM #37

Closed DerHirschi closed 2 years ago

DerHirschi commented 2 years ago

Hello,

at first, thank u a lot for u work. Seems Lora can be interesting as a cheap and simple to made option as an Secondary entry to our free ax25 Network in Germany ( mostly on CB Radio and via AXIP ) .

The Sketch seems to big for the T-Beam. Also i got issues while compiling it with LoRa libbary. "'loraprs_service.cpp: In member function 'void LoraPrs::Service::setupLora(long int, long int, int, int, int, int, int, bool)': loraprs_service.cpp:295:7: error: 'enableCrc' was not declared in this scope if (enableCrc) {"

Bildschirmfoto von 2022-10-16 06-59-07

I solved it for me like u can see in the screenshot. I also solved for me the "Sketch to big issues" be commenting out the Bluetooth section in the setup() routine. In the config i allready cleared out the BT device name ( // Bluetooth

define CFG_BT_NAME "" // set to empty to disable Bluetooth

define CFG_BT_USE_BLE false // set to true to use bluetooth low energy (for ios devices)

) .

I already spotted some other issues but better I submit it as an other Issues here because it's another topic..

Thanks .. .. .

sh123 commented 2 years ago

You need to select partition scheme with "Minimal SPIFFS partition", it is described on wiki at https://github.com/sh123/esp32_loraprs/wiki/Software,-environment-and-sketch-configuration

Added a fix for compilation issue, if you are using radiolib option then it should compile fine, that's only for arduino-Lora compilation.