AnsweredAssumed Answered

[Pe035]: #error directive: MKW01Z4 memory map

Question asked by Thiago Lehr Companhoni on Apr 8, 2016
Latest reply on Jul 27, 2016 by Thiago Lehr Companhoni

Hello everyone!

 

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

CPU_MKW01Z128CHN4

and

MRB_KW01

 

Any ideas what could be this problem?

 

Thanks for the help and attention!!

 

Regards,

 

Thiago

Outcomes