move some tools back to root (#38235)

This commit is contained in:
Adeeb Shihadeh
2026-06-24 19:21:19 -07:00
committed by GitHub
parent 7d325d6650
commit addca46f68
89 changed files with 82 additions and 74 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env python3
from opendbc.car.values import BRANDS
for brand in BRANDS:
all_flags = set()
for platform in brand:
if platform.config.flags != 0:
all_flags |= set(platform.config.flags)
if len(all_flags):
print(brand.__module__.split('.')[-2].upper() + ':')
for flag in sorted(all_flags):
print(f' {flag.name:<24}:', {platform.name for platform in brand.with_flags(flag)})
print()