summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/lib/Makerules_Atmega1281_Gcc
blob: 714352d406f53f76e75a40512de53f5c62e5305d (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
#----------------------------------------------
#HAL makerules - should be included into components Makerules
#----------------------------------------------

#-Compiler type definition---------------------
COMPILER_TYPE = GCC
COMPILER_AND_MICRO_TYPE = GCC_AVR
#-Tools definitions----------------------------
AS       = avr-as
LD       = avr-ld
CC       = avr-gcc
CPP      = avr-g++
AR       = avr-ar
NM       = avr-nm
STRIP    = avr-strip
OBJCOPY  = avr-objcopy
OBJDUMP  = avr-objdump
SIZE     = avr-size

#-Compiler flags-------------------------------
CFLAGS =  -Os -std=gnu99 -pipe -c -W -Wall -ffunction-sections -mmcu=atmega1281 -mcall-prologues -fshort-enums --param inline-call-cost=2
AR_KEYS = cr


#-Objects to be linked with app----------------
PLATFORM_SPECIFIC_OBJECTS  = WdtInitatmega1281_Gcc.o

SE_PATH      = $(COMPONENTS_PATH)/./SystemEnvironment