Import("env")
board = env.get("BOARD_MCU")
frameworks = env.get("PIOFRAMEWORK")
print(f"HAL configuration:")
for framework in frameworks:
env.Append(SRC_FILTER=[f"+"])
env.Append(SRC_FILTER=[f"+"])
env.Append(CPPDEFINES=[f"RENDERBUG_HAL=HAL_{board.upper()}"])
print(f"- platform/{framework}/{board}/")