Skip to content

Commit

Permalink
Remove the sample smp configuration folder (FreeRTOS#922)
Browse files Browse the repository at this point in the history
* Remove the sample smp configuration folder
  • Loading branch information
chinglee-iot authored Dec 13, 2023
1 parent bd0f87c commit e0bb21f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 85 deletions.
1 change: 1 addition & 0 deletions .github/.cSpellWords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ DATRDY
DBGU
DCDIC
DCMR
Dconfig
DCOUNT
decf
decfsz
Expand Down
17 changes: 7 additions & 10 deletions examples/cmake_example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@ set(FREERTOS_KERNEL_PATH "../../")
# Add the freertos_config for FreeRTOS-Kernel
add_library(freertos_config INTERFACE)

target_include_directories(freertos_config
INTERFACE
"../sample_configuration"
)

if (DEFINED FREERTOS_SMP_EXAMPLE AND FREERTOS_SMP_EXAMPLE STREQUAL "1")
message(STATUS "Build FreeRTOS SMP example")
target_include_directories(freertos_config
INTERFACE
"../sample_configuration/smp"
)
else()
message(STATUS "Build FreeRTOS example")
target_include_directories(freertos_config
INTERFACE
"../sample_configuration"
)
# Adding the following configurations to build SMP template port
add_compile_options( -DconfigNUMBER_OF_CORES=2 -DconfigUSE_PASSIVE_IDLE_HOOK=0 )
endif()

# Select the heap port. values between 1-4 will pick a heap.
Expand Down
65 changes: 0 additions & 65 deletions examples/sample_configuration/smp/FreeRTOSConfig.h

This file was deleted.

10 changes: 0 additions & 10 deletions examples/sample_configuration/smp/readme.md

This file was deleted.

0 comments on commit e0bb21f

Please sign in to comment.