Compiler version select in makefile

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
steved
Posts: 606
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 5 times
Been thanked: 76 times

Compiler version select in makefile

Postby steved » Wed Aug 14, 2019 1:44 pm

Rather than selecting the compiler version to run at startup of the ChibiStudio IDE, would it be possible to select the version in the makefile?

This would ensure that a project was always compiled with the "correct" compiler, rather than having to start up the appropriate IDE. It would help software maintainability, by ensuring that moving to a later compiler is a conscious decision (much as happens with Chibi versions).

And it would help to avoid problems with the current M0 optimisations.

Superficially it appears this is just a matter of modifying the TRGT variable in arm-non-eabi.mk (although I doubt its that simple!)

Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 1 guest