Link against newlib from esp-open-sdk's libcirom, replace FreeRTOS heap management.

Compiles and runs, expects xtensa lock.c patch in newlib (will still run
otherwise but malloc/free and other functions will be non-memory-safe...)
This commit is contained in:
Angus Gratton 2015-06-15 16:51:06 +10:00
parent 1b0124cf05
commit 49268a33e1
5 changed files with 89 additions and 453 deletions

View file

@ -5,5 +5,5 @@ INC_DIRS += $(freertos_MAIN)/include $(freertos_MAIN)/portable/esp8266
freertos_ROOT = $(ROOT)FreeRTOS/
freertos_MAIN = $(freertos_ROOT)Source/
freertos_INC_DIR = $(freertos_MAIN)include $(freertos_MAIN)portable/esp8266
freertos_SRC_DIR = $(freertos_MAIN) $(freertos_MAIN)portable/MemMang $(freertos_MAIN)portable/esp8266
freertos_SRC_DIR = $(freertos_MAIN) $(freertos_MAIN)portable/esp8266
$(eval $(call component_compile_rules,freertos))