We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cca703 commit 97532e6Copy full SHA for 97532e6
components/freertos/Kconfig
@@ -1,5 +1,12 @@
1
menu "FreeRTOS"
2
3
+config DISABLE_FREERTOS
4
+ bool "Disable FreeRTOS"
5
+ default n
6
+ help
7
+ Enable this option, FreeRTOS will not be compiled and linked, and the user
8
+ can user other OS platform.
9
+
10
config FREERTOS_ENABLE_REENT
11
bool "Enable \"reent\" function"
12
default n
components/freertos/component.mk
@@ -1,6 +1,13 @@
# Component Makefile
#
-COMPONENT_ADD_INCLUDEDIRS += include include/freertos include/freertos/private port/esp8266/include port/esp8266/include/freertos
+COMPONENT_ADD_INCLUDEDIRS += include \
+ include/freertos \
+ include/freertos/private \
+ port/esp8266/include \
+ port/esp8266/include/freertos
+ifndef CONFIG_DISABLE_FREERTOS
COMPONENT_SRCDIRS := freertos port/esp8266
13
+endif
0 commit comments