I'm trying to port tinyos2 to a arm7 based chip lpc2106.
I have done the files: .platform lpc2106.target lpc2106.rules platform.h 
hardware.h .
When i make lpc2016 under apps/Null, i come into this:

nesc1: internal error: couldn't define builtin macros -exiting
make: ***[exe0] Error 1

this is my .platform:

push( @includes, qw(

  %T/platforms/lpc2106
  %T/chips/lpc2106


) );

@opts = qw(
  -gcc=arm-elf-gcc
  -mmcu=lpc2106
  -fnesc-target=msp430
  -fnesc-no-debug
  
-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask
);

this maybe useful:
when i simply change : -gcc=msp430-gcc or -gcc=avr-gcc, it seems compatibled.
it appears the same error when changed into: -gcc=xscale-elf-gcc.

One more question:
if I write this:

-fnesc-target=lpc2106

it appears error: 
nesc1: unknown target lpc2106

what else beyond things already told in tinyos tutorials should I do?


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to