313c09bffb
This patch adds support for custom commands to be executed during the build of an llext target. The commands can be executed at different points in the build process: - PRE_BUILD: Before the llext code is linked. - POST_BUILD: After the llext code is built, but before packaging it in an .llext file. - POST_PKG: After the llext file has been created. Note that PRE_BUILD is not supported for ARM targets, as in that case object files are used directly and there is no actual linking step. The commands can be added using the new add_llext_command() function. An example usage of it, along with some target properties, is added to the hello_world test case. Signed-off-by: Luca Burelli <l.burelli@arduino.cc> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
Kconfig | ||
prj.conf | ||
testcase.yaml |