| Line 1... |
Line 1... |
| 1 |
###############################################################################
|
1 |
###############################################################################
|
| 2 |
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
|
2 |
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
|
| 3 |
#
|
3 |
#
|
| 4 |
# File: TOOLSET/CORTEXM3_IAR.DEF
|
4 |
# File: TOOLSET/CORTEXM3_IAR.DEF
|
| 5 |
# Contents: TOOLSET Environment definitions
|
5 |
# Contents: TOOLSET Environment definitions
|
| 6 |
# Make definitions for the CORTEXM3_IAR tools.
|
6 |
# Make definitions for the CORTEXM3_IAR tools.
|
| 7 |
#
|
7 |
#
|
| Line 30... |
Line 30... |
| 30 |
PROGRAMFILES ?= C:/Program Files
|
30 |
PROGRAMFILES ?= C:/Program Files
|
| 31 |
GBE_CORTEXM3_IAR ?= $(PROGRAMFILES)/IAR Systems/Embedded Workbench 7.4
|
31 |
GBE_CORTEXM3_IAR ?= $(PROGRAMFILES)/IAR Systems/Embedded Workbench 7.4
|
| 32 |
export GBE_CORTEXM3_IAR
|
32 |
export GBE_CORTEXM3_IAR
|
| 33 |
|
33 |
|
| 34 |
cortexm3:
|
34 |
cortexm3:
|
| 35 |
$(AA_PRE)if [ -z "$$GBE_CORTEXM3_IAR" ]; then echo GBE_CORTEXM3_IAR env var not set; exit 2; fi; \
|
35 |
$(AA_PRE)if [ -z "$$GBE_CORTEXM3_IAR" ]; then echo "GBE_CORTEXM3_IAR env var not set"; exit 2; fi; \
|
| 36 |
if [ ! -d "$$GBE_CORTEXM3_IAR" ]; then echo "ERROR: GBE_CORTEXM3_IAR directory not found ($$GBE_CORTEXM3_IAR). Compiler not available"; exit 2; fi; \
|
36 |
if [ ! -d "$$GBE_CORTEXM3_IAR" ]; then echo "ERROR: GBE_CORTEXM3_IAR directory not found ($$GBE_CORTEXM3_IAR). Compiler not available"; exit 2; fi; \
|
| 37 |
echo "[Toolset CORTEXM3 - IAR Systems]";
|
37 |
echo "[Toolset CORTEXM3 - IAR Systems]";
|
| 38 |
|
38 |
|
| 39 |
iar_avr = $(subst \,/,$(strip $(GBE_CORTEXM3_IAR)))
|
39 |
iar_avr = $(subst \,/,$(strip $(GBE_CORTEXM3_IAR)))
|
| 40 |
|
40 |
|