Added a version check for GCC.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12581 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
Giovanni Di Sirio 2019-01-26 06:10:47 +00:00
parent 3bb2244a3b
commit b0c2a4437e
2 changed files with 10 additions and 0 deletions

View File

@ -126,6 +126,14 @@
#error "ChibiOS Cortex-M0 port not licensed"
#endif
/* Handling a GCC problem impacting ARMv6-M.*/
#if defined(__GNUC__) && !defined(PORT_IGNORE_GCC_VERSION_CHECK)
#if __GNUC__ > 5
#warning "This compiler has a know problem with Cortex-M0, see bugs: 88167, 88656."
#warning "*** Use GCC version 5 or below ***"
#endif
#endif
/**
* @name Architecture and Compiler
* @{

View File

@ -75,6 +75,8 @@
*****************************************************************************
*** Next ***
- NEW: Added a sanity check on GCC version for ARMv6-M, a version below 6
must be used.
- NEW: Removed deprecated EXT driver.
- NEW: Added a new function chMtxGetOwnerI() to RT mutexes subsystem.
- NEW: STM32L433 added to STM32L4xx HAL.