Closed jeanbaptistelab closed 11 months ago
Patch coverage has no change and project coverage change: +0.61
:tada:
Comparison is base (
6cea2b0
) 80.89% compared to head (728fb61
) 81.51%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
in the Zephyr case: if the environment variable ZEPHYR_TOOLCHAIN_VARIANT="gnuarmemb" then GNUARMEMB_TOOLCHAIN_PATH="/opt/gcc-arm-none-eabi-10.3-2021.10" points to the arm toolchain.
however this can be overwritten by argument. The code shall not crash before setting the argument.
current workaround is to change the local path, so that arm-none-eabi-objdump is in executeable.
@jeanbaptistelab I believe the change in https://github.com/HBehrens/puncover/commit/0bd63573b92b89aadf9aff716188ed15e364c0ca should also fix this PR, closing for now but re-open if more work is needed!
Wrap initial default gcc_tools_base detection in try/except. This is just to get the "argparse" part of the code going so users get a chance to specify the "gcc_tools_base" through the "--gcc-tools-base" cmd line argument, but it does not ensure that the given base is valid which will cause a similar exception later if:
But at least, it allows users to execute puncover at all (if only to get the help ;))