diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-02 20:44:59 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-02 20:44:59 -0600 |
commit | ff88c4cc9bfdc91c3af390ab6a7588f5a8ade40a (patch) | |
tree | ae18e6d4576fa594be94e8278877fbdedfa1d4ba /build-aux/measurestack/app_main.py | |
parent | 13b8cafb7e28784f037ecd24876c225ddcf48d76 (diff) | |
parent | 8cc87f8c1f25c9d3fec00561237891650a91b47a (diff) |
Diffstat (limited to 'build-aux/measurestack/app_main.py')
-rw-r--r-- | build-aux/measurestack/app_main.py | 16 |
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 |