]> git.friedersdorff.com Git - max/tmk_keyboard.git/blob - keyboard/infinity/mbed-infinity.mk
usb_usb: Fix unimap translation for Power
[max/tmk_keyboard.git] / keyboard / infinity / mbed-infinity.mk
1 # based on Makefile exported form mbed.org
2 # see http://mbed.org/handbook/Exporting-to-GCC-ARM-Embedded
3
4 CPU = -mcpu=cortex-m4 -mthumb
5
6 CC_SYMBOLS += \
7         -DTARGET_INFINITY \
8         -DTARGET_K20D50M \
9         -DTARGET_M4 \
10         -DTARGET_CORTEX_M \
11         -DTARGET_Freescale \
12         -DTOOLCHAIN_GCC_ARM \
13         -DTOOLCHAIN_GCC \
14         -D__CORTEX_M4 \
15         -DARM_MATH_CM4 \
16         -D__MBED__=1
17
18 OBJECTS += \
19         $(OBJDIR)/mbed-infinity/cmsis_nvic.o \
20         $(OBJDIR)/mbed-infinity/system_MK20D5.o \
21         $(OBJDIR)/mbed-infinity/USBHAL_KL25Z.o \
22         $(OBJDIR)/mbed-infinity/startup_MK20D5.o \
23         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/analogin_api.o \
24         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/gpio_api.o \
25         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/gpio_irq_api.o \
26         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/i2c_api.o \
27         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/pinmap.o \
28         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/port_api.o \
29         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/pwmout_api.o \
30         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/rtc_api.o \
31         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/serial_api.o \
32         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/sleep.o \
33         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/spi_api.o \
34         $(OBJDIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/us_ticker.o
35
36 INCLUDE_PATHS += \
37         -Imbed \
38         -I$(MBED_DIR)/libraries/mbed/targets \
39         -I$(MBED_DIR)/libraries/mbed/targets/cmsis \
40         -I$(MBED_DIR)/libraries/mbed/targets/cmsis/TARGET_Freescale \
41         -I$(MBED_DIR)/libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_K20XX \
42         -I$(MBED_DIR)/libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M \
43         -I$(MBED_DIR)/libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M/TOOLCHAIN_GCC_ARM \
44         -I$(MBED_DIR)/libraries/mbed/targets/hal \
45         -I$(MBED_DIR)/libraries/mbed/targets/hal/TARGET_Freescale \
46         -I$(MBED_DIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX \
47         -I$(MBED_DIR)/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20XX/TARGET_K20D50M
48
49 LINKER_SCRIPT = mbed-infinity/infinity.ld