Skip to content

Commit c209a93

Browse files
authored
Add 2021 suffix to apps and targets (#398)
1 parent f98cce4 commit c209a93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+174
-174
lines changed

CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ include(${MBED_PATH}/tools/cmake/app.cmake)
4242
add_compile_options(-fdiagnostics-color)
4343

4444
# Include custom targets
45-
add_subdirectory(${TARGETS_DIR}/TARGET_ARM_REV2)
46-
add_subdirectory(${TARGETS_DIR}/TARGET_GAMEPAD_REV1)
47-
add_subdirectory(${TARGETS_DIR}/TARGET_GIMBAL_REV2)
48-
add_subdirectory(${TARGETS_DIR}/TARGET_PDB_REV2)
49-
add_subdirectory(${TARGETS_DIR}/TARGET_SCIENCE_REV2)
45+
add_subdirectory(${TARGETS_DIR}/TARGET_ARM_REV2_2021)
46+
add_subdirectory(${TARGETS_DIR}/TARGET_GAMEPAD_REV1_2021)
47+
add_subdirectory(${TARGETS_DIR}/TARGET_GIMBAL_REV2_2021)
48+
add_subdirectory(${TARGETS_DIR}/TARGET_PDB_REV2_2021)
49+
add_subdirectory(${TARGETS_DIR}/TARGET_SCIENCE_REV2_2021)
5050
add_subdirectory(${TARGETS_DIR}/TARGET_UWRT_NUCLEO)
5151

5252
# Include mbed-os and disable warnings from within mbed-os
@@ -89,11 +89,11 @@ function(add_app_subdirectory APP_SUBDIRECTORY)
8989
endfunction()
9090

9191
## Include Rover Apps
92-
add_app_subdirectory(${ROVER_APPS_DIR}/arm)
93-
add_app_subdirectory(${ROVER_APPS_DIR}/gamepad)
94-
add_app_subdirectory(${ROVER_APPS_DIR}/gimbal)
95-
add_app_subdirectory(${ROVER_APPS_DIR}/pdb)
96-
add_app_subdirectory(${ROVER_APPS_DIR}/science)
92+
add_app_subdirectory(${ROVER_APPS_DIR}/arm_2021)
93+
add_app_subdirectory(${ROVER_APPS_DIR}/gamepad_2021)
94+
add_app_subdirectory(${ROVER_APPS_DIR}/gimbal_2021)
95+
add_app_subdirectory(${ROVER_APPS_DIR}/pdb_2021)
96+
add_app_subdirectory(${ROVER_APPS_DIR}/science_2021)
9797

9898
# Include Test Apps
9999
add_app_subdirectory(${TEST_APPS_DIR}/test-actuator-controller)

rover-apps/arm/CMakeLists.txt renamed to rover-apps/arm_2021/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
add_executable(arm)
2-
target_sources(arm PRIVATE src/main.cpp)
3-
target_include_directories(arm PUBLIC include)
4-
target_link_libraries(arm
1+
add_executable(arm_2021)
2+
target_sources(arm_2021 PRIVATE src/main.cpp)
3+
target_include_directories(arm_2021 PUBLIC include)
4+
target_link_libraries(arm_2021
55
PRIVATE
66
#Control
77
OpenLoopController
@@ -28,4 +28,4 @@ target_link_libraries(arm
2828
mbed-os
2929
mbed-events
3030
)
31-
mbed_set_post_build(arm)
31+
mbed_set_post_build(arm_2021)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)