<?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: Asserts in MQX/CW10 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210003#M5133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, a step forwards but the make command doesn't seem to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of things:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; The assert.c that you have modified has a different date code than the one that comes with the system.&amp;nbsp; The one that you are using has a date code of&amp;nbsp;2009/12/21 whereas the assert.c that comes with CW has a date code of 2010/03/26.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because of this, I decided to modify the version of the code that comes with CW (and this is the attached zip file).&amp;nbsp; I've called it "assert.myke.c" to make sure it doesn't get confused.&amp;nbsp; Could you please review and let me know if I made the changes correctly (look for "//DES &amp;amp; MAP")?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; When I attempt to perform the make in cygwin, I get the response below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:Myke@Myke-Laptop" rel="nofollow" target="_blank"&gt;&lt;FONT face="courier new,courier"&gt;Myke@Myke-Laptop&lt;/FONT&gt;&lt;/A&gt; &lt;FONT face="courier new,courier"&gt;/cygdrive/c/Program Files/Freescale/CW MCU v10.0/MCU/Coldfire_Support/ewl&lt;BR /&gt;$ make -f makefile clean&lt;BR /&gt;make -f EWL_C..mak -C EWL_C clean&lt;BR /&gt;make[1]: Entering directory `/cygdrive/c/Program Files/Freescale/CW MCU v10.0/MCU/Coldfire_Support/ewl/EWL_C'&lt;BR /&gt;make[1]: EWL_C..mak: No such file or directory&lt;BR /&gt;make[1]: *** No rule to make target `EWL_C..mak'.&amp;nbsp; Stop.&lt;BR /&gt;make[1]: Leaving directory `/cygdrive/c/Program Files/Freescale/CW MCU v10.0/MCU/Coldfire_Support/ewl/EWL_C'&lt;BR /&gt;make: *** [clean] Error 2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like to me (with the EWL_C..mak) that the CF specification is not getting included - I have copied the files that you sent (and was able to find a single location for each one) so I am wondering if I have missed something.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did create a backup folder of ewl and everything in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx and sorry for being a pain,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jul 2010 23:35:27 GMT</pubDate>
    <dc:creator>mykepredko</dc:creator>
    <dc:date>2010-07-13T23:35:27Z</dc:date>
    <item>
      <title>Asserts in MQX/CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/209996#M5126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I want to implement Asserts in my code and and I'm following the guidelines in the "CodeWarrior Development Tools EWL C Reference" to implement them, namely:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;#define NDEBUG&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;#include &amp;lt;assert.h&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;int i = 7;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assert(7 != i);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;and execution does stop, but I don't get an assert message sent through the serial port (UART0).&amp;nbsp;&amp;nbsp; I'm running on an M52223EVB.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any ideas?&amp;nbsp; I would just like to get a message because otherwise the software just stops (which is correct but not very helpful).&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanx,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;myke&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 01:44:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/209996#M5126</guid>
      <dc:creator>mykepredko</dc:creator>
      <dc:date>2010-07-01T01:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Asserts in MQX/CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/209997#M5127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ooops.&amp;nbsp; I copied down the code incorrectly.&amp;nbsp; The "#define NDEBUG" should be "#undef NDEBUG" and the code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;#undef NDEBUG&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;#include &amp;lt;assert.h&amp;gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;int i = 7;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,monospace"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assert(7 != i);&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;The same problem exists, execution halts but I don't get a message out telling me where the Assert took place and what are the conditions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 01:58:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/209997#M5127</guid>
      <dc:creator>mykepredko</dc:creator>
      <dc:date>2010-07-01T01:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Asserts in MQX/CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/209998#M5128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Myke,&lt;/P&gt;&lt;P&gt;I tried the assert() with CW7.2.1, FSLMQX3.6, and M52259EVB,&amp;nbsp;and it too did not work.&amp;nbsp; I dug into source and have a workaround and will also mention this to our FSLMQX development team.&lt;/P&gt;&lt;P&gt;The assert() is part of the EWL library in the CodeWarrior path.&amp;nbsp; At some point it calls a printf() but instead of calling the FSLMQX printf() it calls the EWL printf().&amp;nbsp; I had to modify a couple EWL "C" source files and re-compile the library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the modifications and steps I made:&lt;/P&gt;&lt;P&gt;- open CodeWarrior for ColdFire V7.2\ColdFire_Support\ewl\EWL_C\EWL_C.CF.mcp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- open ansi_prefix.CF.h (NOTE: not certain this change needed) and change as follows:&lt;/P&gt;&lt;P&gt;#ifndef _EWL_ASSERT_DISPLAYS_FUNC&lt;BR /&gt;//DES&amp;nbsp;#define _EWL_ASSERT_DISPLAYS_FUNC&amp;nbsp;&amp;nbsp;0&amp;nbsp;// Assert will not display function name, non-c99 behavior (7.2.1.1)&lt;BR /&gt;&amp;nbsp;#define _EWL_ASSERT_DISPLAYS_FUNC&amp;nbsp;&amp;nbsp;1&amp;nbsp;//DES was 0&amp;nbsp;// Assert will not display function name, non-c99 behavior (7.2.1.1)&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- open assert.c and change as follows:&lt;/P&gt;&lt;P&gt;extern int _io_printf(const char * , ... );&amp;nbsp;&amp;nbsp;//DES&lt;/P&gt;&lt;P&gt;MISRA_QUIET(715, "ununsed arg")&lt;BR /&gt;void __ewl_assertion_failed(char_t const *condition, char_t const *filename, char_t const *funcname, int_t lineno)&lt;BR /&gt;{&lt;BR /&gt;#if !_EWL_ASSERT_DISPLAYS_FUNC&lt;BR /&gt;#pragma unused(funcname)&lt;BR /&gt;#endif&lt;BR /&gt;#if _EWL_OS_DISK_FILE_SUPPORT&lt;BR /&gt;&amp;nbsp;#if _EWL_ASSERT_DISPLAYS_FUNC&lt;BR /&gt;&amp;nbsp;&amp;nbsp;(void)fprintf(stderr, "Assertion (%s) failed in \"%s\", function \"%s\", line %d\n", condition, filename, funcname, lineno);&lt;BR /&gt;&amp;nbsp;#else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;(void)fprintf(stderr, "Assertion (%s) failed in \"%s\", line %d\n", condition, filename, lineno);&lt;BR /&gt;&amp;nbsp;#endif&lt;BR /&gt;#elif (_EWL_CONSOLE_SUPPORT)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;#if _EWL_ASSERT_DISPLAYS_FUNC&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;(void)_io_printf("Assertion (%s) failed in \"%s\", function \"%s\", line %d\n", condition, filename, funcname, lineno);&lt;BR /&gt;//DES&amp;nbsp;&amp;nbsp;&amp;nbsp;(void)printf("Assertion (%s) failed in \"%s\", function \"%s\", line %d\n", condition, filename, funcname, lineno);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;#else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;(void)printf("Assertion (%s) failed in \"%s\", line %d\n", condition, filename, lineno);&lt;BR /&gt;&amp;nbsp;#endif&lt;BR /&gt;&amp;nbsp;#else&lt;BR /&gt;&amp;nbsp;#pragma unused(condition, filename, funcname, lineno)&lt;BR /&gt;&amp;nbsp;/* Use some other form of assertion since there is no disk or console I/O */&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Now build/make the Build All target to update the EWL library&lt;/P&gt;&lt;P&gt;- I used the ~mqx/examples/hello project as a file to add your code.&amp;nbsp; I got an error during build and had to change the target configuration dialog box Linker-&amp;gt;Librarian fields as follows:&lt;/P&gt;&lt;P&gt;Print and Scan formatter from "in_FP" to "int" and Console IO from "buffer" to"raw".&lt;/P&gt;&lt;P&gt;- Now re-build your project and run .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;PS&lt;/P&gt;&lt;P&gt;I've added the source files in a ZIP if you don't want to cut&amp;amp;paste.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PSS&lt;/P&gt;&lt;P&gt;Please note that these mods to make assert() work with FSLMQX make it not work for non-FSLMQX (raw) applications.&amp;nbsp; So what I've done is a workaround for FSLMQX only and I'm sure our FSLMQX and CodeWarrior developers will have proper long-term solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 04:15:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/209998#M5128</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2010-07-02T04:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Asserts in MQX/CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/209999#M5129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&amp;nbsp; Unfortunately, I don't seem to be able to find the "assert.c" that is referenced.&amp;nbsp; I'm running CW10 (you referenced 7.2) and I was able to find "ansi_prefix.CF.h" and I can compare your changes to the original and they make sense.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I can't find an "assert.c" (there are four) that matches the one that you started with and I can't find EWL_C.CF.mcp - although I can find C:\Program Files\Freescale\CW MCU v10.0\MCU\ColdFire_Support\ewl\EWL_C which seems to be the correct one BUT the assert.c file in this folder has a different date in the comments (2010/03/26 13:38:00) than the file you seemed to start with (2009/12/21 12:33::27) and the contents are really quite a bit different.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is surprising to me as I would have thought the EWL C tools would be identical to the two versions of CW.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for being a pain - do you have any ideas as to what I should look for next?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 11:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/209999#M5129</guid>
      <dc:creator>mykepredko</dc:creator>
      <dc:date>2010-07-02T11:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Asserts in MQX/CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210000#M5130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Myke,&lt;/P&gt;&lt;P&gt;Sorry for the delay....I had to inquire to many people to ultimately find that we do not have a simple CW10 project to aid in the re-building process.&amp;nbsp; Good news is it is now on the to-do list for the CodeWarrior team.&lt;/P&gt;&lt;P&gt;For CW10 I had to install Cygwin on my PC and modify EWL make files to enable a manual re-build of the EWL Libraries.&lt;BR /&gt;I have both workarounds included in the attached ZIP.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jul 2010 04:33:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210000#M5130</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2010-07-10T04:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Asserts in MQX/CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210001#M5131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for providing the information.&amp;nbsp; A quick comment for others that are trying this and a couple of questions regarding the file (before I "clean" and then rebuild "all").&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should put the Cygwin path in double quotes to get the correct folder which has spaces in the label, ie:&lt;/P&gt;&lt;P&gt;cd "/cygdrive/c/Program Files/Freescale/CW MCU v10.0/MCU/ColdFire_Support/ewl"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; There are a number of make files in the "AssertIssueCW10Workaround" zip file which end in .CF and do not have the full extensions of .CF.mak.&amp;nbsp; I can find matching .CF.mak files - when copying them over, should I add the ".mak" to the extension?&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; When I look at "makefile" in the ".../ewl" folder, it looks like the target processor ("CF" in our case) should be included in the make statement?&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.&amp;nbsp; Is there a list of folders for copying in your files into?&amp;nbsp; The reason why I'm asking is because the "assert.c" in C:\Program Files\Freescale\CW MCU v10.0\MCU\ColdFire_Support\ewl\EWL_C\src is substantially different from the assert.c in the CW10 .zip file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for all the questions, I just want to make sure that I can get this to go smoothly - your instructions were very clear to getting to this point, I just want to make sure I nail it first time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 04:23:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210001#M5131</guid>
      <dc:creator>mykepredko</dc:creator>
      <dc:date>2010-07-13T04:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Asserts in MQX/CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210002#M5132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Myke,&lt;/P&gt;&lt;P&gt;Sorry that the file extensions were not preserved fully.&amp;nbsp; I did work on one machine and copied to another and then zipped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A1)&amp;nbsp;The ".mak" should be added and they should be place in the respective EWL_C/EWL_C++/EWL_Runtime and EWL_Runtime/Runtime_ColdFire/Projects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A2) The CF is defined in the make files that needs them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A3) When I search the ewl folder structure I only get one assert.c file in ~/ewl/EWL_C/src&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CW10 production release just came out...maybe you should upgrade to it.&amp;nbsp; Here is info for it:&lt;/P&gt;&lt;P&gt;The production release of CodeWarrior for Microcontrollers v10.0 is now available! The Special Edition and Professional Evaluation Edition are available for download at &lt;A href="http://www.freescale.com/cwmcu10" rel="nofollow" target="_blank" title="http://www.freescale.com/cwmcu10"&gt;&lt;U title="http://www.freescale.com/cwmcu10"&gt;&lt;/U&gt;&lt;/A&gt;&lt;A href="https://community.nxp.com/www.freescale.com/cwmcu10" target="test_blank"&gt;www.freescale.com/cwmcu10&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly...before I tried to do make clean and make all, I made a backup copy of the&amp;nbsp;~ewl/lib&amp;nbsp;folder just so I would have a restore point.&amp;nbsp; Having done this I didn't then have a problem...but if I hadn't I'm sure I would have :smileywink:&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 20:46:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210002#M5132</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2010-07-13T20:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Asserts in MQX/CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210003#M5133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, a step forwards but the make command doesn't seem to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of things:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; The assert.c that you have modified has a different date code than the one that comes with the system.&amp;nbsp; The one that you are using has a date code of&amp;nbsp;2009/12/21 whereas the assert.c that comes with CW has a date code of 2010/03/26.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because of this, I decided to modify the version of the code that comes with CW (and this is the attached zip file).&amp;nbsp; I've called it "assert.myke.c" to make sure it doesn't get confused.&amp;nbsp; Could you please review and let me know if I made the changes correctly (look for "//DES &amp;amp; MAP")?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; When I attempt to perform the make in cygwin, I get the response below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:Myke@Myke-Laptop" rel="nofollow" target="_blank"&gt;&lt;FONT face="courier new,courier"&gt;Myke@Myke-Laptop&lt;/FONT&gt;&lt;/A&gt; &lt;FONT face="courier new,courier"&gt;/cygdrive/c/Program Files/Freescale/CW MCU v10.0/MCU/Coldfire_Support/ewl&lt;BR /&gt;$ make -f makefile clean&lt;BR /&gt;make -f EWL_C..mak -C EWL_C clean&lt;BR /&gt;make[1]: Entering directory `/cygdrive/c/Program Files/Freescale/CW MCU v10.0/MCU/Coldfire_Support/ewl/EWL_C'&lt;BR /&gt;make[1]: EWL_C..mak: No such file or directory&lt;BR /&gt;make[1]: *** No rule to make target `EWL_C..mak'.&amp;nbsp; Stop.&lt;BR /&gt;make[1]: Leaving directory `/cygdrive/c/Program Files/Freescale/CW MCU v10.0/MCU/Coldfire_Support/ewl/EWL_C'&lt;BR /&gt;make: *** [clean] Error 2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like to me (with the EWL_C..mak) that the CF specification is not getting included - I have copied the files that you sent (and was able to find a single location for each one) so I am wondering if I have missed something.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did create a backup folder of ewl and everything in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx and sorry for being a pain,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 23:35:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210003#M5133</guid>
      <dc:creator>mykepredko</dc:creator>
      <dc:date>2010-07-13T23:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Asserts in MQX/CW10</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210004#M5134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently working with MK60DN512 micro under CodeWarrior 10.6 and GNU compiler. I am not using the stdlib and hence getting the error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Description&lt;/TD&gt;&lt;TD&gt;Resource&lt;/TD&gt;&lt;TD&gt;Path&lt;/TD&gt;&lt;TD&gt;Location&lt;/TD&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ARM_GCC_Support/ewl/EWL_C/src/stdio/printf.c undefined reference to `__pformatter'&lt;/TD&gt;&lt;TD&gt;marble_Tacho5_k60n512&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;line 44&lt;/TD&gt;&lt;TD&gt;C/C++ Problem&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be able to compile my code I used your solution that requires changing and recompiling the EWL, the solution got it to work, thanks. &lt;/P&gt;&lt;P&gt;My question is, is it possible to redefine the assert locally in a way that will leave the EWL as it is now and will allow the code to be compiled on other machine without having to compile the EWL.&lt;/P&gt;&lt;P&gt;I tried to undefine and redefine the assert in user_config.h but still getting the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 00:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Asserts-in-MQX-CW10/m-p/210004#M5134</guid>
      <dc:creator>amithergass</dc:creator>
      <dc:date>2015-08-10T00:05:56Z</dc:date>
    </item>
  </channel>
</rss>

