S32DS3.5 build IAR compilation project cannot support FreeRtos

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32DS3.5 build IAR compilation project cannot support FreeRtos

813 Views
Faith-Herio
Contributor II

Hello, for functional safety reasons, I need to use IAR to generate compilation files, so I followed the tutorial below to set up the project:HOWTO-Export-S32DS-Project-to-IAR-EW-S32K14x-S32K11x/ta-p/ 1122428

I added freertos to the peripheral, but found that the portable file added was GCC:

FaithHerio_0-1706251199041.png

 

FaithHerio_1-1706251260710.png

After finding a replacement file suitable for IAR, the compiler found an error. I guess the Link file generated by 32DS is not adapted.

FaithHerio_2-1706251394485.png

Compared with the original file found a new file in the assembly file"portasm.s".

This compiles an error:

"Error[Lc036]: no block or place matches the pattern "ro code section CODE in portasm.o symbols: [SVC_Handler, vPortStartFirstTask, vPortEnableVFP, PendSV_Handler]""

Attached is the "icf" file for IAR generated by S32DS3.5

0 Kudos
Reply
1 Reply

67 Views
ABOLUO
Contributor II

Hi Faith,

  I met the same problem.  Could you give me some suggestions?

Best regards.

"Error[Lc036]: no block or place matches the pattern "ro code section CODE in portasm.o symbols: [SVC_Handler, vPortStartFirstTask, vPortEnableVFP, PendSV_Handler]"

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1795836%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32DS3.5%20build%20IAR%20compilation%20project%20cannot%20support%20FreeRtos%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1795836%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EHello%2C%20for%20functional%20safety%20reasons%2C%20I%20need%20to%20use%20IAR%20to%20generate%20compilation%20files%2C%20so%20I%20followed%20the%20tutorial%20below%20to%20set%20up%20the%20project%3A%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32-Design-Studio-Knowledge-Base%2FHOWTO-Export-S32DS-Project-to-IAR-EW-S32K14x-S32K11x%2Fta-p%2F%25201122428%22%20target%3D%22_self%22%3EHOWTO-Export-S32DS-Project-to-IAR-EW-S32K14x-S32K11x%2Fta-p%2F%201122428%3C%2FA%3E%3C%2FP%3E%3CP%3EI%20added%20freertos%20to%20the%20peripheral%2C%20but%20found%20that%20the%20portable%20file%20added%20was%20GCC%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22FaithHerio_0-1706251199041.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FaithHerio_0-1706251199041.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260202iA8D990585E721120%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22FaithHerio_0-1706251199041.png%22%20alt%3D%22FaithHerio_0-1706251199041.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22FaithHerio_1-1706251260710.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FaithHerio_1-1706251260710.png%22%20style%3D%22width%3A%20230px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260203i8DC71543620947C6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22FaithHerio_1-1706251260710.png%22%20alt%3D%22FaithHerio_1-1706251260710.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAfter%20finding%20a%20replacement%20file%20suitable%20for%20IAR%2C%20the%20compiler%20found%20an%20error.%20I%20guess%20the%20Link%20file%20generated%20by%2032DS%20is%20not%20adapted.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22FaithHerio_2-1706251394485.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FaithHerio_2-1706251394485.png%22%20style%3D%22width%3A%20259px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F260204iEEB912C2E96403E2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22FaithHerio_2-1706251394485.png%22%20alt%3D%22FaithHerio_2-1706251394485.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ECompared%20with%20the%20original%20file%20found%20a%20new%20file%20in%20the%20assembly%20file%22portasm.s%22.%3C%2FP%3E%3CP%3EThis%20compiles%20an%20error%3A%3C%2FP%3E%3CP%3E%22Error%5BLc036%5D%3A%20no%20block%20or%20place%20matches%20the%20pattern%20%22ro%20code%20section%20CODE%20in%20portasm.o%20symbols%3A%20%5BSVC_Handler%2C%20vPortStartFirstTask%2C%20vPortEnableVFP%2C%20PendSV_Handler%5D%22%22%3C%2FP%3E%3CP%3EAttached%20is%20the%20%22icf%22%20file%20for%20IAR%20generated%20by%20S32DS3.5%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2247156%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32DS3.5%20build%20IAR%20compilation%20project%20cannot%20support%20FreeRtos%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2247156%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Faith%EF%BC%8C%3C%2FP%3E%3CP%3E%26nbsp%3B%20I%20met%20the%20same%20problem.%26nbsp%3B%20Could%20you%20give%20me%20some%20suggestions%3F%3C%2FP%3E%3CP%3EBest%20regards.%3C%2FP%3E%3CP%3E%22Error%5BLc036%5D%3A%20no%20block%20or%20place%20matches%20the%20pattern%20%22ro%20code%20section%20CODE%20in%20portasm.o%20symbols%3A%20%5BSVC_Handler%2C%20vPortStartFirstTask%2C%20vPortEnableVFP%2C%20PendSV_Handler%5D%22%3C%2FP%3E%3C%2FLINGO-BODY%3E