forked from hcanIngo/openHCAN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathARCH.inc
49 lines (44 loc) · 2.02 KB
/
ARCH.inc
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
##############################################################################
## This file is part of the HCAN tools suite.
##
## HCAN is free software; you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free
## Software Foundation; either version 2 of the License, or (at your
## option) any later version.
##
## HCAN is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
## for more details.
##
## You should have received a copy of the GNU General Public License along
## with HCAN; if not, write to the Free Software Foundation, Inc., 51
## Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
## (c) 2017 by Martin Kramer and Ingo Lages, i (dot) lages (at) gmx (dot) de
##############################################################################
# Choose firmware architecture atmega328p, atmega32 or atmega644p (for C1612 and UI):
# see attribute "__AVR_ATmega644P__", ...
#######################
export MCU = atmega644p
#######################
# Choose CAN-Server-IP for load firmware (eg. 192.168.1.42)
###########################
export IP_HI = 192.168.0.102
###########################
###########################
# z.B. -DhcanXYZ
export GLOBAL_DEFINES = -DhcanMartin
###########################
# Max Hex Size in byte when using the bootloader
###########################
MAXSIZE_ATMEGA328P = 28672
MAXSIZE_ATMEGA32 = 28672
MAXSIZE_ATMEGA644P = 61440
###########################
# Do not compile specific devices in
###########################
NOTIN328p = ./devices/rolladenAutomat.c ./devices/rolladenSchlitzpos.c ./devices/helligkeitssensor.c ./devices/zentralheizungspumpe.c ./devices/analogComparator.c
NOTIN32 = ./devices/rolladenAutomat.c ./devices/rolladenSchlitzpos.c ./devices/helligkeitssensor.c ./devices/zentralheizungspumpe.c ./devices/analogComparator.c
NOTIN644p =
###########################