-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.arm
More file actions
executable file
·51 lines (34 loc) · 774 Bytes
/
Makefile.arm
File metadata and controls
executable file
·51 lines (34 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Makefile
#
# main Makefile
#
# GOALS:
# clean - clean working dirs
# hex - Intel .hex for flash
# srec - Motorola .srec for flash
# bin - .bin for flash
# lst - listing
# flash - hex, srec, bin
# all - clean, lst, flash
# elf - .elf file
# tag - tags, cscope.out
#
.DEFAULT_GOAL := hex
PRG := prog-name
MCU_TARGET := STM32F429xx
# for avr define DATA_START
#DATA_START := 0x800060
INCLUDE_DIRS += . include
OPTIMIZE += -O2 -fomit-frame-pointer
LD_MEMORY_SCRIPT := fast-mem.ld
LD_INCLUDE_DIRS := ldscripts
CFLAGS += --std=gnu99
CFLAGS += -g
#CFLAGS += --pedantic
SRCDIR := ../FreeRTOS
include makef.mk
SRCDIR := .
include makef.mk
include rules.mk
#
# End of file Makefile