mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-09-28 01:44:54 +08:00
feat(freertos): Add option to disable FreeRTOS
This commit is contained in:
@ -1,5 +1,12 @@
|
|||||||
menu "FreeRTOS"
|
menu "FreeRTOS"
|
||||||
|
|
||||||
|
config DISABLE_FREERTOS
|
||||||
|
bool "Disable FreeRTOS"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Enable this option, FreeRTOS will not be compiled and linked, and the user
|
||||||
|
can user other OS platform.
|
||||||
|
|
||||||
config FREERTOS_ENABLE_REENT
|
config FREERTOS_ENABLE_REENT
|
||||||
bool "Enable \"reent\" function"
|
bool "Enable \"reent\" function"
|
||||||
default n
|
default n
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
|
|
||||||
# Component Makefile
|
# 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
|
COMPONENT_SRCDIRS := freertos port/esp8266
|
||||||
|
endif
|
||||||
|
Reference in New Issue
Block a user