lora-aprs / LoRa_APRS_iGate

This is a LoRa APRS iGate/Digi based on an ESP32
https://www.lora-aprs.info
MIT License
348 stars 112 forks source link

Using T-Beam V1.1: How to select the right board #214

Closed dl5dla closed 1 year ago

dl5dla commented 2 years ago

Hi, I have compiled and installed the software on a T-Beam V1.1 without display. The monitoring shows: "Board TTGO_LORA32_V1 loaded", but I would have expected a "TTGO_T_Beam_V1_0" instead.

The quick start guide mentions, that I have to select the right board in the status bar at the bottom, but the required "env:ttgo-t-beam-v1" is not listed as an option (and also not in the platformio.ini). So I am a little bit lost currently. Thanks, Peter

dl5dla commented 2 years ago

After stepping through the source code, I found that I have to add "board": "TTGO_T_Beam_V1_0" into the file is-cfg.json to enable the device. I also included

`[env:ttgo-t-beam-v1]

board = ttgo-t-beam build_flags = -Werror -Wall`

in the file platformio.ini (not sure whether this is really needed.

Please let me know if there is a better way to solve it.

peterus commented 1 year ago

do you have an oled attached to the board? if not, the firmware has issues to find the correct board sometimes. In this case it is totally okay to add the mentioned line to the json config.

you do not need to change something in the ini-file as the firmware will try to find the correct board configuration for you.