Skip to content

Commit e0bb21f

Browse files
authored
Remove the sample smp configuration folder (#922)
* Remove the sample smp configuration folder
1 parent bd0f87c commit e0bb21f

File tree

4 files changed

+8
-85
lines changed

4 files changed

+8
-85
lines changed

.github/.cSpellWords.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ DATRDY
175175
DBGU
176176
DCDIC
177177
DCMR
178+
Dconfig
178179
DCOUNT
179180
decf
180181
decfsz

examples/cmake_example/CMakeLists.txt

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,15 @@ set(FREERTOS_KERNEL_PATH "../../")
77
# Add the freertos_config for FreeRTOS-Kernel
88
add_library(freertos_config INTERFACE)
99

10+
target_include_directories(freertos_config
11+
INTERFACE
12+
"../sample_configuration"
13+
)
14+
1015
if (DEFINED FREERTOS_SMP_EXAMPLE AND FREERTOS_SMP_EXAMPLE STREQUAL "1")
1116
message(STATUS "Build FreeRTOS SMP example")
12-
target_include_directories(freertos_config
13-
INTERFACE
14-
"../sample_configuration/smp"
15-
)
16-
else()
17-
message(STATUS "Build FreeRTOS example")
18-
target_include_directories(freertos_config
19-
INTERFACE
20-
"../sample_configuration"
21-
)
17+
# Adding the following configurations to build SMP template port
18+
add_compile_options( -DconfigNUMBER_OF_CORES=2 -DconfigUSE_PASSIVE_IDLE_HOOK=0 )
2219
endif()
2320

2421
# Select the heap port. values between 1-4 will pick a heap.

examples/sample_configuration/smp/FreeRTOSConfig.h

Lines changed: 0 additions & 65 deletions
This file was deleted.

examples/sample_configuration/smp/readme.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)