Subversion Repositories svn.mios

Rev

Rev 654 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
598 this 1
 
2
PROCESSOR = 18f452
3
LKR_FILE  = $(MIOS_PATH)/etc/lkr/p$(PROCESSOR).lkr
4
PROJECT   = project
5
6
 
7
OBJS = mios_wrapper.o app_lcd.o fram.o main.o
8
9
 
10
GPASM_INCLUDE =
11
SDCC_INCLUDE  =
12
13
 
14
GPASM_DEFINES = -DDEBUG_MODE=0
15
SDCC_DEFINES  = -DDEBUG_MODE=0
16
17
 
656 this 18
#FRAM_DEFINES += -DFRAM_MULTIPLEX_ENABLE=1
19
#FRAM_DEFINES += -DFRAM_MIOS_IIC=1
654 this 20
#FRAM_DEFINES += -DFRAM_IIC_SLOWDOWN=1
21
636 this 22
 
656 this 23
#FRAM_DEFINES += -DFRAM_IIC_PORT_SCL=PORTD
645 this 24
#FRAM_DEFINES += -DFRAM_IIC_TRIS_SCL=TRISD
25
#FRAM_DEFINES += -DFRAM_IIC_PIN_SCL=5
26
#-- Serial IIC data pin
656 this 27
#FRAM_DEFINES += -DFRAM_IIC_PORT_SDA=PORTA
645 this 28
#FRAM_DEFINES += -DFRAM_IIC_TRIS_SDA=TRISA
29
#FRAM_DEFINES += -DFRAM_IIC_PIN_SDA=4
30
#-- multiplex MSB pin
656 this 31
#FRAM_DEFINES += -DFRAM_MULTIPLEX_PORT_MSB=PORTC
32
#FRAM_DEFINES += -DFRAM_MULTIPLEX_TRIS_MSB=TRISC
33
#FRAM_DEFINES += -DFRAM_MULTIPLEX_PIN_MSB=4
34
#-- multiplex LSB pin
35
#FRAM_DEFINES += -DFRAM_MULTIPLEX_PORT_LSB=PORTC
36
#FRAM_DEFINES += -DFRAM_MULTIPLEX_TRIS_LSB=TRISC
37
#FRAM_DEFINES += -DFRAM_MULTIPLEX_PIN_LSB=5
38
645 this 39
 
40
 
41
 
598 this 42
MIOS_WRAPPER_DEFINES = -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f
43
44
 
45
# more will be added by *.mk files
46
DIST = ./
47
48
 
49
 
50
include $(MIOS_PATH)/include/makefile/common.mk
51
52
 
53
include $(MIOS_PATH)/modules/app_lcd/dummy/app_lcd.mk
54
include $(MIOS_PATH)/modules/fram/fram.mk
55