Blame view

Modif/epsilon-master/build/toolchain.arm-llvm.mak 326 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  CC = clang
  CXX = clang++
  LD = arm-none-eabi-ld.bfd
  GDB = arm-none-eabi-gdb
  OBJCOPY = arm-none-eabi-objcopy
  SIZE = arm-none-eabi-size
  
  SFLAGS += -target thumbv7em-unknown-eabi -mcpu=cortex-m4 -mfpu=fpv4-sp-d16
  ifeq ($(DEBUG),1)
  SFLAGS += -ggdb3
  else
  SFLAGS += -fdata-sections -ffunction-sections
  LDFLAGS += --gc-sections
  endif