root/nano-RK/include/platform.mk

Revision 390, 1.7 kB (checked in by mthamilt, 7 months ago)

Preliminary IMEC

Line 
1
2 # We use the stripped version to avoid typos
3 PLATFORM_TYPE = $(strip $(PLATFORM))
4
5 ifeq ($(PLATFORM_TYPE),firefly)
6 # FireFly Architecture specific includes should go here...
7 # Notice that this sets architecture path, the mcu type and the radio
8 PROG_TYPE = avrdude
9 MCU = atmega32
10 RADIO = cc2420
11 PLATFORM_FOUND= true
12 endif
13
14 ifeq ($(PLATFORM_TYPE),firefly2_1)
15 # micaZ Architecture specific includes should go here...
16 # Notice that this sets architecture path, the mcu type and the radio
17 PROG_TYPE = avrdude
18 MCU = atmega128
19 RADIO = cc2420
20 PLATFORM_FOUND = true
21 endif
22
23 ifeq ($(PLATFORM_TYPE),firefly2_2)
24 # micaZ Architecture specific includes should go here...
25 # Notice that this sets architecture path, the mcu type and the radio
26 PROG_TYPE = avrdude
27 MCU = atmega1281
28 RADIO = cc2420
29 PLATFORM_FOUND = true
30 endif
31
32
33 ifeq ($(PLATFORM_TYPE),micaZ)
34 # micaZ Architecture specific includes should go here...
35 # Notice that this sets architecture path, the mcu type and the radio
36 PROG_TYPE = uisp
37 MCU = atmega128
38 RADIO = cc2420
39 PLATFORM_FOUND = true
40 endif
41
42 ifeq ($(PLATFORM_TYPE),cc2420DK)
43 # micaZ Architecture specific includes should go here...
44 # Notice that this sets architecture path, the mcu type and the radio
45 MCU = atmega128
46 RADIO = cc2420
47 PLATFORM_FOUND = true
48 endif
49
50 ifeq ($(PLATFORM_TYPE),tmote)
51 # tmote Architecture specific includes should go here...
52 # Notice that this sets architecture path, the mcu type and the radio
53 PROG_TYPE = msp430-bsl
54 MCU = msp430x1611
55 RADIO = cc2420
56 PLATFORM_FOUND = true
57 endif
58
59 ifeq ($(PLATFORM_TYPE),imec)
60 # tmote Architecture specific includes should go here...
61 # Notice that this sets architecture path, the mcu type and the radio
62 PROG_TYPE = msp430-bsl
63 MCU = msp430x149
64 RADIO = cc2420
65 PLATFORM_FOUND = true
66 endif
67
Note: See TracBrowser for help on using the browser.