mbed-os/targets/TARGET_Cypress/scripts
Lingkai Dong 91b8186615 Cypress: Improve `mbed_post_build_psoc6_merge_hex()`
The CMake macro `mbed_post_build_psoc6_merge_hex()` takes the name of
a Cypress target and an optional Cortex-M0 hex image as arguments. The
proper way to define and parse optional arguments of a function or
macro is `cmake_parse_arguments()`, which allows the caller to
indicate what they are passing rather than rely on an argument's
relative position within `${ARGN}` which is not rigorous.

Also, avoid duplicating the common part of the post build command
when the optional argument is passed/not passed.
2021-07-22 17:31:45 +01:00
..
PSOC6.py Cypress: Query exact application names in post build 2021-03-04 10:28:22 +00:00
mbed_set_post_build_cypress.cmake Cypress: Improve `mbed_post_build_psoc6_merge_hex()` 2021-07-22 17:31:45 +01:00