<?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 Issue enabling PPP in MQX 4.1.0 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Issue-enabling-PPP-in-MQX-4-1-0/m-p/348901#M11253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am upgrading a product from MQX 4.0.1 to 4.1.0.1 and I think I may have come across a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding was that in order to enable a feature, you simply defined the feature's 'enable' define to 1 in the user_config.h.&lt;/P&gt;&lt;P&gt;I am using PPP in my project, so I defined RTCSCFG_ENABLE_PPP to 1, but the feature wasn't included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On investigation it appears that the&lt;/P&gt;&lt;P&gt;#if RTCSCFG_ENABLE_PPP&lt;/P&gt;&lt;P&gt;lines in lots of files (ppp.c, pppfsm.c, pktrx.c, pkttx.c etc) is before any of the includes. This means that there is no way for the user_config ( and the 'enable' define ) to be included when these objects are compiled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two options to make this work:&lt;/P&gt;&lt;P&gt;1) Move the #if in each file (which is what I chose)&lt;/P&gt;&lt;P&gt;2) Add -D RTCSCFG_ENABLE_PPP=1 to the compile flags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a mistake, or is the intention that compile flags now be used rather than the user_config?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way, I figured this observation would be useful for anyone else that can't figure out why it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Aug 2014 21:26:31 GMT</pubDate>
    <dc:creator>chrissolomon</dc:creator>
    <dc:date>2014-08-10T21:26:31Z</dc:date>
    <item>
      <title>Issue enabling PPP in MQX 4.1.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Issue-enabling-PPP-in-MQX-4-1-0/m-p/348901#M11253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am upgrading a product from MQX 4.0.1 to 4.1.0.1 and I think I may have come across a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding was that in order to enable a feature, you simply defined the feature's 'enable' define to 1 in the user_config.h.&lt;/P&gt;&lt;P&gt;I am using PPP in my project, so I defined RTCSCFG_ENABLE_PPP to 1, but the feature wasn't included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On investigation it appears that the&lt;/P&gt;&lt;P&gt;#if RTCSCFG_ENABLE_PPP&lt;/P&gt;&lt;P&gt;lines in lots of files (ppp.c, pppfsm.c, pktrx.c, pkttx.c etc) is before any of the includes. This means that there is no way for the user_config ( and the 'enable' define ) to be included when these objects are compiled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two options to make this work:&lt;/P&gt;&lt;P&gt;1) Move the #if in each file (which is what I chose)&lt;/P&gt;&lt;P&gt;2) Add -D RTCSCFG_ENABLE_PPP=1 to the compile flags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a mistake, or is the intention that compile flags now be used rather than the user_config?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way, I figured this observation would be useful for anyone else that can't figure out why it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Aug 2014 21:26:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Issue-enabling-PPP-in-MQX-4-1-0/m-p/348901#M11253</guid>
      <dc:creator>chrissolomon</dc:creator>
      <dc:date>2014-08-10T21:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue enabling PPP in MQX 4.1.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Issue-enabling-PPP-in-MQX-4-1-0/m-p/348902#M11254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked the folder "C:\Freescale\Freescale_MQX_4_1\rtcs\source\ppp", all files are wrapped with #if RTCSCFG_ENABLE_PPP.&lt;/P&gt;&lt;P&gt;Thank you for your sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 07:23:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Issue-enabling-PPP-in-MQX-4-1-0/m-p/348902#M11254</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2014-08-12T07:23:53Z</dc:date>
    </item>
  </channel>
</rss>

