<?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>MCUXpresso SDK中的主题 Compiling in C++</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Compiling-in-C/m-p/882712#M1407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I try to compile my project in c++ I get a lot of errors on SDK code (fsl_* files).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example I tried to compile fsl_clock.c:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/opt/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ -std=gnu++11 -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 -fno-common -DUSE_HAL_DRIVER -DCPU_MIMXRT1051DVL6B  -D__heap_size__=0x1800 -DCONFIG_WDOG_ENABLE= -DFEED_DSP_CLOCK=0 -DCONFIG_SCHEDA_PER_RADIATE=0 -DRANDOM_SEED=-1 -DFREERTOS_ADDITIONAL_FEATURE_TOTAL_STACK_API=1 -DAPSWDEF_COMPILE_TARGET_SOA -DSDK_DEBUGCONSOLE=0 -DPRINTF_FLOAT_ENABLE=0 -DSCANF_FLOAT_ENABLE=0 -DPRINTF_ADVANCED_ENABLE=0 -DSCANF_ADVANCED_ENABLE=0 -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DXIP_BOOT_HEADER_DCD_ENABLE=0 -DFSL_RTOS_FREE_RTOS -D__MCUXPRESSO -D__USE_CMSIS -DARM_MATH_CM7 -D__NEWLIB__ -DDEBUG=0 -ICLI/ -ICLI/CLI-Cmd/ -ISOA/CLI-Cmd/ -ISOA/board/ -ISOA/board/src/ -ISOA/source/ -ISOA/startup/ -ISOA/system/ -ISOA/xip/ -Iamazon-freertos/lib/FreeRTOS/ -Iamazon-freertos/lib/FreeRTOS/portable/GCC/ARM_CM4F/ -Iamazon-freertos/lib/FreeRTOS/portable/MemMang/ -Iapsw/ -Idrivers/ -Imisc/ -Iqutils/qprintf/ -Iqutils/qputchar/ -Iqutils/qputs/ -Iqutils/qrand/ -Iqutils/tof/ -IsignalProcessing/ -ICMSIS -Iutilities -Imisc -Iamazon-freertos/lib/include -Iamazon-freertos/lib/include/private -I. -I./build/SOA -Og -g3 -Wall -ffunction-sections -fdata-sections -c -MMD -MP -Werror -D"ARCPRINTF( ... )=(void)0" -Wa,-anhlmsd=build/SOA/drivers/fsl_clock.lst -o build/SOA/drivers/fsl_clock.o drivers/fsl_clock.c&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have collected the errors in a compressed file that I attach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I compile in c++?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2019 17:32:10 GMT</pubDate>
    <dc:creator>mastupristi</dc:creator>
    <dc:date>2019-02-04T17:32:10Z</dc:date>
    <item>
      <title>Compiling in C++</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Compiling-in-C/m-p/882712#M1407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I try to compile my project in c++ I get a lot of errors on SDK code (fsl_* files).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example I tried to compile fsl_clock.c:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/opt/gcc-arm-none-eabi-8-2018-q4-major/bin/arm-none-eabi-g++ -std=gnu++11 -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-d16 -fno-common -DUSE_HAL_DRIVER -DCPU_MIMXRT1051DVL6B  -D__heap_size__=0x1800 -DCONFIG_WDOG_ENABLE= -DFEED_DSP_CLOCK=0 -DCONFIG_SCHEDA_PER_RADIATE=0 -DRANDOM_SEED=-1 -DFREERTOS_ADDITIONAL_FEATURE_TOTAL_STACK_API=1 -DAPSWDEF_COMPILE_TARGET_SOA -DSDK_DEBUGCONSOLE=0 -DPRINTF_FLOAT_ENABLE=0 -DSCANF_FLOAT_ENABLE=0 -DPRINTF_ADVANCED_ENABLE=0 -DSCANF_ADVANCED_ENABLE=0 -DXIP_EXTERNAL_FLASH=1 -DXIP_BOOT_HEADER_ENABLE=1 -DXIP_BOOT_HEADER_DCD_ENABLE=0 -DFSL_RTOS_FREE_RTOS -D__MCUXPRESSO -D__USE_CMSIS -DARM_MATH_CM7 -D__NEWLIB__ -DDEBUG=0 -ICLI/ -ICLI/CLI-Cmd/ -ISOA/CLI-Cmd/ -ISOA/board/ -ISOA/board/src/ -ISOA/source/ -ISOA/startup/ -ISOA/system/ -ISOA/xip/ -Iamazon-freertos/lib/FreeRTOS/ -Iamazon-freertos/lib/FreeRTOS/portable/GCC/ARM_CM4F/ -Iamazon-freertos/lib/FreeRTOS/portable/MemMang/ -Iapsw/ -Idrivers/ -Imisc/ -Iqutils/qprintf/ -Iqutils/qputchar/ -Iqutils/qputs/ -Iqutils/qrand/ -Iqutils/tof/ -IsignalProcessing/ -ICMSIS -Iutilities -Imisc -Iamazon-freertos/lib/include -Iamazon-freertos/lib/include/private -I. -I./build/SOA -Og -g3 -Wall -ffunction-sections -fdata-sections -c -MMD -MP -Werror -D"ARCPRINTF( ... )=(void)0" -Wa,-anhlmsd=build/SOA/drivers/fsl_clock.lst -o build/SOA/drivers/fsl_clock.o drivers/fsl_clock.c&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have collected the errors in a compressed file that I attach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I compile in c++?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2019 17:32:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Compiling-in-C/m-p/882712#M1407</guid>
      <dc:creator>mastupristi</dc:creator>
      <dc:date>2019-02-04T17:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling in C++</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Compiling-in-C/m-p/882713#M1408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimiliano Cialdi,&lt;/P&gt;&lt;P&gt;Thank you for posting your question.&lt;/P&gt;&lt;P&gt;In order to investigate this issue efficiently, please provide us more information:&lt;/P&gt;&lt;P&gt;1. your target part number? which SDK package do you work with?&lt;/P&gt;&lt;P&gt;2. How can we reproduce your problem with a SDK demo code? I will test it from my side.&lt;/P&gt;&lt;P&gt;Thanks for your cooperation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 07:19:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Compiling-in-C/m-p/882713#M1408</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-02-11T07:19:21Z</dc:date>
    </item>
  </channel>
</rss>

