Skip to content

CMake: Use mbed_ prefix for CMake functions #13421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ add_subdirectory(targets)
#
# Configures the application
#
function(mbed_os_configure_app_target target)
function(mbed_configure_app_target target)
mbed_set_language_standard(${target})
endfunction()

#
# Specifies linker script used for linking `target`.
#
function(mbed_os_target_linker_script target)
function(mbed_set_mbed_target_linker_script target)
get_property(mbed_target_startup GLOBAL PROPERTY MBED_TARGET_LINKER_FILE)

# TODO: @mbed-os-tools This pre-build commands should get details from target + profile.
Expand Down Expand Up @@ -110,7 +110,7 @@ endfunction()
#
# Converts output file of `target` to binary file and to Intel HEX file.
#
function(mbed_os_bin_hex target)
function(mbed_generate_bin_hex target)
get_property(elf_to_bin GLOBAL PROPERTY ELF2BIN)
# TODO: @mbed-os-tools This post-build commands should get details from target + profile.
if(MBED_TOOLCHAIN STREQUAL "GCC_ARM")
Expand Down