Skip to content

Commit

Permalink
Merge pull request adafruit#1 from adafruit/remove-LITTLE_ENDIAN
Browse files Browse the repository at this point in the history
Wrap  LITTLE_ENDIAN define to prevent warning in compling
  • Loading branch information
hathach authored May 24, 2021
2 parents fd0a0ea + 6049123 commit 76cfd9f
Show file tree
Hide file tree
Showing 67 changed files with 201 additions and 71 deletions.
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21e15a.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21e16a.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21e17a.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21e18a.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21g15a.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21g16a.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21g17a.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21g18a.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21j15a.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21j16a.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21j17a.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samc21/include/samc21j18a.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ void PTC_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 1 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 2 /*!< Number of bits used for Priority Levels */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd10/include/samd10c13a.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ void PTC_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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd10/include/samd10c14a.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ void PTC_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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd10/include/samd10d13am.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ void PTC_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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd10/include/samd10d13as.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ void PTC_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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd10/include/samd10d14am.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ void PTC_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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd10/include/samd10d14as.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ void PTC_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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd11/include/samd11c14a.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ void PTC_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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd11/include/samd11d14am.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ void PTC_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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd11/include/samd11d14as.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ void PTC_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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21e15a.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21e16a.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21e17a.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21e18a.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21g15a.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21g16a.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21g17a.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21g17au.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21g18a.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21g18au.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21j15a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21j16a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21j17a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 3 additions & 1 deletion CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/samd21j18a.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 2 additions & 0 deletions CMSIS-Atmel/CMSIS/Device/ATMEL/samd51/include/samd51g18a.h
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,9 @@ void SDHC0_Handler ( void );
* \brief Configuration of the Cortex-M4 Processor and Core Peripherals
*/

#ifndef LITTLE_ENDIAN
#define LITTLE_ENDIAN 1
#endif
#define __CM4_REV 1 /*!< Core revision r0p1 */
#define __DEBUG_LVL 3 /*!< Full debug plus DWT data matching */
#define __FPU_PRESENT 1 /*!< FPU present or not */
Expand Down
Loading

0 comments on commit 76cfd9f

Please sign in to comment.