source: EcnlProtoTool/trunk/asp3_dcre/mbed/Makefile.mbed@ 439

Last change on this file since 439 was 429, checked in by coas-nagasima, 4 years ago

ASP3, TINET, mbed を更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-makefile;charset=UTF-8
File size: 3.9 KB
Line 
1#
2# Makefile のmbed(RZ/A1用)
3#
4# $Id$
5#
6
7#
8# mbedディレクトリ名の定義
9#
10MBEDDIR = $(SRCDIR)/mbed
11
12#
13# コンパイルオプション
14#
15INCLUDES := $(INCLUDES)\
16 -I$(MBEDDIR)\
17 -I$(MBEDDIR)/cmsis\
18 -I$(MBEDDIR)/cmsis/TARGET_CORTEX_A\
19 -I$(MBEDDIR)/hal\
20 -I$(MBEDDIR)/platform\
21 -I$(MBEDDIR)/targets/TARGET_RENESAS\
22 -I$(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX\
23 -I$(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H\
24 -I$(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/TARGET_MBED_MBRZA1H\
25 -I$(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device\
26 -I$(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device/inc\
27 -I$(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device/inc/iobitmasks\
28 -I$(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device/inc/iodefines\
29 -I$(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/common\
30 -I$(MBEDDIR)/rtos/TARGET_CORTEX
31COPTS := $(COPTS)\
32 -mthumb\
33 -mthumb-interwork\
34 -marm\
35 -march=armv7-a\
36 -mfpu=vfpv3\
37 -mfloat-abi=hard\
38 -mno-unaligned-access
39LDFLAGS := $(LDFLAGS)\
40 -mthumb\
41 -mthumb-interwork\
42 -marm\
43 -march=armv7-a\
44 -mfpu=vfpv3\
45 -mfloat-abi=hard\
46 -mno-unaligned-access
47CDEFS := $(CDEFS)\
48 -DARM_MATH_CA9 \
49 -DDEVICE_ANALOGIN=1 \
50 -DDEVICE_CAN=1 \
51 -DDEVICE_EMAC=1 \
52 -DDEVICE_ETHERNET=1 \
53 -DDEVICE_FLASH=1 \
54 -DDEVICE_I2C=1 \
55 -DDEVICE_I2CSLAVE=1 \
56 -DDEVICE_I2C_ASYNCH=1 \
57 -DDEVICE_INTERRUPTIN=1 \
58 -DDEVICE_LPTICKER=1 \
59 -DDEVICE_PORTIN=1 \
60 -DDEVICE_PORTINOUT=1 \
61 -DDEVICE_PORTOUT=1 \
62 -DDEVICE_PWMOUT=1 \
63 -DDEVICE_RTC=1 \
64 -DDEVICE_SEMIHOST=1 \
65 -DDEVICE_SERIAL=1 \
66 -DDEVICE_SERIAL_ASYNCH=1 \
67 -DDEVICE_SERIAL_FC=1 \
68 -DDEVICE_SLEEP=1 \
69 -DDEVICE_SPI=1 \
70 -DDEVICE_SPISLAVE=1 \
71 -DDEVICE_SPI_ASYNCH=1 \
72 -DDEVICE_STDIO_MESSAGES=1 \
73 -DDEVICE_USTICKER=1 \
74 -DMBED_BUILD_TIMESTAMP=1550103323.92 \
75 -DTARGET_A9 \
76 -DTARGET_CORTEX \
77 -DTARGET_CORTEX_A \
78 -DTARGET_FF_ARDUINO \
79 -DTARGET_LIKE_CORTEX_A9 \
80 -DTARGET_LIKE_MBED \
81 -DTARGET_MBRZA1H \
82 -DTARGET_RELEASE \
83 -DTARGET_RENESAS \
84 -DTARGET_RZA1H \
85 -DTARGET_RZ_A1H \
86 -DTARGET_RZ_A1XX \
87 -DTARGET_RZ_A1_EMAC \
88 -DTOOLCHAIN_GCC \
89 -DTOOLCHAIN_GCC_ARM \
90 -DTOOLCHAIN_object \
91 -D__CMSIS_RTOS \
92 -D__CORTEX_A9 \
93 -D__EVAL \
94 -D__FPU_PRESENT=1 \
95 -D__MBED_CMSIS_RTOS_CA9 \
96 -D__MBED__=1 \
97 -DIRQ_GIC_LINE_COUNT=587 \
98 #-DDEVICE_STDIO_MESSAGES=1
99
100#
101# システムサービスに関する定義
102#
103SYSSVC_DIRS := $(SYSSVC_DIRS)\
104 $(MBEDDIR)\
105 $(MBEDDIR)/hal\
106 $(MBEDDIR)/platform\
107 $(MBEDDIR)/cmsis/TARGET_CORTEX_A\
108 $(MBEDDIR)/targets/TARGET_RENESAS\
109 $(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX\
110 $(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H\
111 $(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/TARGET_MBED_MBRZA1H\
112 $(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device\
113 $(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device/TOOLCHAIN_GCC_ARM\
114 $(MBEDDIR)/targets/TARGET_RENESAS/TARGET_RZA1XX/common
115SYSSVC_ASMOBJS := $(SYSSVC_ASMOBJS)
116START_OBJS := startup_RZ1AH.o
117START_OBJS := $(addprefix $(OBJDIR)/, $(START_OBJS))
118SYSSVC_COBJS := $(SYSSVC_COBJS)\
119 mbed_critical_section_api.o mbed_flash_api.o mbed_gpio.o mbed_lp_ticker_api.o\
120 mbed_lp_ticker_wrapper.o mbed_pinmap_common.o mbed_sleep_manager.o mbed_mktime.o\
121 mbed_ticker_api.o mbed_us_ticker_api.o mbed_assert.o mbed_board.o\
122 mbed_critical.o mbed_error.o mbed_error_hist.o mbed_interface.o\
123 mbed_rtc_time.o mbed_semihost_api.o mbed_stats.o\
124 PeripheralPins.o RZ_A1_Init.o mbed_sf_boot.o mmu_RZ_A1H.o\
125 system_RZ_A1H.o trng_api_esp32.o analogin_api.o can_api.o cmsis_nvic.o\
126 irq_ctrl_gic.o nvic_wrapper.o rza_io_regrw.o ethernet_api.o flash_api.o\
127 gpio_api.o gpio_irq_api.o i2c_api.o lp_ticker.o mtu2.o pinmap.o port_api.o\
128 pwmout_api.o rtc_api.o serial_api.o sleep.o spi_api.o trng_api.o us_ticker.o
129 #mbed_wait_api_no_rtos.o
130CFG_DMY := cfg_dmy.o mmu_RZ_A1H.o mbed_sf_boot.o RZ_A1_Init.o system_RZ_A1H.o irq_ctrl_gic.o
131
Note: See TracBrowser for help on using the repository browser.