<?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: Freertos compilation error on Sd32 studio in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Freertos-compilation-error-on-Sd32-studio/m-p/461245#M14</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd suggest you to add the assembler directive into portasm.s:&lt;/P&gt;&lt;P&gt;.syntax unified&lt;/P&gt;&lt;P&gt;&lt;A href="https://sourceware.org/binutils/docs/as/ARM_002dInstruction_002dSet.html#ARM_002dInstruction_002dSet" title="https://sourceware.org/binutils/docs/as/ARM_002dInstruction_002dSet.html#ARM_002dInstruction_002dSet"&gt;https://sourceware.org/binutils/docs/as/ARM_002dInstruction_002dSet.html#ARM_002dInstruction_002dSet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enable floating point ABI: &amp;nbsp;hard&lt;/P&gt;&lt;P&gt;FPU Type: "fpv4-sp-d16"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2016 15:42:17 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2016-06-13T15:42:17Z</dc:date>
    <item>
      <title>Freertos compilation error on Sd32 studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Freertos-compilation-error-on-Sd32-studio/m-p/461242#M11</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to build a project based on MAC57D54H (for M4 core). For this i have added basic freertos code. after successfully compiling 'c' code i am facing asm file compilation error. Could you please check this. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc "@src/Demo/CORTEX_M4F_NXP_MAC57D5xx_MULTI/src_hello/common/m4_cache.args" -MMD -MP -MF"src/Demo/CORTEX_M4F_NXP_MAC57D5xx_MULTI/src_hello/common/m4_cache.d" -MT"src/Demo/CORTEX_M4F_NXP_MAC57D5xx_MULTI/src_hello/common/m4_cache.o" -c -o "src/Demo/CORTEX_M4F_NXP_MAC57D5xx_MULTI/src_hello/common/m4_cache.o" "../src/Demo/CORTEX_M4F_NXP_MAC57D5xx_MULTI/src_hello/common/m4_cache.c"&lt;/P&gt;&lt;P&gt;.&lt;STRONG&gt;./src/Source/portable/MULTI/MAC57D5xx/portasm.s: Assembler messages:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:72: Error: unknown pseudo-op: `.export'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:73: Error: unknown pseudo-op: `.export'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:74: Error: unknown pseudo-op: `.export'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:87: Error: junk at end of line, first unrecognized character is `-'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:93: Error: junk at end of line, first unrecognized character is `-'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:102: Error: junk at end of line, first unrecognized character is `-'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:114: Error: unshifted register required -- `tst lr,#0x10'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:116: Error: selected processor does not support Thumb mode `vstmdbeq r0!,{s16-s31}'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:119: Error: instruction not allowed in IT block -- `stmdb r0!,{r4-r11,r14}'&lt;/P&gt;&lt;P&gt;Finished building: ../src/Source/portable/MemMang/heap_5.c&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:124: Error: lo register required -- `stmdb sp!,{r3}'&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:133: Error: lo register required -- `ldmia sp!,{r3}'&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:140: Error: lo register required -- `ldmia r0!,{r4-r11,r14}'&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:144: Error: unshifted register required -- `tst r14,#0x10'&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:146: Error: selected processor does not support Thumb mode `vldmiaeq r0!,{s16-s31}'&lt;/P&gt;&lt;P&gt;Finished building: ../src/Source/portable/MULTI/MAC57D5xx/port.c&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:148: Error: instruction not allowed in IT block -- `msr psp,r0'&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:152: Error: junk at end of line, first unrecognized character is `-'&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:161: Error: lo register required -- `ldmia r0!,{r4-r11,r14}'&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:168: Error: junk at end of line, first unrecognized character is `-'&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:185: Error: junk at end of line, first unrecognized character is `-'&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:190: Error: unexpected character `w' in type specifier&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:190: Error: bad instruction `ldr.w r0,CPACRConst'&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:194: Error: unshifted register required -- `orr r1,r1,#(0xf&amp;lt;&amp;lt;20)'&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:98: Error: invalid offset, value too big (0xFFFFFFE8)&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:110: Error: invalid offset, value too big (0xFFFFFFCC)&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:125: Error: invalid offset, value too big (0xFFFFFFC8)&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:157: Error: invalid offset, value too big (0xFFFFFF94)&lt;/P&gt;&lt;P&gt;../src/Source/portable/MULTI/MAC57D5xx/portasm.s:173: Error: invalid offset, value too big (0xFFFFFF6C)&lt;/P&gt;&lt;P&gt;make: *** [src/Source/portable/MULTI/MAC57D5xx/portasm.o] Error 1&lt;/P&gt;&lt;P&gt;make: *** Waiting for unfinished jobs....&lt;/P&gt;&lt;P&gt;Finished building: ../src/Demo/CORTEX_M4F_NXP_MAC57D5xx_MULTI/src_hello/common/m4_cache.c&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;-Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 08:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Freertos-compilation-error-on-Sd32-studio/m-p/461242#M11</guid>
      <dc:creator>prashantsathe</dc:creator>
      <dc:date>2016-05-30T08:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Freertos compilation error on Sd32 studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Freertos-compilation-error-on-Sd32-studio/m-p/461243#M12</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The GNU assembler (known as GAS) directives may differ from the ones located in your assembly file.&lt;/P&gt;&lt;P&gt;I'd suggest to use:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.global&lt;/STRONG&gt;&amp;nbsp; instead of &lt;STRONG&gt;.export&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.extern&lt;/STRONG&gt; instead of &lt;STRONG&gt;.import&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you attach your portasm.s if it does not help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 15:31:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Freertos-compilation-error-on-Sd32-studio/m-p/461243#M12</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2016-05-30T15:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Freertos compilation error on Sd32 studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Freertos-compilation-error-on-Sd32-studio/m-p/461244#M13</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Portasm.s is attached.. current port is for IAR compiler, I am trying to port it on arm-none-eabi-gcc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be helpful if you could point out the PATH to proceed, I am new to asm (only long back worked on ASM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error :- &lt;/P&gt;&lt;P&gt;=========================================================================&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s: Assembler messages:&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:94: Error: &lt;STRONG&gt;unshifted register required -- `tst lr,#0x10'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:96: Error: &lt;STRONG&gt;selected processor does not support Thumb mode `vstmdbeq r0!,{s16-s31}'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:99: Error: &lt;STRONG&gt;instruction not allowed in IT block -- `stmdb r0!,{r4-r11,r14}'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:104: Error: &lt;STRONG&gt;lo register required -- `stmdb sp!,{r3}'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:112: Error: &lt;STRONG&gt;lo register required -- `ldmia sp!,{r3}'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:119: Error: &lt;STRONG&gt;lo register required -- `ldmia r0!,{r4-r11,r14}'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:123: Error: &lt;STRONG&gt;unshifted register required -- `tst r14,#0x10'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:125: Error: &lt;STRONG&gt;selected processor does not support Thumb mode `vldmiaeq r0!,{s16-s31}'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:127: Error: &lt;STRONG&gt;instruction not allowed in IT block -- `msr psp,r0'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:147: Error: &lt;STRONG&gt;lo register required -- `ldmia r0!,{r4-r11,r14}'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:173: Error: &lt;STRONG&gt;unexpected character `w' in type specifier&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:173: Error: &lt;STRONG&gt;bad instruction `ldr.w r0,=0xE000ED88'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;../src/FreeRtos/Source/portable/CORTEX_M4_MAC57D54H/portasm.s:177: Error: &lt;STRONG&gt;unshifted register required -- `orr r1,r1,#(0xf&amp;lt;&amp;lt;20)'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=========================================================================&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Prashant&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 11:32:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Freertos-compilation-error-on-Sd32-studio/m-p/461244#M13</guid>
      <dc:creator>prashantsathe</dc:creator>
      <dc:date>2016-06-07T11:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Freertos compilation error on Sd32 studio</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Freertos-compilation-error-on-Sd32-studio/m-p/461245#M14</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd suggest you to add the assembler directive into portasm.s:&lt;/P&gt;&lt;P&gt;.syntax unified&lt;/P&gt;&lt;P&gt;&lt;A href="https://sourceware.org/binutils/docs/as/ARM_002dInstruction_002dSet.html#ARM_002dInstruction_002dSet" title="https://sourceware.org/binutils/docs/as/ARM_002dInstruction_002dSet.html#ARM_002dInstruction_002dSet"&gt;https://sourceware.org/binutils/docs/as/ARM_002dInstruction_002dSet.html#ARM_002dInstruction_002dSet&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enable floating point ABI: &amp;nbsp;hard&lt;/P&gt;&lt;P&gt;FPU Type: "fpv4-sp-d16"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 15:42:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Freertos-compilation-error-on-Sd32-studio/m-p/461245#M14</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2016-06-13T15:42:17Z</dc:date>
    </item>
  </channel>
</rss>

