summaryrefslogtreecommitdiff
path: root/Source/portable/SDCC/PIC18/pic18memory.h
blob: 71281a3b06b60b43bdd9f4571f1d3c2d9e4a23e2 (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/**
* #######################################################################################
* GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
* Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
*
* This program is free software; you can distribute it and/or modify it
* under the terms of the GNU General Public License
* (Version 2 or later) published by the Free Software Foundation.
*
* This program is distributed in the hope 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 this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
* #######################################################################################
*
* \file         ram.h
* \brief	Header file defining heap size for each supported device and include
* \brief	device registers
* \author       GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
* \date         April 2009
* #######################################################################################
*/

#ifndef PIC18MEMOY_H
#define PIC18RAM_H

#include <pic18fregs.h>

#ifdef __18f452__
#define PIC18_SDCC_HEAP_SIZE 1024
#endif

#ifdef __18f4520__
#define PIC18_SDCC_HEAP_SIZE 1024
#endif

#ifdef __18f4580__
#define PIC18_SDCC_HEAP_SIZE 1024
#endif

#ifdef __18f97j60__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f25k20__
#define PIC18_SDCC_HEAP_SIZE 1024
#endif

#ifdef __18f26k20__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f45k20__
#define PIC18_SDCC_HEAP_SIZE 1024
#endif

#ifdef __18f46k20__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f65j50__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f66j50__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f66j55__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f66j60__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f66j65__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f67j50__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f67j60__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f85j50__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f86j50__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#ifdef __18f86j50__
#define PIC18_SDCC_HEAP_SIZE 2560
#endif

#endif /*PIC18RAM_H*/