[api] Add 48-bit MAC address varint fast path for BLE advertisements (#15988)

This commit is contained in:
J. Nick Koston
2026-04-28 20:48:35 -05:00
committed by GitHub
parent 35cb28edfe
commit f05243bd9d
9 changed files with 220 additions and 6 deletions
+9
View File
@@ -0,0 +1,9 @@
from tests.testing_helpers import ComponentManifestOverride
def override_manifest(manifest: ComponentManifestOverride) -> None:
# json's to_code calls cg.add_library("bblanchon/ArduinoJson", ...). C++
# unit test builds that pull json in transitively (e.g. api) need that
# library registration to happen, otherwise json_util.cpp fails to find
# ArduinoJson.h.
manifest.enable_codegen()