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

2,774 Views
Faith-Herio
Contributor III

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
4 Replies

1,809 Views
wanglei_henson
Contributor I

请问问题有没有解决?我也遇到了同样的问题

0 Kudos
Reply

1,801 Views
Faith-Herio
Contributor III

官方答复不支持

0 Kudos
Reply

1,796 Views
wanglei_henson
Contributor I

我解决了,是因为.icf文件里面没有CODE的section,需要把CODE替换为你的icf中有的section,比如我的icf里面有.data的section,就要改成 RSEG .data:CODE(2)

0 Kudos
Reply

2,028 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