1 # Example configuration file for compiling for an Atmel SAM D20 Xplained
2 # Pro evaluation kit, on a Unix-like system, with a GNU toolchain.
4 # We are on a Unix system so we assume a Single Unix compatible 'make'
5 # utility, and Unix defaults.
8 # We override the build directory.
11 # C compiler, linker, and static library builder.
12 CC
= arm-none-eabi-gcc
13 CFLAGS
= -W
-Wall
-Os
-mthumb
-ffunction-sections
-fdata-sections
-mcpu
=cortex-m0plus
-DBR_ARMEL_CORTEXM_GCC
14 LD
= arm-none-eabi-gcc
17 # We compile only the static library.