Toolchain problem with SDK example

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

Toolchain problem with SDK example

1,589 Views
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

Tags (1)
0 Kudos
Reply
3 Replies

1,565 Views
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 Kudos
Reply

1,550 Views
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 Kudos
Reply

1,539 Views
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 Kudos
Reply