Hi fellas,
I'm creating a new project using C++ in MCUXpresso IDE for iMX RT1064 EVK. There, for reference I'm using c-project-"lwip_ipv4_ipv6_echo_freertos" from C based project.
I've trying to resolve the errors one-by-one and now I'n stuck with this errors:
Although I've enable #define LWIP_TCPIP_CORE_LOCKING 1, in lwipopts.h file. What am I missing here?!
Hi,
Could you please share with me the SDK version you are using?
Could you confirm if the lwip_ipv4_ipv6_echo_freertos SDK example is working correctly before merging it into your custom application?
Regards,
Daniel.
Hi @DanielRuvalcaba ,
I've trying to create a new C++ project and its not C based "lwip_ipv4_ipv6_echo_freertos"project, as there is no sample C++ project for the same.
As a newbie, I'm not sure about basic build flags/macro settings. Although I've enable #define LWIP_TCPIP_CORE_LOCKING 1, in lwipopts.h file, which I obtained from the C based "lwip_ipv4_ipv6_echo_freertos"project .
What else am I missing here @DanielRuvalcaba ?!
Thanks for the clarification.
I’d recommend you to also use as a reference the C++ examples available in the SDK. For instance, some of the eiq_examples are C++ projects (i.e. tflm_cifar10). Probably some setting is missing in the project that are causing this.
Also, please take a look to this thread, it might be helpful for you.
I’d also recommend you to take a look to the MCUXpresso IDE User Guide for more information about C++ projects and C++ libraries (i.e. try using NewlibNano (nohost)).
I hope this helps,
Daniel.