Override FreeRTOSConfig.h

richard.kang
Posts: 8
Joined: Tue Mar 01, 2016 7:25 am

Override FreeRTOSConfig.h

Postby richard.kang » Sat Jun 01, 2019 2:50 am

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?

ESP_Sprite
Posts: 9043
Joined: Thu Nov 26, 2015 4:08 am

Re: Override FreeRTOSConfig.h

Postby ESP_Sprite » Sun Jun 02, 2019 1:36 am

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?

richard.kang
Posts: 8
Joined: Tue Mar 01, 2016 7:25 am

Re: Override FreeRTOSConfig.h

Postby richard.kang » Sun Jun 02, 2019 8:20 pm

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


Who is online

Users browsing this forum: No registered users and 145 guests