summaryrefslogtreecommitdiff
path: root/build-aux/measurestack/app_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/measurestack/app_main.py')
-rw-r--r--build-aux/measurestack/app_main.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/build-aux/measurestack/app_main.py b/build-aux/measurestack/app_main.py
index 517fa2c..7573146 100644
--- a/build-aux/measurestack/app_main.py
+++ b/build-aux/measurestack/app_main.py
@@ -27,7 +27,8 @@ def main(
# sbc-harness ####################################################
- lib9p_plugin = app_plugins.Lib9PPlugin(arg_base_dir, arg_c_fnames)
+ libobj_plugin = app_plugins.LibObjPlugin(arg_c_fnames)
+ lib9p_plugin = app_plugins.Lib9PPlugin(arg_base_dir, arg_c_fnames, libobj_plugin)
def sbc_is_thread(name: QName) -> int:
if str(name).endswith("_cr") and name.base() != BaseName("lib9p_srv_read_cr"):
@@ -44,11 +45,10 @@ def main(
return 1
return 0
- libobj_plugin = app_plugins.LibObjPlugin(arg_c_fnames)
-
plugins += [
app_plugins.CmdPlugin(),
libobj_plugin,
+ app_plugins.PicoFmtPlugin(arg_pico_platform),
app_plugins.LibHWPlugin(arg_pico_platform, libobj_plugin),
app_plugins.LibCRPlugin(),
app_plugins.LibCRIPCPlugin(),
@@ -67,7 +67,6 @@ def main(
return ret
plugins += [
- app_plugins.PicoFmtPlugin(),
app_plugins.PicoSDKPlugin(
get_init_array=get_init_array,
),
@@ -88,9 +87,12 @@ def main(
return 0, False
def misc_filter(name: QName) -> tuple[int, bool]:
- if name.base() in [
- BaseName("__lm_printf"),
- BaseName("__assert_msg_fail"),
+ if name in [
+ QName("__assert_msg_fail"),
+ QName("__lm_printf"),
+ QName("__lm_light_printf"),
+ QName("fmt_vfctprintf"),
+ QName("fmt_vsnprintf"),
]:
return 1, False
return 0, False