I'm using IAR 7.5 version. I'm coding from the radio utility pack from the page of MRB-KW01, and I'd like to use SDK 1.3 SPI library. In order to do this, I've gotten a SPI example (spi_polling_example_master) and I've tried to include all the headers and .C needed in my project.
But, when I try to rebuild all, appears this error to me:
Fatal Error[Pe035]: #error directive: MKW01Z4 memory map: There is already included another memory map. Only one memory map can be included. $PROJ_DIR%\...\....\....\MKW01Z4\include\MKW01Z4.h 78
The part of the code is:
/* Check if another memory map has not been also included */ #if (defined(MCU_ACTIVE)) #error MKW01Z4 memory map: There is already included another memory map. Only one memory map can be included. #endif efined(MCU_ACTIVE)) */
I thought that it'd be something about duplicate files, but it isn't. I also put in the preprocessor tab defined
Any ideas what could be this problem?
Thanks for the help and attention!!