I am consuming both freertos-kernel and freertos-Plus-TCP as submodules.
I am doing the actual project building using a top level cmakelist.txt file.
As far as I can tell I have everything setup and configured for my port (STM32).
I can build and test basic freertos-kernel with a simple task test loop that just flashes an LED.
That is working just fine.
I next attempted to add TCP. Again I have configuration setup and it also appears to be building as I can see several lib files being generated in my build directory without any errors.
I then tried to expand my main.c to include the tcp startup and a simple task loop.
It also appears to be compiling without errors but I keep getting “undefined reference to `FreeRTOS_IPInit’” when it tries to link. No matter what I try in configuring the target_link_libraries it will not link. It does not give any warning that it cannot find any of the libraries. I initially just tried to adding “freertos_plus_tcp”
to my previously working target_link_libraries which just had the freertos_kernel and freertos_config entries but this fails also.
What am I missing?