X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fmicaz%2F.platform;h=def15d339b413b945841313dd8c1c4641ef829dc;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=4338a7142427399778592c4463f86e83d2810bd6;hpb=bef8aff46b5b6c190fd6aeae596713e8d1a5058c;p=tinyos-2.x.git diff --git a/tos/platforms/micaz/.platform b/tos/platforms/micaz/.platform index 4338a714..def15d33 100644 --- a/tos/platforms/micaz/.platform +++ b/tos/platforms/micaz/.platform @@ -25,6 +25,7 @@ push( @includes, qw( %T/chips/cc2420/spi %T/chips/cc2420/transmit %T/chips/cc2420/unique + %T/chips/cc2420/security %T/platforms/mica2/chips/at45db %T/platforms/mica/chips/at45db %T/chips/at45db @@ -46,9 +47,34 @@ push( @includes, qw( -mmcu=atmega128 -fnesc-target=avr -fnesc-no-debug - -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask ); +push @opts, "-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask" if !$with_scheduler_flag; push @opts, "-mingw-gcc" if $cygwin; +$ENV{'CIL_MACHINE'} = + "version_major=3 " . + "version_minor=4 " . + "version=avr-3.4.3 " . + "short=2,1, " . + "int=2,1 " . + "long=4,1 " . + "long_long=8,1 " . + "pointer=2,1 " . + "enum=2,1 " . + "float=4,1 " . + "double=4,1 " . + "long_double=4,1 " . + "void=1,1 " . + "fun=1,1 " . + "wchar_size_size=2,2 " . + "alignof_string=1 " . + "max_alignment=1 " . + "char_wchar_signed=true,true " . + "const_string_literals=true " . + "big_endian=false " . + "underscore_name=false " . + "__builtin_va_list=true " . + "__thread_is_keyword=true"; +