Page 1 of 1

Override FreeRTOSConfig.h

Posted: Sat Jun 01, 2019 2:50 am
by richard.kang
I have a project that has a local FreeRTOSConfig.h.

However even when I have COMPONENT_ADD_INCLUDEDIRS in my Makefile, I still encountered error that variable not found, which I have defined in a local FreeRTOSConfig.h

Code: Select all

COMPONENT_ADD_INCLUDEDIRS := \
	./includes \
Is there other flag in Makefile that I can use to set priority to include?

Re: Override FreeRTOSConfig.h

Posted: Sun Jun 02, 2019 1:36 am
by ESP_Sprite
Note that esp-idf does not support custom FreeRTOS configs, as it's easy to enable/disable a bunch of features that break the assumptions of the rest of the SDK. With that in mind, which features in particular do you need enabled/disabled?

Re: Override FreeRTOSConfig.h

Posted: Sun Jun 02, 2019 8:20 pm
by richard.kang
Thanks for your reply.

Sorry I should take a step back and share my use case.

I was looking at using some functions that seems not available in ESP-IDF, e.g. https://www.freertos.org/a00021.html#pcTaskGetName.

Therefore, I am wondering what is the best practices to override the FreeRTOS component of ESP-IDF? Should I have ESP-IDF and FreeRTOS side-by-side in 2 different folders, and so potentially overrides some of the FreeRTOS in ESP-IDF?

Thanks!
Richard

Re: Override FreeRTOSConfig.h

Posted: Sun Jun 02, 2019 11:23 pm
by WiFive