Skip to content

Commit c72a2ae

Browse files
Removes duplicate entry for FreeRTOS (#1712)
***NO_CI***
1 parent 7b89fcf commit c72a2ae

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

CMakeLists.txt

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -693,44 +693,13 @@ if(RTOS_CHIBIOS_CHECK)
693693
endif()
694694

695695
endif()
696-
#######################
697-
# FreeRTOS
698-
elseif(RTOS_FREERTOS_CHECK)
699-
700-
add_subdirectory(targets/FreeRTOS)
701696

702697
#######################
703698
# FreeRTOS
704699
elseif(RTOS_FREERTOS_CHECK)
705700

706701
add_subdirectory(targets/FreeRTOS)
707-
708-
# now add the subdirectory for the board
709-
# try to find board in the targets folder
710-
if(EXISTS ${PROJECT_SOURCE_DIR}/targets/FreeRTOS/NXP/${FREERTOS_BOARD})
711-
# board found
712-
message(STATUS "Support for target board '${FREERTOS_BOARD}' found")
713-
714-
# add TARGET board directory
715-
add_subdirectory("targets/FreeRTOS/NXP/${FREERTOS_BOARD}")
716-
717-
else()
718702

719-
# try to find board in the Community targets folder
720-
if(EXISTS ${PROJECT_SOURCE_DIR}/targets-community/FreeRTOS/NXP/${FREERTOS_BOARD})
721-
# board found
722-
message(STATUS "Support for target board '${FREERTOS_BOARD}' found in Community targets")
723-
724-
# add TARGET board directory from Community
725-
add_subdirectory("targets-community/FreeRTOS/NXP/${FREERTOS_BOARD}")
726-
727-
else()
728-
# board NOT found in targets folder
729-
# board NOT found in targets folder
730-
message(FATAL_ERROR "\n\nSorry but support for ${FREERTOS_BOARD} target is not available...\n\You can wait for that to be added or you might want to contribute and start working on a PR for that.\n\n")
731-
endif()
732-
733-
endif()
734703
#######################
735704
# FreeRTOS ESP32
736705
elseif(RTOS_FREERTOS_ESP32_CHECK)

0 commit comments

Comments
 (0)