Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
samyarsadat committed Jul 23, 2024
1 parent 5f1a2f7 commit 8fe0adb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Source Code/pico_ws/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# The ROS robot project - Firmware CMake config (NOTE: THIS IS NOT THE TOP-LEVEL CMAKE FILE!)
# The ROS robot project - Firmware CMake config
# (NOTE: THIS IS NOT THE TOP-LEVEL CMAKE FILE!)
# Copyright 2022-2024 Samyar Sadat Akhavi
# Written by Samyar Sadat Akhavi, 2022-2024.
#
Expand Down
6 changes: 4 additions & 2 deletions Source Code/pico_ws/src/pico_a/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# The ROS robot project - Firmware CMake config, Pico A (NOTE: THIS IS NOT THE TOP-LEVEL CMAKE FILE!)
# The ROS robot project - Firmware CMake config, Pico A
# (NOTE: THIS IS NOT THE TOP-LEVEL CMAKE FILE!)
# Copyright 2022-2024 Samyar Sadat Akhavi
# Written by Samyar Sadat Akhavi, 2022-2024.
#
Expand Down Expand Up @@ -41,13 +42,14 @@ target_link_libraries(${PICO_A_NAME} micro_ros
pid_v1_lib
motor_control_lib
freertos_helpers_lib
uros_freertos_helpers_lib
FreeRTOS-Kernel
FreeRTOS-Kernel-Heap4)

# Link to include directories
target_include_directories(${PICO_A_NAME} PUBLIC ${CMAKE_CURRENT_LIST_DIR})

# UART Config
# Target-specific compile definitions
target_compile_definitions(${PICO_A_NAME} PRIVATE
PICO_RP2040_B0_SUPPORTED=0
PICO_RP2040_B1_SUPPORTED=0
Expand Down
6 changes: 4 additions & 2 deletions Source Code/pico_ws/src/pico_b/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# The ROS robot project - Firmware CMake config, Pico B (NOTE: THIS IS NOT THE TOP-LEVEL CMAKE FILE!)
# The ROS robot project - Firmware CMake config, Pico B
# (NOTE: THIS IS NOT THE TOP-LEVEL CMAKE FILE!)
# Copyright 2022-2024 Samyar Sadat Akhavi
# Written by Samyar Sadat Akhavi, 2022-2024.
#
Expand Down Expand Up @@ -38,14 +39,15 @@ target_link_libraries(${PICO_B_NAME} micro_ros
helpers_lib
local_helpers_lib
freertos_helpers_lib
uros_freertos_helpers_lib
FreeRTOS-Kernel
FreeRTOS-Kernel-Heap4
)

# Link to include directories
target_include_directories(${PICO_B_NAME} PUBLIC ${CMAKE_CURRENT_LIST_DIR})

# UART Config
# Target-specific compile definitions
target_compile_definitions(${PICO_B_NAME} PRIVATE
PICO_RP2040_B0_SUPPORTED=0
PICO_RP2040_B1_SUPPORTED=0
Expand Down

0 comments on commit 8fe0adb

Please sign in to comment.