Just started using the Connectcore 9P 9215, and hit a problem in trying to generate a Release version of the code.
Using Digi ESP 7.4.2 patched to latest.
Easily reproducable - simply create and compile a new Digi project, and compile Debug and Release versions.
Debug compiles no problem.
Release fails with a number of errors - undefined symbol malloc (??!!) and -txe_event_flags_get, among others.
Basic problem is that libbsp.a isn't being produced.
Within the project's Release directory, there is no bsp subdirectory.
In the NetOS source directories, subdirectory connectcore9p9215_a_esp is created in Release mode; in Debug mode connectcore9p9215_a is created/used.
I suspect this is the root of the problem.
In the project's two makefile.init (Debug and Release) we have:
BOARD_TYPE = connectcore9p9215_a
PLATFORM = connectcore9p9215_a_esp
PROJPLATFORMDIR = ../bsp/7_4/connectcore9p9215_a
PROJBSPBINPATH = bsp/7_4/connectcore9p9215_a
I'm guessing that somewhere in the makefiles, BOARD_TYPE is used instead of PLATFORM; or maybe connectcore9p9215_a_esp should never be set as PLATFORM.
Has anyone else seen this? Or any suggestions as to where to look?