X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=conf%2Fsamd20.mk;fp=conf%2Fsamd20.mk;h=acb6272bcac312075622a83ca6dbee291d650852;hp=0000000000000000000000000000000000000000;hb=3f00688b9d9f483a6ca97e659eea104995ea15b7;hpb=2f454aad577ae53798935cc32438a2d3f02ba31f diff --git a/conf/samd20.mk b/conf/samd20.mk new file mode 100644 index 0000000..acb6272 --- /dev/null +++ b/conf/samd20.mk @@ -0,0 +1,20 @@ +# Example configuration file for compiling for an Atmel SAM D20 Xplained +# Pro evaluation kit, on a Unix-like system, with a GNU toolchain. + +# We are on a Unix system so we assume a Single Unix compatible 'make' +# utility, and Unix defaults. +include conf/Unix.mk + +# We override the build directory. +BUILD = samd20 + +# C compiler, linker, and static library builder. +CC = arm-none-eabi-gcc +CFLAGS = -W -Wall -Os -mthumb -ffunction-sections -fdata-sections -mcpu=cortex-m0plus +LD = arm-none-eabi-gcc +AR = arm-none-eabi-ar + +# We compile only the static library. +DLL = no +TOOLS = no +TESTS = no