File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,10 @@ target_link_libraries(${CMAKE_PROJECT_NAME} mbed-os)
7474
7575### Set post build (necessary everytime)
7676mbed_set_post_build(${CMAKE_PROJECT_NAME} )
77- #[[Or in case of custom linker script which should be placed like this
78- directory PROJECT_NAME/custom_targets/MBED_TARGET/MBED_TARGET.ld]]
79- #mbed_set_post_build(${CMAKE_PROJECT_NAME} ${CMAKE_SOURCE_DIR}/custom_targets/${MBED_TARGET}/${MBED_TARGET}.ld)
8077
81- ### Build finalize does necessary configuration for debug in most cases (necessary everytime)
78+ #[[ Note: if you wish to use a custom linker script instead of the default Mbed one for
79+ your target, you can do that with mbed_set_post_build(${CMAKE_PROJECT_NAME} path/to/linker_script.ld) ]]
80+
81+ ### Call this last, after creating all targets. It writes out IDE configuration files
82+ ### so that you can run your targets in VS Code.
8283mbed_finalize_build()
You can’t perform that action at this time.
0 commit comments