Update GCC Version in KDS 3.2.0

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

Update GCC Version in KDS 3.2.0

1,724 Views
kwebster83
Contributor II

I realise that I'm using an out of date and un-supported IDE however I hate MCUXpresso with a passion and it is soooooo slow (even slower than KDS).

I'm wanting to know how I can update the GCC toolchain used by KDS 3.2.0 so I can use C++17. I've tried downloading more recent versions (5, 6, 10, etc) of the arm-none-eabi toolchain however there are issues when it comes to debugging and gdb does not launch:

 

874,660 25-exec-run
874,672 25^error,msg="Don't know how to run.  Try \"help target\"."

 

I want to change versions as I'm having significant issues when using things like vectors, strings, etc, triggering hard fault exceptions and I have literally no idea why. I'm using C++17 and GCC on a Nordic device and the same code works fine.

I'm using a Kinetis K22, for reference.

If anyone has done this, I'd appreciate some advice on how to go about it.

Thanks!

Tags (4)
0 Kudos
Reply
2 Replies

1,712 Views
ErichStyger
Specialist I

Maybe this article I wrote a while back helps:

https://mcuoneclipse.com/2014/07/11/switching-arm-gnu-tool-chain-and-libraries-in-kinetis-design-stu...

It worked that time very well, but I have not tried that with a more recent tool chain.

0 Kudos
Reply

1,671 Views
kwebster83
Contributor II
Thanks for your response.

I gave up in the end and resorted to using Segger Embedded Studio... all is well in the world again.
0 Kudos
Reply