So I'm having issues with building the TWR-K60F120M_QSD demo project for MQX 4.0.1 using IAR workbench v6.6. Although I was able to successfully build the project using MQX 3.8.1 with my IAR compiler.
It all started with IAR not being able to open certain header files, I figured this out after some googling. It turns out that the demo project was built with a previous version of IAR and the new IAR versioon (6.6) loses some of the include paths when opening on old IAR workspace project. After I fixed that problem I then ran into some issues where it was missing some MACRO definitions. Below is a screenshot of the errors from the IAR development environment.
I added the MACROS shown below into the ipcfg.h file then recompiled the MQX libraries.
extern uint_32 IPCFG_default_enet_device;
extern _enet_address IPCFG_default_enet_address;
extern _ip_address IPCFG_default_ip_address;
extern _ip_address IPCFG_default_ip_mask;
extern _ip_address IPCFG_default_ip_gateway;
I then switch over to my demo project workspace, in IAR, attempted to build the project. I then saw the following errors.
I also see an issue where it can’t find the definition for _cortex_in_init. If anyone can help that would be awesome.