mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-26 01:48:10 -07:00
Merge remote-tracking branch 'OFW/dev' into dev
This commit is contained in:
@@ -461,7 +461,8 @@ def _gather_app_components(env, appname) -> AppDeploymentComponents:
|
||||
else:
|
||||
# host app is a built-in app
|
||||
components.add_app(artifacts_app_to_run)
|
||||
components.extra_launch_args = f"-a {host_app.name}"
|
||||
if host_app.name:
|
||||
components.extra_launch_args = f"-a {host_app.name}"
|
||||
else:
|
||||
raise UserError("Host app is unknown")
|
||||
else:
|
||||
|
||||
@@ -198,6 +198,7 @@ def gen_sdk_data(sdk_cache: SdkCache):
|
||||
api_def.extend(
|
||||
(f"#include <{h.name}>" for h in sdk_cache.get_headers()),
|
||||
)
|
||||
api_def.append('#pragma GCC diagnostic ignored "-Wdeprecated-declarations"')
|
||||
|
||||
api_def.append(f"const int elf_api_version = {sdk_cache.version.as_int()};")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user