From d2e8efc6cc6a7809a8a56004126b675dbf0ab48e Mon Sep 17 00:00:00 2001 From: Oleg Hahm <oleg@hobbykeller.org> Date: Tue, 5 Jul 2016 12:09:54 +0200 Subject: [PATCH] samd21: do not redefine LITTLE_ENDIAN --- cpu/samd21/include/samd21.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpu/samd21/include/samd21.h b/cpu/samd21/include/samd21.h index 805b01e76e..2bbbe5afa0 100644 --- a/cpu/samd21/include/samd21.h +++ b/cpu/samd21/include/samd21.h @@ -227,7 +227,9 @@ void I2S_Handler ( void ); * \brief Configuration of the Cortex-M0+ Processor and Core Peripherals */ -#define LITTLE_ENDIAN 1 +#ifndef LITTLE_ENDIAN +# define LITTLE_ENDIAN 1 +#endif #define __CM0PLUS_REV 1 /*!< Core revision r0p1 */ #define __MPU_PRESENT 0 /*!< MPU present or not */ #define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */ -- GitLab