Skip to content

Conversation

fnadeau
Copy link
Contributor

@fnadeau fnadeau commented Feb 28, 2023

Add option to disable FreeRTOS-kernel fetch

Description

When using both FreeRTOS-kernel and FreeRTOS-FAT as submodule, it becomes impossible to do something like:

add_subdirectory(submodule/freertos-kernel)
add_subdirectory(submodule/freertos-fat)

This is because FreeRTOS-FAT' CMakeFileLists.txt will try to fetch FreeRTOS-kernel, which already exist.

Add two other option to overwrite default FreeRTOS-kenel git repo and tad.

Some IDE for embedded device do not handle well source code in build directory.

Test Steps

Cosmetic change only.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Test change with POSIX build, both with FreeRTOS-kernel as submodule and fetchcontent.

Related Issue

N/A

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

When using both FreeRTOS-kernel and FreeRTOS-FAT as submodule, it
becomes impossible to do something like:

add_subdirectory(submodule/freertos-kernel)
add_subdirectory(submodule/freertos-fat)

This is because FreeRTOS-FAT' CMakeFileLists.txt will try to fetch
FreeRTOS-kernel, which already exist.

Add two other option to overwrite default FreeRTOS-kenel git repo and
tad.
@fnadeau fnadeau requested a review from a team as a code owner February 28, 2023 02:03
FetchContent to use latest main from FreeRTOS-kernel as default value as suggested by aggarg.

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
@aggarg aggarg merged commit 1bc8947 into FreeRTOS:main Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants