Conversation
|
Hello, To make it work I had to remove MomentaryButton user_btn(PIN_USER_BTN_ANA, 1000, true) from target.cpp and hardcode create button with MomentaryButton user_btn(0, 1000, true);
|
|
Hi! Thank you for testing and reporting this. Replace abs(millis() - _analogue_pin_read_millis) with (long)(millis() - _analogue_pin_read_millis) Please do not hardcode pin 0 — PIN_USER_BTN_ANA (IO7) is the correct analog button pin for this board. |
|
Thank you for testing and reporting this! analog_btn properly declared in target.cpp and target.h Please update your branch and it should compile correctly. No need to hardcode pin 0! |
Overview
This PR adds full MeshCore firmware support for the LilyGo T-ETH-Elite ESP32-S3 board,
paired with the T-ETH-Elite LoRa Shield in both SX1262 and SX1276 radio variants.
Hardware
Changes
New files
boards/t_eth_elite.json— PlatformIO board definitionlib/ETHClass2/— Ethernet driver for W5500 on ESP32-S3src/helpers/esp32/TEthEliteBoard.h— dispatcher headersrc/helpers/esp32/TEthEliteBoard_SX1262.h— pin definitions for SX1262 variantsrc/helpers/esp32/TEthEliteBoard_SX1276.h— pin definitions for SX1276 variantsrc/helpers/esp32/TEthEliteBoard.cpp— board implementation shared by both variantsvariants/lilygo_t_eth_elite_sx1262/— SX1262 variant (target.h, target.cpp, platformio.ini)variants/lilygo_t_eth_elite_sx1276/— SX1276 variant (target.h, target.cpp, platformio.ini)Modified files
examples/companion_radio/main.cpp— addedUSE_ETHERNETsupport alongsideWIFI_SSIDAvailable environments
Both variants provide the following firmware types:
_repeater— standalone repeater (LoRa only)_repeater_eth— repeater with Ethernet management_repeater_bridge_espnow— repeater with ESPNow bridge_room_server— room server (LoRa only)_room_server_eth— room server with Ethernet management_companion_radio_eth— companion radio via Ethernet TCP_companion_radio_wifi— companion radio via WiFi_companion_radio_ble— companion radio via Bluetooth LEKey implementation notes
delay(100)afterstd_init()for RSSI noise floor stabilizationTEthEliteBoard::begin()ETH_STATIC_IP,ETH_GATEWAY,ETH_SUBNET,ETH_DNSTested