Toolchain problem with SDK example

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

Toolchain problem with SDK example

1,600件の閲覧回数
VonMartins
Contributor I

Hi, I'm having a toolchain compatibility problem. I want to load the ncp_device example to a rw612 from the SDK but when compiling I get errors indicating that the toolchain is not correct. The documentation for the example says to use ARMGCC 12.3.1. I am using arm-none-eabi-gcc, which should be the same, with version 13.2. I don't know why I get so many errors like this:

  •  ... \arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-arm-none-eabi\arm-none-eabi\include/stdio.h:180:18: error: unknown type name '__gnuc_va_list'; did you mean '__va_list'?

 

  • ... \arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-arm-none-eabi\arm-none-eabi\include/sys/_timeval.h:42:25: error: conflicting types for 'time_t'; have '__int_least64_t' {aka 'long long int'}

 

  • \arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-arm-none-eabi\arm-none-eabi\include/sys/types.h:107:25: error: conflicting types for 'clock_t'; have 'long unsigned int'

 

What toolchain should I use and how can I change it in the configuration? Where can I manage toolchains in the MCUXpressoIDE?

 

Thanks

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

1,576件の閲覧回数
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

Hope you are doing well. Could you please clarify the procedure you are following?

 

What SDK version are you using? What IDE version do you have?

 

Best Regards,

Ricardo

0 件の賞賛
返信

1,561件の閲覧回数
VonMartins
Contributor I

Hi, thanks for answering, 

The procedure I did is from the IDE, import SDK Example, then select my board and the NCP, device example. And then just build. When I build I got include and path errors. I try to add the paths manually to the project's properties and then I got the errors mentioned. 

About the versions I'm using: 

- MCUXpressoIDE v24.12.148

_ SDK Version 24.12.00

 

Maybe it's an error of the example?

Thanks

0 件の賞賛
返信

1,550件の閲覧回数
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hello,

 

Could you please use VSCode for the compilation of this example?

I just tested with latest SDK version, and it is working:

Ricardo_Zamora_0-1739482800193.png

 

Best Regards,

Ricardo

0 件の賞賛
返信