mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 09:06:02 +00:00
Compare commits
6 Commits
ba0f5688ae
...
41db0aff3d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
41db0aff3d | ||
![]() |
0e95ed2979 | ||
![]() |
5d48d2c0a7 | ||
![]() |
2b57ffafd7 | ||
![]() |
a30f431b6a | ||
![]() |
916afb5098 |
@ -30,7 +30,8 @@ lib_deps =
|
||||
https://github.com/meshtastic/ESP32_Codec2/archive/633326c78ac251c059ab3a8c430fcdf25b41672f.zip
|
||||
# renovate: datasource=custom.pio depName=rweather/Crypto packageName=rweather/library/Crypto
|
||||
rweather/Crypto@^0.4.0
|
||||
https://github.com/h2zero/esp-nimble-cpp.git#2.2.1
|
||||
# renovate: datasource=github-tags depName=esp-nimble-cpp packageName=h2zero/esp-nimble-cpp
|
||||
https://github.com/h2zero/esp-nimble-cpp/archive/2.2.1.zip
|
||||
|
||||
build_src_filter =
|
||||
${esp32_base.build_src_filter} -<mesh/http>
|
||||
|
@ -7,7 +7,7 @@ lib_deps =
|
||||
${nrf52_base.lib_deps}
|
||||
${environmental_base.lib_deps}
|
||||
# renovate: datasource=git-refs depName=Kongduino-Adafruit_nRFCrypto packageName=https://github.com/Kongduino/Adafruit_nRFCrypto gitBranch=master
|
||||
https://github.com/Kongduino/Adafruit_nRFCrypto/archive/e31a8825ea3300b163a0a3c1ddd5de34e10e1371.zip
|
||||
https://github.com/Kongduino/Adafruit_nRFCrypto/archive/5f838d2709461a2c981f642917aa50254a25c14c.zip
|
||||
|
||||
; Common NRF52 debugging settings follow. See the Meshtastic developer docs for how to connect SWD debugging probes to your board.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<component type="desktop-application">
|
||||
<id>org.meshtastic.meshtasticd</id>
|
||||
|
||||
@ -87,13 +87,13 @@
|
||||
</screenshots>
|
||||
|
||||
<releases>
|
||||
<release version="2.6.6">
|
||||
<release version="2.6.6" date="2025-04-15">
|
||||
<url type="details">https://github.com/meshtastic/firmware/releases?q=tag%3Av2.6.6</url>
|
||||
</release>
|
||||
<release version="2.6.5" date="2025-04-09">
|
||||
<release version="2.6.5" date="2025-03-30">
|
||||
<url type="details">https://github.com/meshtastic/firmware/releases?q=tag%3Av2.6.5</url>
|
||||
</release>
|
||||
<release version="2.6.4" date="2025-03-29">
|
||||
<release version="2.6.4" date="2025-03-28">
|
||||
<url type="details">https://github.com/meshtastic/firmware/releases?q=tag%3Av2.6.4</url>
|
||||
</release>
|
||||
</releases>
|
||||
|
@ -56,6 +56,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include "mesh/wifi/WiFiAPClient.h"
|
||||
#endif
|
||||
|
||||
#if HAS_ETHERNET
|
||||
#include "mesh/eth/ethClient.h"
|
||||
#endif
|
||||
|
||||
#ifdef ARCH_ESP32
|
||||
#include "esp_task_wdt.h"
|
||||
#include "modules/StoreForwardModule.h"
|
||||
@ -232,6 +236,42 @@ static void drawOEMBootScreen(OLEDDisplay *display, OLEDDisplayUiState *state, i
|
||||
|
||||
#endif
|
||||
|
||||
#if HAS_ETHERNET
|
||||
static void drawEthernetFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y)
|
||||
{
|
||||
display->setFont(FONT_SMALL);
|
||||
display->setTextAlignment(TEXT_ALIGN_LEFT);
|
||||
|
||||
if (config.display.displaymode == meshtastic_Config_DisplayConfig_DisplayMode_INVERTED) {
|
||||
display->fillRect(0 + x, 0 + y, x + display->getWidth(), y + FONT_HEIGHT_SMALL);
|
||||
display->setColor(BLACK);
|
||||
}
|
||||
|
||||
display->setColor(WHITE);
|
||||
|
||||
// Adjust vertical position verticale ajustée - starts higher
|
||||
int16_t y_offset = y + 2; // Reduces space at top
|
||||
|
||||
// Left Alignement (x + small offset)
|
||||
int16_t x_offset = x + 2;
|
||||
|
||||
// Display is not centered, align left
|
||||
display->drawString(x_offset, y_offset, "Ethernet Config:");
|
||||
y_offset += FONT_HEIGHT_SMALL + 2; // Slightly reduced spacing
|
||||
|
||||
display->drawString(x_offset, y_offset, "IP: " + Ethernet.localIP().toString());
|
||||
y_offset += FONT_HEIGHT_SMALL;
|
||||
|
||||
display->drawString(x_offset, y_offset, "Mask: " + Ethernet.subnetMask().toString());
|
||||
y_offset += FONT_HEIGHT_SMALL;
|
||||
|
||||
display->drawString(x_offset, y_offset, "GW: " + Ethernet.gatewayIP().toString());
|
||||
// y_offset += FONT_HEIGHT_SMALL;
|
||||
|
||||
// display->drawString(x_offset, y_offset, "DNS: " + Ethernet.dnsServerIP().toString());
|
||||
}
|
||||
#endif
|
||||
|
||||
void Screen::drawFrameText(OLEDDisplay *display, OLEDDisplayUiState *state, int16_t x, int16_t y, const char *message)
|
||||
{
|
||||
uint16_t x_offset = display->width() / 2;
|
||||
@ -2182,6 +2222,12 @@ void Screen::setFrames(FrameFocus focus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if HAS_ETHERNET
|
||||
if (Ethernet.hardwareStatus() != EthernetNoHardware) {
|
||||
normalFrames[numframes++] = drawEthernetFrame;
|
||||
}
|
||||
#endif
|
||||
|
||||
fsi.frameCount = numframes; // Total framecount is used to apply FOCUS_PRESERVE
|
||||
LOG_DEBUG("Finished build frames. numframes: %d", numframes);
|
||||
|
||||
|
@ -43,7 +43,7 @@ template <class T, class U> class APIServerPort : public U, private concurrency:
|
||||
* delegate to the worker. Once coroutines are implemented we can relax this restriction.
|
||||
*/
|
||||
T *openAPI = NULL;
|
||||
#if RAK_4631
|
||||
#if defined(RAK_4631) || defined(RAK11310)
|
||||
// Track wait time for RAK13800 Ethernet requests
|
||||
int32_t waitTime = 100;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user