File tree Expand file tree Collapse file tree 25 files changed +1111
-0
lines changed
minimal-printf/compliance Expand file tree Collapse file tree 25 files changed +1111
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ cmake_minimum_required (VERSION 3.19.0 FATAL_ERROR)
5+
6+ set (MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../../../.. CACHE INTERNAL "" )
7+ set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
8+ set (APP_TARGET mbed-platform-mbed-functional-callback)
9+
10+ include (${MBED_PATH} /tools/cmake/app.cmake)
11+
12+ add_subdirectory (${MBED_PATH} build )
13+
14+ add_executable (${APP_TARGET} )
15+
16+ mbed_configure_app_target(${APP_TARGET} )
17+
18+ mbed_set_mbed_target_linker_script(${APP_TARGET} )
19+
20+ project (${APP_TARGET} )
21+
22+ target_sources (${APP_TARGET}
23+ PRIVATE
24+ main.cpp
25+ )
26+
27+ if (MBED_BAREMETAL_GREENTEA_TEST)
28+ set (USE_LIB mbed-baremetal)
29+ else ()
30+ set (USE_LIB mbed-os)
31+ endif ()
32+
33+ target_link_libraries (${APP_TARGET}
34+ PRIVATE
35+ ${USE_LIB}
36+ mbed-greentea
37+ )
38+
39+ mbed_set_post_build(${APP_TARGET} )
40+
41+ option (VERBOSE_BUILD "Have a verbose build process" )
42+ if (VERBOSE_BUILD)
43+ set (CMAKE_VERBOSE_MAKEFILE ON )
44+ endif ()
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ cmake_minimum_required (VERSION 3.19.0 FATAL_ERROR)
5+
6+ set (MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../../../.. CACHE INTERNAL "" )
7+ set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
8+ set (APP_TARGET mbed-platform-mbed-functional-callback-big)
9+
10+ include (${MBED_PATH} /tools/cmake/app.cmake)
11+
12+ add_subdirectory (${MBED_PATH} build )
13+
14+ add_executable (${APP_TARGET} )
15+
16+ mbed_configure_app_target(${APP_TARGET} )
17+
18+ mbed_set_mbed_target_linker_script(${APP_TARGET} )
19+
20+ project (${APP_TARGET} )
21+
22+ target_sources (${APP_TARGET}
23+ PRIVATE
24+ main.cpp
25+ )
26+
27+ if (MBED_BAREMETAL_GREENTEA_TEST)
28+ set (USE_LIB mbed-baremetal)
29+ else ()
30+ set (USE_LIB mbed-os)
31+ endif ()
32+
33+ target_link_libraries (${APP_TARGET}
34+ PRIVATE
35+ ${USE_LIB}
36+ mbed-greentea
37+ )
38+
39+ mbed_set_post_build(${APP_TARGET} )
40+
41+ option (VERBOSE_BUILD "Have a verbose build process" )
42+ if (VERBOSE_BUILD)
43+ set (CMAKE_VERBOSE_MAKEFILE ON )
44+ endif ()
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ cmake_minimum_required (VERSION 3.19.0 FATAL_ERROR)
5+
6+ set (MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../../../.. CACHE INTERNAL "" )
7+ set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
8+ set (APP_TARGET mbed-platform-mbed-functional-callback-small)
9+
10+ include (${MBED_PATH} /tools/cmake/app.cmake)
11+
12+ add_subdirectory (${MBED_PATH} build )
13+
14+ add_executable (${APP_TARGET} )
15+
16+ mbed_configure_app_target(${APP_TARGET} )
17+
18+ mbed_set_mbed_target_linker_script(${APP_TARGET} )
19+
20+ project (${APP_TARGET} )
21+
22+ target_sources (${APP_TARGET}
23+ PRIVATE
24+ main.cpp
25+ )
26+
27+ if (MBED_BAREMETAL_GREENTEA_TEST)
28+ set (USE_LIB mbed-baremetal)
29+ else ()
30+ set (USE_LIB mbed-os)
31+ endif ()
32+
33+ target_link_libraries (${APP_TARGET}
34+ PRIVATE
35+ ${USE_LIB}
36+ mbed-greentea
37+ )
38+
39+ mbed_set_post_build(${APP_TARGET} )
40+
41+ option (VERBOSE_BUILD "Have a verbose build process" )
42+ if (VERBOSE_BUILD)
43+ set (CMAKE_VERBOSE_MAKEFILE ON )
44+ endif ()
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ cmake_minimum_required (VERSION 3.19.0 FATAL_ERROR)
5+
6+ set (MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../../../.. CACHE INTERNAL "" )
7+ set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
8+ set (APP_TARGET mbed-platform-mbed-micro-attributes)
9+
10+ include (${MBED_PATH} /tools/cmake/app.cmake)
11+
12+ add_subdirectory (${MBED_PATH} build )
13+
14+ add_executable (${APP_TARGET} )
15+
16+ mbed_configure_app_target(${APP_TARGET} )
17+
18+ mbed_set_mbed_target_linker_script(${APP_TARGET} )
19+
20+ project (${APP_TARGET} )
21+
22+ target_sources (${APP_TARGET}
23+ PRIVATE
24+ attributes.c
25+ weak.c
26+ main.cpp
27+ )
28+
29+ if (MBED_BAREMETAL_GREENTEA_TEST)
30+ set (USE_LIB mbed-baremetal)
31+ else ()
32+ set (USE_LIB mbed-os)
33+ endif ()
34+
35+ target_link_libraries (${APP_TARGET}
36+ PRIVATE
37+ ${USE_LIB}
38+ mbed-greentea
39+ )
40+
41+ mbed_set_post_build(${APP_TARGET} )
42+
43+ option (VERBOSE_BUILD "Have a verbose build process" )
44+ if (VERBOSE_BUILD)
45+ set (CMAKE_VERBOSE_MAKEFILE ON )
46+ endif ()
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ cmake_minimum_required (VERSION 3.19.0 FATAL_ERROR)
5+
6+ set (MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../../../.. CACHE INTERNAL "" )
7+ set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
8+ set (APP_TARGET mbed-platform-mbed-micro-call-before-main)
9+
10+ include (${MBED_PATH} /tools/cmake/app.cmake)
11+
12+ add_subdirectory (${MBED_PATH} build )
13+
14+ add_executable (${APP_TARGET} )
15+
16+ mbed_configure_app_target(${APP_TARGET} )
17+
18+ mbed_set_mbed_target_linker_script(${APP_TARGET} )
19+
20+ project (${APP_TARGET} )
21+
22+ target_sources (${APP_TARGET}
23+ PRIVATE
24+ main.cpp
25+ )
26+
27+ if (MBED_BAREMETAL_GREENTEA_TEST)
28+ set (USE_LIB mbed-baremetal)
29+ else ()
30+ set (USE_LIB mbed-os)
31+ endif ()
32+
33+ target_link_libraries (${APP_TARGET}
34+ PRIVATE
35+ ${USE_LIB}
36+ mbed-greentea
37+ )
38+
39+ mbed_set_post_build(${APP_TARGET} )
40+
41+ option (VERBOSE_BUILD "Have a verbose build process" )
42+ if (VERBOSE_BUILD)
43+ set (CMAKE_VERBOSE_MAKEFILE ON )
44+ endif ()
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ cmake_minimum_required (VERSION 3.19.0 FATAL_ERROR)
5+
6+ set (MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../../../.. CACHE INTERNAL "" )
7+ set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
8+ set (APP_TARGET mbed-platform-mbed-micro-cpp)
9+
10+ include (${MBED_PATH} /tools/cmake/app.cmake)
11+
12+ add_subdirectory (${MBED_PATH} build )
13+
14+ add_executable (${APP_TARGET} )
15+
16+ mbed_configure_app_target(${APP_TARGET} )
17+
18+ mbed_set_mbed_target_linker_script(${APP_TARGET} )
19+
20+ project (${APP_TARGET} )
21+
22+ target_sources (${APP_TARGET}
23+ PRIVATE
24+ main.cpp
25+ )
26+
27+ if (MBED_BAREMETAL_GREENTEA_TEST)
28+ set (USE_LIB mbed-baremetal)
29+ else ()
30+ set (USE_LIB mbed-os)
31+ endif ()
32+
33+ target_link_libraries (${APP_TARGET}
34+ PRIVATE
35+ ${USE_LIB}
36+ mbed-greentea
37+ )
38+
39+ mbed_set_post_build(${APP_TARGET} )
40+
41+ option (VERBOSE_BUILD "Have a verbose build process" )
42+ if (VERBOSE_BUILD)
43+ set (CMAKE_VERBOSE_MAKEFILE ON )
44+ endif ()
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ cmake_minimum_required (VERSION 3.19.0 FATAL_ERROR)
5+
6+ set (MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../../../.. CACHE INTERNAL "" )
7+ set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
8+ set (APP_TARGET mbed-platform-mbed-micro-div)
9+
10+ include (${MBED_PATH} /tools/cmake/app.cmake)
11+
12+ add_subdirectory (${MBED_PATH} build )
13+
14+ add_executable (${APP_TARGET} )
15+
16+ mbed_configure_app_target(${APP_TARGET} )
17+
18+ mbed_set_mbed_target_linker_script(${APP_TARGET} )
19+
20+ project (${APP_TARGET} )
21+
22+ target_sources (${APP_TARGET}
23+ PRIVATE
24+ main.cpp
25+ )
26+
27+ if (MBED_BAREMETAL_GREENTEA_TEST)
28+ set (USE_LIB mbed-baremetal)
29+ else ()
30+ set (USE_LIB mbed-os)
31+ endif ()
32+
33+ target_link_libraries (${APP_TARGET}
34+ PRIVATE
35+ ${USE_LIB}
36+ mbed-greentea
37+ )
38+
39+ mbed_set_post_build(${APP_TARGET} )
40+
41+ option (VERBOSE_BUILD "Have a verbose build process" )
42+ if (VERBOSE_BUILD)
43+ set (CMAKE_VERBOSE_MAKEFILE ON )
44+ endif ()
Original file line number Diff line number Diff line change 1+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ cmake_minimum_required (VERSION 3.19.0 FATAL_ERROR)
5+
6+ set (MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR} /../../../../.. CACHE INTERNAL "" )
7+ set (MBED_CONFIG_PATH ${CMAKE_CURRENT_SOURCE_DIR} /.mbedbuild CACHE INTERNAL "" )
8+ set (APP_TARGET mbed-platform-mbed-micro-static -assert)
9+
10+ include (${MBED_PATH} /tools/cmake/app.cmake)
11+
12+ add_subdirectory (${MBED_PATH} build )
13+
14+ add_executable (${APP_TARGET} )
15+
16+ mbed_configure_app_target(${APP_TARGET} )
17+
18+ mbed_set_mbed_target_linker_script(${APP_TARGET} )
19+
20+ project (${APP_TARGET} )
21+
22+ target_sources (${APP_TARGET}
23+ PRIVATE
24+ main.cpp
25+ )
26+
27+ if (MBED_BAREMETAL_GREENTEA_TEST)
28+ set (USE_LIB mbed-baremetal)
29+ else ()
30+ set (USE_LIB mbed-os)
31+ endif ()
32+
33+ target_link_libraries (${APP_TARGET}
34+ PRIVATE
35+ ${USE_LIB}
36+ mbed-greentea
37+ )
38+
39+ mbed_set_post_build(${APP_TARGET} )
40+
41+ option (VERBOSE_BUILD "Have a verbose build process" )
42+ if (VERBOSE_BUILD)
43+ set (CMAKE_VERBOSE_MAKEFILE ON )
44+ endif ()
You can’t perform that action at this time.
0 commit comments