Hi,
The c code generated for Blink application for my platform is as follows:

#define nx_struct struct
#define nx_union union
#define dbg(mode, format, ...) ((void)0)
#define dbg_clear(mode, format, ...) ((void)0)
#define dbg_active(mode) 0
# 65 "/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h"
typedef signed char int8_t;




typedef unsigned char uint8_t;
# 104 "/usr/lib/gcc/avr/3.4.3/../../../../avr/include/stdint.h" 3
typedef int int16_t;

typedef unsigned int uint16_t;



I am getting the following error in avr-insight

/opt/tinyos-2.x/apps/Blink/build/chipconz/app.c:7: Error in sourced command file:
Undefined command: "typedef".  Try "help".

   while executing
"gdb_cmd "source $file_name""
   (procedure "source_file" line 4)
   invoked from within
"source_file"
   invoked from within
".srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m#file invoke active"
   ("uplevel" body line 1)
   invoked from within
"uplevel #0 [list $w invoke active]"
   (procedure "tk::MenuInvoke" line 47)
   invoked from within
"tk::MenuInvoke .srcwin0.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m.#srcwin0#srcwin#container#pane0#childsite#con#menubar#m#file 1
"
   (command bound to event)errorCode is NONE


Can anyone help on this???????
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to