Commit cd00bf64 authored by Christian Eichler's avatar Christian Eichler
Browse files

Adopt code/parameters to clang3.8

parent 2f04c670
......@@ -28,7 +28,8 @@ STACK_SIZE?=16384
JLINK = JLinkExe
JLFLAGS = -device XMC4500-1024 -if SWD -speed 900
CFLAGS = -target armv6m--none-eabi -mcpu=cortex-m4 -mthumb -integrated-as -ccc-gcc-name arm-none-eabi-gcc
CFLAGS = -mcpu=cortex-m4 -target armv7m-none-eabi -msoft-float
CFLAGS+= -integrated-as -ccc-gcc-name arm-none-eabi-gcc
CFLAGS+= -fno-builtin
CFLAGS+= -Os -ffunction-sections -fdata-sections
CFLAGS+= -MD -std=c99 -Wall
......
......@@ -11,7 +11,7 @@
#include "timer.h"
#endif /* ifndef ID_SYSTEM */
#define IHANDLER __attribute__ ((naked))
#define IHANDLER
#define xstr(s) str(s)
#define str(s) #s
......@@ -47,6 +47,7 @@ void BENCHMARK_INIT(void);
extern int errno;
void _init() {}
void _sbrk() {}
/* Clock configuration */
XMC_SCU_CLOCK_CONFIG_t clock_config =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment