Fix firmware size limits and refresh CI compatibility checks
Compact the existing STM32 field arithmetic and ESP-NOW tail-frame storage without removing features or lowering memory reserves. Refresh power-saving fixtures and pin official-app tests to a published archive.
This commit is contained in:
1 parent
cf98125c65
commit
c563c40c66
15 files changed
+494
-66
No files matched your search
@@ -292,13 +292,15 @@ class OfficialConfigGuiTests(unittest.TestCase):
|
||||
return result
|
||||
|
||||
def test_raw_uart_first_stock_gui_command_survives_preconnect_idle(self):
|
||||
for idle_ms in (180001, 10800000, 0xFFFFFFFE):
|
||||
for idle_ms in (300001, 10800000, 0xFFFFFFFE):
|
||||
with self.subTest(idle_ms=idle_ms):
|
||||
result = self.run_contract(raw_uart=True, preconnect_idle_ms=idle_ms)
|
||||
self.assertEqual(result.returncode, 0, result.stdout + result.stderr)
|
||||
|
||||
def test_missing_raw_uart_sleep_guard_breaks_first_stock_gui_command(self):
|
||||
result = self.run_contract(raw_uart=True, preconnect_idle_ms=180001,
|
||||
# Run after the five-minute startup grace so removing the UART veto
|
||||
# actually permits sleep before the first GUI command arrives.
|
||||
result = self.run_contract(raw_uart=True, preconnect_idle_ms=300001,
|
||||
lose_raw_uart_guard=True)
|
||||
self.assertNotEqual(result.returncode, 0, "Negative control did not fail")
|
||||
self.assertIn("initial time missed the stock 5000 ms deadline", result.stderr)
|
||||
|
||||
Reference in new issue
Block a user