I have recently started using the keil compiler for STM32 cortexL4 series of microcontrollers.
I am interested in using the v6 compiler, especially as support for the v5 seems to be ending.
However all the examples seem to indicate that the v6 is not being used - all the cube projects are for the v5 only.
So I would like to know how well tested the V6 is on this series of processors? are there references / guides?
I am not keen on getting into a time wasting adventure in uncharted territory.
You are correct that there are very many projects based on Arm Compiler 5 (armcc), though this is mainly for legacy reasons, armcc has been in existence for 20+ years. Many projects should simply just work with Arm Compiler 6 (armclang), else we have a thorough migration guide which you can refer to if needed.
Arm compiler 6 is itself a very mature compiler, being in existence for 5+ years (current version is 6.13), and is the only one to support the latest CPUs, such as Cortex-M23 and Cortex-M33, and so I think you will see an increase in "out of the box" projects based on Arm Compiler 6 over time.
Hi, I'm Product Manager Compilers, good to meet you! I'll just add a few words to Ronan's reply.
Compilers are "sticky", and migrating existing code from any compiler to any other compiler can pose some challenges. As Ronan says, there's a huge amount of legacy code out there, building very happily with AC5, and I'm not expecting some of those projects to migrate to AC6 any time soon! For this reason, support for AC5 is not coming to an end - we still support AC1, and that's about 20 years old! We understand that many existing projects will need to use AC5 for some time to come, so we're still here. AC5 is still backed by our fantastic technical experts, support is definitely not ended or being ended!
What we have done, is bring to a close active development and maintenance of AC5. There are no more releases planned, barring critical defect fixes for functional safety developers already using the safety-qualified versions of AC5 on our Long Term Maintenance plan. All our development focus is now on AC6, and we expect that all new projects will start with AC6.
View all questions in Arm Compilers forum