mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-09-27 09:24:45 +08:00
feat(freertos): Add option to disable FreeRTOS
This commit is contained in:
@ -1,5 +1,12 @@
|
||||
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
|
||||
bool "Enable \"reent\" function"
|
||||
default n
|
||||
|
@ -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
|
||||
endif
|
||||
|
Reference in New Issue
Block a user