[core] Add more compat code

This commit is contained in:
Kuba Szczodrzyński
2022-06-04 13:37:15 +02:00
parent 17dc1dcf8c
commit a661ef3a3f
10 changed files with 94 additions and 9 deletions

View File

@@ -51,6 +51,7 @@ def env_add_defaults(env, family_name: str, sdk_name: str):
"$LD_DIR",
],
CPPDEFINES=[
("LIBRETUYA", "1"),
("LT_VERSION", platform.version),
("LT_BOARD", board.get("build.variant")),
("F_CPU", board.get("build.f_cpu")),