Merge branch 'develop' into t-watch-ultra

This commit is contained in:
Manuel
2025-10-04 08:22:06 +02:00
committed by GitHub
4 changed files with 6 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ if platform.name == "espressif32":
if platform.name == "nordicnrf52":
env.AddPostAction("$BUILD_DIR/${PROGNAME}.hex",
env.VerboseAction(f"\"{sys.executable}\" ./bin/uf2conv.py $BUILD_DIR/firmware.hex -c -f 0xADA52840 -o $BUILD_DIR/firmware.uf2",
env.VerboseAction(f"\"{sys.executable}\" ./bin/uf2conv.py \"$BUILD_DIR/firmware.hex\" -c -f 0xADA52840 -o \"$BUILD_DIR/firmware.uf2\"",
"Generating UF2 file"))
Import("projenv")

View File

@@ -86,7 +86,7 @@ int32_t SerialConsole::runOnce()
#endif
int32_t delay = runOncePart();
#if defined(SERIAL_HAS_ON_RECEIVE)
#if defined(SERIAL_HAS_ON_RECEIVE) || defined(CONFIG_IDF_TARGET_ESP32S2)
return Port.available() ? delay : INT32_MAX;
#elif defined(IS_USB_SERIAL)
return HWCDC::isPlugged() ? delay : (1000 * 20);

View File

@@ -148,7 +148,8 @@ void setupModules()
}
#endif
#if !MESHTASTIC_EXCLUDE_ATAK
if (IS_ONE_OF(config.device.role, meshtastic_Config_DeviceConfig_Role_TAK, meshtastic_Config_DeviceConfig_Role_TAK_TRACKER)) {
if (config.device.role == meshtastic_Config_DeviceConfig_Role_TAK ||
config.device.role == meshtastic_Config_DeviceConfig_Role_TAK_TRACKER) {
atakPluginModule = new AtakPluginModule();
}
#endif

View File

@@ -6,7 +6,8 @@ board = gat562_mesh_trial_tracker
board_check = true
build_flags = ${nrf52840_base.build_flags}
-I variants/nrf52840/gat562_mesh_trial_tracker
-D GAT562_MESH_TRIAL_TRACKER
;-D GAT562_MESH_TRIAL_TRACKER
-D PRIVATE_HW
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
-DRADIOLIB_EXCLUDE_SX128X=1
-DRADIOLIB_EXCLUDE_SX127X=1