Generating S32K Driver Code in S32 DS whilst using the IAR Toolchain

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Generating S32K Driver Code in S32 DS whilst using the IAR Toolchain

1,210件の閲覧回数
jonnyWHIS
Contributor III

Hi there,

I've created a S32 DS project for a S32K344, and following this guide i've including an IAR toolchain - https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Install-IAR-Eclipse-plug-in-into...

After completing these steps the project is building fine, and now i'd like to configure some drivers using the Peripheral and Pins tools in S32 DS. At this stage, i'm just trying to configure two IO pins that link to the board's User LED.

I've added output pins at PTA29 and PTA31 for the red and blue leds respectively, and then added the Siul2_Dio and Siul2_Port peripherals. On previous projects, after completing these steps i could generate the driver code successfully. But for this project I'm getting some errors preventing the generation, which i've detailed below:

  • Processor - Processor "" detected in the IAR Toolchain for Arm - (8.x) project does not match the currently selected "S32K344". The target processor is not supported or the computer is not online.
  • platform.driver.osif - osif is not found in the toolchain/IDE project. The project will not compile!
  • platform.driver.siul2_port - siul2_port is not found in the toolchain/IDE project. The project will not compile!
  • platform.driver.siul2_dio - siul2_dio is not found in the toolchain/IDE project. The project will not compile!

Are these errors due to me not configuring the project correctly when i created it or missing a config setting in the project properties? Or is it not possible to use the Code Generation tool when using the IAR toolchain as the project compiler?

I've attached a screenshot of the errors too, if you need any more information please let me know.

Any help is greatly appreciated

 

 

タグ(4)
0 件の賞賛
返信
1 返信

903件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi Johnny, 

sorry for long delay. I checked it with IAR v9.32 on my side and there is no issue. I used S32K3 RTD v3.0.0 . For your reference is attached test project. 

 

0 件の賞賛
返信