mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-13 14:53:33 +08:00
LPC11C24 enforcing GCC 4.9 or newer
This commit is contained in:
@@ -7,6 +7,16 @@
|
||||
#include <cstdint>
|
||||
#include <chip.h>
|
||||
|
||||
/*
|
||||
* Compiler version check
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
# if (__GNUC__ * 10 + __GNUC_MINOR__) < 49
|
||||
# error "Use GCC 4.9 or newer"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
namespace uavcan_lpc11c24
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user