<?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: Using USB stack to existing MQX 4.2 application in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529426#M16405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;You might want to compare your project to the cdc_vcom_twrk60d100m project Properties.&lt;/P&gt;&lt;P&gt;There are Cross ARM C Compiler Preprocessor Defined symbols:&lt;/P&gt;&lt;P&gt;_AEABI_LC_CTYPE=C&lt;/P&gt;&lt;P&gt;__STRICT_ANSI__=1&lt;/P&gt;&lt;P&gt;_DEBUG=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are Cross ARM C Compiler Includes paths:&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../..&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/bsp/Generated_Code&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/bsp&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/psp&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/usb&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/lib/gcc/arm-none-eabi/4.8.4/include&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/lib/gcc/arm-none-eabi/4.8.4/include-fixed&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/include&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are Cross ARM C Linker Miscellaneous Other objects paths:&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/bsp/bsp.a&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/psp/psp.a&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/usb/usbd.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/lib/gcc/arm-none-eabi/4.8.4/armv7e-m/libgcc.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/libc.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/libsupc++.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/libm.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/libnosys.a&lt;/P&gt;&lt;P&gt;&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>Fri, 01 Jul 2016 18:04:36 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2016-07-01T18:04:36Z</dc:date>
    <item>
      <title>Adding USB stack to existing MQX application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529422#M16401</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;I have a MQX application and I want to add a CDC device to it. I am not using PE.&lt;/P&gt;&lt;P&gt;I had a look at USB related documentation like &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Freescale KSDK USB Stack Developing New Application User’s Guide &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am not sure if that document is all what I need to get some USB code compiling.&lt;/P&gt;&lt;P&gt;I tried adding usb_descriptor.c and usb_descriptor.h files and all USB include paths to my project but I'm getting a lot of errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 13:00:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529422#M16401</guid>
      <dc:creator>jose_asensio</dc:creator>
      <dc:date>2016-07-01T13:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using USB stack to existing MQX 4.2 application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529423#M16402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;Have you tried using the following USB CDC example in MQX4.2?&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_2\usb\device\examples\cdc\virtual_com\build\kds &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>Fri, 01 Jul 2016 14:20:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529423#M16402</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2016-07-01T14:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using USB stack to existing MQX 4.2 application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529424#M16403</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;Yes...I imported it into the workspace and it compiles with no errors&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 14:49:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529424#M16403</guid>
      <dc:creator>jose_asensio</dc:creator>
      <dc:date>2016-07-01T14:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using USB stack to existing MQX 4.2 application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529425#M16404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I am getting &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="compile.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32649iADE5BB709F9CF2B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="compile.jpg" alt="compile.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 15:43:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529425#M16404</guid>
      <dc:creator>jose_asensio</dc:creator>
      <dc:date>2016-07-01T15:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using USB stack to existing MQX 4.2 application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529426#M16405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;You might want to compare your project to the cdc_vcom_twrk60d100m project Properties.&lt;/P&gt;&lt;P&gt;There are Cross ARM C Compiler Preprocessor Defined symbols:&lt;/P&gt;&lt;P&gt;_AEABI_LC_CTYPE=C&lt;/P&gt;&lt;P&gt;__STRICT_ANSI__=1&lt;/P&gt;&lt;P&gt;_DEBUG=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are Cross ARM C Compiler Includes paths:&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../..&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/bsp/Generated_Code&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/bsp&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/psp&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/usb&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/lib/gcc/arm-none-eabi/4.8.4/include&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/lib/gcc/arm-none-eabi/4.8.4/include-fixed&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/include&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are Cross ARM C Linker Miscellaneous Other objects paths:&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/bsp/bsp.a&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/psp/psp.a&lt;/P&gt;&lt;P&gt;${ProjDirPath}/../../../../../../../../lib/twrk60d100m.kds/debug/usb/usbd.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/lib/gcc/arm-none-eabi/4.8.4/armv7e-m/libgcc.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/libc.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/libsupc++.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/libm.a&lt;/P&gt;&lt;P&gt;${eclipse_home}../toolchain/arm-none-eabi/lib/armv7e-m/libnosys.a&lt;/P&gt;&lt;P&gt;&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>Fri, 01 Jul 2016 18:04:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529426#M16405</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2016-07-01T18:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using USB stack to existing MQX 4.2 application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529427#M16406</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;Following indications of your last post, I added some includes paths, and I got it compiling, but there are a few things I do not understand very well.&lt;/P&gt;&lt;P&gt;As I explained, I set up a project based on MQX 4.2 in which I use these libraries:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\lib\mqx\kds\MK60D10\debug\libusbd_mqx.a"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${PROJECT_KSDK_PATH}/lib/ksdk_mqx_lib/kds/K60D10/debug/libksdk_platform_mqx.a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${PROJECT_KSDK_PATH}/rtos/mqx/lib/twrk60d100m.kds/debug/mqx/lib_mqx.a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${PROJECT_KSDK_PATH}/rtos/mqx/lib/twrk60d100m.kds/debug/mqx_stdlib/lib_mqx_stdlib.a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example project you did mention seems to be using different stuff and when I debug my app something weird happens when calling &lt;STRONG&gt;USB_Class_CDC_Init &lt;/STRONG&gt;function. This is my function call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g_app_handle = &lt;STRONG style=": ; color: #642880; font-size: 10pt;"&gt;USB_Class_CDC_Init&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&amp;amp;cdc_config);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The function prorotype is defined in header file &lt;STRONG style="font-size: 10pt;"&gt;C:\Freescale\Freescale_MQX_4_2\lib\twrk60d100m.kds\debug\usb\usb_cdc.h&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;There is an implementation matching that function prototype in &lt;STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;C:\Freescale\Freescale_MQX_4_2\usb\device\source\classes\cdc&lt;/SPAN&gt;\usb_cdc.c:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uint32_t USB_Class_CDC_Init (CDC_CONFIG_STRUCT_PTR cdc_config_ptr)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But in this case the function invoked and the function executed are not the same, as de function executing has different input parameters and seems to be the one implemented in &lt;STRONG style=": ; font-size: 10pt;"&gt;C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc\usb_cdc.c:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; usb_status &lt;STRONG&gt;USB_Class_CDC_Init (&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;uint8_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; controller_id, &lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;cdc_config_struct_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; * cdc_config_ptr, &lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;cdc_handle_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; * cdc_handle_ptr)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried to use exactly the same configuration parameters as in the example project: includes, libraries an so...but things became worse.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I found another example project located at: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;C:\Freescale\KSDK_1.3.0\examples\twrk60d100m\demo_apps\usb\device\cdc\virtual_com\mqx\kds&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am using it as a reference now. In this project, function call to &lt;STRONG&gt;USB_Class_CDC_Init &lt;/STRONG&gt;matches with implementation in&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; font-size: 10pt;"&gt;C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc\usb_cdc.c&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The point is that I still have problems to compile my app:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;expected declaration specifiers or '...' before '*' token point-green_MK60DN512VMD10&amp;nbsp; line 42 C/C++ Problem&lt;BR /&gt;expected declaration specifiers or '...' before '*' token point-green_MK60DN512VMD10&amp;nbsp; line 42 C/C++ Problem&lt;BR /&gt;expected declaration specifiers or '...' before '*' token point-green_MK60DN512VMD10&amp;nbsp; line 42 C/C++ Problem&lt;BR /&gt;make: *** [sources/main.o] Error 1 point-green_MK60DN512VMD10&amp;nbsp;&amp;nbsp;&amp;nbsp; C/C++ Problem&lt;BR /&gt;make: Target 'all' not remade because of errors. point-green_MK60DN512VMD10&amp;nbsp;&amp;nbsp;&amp;nbsp; C/C++ Problem&lt;BR /&gt;recipe for target 'sources/main.o' failed subdir.mk /point-green_MK60DN512VMD10/debug/sources line 18 C/C++ Problem&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 12:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529427#M16406</guid>
      <dc:creator>jose_asensio</dc:creator>
      <dc:date>2016-07-06T12:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using USB stack to existing MQX 4.2 application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529428#M16407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a copy of my project:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/6ynet6j8l4xs7br/copy-point-green.zip?dl=0" title="https://www.dropbox.com/s/6ynet6j8l4xs7br/copy-point-green.zip?dl=0"&gt;Dropbox - copy-point-green.zip&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my machine the project is located at &lt;STRONG&gt;C:\projects\kds_workspace\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 14:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529428#M16407</guid>
      <dc:creator>jose_asensio</dc:creator>
      <dc:date>2016-07-07T14:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using USB stack to existing MQX 4.2 application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529429#M16408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am still stuck with this.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 09:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529429#M16408</guid>
      <dc:creator>jose_asensio</dc:creator>
      <dc:date>2016-07-13T09:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using USB stack to existing MQX 4.2 application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529430#M16409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;Sorry for delay.&lt;/P&gt;&lt;P&gt;Where I am confused is as follows:&amp;nbsp; Why are you mixing and matching USB stacks?&lt;/P&gt;&lt;P&gt;MQX4.2 has USB stack integrated with it.&amp;nbsp; Trying to take the USB stack from KSDK is not something we currently support so it is hard to give help.&lt;/P&gt;&lt;P&gt;Sorry if I am not understanding this correctly.&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>Wed, 13 Jul 2016 17:45:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529430#M16409</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2016-07-13T17:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding USB stack to existing MQX application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529431#M16410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David. Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think now I have a better picture of MQX.&lt;/P&gt;&lt;P&gt;I edited the post title because I found out that I am using MQX for SDK and not classic MQX.&lt;/P&gt;&lt;P&gt;My project was setup using KSDK project generator tool.&lt;/P&gt;&lt;P&gt;All my include paths are under KSDK 1.3 folder or KDS folder, as shown:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/osa/inc&lt;/P&gt;&lt;P&gt;"${PROJECT_KSDK_PATH}/rtos"&lt;/P&gt;&lt;P&gt;"C:\Freescale\KDS_v3\Toolchain\lib\gcc\arm-none-eabi\4.8.4\include"&lt;/P&gt;&lt;P&gt;"C:\Freescale\KDS_v3\Toolchain\lib\gcc\arm-none-eabi\4.8.4\include-fixed"&lt;/P&gt;&lt;P&gt;"C:\Freescale\KDS_v3\Toolchain\arm-none-eabi\include"&lt;/P&gt;&lt;P&gt;"C:\Freescale\KSDK_1.3.0\middleware\filesystem\mfs\source\include"&lt;/P&gt;&lt;P&gt;"C:\Freescale\KSDK_1.3.0\middleware\filesystem\mfs\lib\twrk60d100m.kds\debug\mfs"&lt;/P&gt;&lt;P&gt;../../board&lt;/P&gt;&lt;P&gt;../../&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/utilities/inc&lt;/P&gt;&lt;P&gt;../../port/mqx&lt;/P&gt;&lt;P&gt;../../port&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/utilities/src&lt;/P&gt;&lt;P&gt;"${PROJECT_KSDK_PATH}/platform/utilities/inc"&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/CMSIS/Include&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/devices/MK20D10/include&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/devices&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/devices/MK20D10/startup&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/hal/inc&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/inc&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/adapter/sources&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/adapter/sources/sdk&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/include/MK60D10&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/include&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/audio&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/cdc&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/common&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/composite&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/hid&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/include&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/include/config&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/msd&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/phdc&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/classes/video&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/controller/khci&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/device/sources/controller&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/hal&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/include/MK60D10&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/include&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/sources/classes/audio&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/sources/classes/cdc&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/sources/classes/hid&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/sources/classes/hub&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/sources/classes/msd&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/sources/classes/phdc&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/sources/controller/khci&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/host/sources/controller&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/include&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/otg/sources/driver/khci&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/otg/sources/driver/max3353/sdk&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/otg/include&lt;/P&gt;&lt;P&gt;C:/Freescale/KSDK_1.3.0/usb/usb_core/otg/sources/otg&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/system/inc&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/adc16&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/cmp&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/cmt&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/crc&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/dac&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/dspi&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/edma&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/enet&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/ewm&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/flexbus&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/flexcan&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/ftm&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/gpio&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/i2c&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/lptmr&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/mpu&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/pdb&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/pit&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/rnga&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/rtc&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/sai&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/sdhc&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/tsi&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/uart&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/vref&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/wdog&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/smartcard&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/platform/drivers/src/smartcard/interface&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/lib/twrk60d100m.kds/debug&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/lib/twrk60d100m.kds/debug/config&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/lib/twrk60d100m.kds/debug/mqx&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/lib/twrk60d100m.kds/debug/mqx_stdlib&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/config/mcu/MK60D10&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/config/board/twrk60d100m&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/bsp&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/psp/cortex_m&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/psp/cortex_m/compiler/gcc_arm&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/psp/cortex_m/core/M4&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/psp/cortex_m/cpu&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/include&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/config/common&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/nio&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_dummy&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_mem&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_null&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_pipe&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_serial&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_tfs&lt;/P&gt;&lt;P&gt;${PROJECT_KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_tty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps for you to understand better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 09:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529431#M16410</guid>
      <dc:creator>jose_asensio</dc:creator>
      <dc:date>2016-07-14T09:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Adding USB stack to existing MQX application</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529432#M16411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a new MQX project using KSDK project generator and added usb files from project:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C:\Freescale\KSDK_1.3.0\examples\twrk60d100m\demo_apps\usb\device\cdc\virtual_com\mqx\kds&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have exactly the same problem. I does not compile.&lt;/P&gt;&lt;P&gt;Please find it enclosed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 12:11:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Adding-USB-stack-to-existing-MQX-application/m-p/529432#M16411</guid>
      <dc:creator>jose_asensio</dc:creator>
      <dc:date>2016-07-14T12:11:51Z</dc:date>
    </item>
  </channel>
</rss>

