feat(cellular, power): enable SDM660 IPA v2.6L 4G LTE, power-key status screen, and DVFS standby
Offline project checks / check (push) Canceled after 0s

This commit is contained in:
shenlei
2026-11-18 01:39:26 +09:00
parent 5a50a8264c
commit 8d12d341bf
43 changed files with 6850 additions and 229 deletions
+19
View File
@@ -0,0 +1,19 @@
"""Compile the actual command encoder and check its wire bytes and bounds."""
from pathlib import Path
import shutil
import subprocess
import tempfile
import unittest
class BamCommandFormatTest(unittest.TestCase):
def test_command_encoding(self):
compiler = shutil.which("cc")
if not compiler:
self.skipTest("native C compiler not available")
source = Path(__file__).with_name("ipa_v2_cmd_format.c")
with tempfile.TemporaryDirectory() as directory:
executable = Path(directory) / "ipa-v2-format-test"
subprocess.run([compiler, "-std=c11", "-Wall", "-Wextra", "-Werror",
str(source), "-o", str(executable)], check=True)
subprocess.run([str(executable)], check=True)