File tree Expand file tree Collapse file tree 4 files changed +8
-85
lines changed Expand file tree Collapse file tree 4 files changed +8
-85
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ DATRDY
175
175
DBGU
176
176
DCDIC
177
177
DCMR
178
+ Dconfig
178
179
DCOUNT
179
180
decf
180
181
decfsz
Original file line number Diff line number Diff line change @@ -7,18 +7,15 @@ set(FREERTOS_KERNEL_PATH "../../")
7
7
# Add the freertos_config for FreeRTOS-Kernel
8
8
add_library (freertos_config INTERFACE )
9
9
10
+ target_include_directories (freertos_config
11
+ INTERFACE
12
+ "../sample_configuration"
13
+ )
14
+
10
15
if (DEFINED FREERTOS_SMP_EXAMPLE AND FREERTOS_SMP_EXAMPLE STREQUAL "1" )
11
16
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 )
22
19
endif ()
23
20
24
21
# Select the heap port. values between 1-4 will pick a heap.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments