[core] Include board name in banner, fix version
This commit is contained in:
@@ -19,7 +19,11 @@ env.Prepend(
|
||||
join(LT_API_DIR),
|
||||
join(LT_API_DIR, "compat"),
|
||||
# fmt: on
|
||||
]
|
||||
],
|
||||
CPPDEFINES=[
|
||||
("LT_VERSION", platform.version),
|
||||
("LT_BOARD", board.get("build.variant")),
|
||||
],
|
||||
)
|
||||
|
||||
sources_api = [
|
||||
|
||||
@@ -24,12 +24,6 @@ env.Replace(
|
||||
SIZETOOL="arm-none-eabi-size",
|
||||
)
|
||||
|
||||
env.Append(
|
||||
CPPDEFINES=[
|
||||
("LT_VERSION", "0.1.0"),
|
||||
]
|
||||
)
|
||||
|
||||
# Flash layout defines
|
||||
flash_layout: dict = board.get("flash")
|
||||
if flash_layout:
|
||||
|
||||
Reference in New Issue
Block a user