Subversion Repositories freemyipod

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
273 theseven 1
//
2
//
3
//    Copyright 2010 TheSeven
4
//
5
//
427 farthen 6
//    This file is part of emCORE.
273 theseven 7
//
427 farthen 8
//    emCORE is free software: you can redistribute it and/or
273 theseven 9
//    modify it under the terms of the GNU General Public License as
10
//    published by the Free Software Foundation, either version 2 of the
11
//    License, or (at your option) any later version.
12
//
427 farthen 13
//    emCORE is distributed in the hope that it will be useful,
273 theseven 14
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
//    See the GNU General Public License for more details.
17
//
18
//    You should have received a copy of the GNU General Public License along
427 farthen 19
//    with emCORE.  If not, see <http://www.gnu.org/licenses/>.
273 theseven 20
//
21
//
22
 
23
 
24
#ifndef __TARGET_H__
25
#define __TARGET_H__
26
 
27
 
28
#define PLATFORM_ID 0x47334e49
29
 
30
 
31
#define ARM_ARCH 5
32
#define LITTLE_ENDIAN
33
#define CACHEALIGN_BITS 4
34
#define CPU_FREQ 191692800
35
 
36
 
37
#define CONSOLE_BOOT 3
38
 
39
 
40
#define HAVE_USB
41
#define USB_NUM_ENDPOINTS 5
42
 
43
#define HAVE_LCD
44
#define HAVE_LCD_SHUTDOWN
45
#define LCD_WIDTH 320
46
#define LCD_HEIGHT 240
489 theseven 47
#define LCD_FORMAT 0x004154b1  // rgb565
273 theseven 48
#define LCD_BYTESPERPIXEL 2
49
#define LCDCONSOLE_FGCOLOR 0
50
#define LCDCONSOLE_BGCOLOR -1
51
 
52
#define HAVE_BACKLIGHT
53
 
54
#define HAVE_I2C
55
 
56
#define HAVE_HWKEYAES
57
 
303 theseven 58
#define HAVE_BUTTON
59
#define HAVE_CLICKWHEEL
273 theseven 60
 
61
#define HAVE_BOOTFLASH
62
 
63
//#define HAVE_STORAGE
64
//#define HAVE_FLASH_STORAGE
65
//#define HAVE_STORAGE_FLUSH
66
//#define HAVE_HOTSWAP
67
//#define CONFIG_STORAGE STORAGE_NAND
68
//#define SECTOR_SIZE 4096
69
 
303 theseven 70
#define HAVE_TARGETINIT_LATE
273 theseven 71
 
72
 
73
#endif