source: asp3_wo_tecs/trunk/arch/arm_m_gcc/stm32f4xx_stm32cube/Makefile.chip@ 303

Last change on this file since 303 was 303, checked in by ertl-honda, 7 years ago

nucleo_f401re依存部の追加

File size: 1.1 KB
Line 
1#
2# Makefile のターゲット依存部(STM32F4XX_STM32CUBE用)
3#
4
5#
6# チップ依存部ディレクトリ名の定義
7#
8CHIPDIR = $(SRCDIR)/arch/$(PRC)_$(TOOL)/$(CHIP)
9
10#
11# コアタイプ
12#
13CORE_TYPE = CORTEX_M4
14
15#
16# コンパイルオプション
17#
18INCLUDES := $(INCLUDES) -I$(SRCDIR)/arch/$(PRC)_$(TOOL)/$(CHIP) \
19 -I$(SRCDIR)/arch/$(PRC)_$(TOOL)/$(CHIP)/STM32F4xx_HAL_Driver/Inc \
20 -I$(SRCDIR)/arch/$(PRC)_$(TOOL)/$(CHIP)/CMSIS/Device/ST/STM32F4xx/Include \
21 -I$(SRCDIR)/arch/$(PRC)_$(TOOL)/$(CHIP)/CMSIS/Include
22COPTS := $(COPTS) -mlittle-endian -nostartfiles
23LDFLAGS := $(LDFLAGS) -mlittle-endian
24LIBS := $(LIBS)
25
26#
27# カーネルに関する定義
28#
29KERNEL_DIRS := $(KERNEL_DIRS) $(SRCDIR)/arch/$(PRC)_$(TOOL)/$(CHIP) \
30 $(SRCDIR)/arch/$(PRC)_$(TOOL)/$(CHIP)/STM32F4xx_HAL_Driver/Src
31KERNEL_ASMOBJS := $(KERNEL_ASMOBJS)
32KERNEL_COBJS := $(KERNEL_COBJS)
33
34#
35# システムサービスに関する定義
36#
37SYSSVC_DIR := $(SYSSVC_DIR) $(SRCDIR)/arch/$(PRC)_$(TOOL)/$(CHIP)
38SYSSVC_COBJS := $(SYSSVC_COBJS)
39
40#
41# コア依存部のインクルード
42#
43include $(SRCDIR)/arch/$(PRC)_$(TOOL)/common/Makefile.core
Note: See TracBrowser for help on using the repository browser.