2023-12-20 09:47:26 +00:00
|
|
|
Import("env")
|
|
|
|
board = env.get("BOARD_MCU")
|
|
|
|
frameworks = env.get("PIOFRAMEWORK")
|
|
|
|
|
|
|
|
print(f"HAL configuration:")
|
|
|
|
for framework in frameworks:
|
2023-12-23 10:02:32 +00:00
|
|
|
env.Append(SRC_FILTER=[f"+<platform/{framework}/{board}/>"])
|
2023-12-20 09:47:26 +00:00
|
|
|
env.Append(SRC_FILTER=[f"+<platform/{framework}/*.cpp>"])
|
2023-12-23 10:02:32 +00:00
|
|
|
env.Append(CPPDEFINES=[f"RENDERBUG_HAL=HAL_{board.upper()}"])
|
|
|
|
print(f"- platform/{framework}/{board}/")
|