<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [Pe035]: #error directive: MKW01Z4 memory map in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pe035-error-directive-MKW01Z4-memory-map/m-p/491064#M30312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you having problems with the KSDK SPI examplelocated in this path C:\Freescale\KSDK_1.3.0\examples\mrbkw01\driver_examples\spi\spi_polling\master\iar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or problem is with your own project that you created based on this example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just loaded the .eww file in C:\Freescale\KSDK_1.3.0\examples\mrbkw01\driver_examples\spi\spi_polling\master\iar then build ksdk_platform_lib and finally spi_polling_example_master without problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if your problem is the example itself I guess that the example was modified or corrupted, or maybe your installation. In this case I recommend reinstall to go back to normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the problem is with an example you created please let me know the steps you followed to clone the project.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2016 00:55:30 GMT</pubDate>
    <dc:creator>Carlos_Musich</dc:creator>
    <dc:date>2016-04-14T00:55:30Z</dc:date>
    <item>
      <title>[Pe035]: #error directive: MKW01Z4 memory map</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pe035-error-directive-MKW01Z4-memory-map/m-p/491063#M30311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when I try to rebuild all, appears this error to me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;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&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The part of the code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14601257787485250" data-renderedposition="368_50_798_64" jivemacro_uid="_14601257787485250"&gt;&lt;P&gt;&lt;SPAN style="color: #505050;"&gt;&lt;STRONG&gt;/* Check if another memory map has not been also included */&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050;"&gt;&lt;STRONG&gt;#if (defined(MCU_ACTIVE))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505050;"&gt;&lt;STRONG&gt;&amp;nbsp; #error MKW01Z4 memory map: There is already included another memory map. Only one memory map can be included.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;STRONG&gt;#endif efined(MCU_ACTIVE)) */&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that it'd be something about duplicate files, but it isn't. I also put in the preprocessor tab defined&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CPU_MKW01Z128CHN4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MRB_KW01&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what could be this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help and attention!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 14:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pe035-error-directive-MKW01Z4-memory-map/m-p/491063#M30311</guid>
      <dc:creator>thiagolehrcompa</dc:creator>
      <dc:date>2016-04-08T14:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: [Pe035]: #error directive: MKW01Z4 memory map</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pe035-error-directive-MKW01Z4-memory-map/m-p/491064#M30312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you having problems with the KSDK SPI examplelocated in this path C:\Freescale\KSDK_1.3.0\examples\mrbkw01\driver_examples\spi\spi_polling\master\iar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or problem is with your own project that you created based on this example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just loaded the .eww file in C:\Freescale\KSDK_1.3.0\examples\mrbkw01\driver_examples\spi\spi_polling\master\iar then build ksdk_platform_lib and finally spi_polling_example_master without problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if your problem is the example itself I guess that the example was modified or corrupted, or maybe your installation. In this case I recommend reinstall to go back to normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the problem is with an example you created please let me know the steps you followed to clone the project.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 00:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pe035-error-directive-MKW01Z4-memory-map/m-p/491064#M30312</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2016-04-14T00:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: [Pe035]: #error directive: MKW01Z4 memory map</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pe035-error-directive-MKW01Z4-memory-map/m-p/491065#M30313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply. Actually, I took the Radio Utility example, and tried to take all the SPI library files and add in Radio Utility folder. Basically, I put the part of the code that I was interested (from &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;spi_polling_example_master) &lt;/SPAN&gt;in and, as long as I was compiling, the compiler showed lots of errors - most part were about missing files. So, I was adding the right files, until the last problem that I got was this one from my first post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if is that possible to do. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying more specifically use SMAC and SPI in the same project.&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 19:36:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pe035-error-directive-MKW01Z4-memory-map/m-p/491065#M30313</guid>
      <dc:creator>thiagolehrcompa</dc:creator>
      <dc:date>2016-06-09T19:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: [Pe035]: #error directive: MKW01Z4 memory map</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pe035-error-directive-MKW01Z4-memory-map/m-p/491066#M30314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry, but I still couldn't solve my problem. Actually, the problem I'm facing is to join the HAL library (SPI, I2C, etc, from SDK 1.3) to the SMAC library (which I made my program to send packets between two boards, from Radio Utility package).&lt;/P&gt;&lt;P&gt;In SMAC libray, I saw that there is this memory map added: &lt;SPAN style="color: #000000; font-family: Cantarell; font-size: medium; font-style: normal; text-align: start; text-indent: 0px;"&gt;&lt;STRONG&gt;MKL26Z4.h&lt;/STRONG&gt;&lt;/SPAN&gt;, while the HAL library has another memory map, &lt;SPAN style="color: #000000; font-family: Cantarell; font-size: medium; font-style: normal; text-align: start; text-indent: 0px;"&gt;&lt;STRONG&gt;MKW01Z4.h &lt;/STRONG&gt;&lt;/SPAN&gt;(which makes more sense than the another one included, since the board's name is KW01, anyway).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I merge the files into one project, it appears the error "There is already included another memory map. Only one memory map can be included." However, I can't remove any header file, otherwise it gives me other errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea of what could I do about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your attention!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thiago&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 18:51:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Pe035-error-directive-MKW01Z4-memory-map/m-p/491066#M30314</guid>
      <dc:creator>thiagolehrcompa</dc:creator>
      <dc:date>2016-07-27T18:51:20Z</dc:date>
    </item>
  </channel>
</rss>

