H7: detect board type with second ID pin group (#1975)

* H7: detect board type based on package

* detect smps

* misra fix

* jungle?

* pkg isn't reliable, need syscfg enabled

---------

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
Adeeb Shihadeh
2024-06-26 18:20:51 -07:00
committed by GitHub
parent 29f2f30a32
commit 376408bb4f
3 changed files with 25 additions and 27 deletions

View File

@@ -15,7 +15,4 @@ for project_name, project in build_projects.items():
if ("ENABLE_SPI" in os.environ or "h7" in project_name):
flags.append('-DENABLE_SPI')
if "H723" in os.environ:
flags.append('-DSTM32H723')
build_project(project_name, project, flags)