Skip to content

Commit 260a37c

Browse files
authored
Fix some CMake documentation typos (#616)
The quick start instructions for CMake mention the "master" git branch which has been replaced by "main" in the current repo. The main CMakeLists.txt documents how to integrate a custom port. Fix a typo in the suggested CMake code.
1 parent 78319fd commit 260a37c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ elseif((FREERTOS_PORT STREQUAL "A_CUSTOM_PORT") AND (NOT TARGET freertos_kernel_
217217
" target_include_directories(freertos_kernel_port\n"
218218
" PUBLIC\n"
219219
" .)\n"
220-
" taget_link_libraries(freertos_kernel_port\n"
220+
" target_link_libraries(freertos_kernel_port\n"
221221
" PRIVATE\n"
222222
" freertos_kernel)")
223223
endif()

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Add the following into your project's main or a subdirectory's `CMakeLists.txt`:
1919
```cmake
2020
FetchContent_Declare( freertos_kernel
2121
GIT_REPOSITORY https://github.com/FreeRTOS/FreeRTOS-Kernel.git
22-
GIT_TAG master #Note: Best practice to use specific git-hash or tagged version
22+
GIT_TAG main #Note: Best practice to use specific git-hash or tagged version
2323
)
2424
```
2525

0 commit comments

Comments
 (0)