Hi Roberto, For the compile errors that read TinyDBApp.nc: At top level: TinyDBApp.nc:47: component BlackbookFullConnectC not found TinyDBApp.nc:51: no match
It sounds like your Makefile isn't including the directory to find the BlackbookFullConnectC component, which would be -I../../contrib/rincon/apps/Blackbook5/apps/BlackbookFullConnect Also, I've never tested Blackbook with other components that access the flash like TinyDB. Blackbook was, in fact, developed to work with in conjunction with other apps that access the flash, because it allows you to specify which sectors to consume on flash in the FlashSettings.h file in /Blackbook5/media/<flash_type>. Having never used TinyDB before, though, I'm not sure if there's a way to restrain it from using parts of the flash dedicated to Blackbook. -David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 12:54 AM To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] BlackbookFullConnect with TinyDB Hi all, I'm trying to use BlackbookFullConnect application with TinyDB. I'm not able to compile togheter this applications. This is the changes I have made: TinyDBApp.nc : ........... implementation { components Main, TupleRouter, BlackbookFullConnectC; Main.StdControl -> TupleRouter; Main.StdControl -> BlackbookFullConnectC; } BlackbookFullConnectC: configuration BlackbookFullConnectC { provide interface StdControl; //added } implementation { ........ StdControl = BlackbookFullConnectM; ...... } I'm using this makefile: COMPONENT=TinyDBApp SENSORBOARD=micasb PFLAGS=-I %T/lib/Util -I%T/lib/Attributes -I%T/lib/Commands -I%T/lib/TinyDB -I%T/lib/MintRoute -I%T/lib/Queue -I%T/lib/FS -I%T/lib/TinyDB/Aggregates -fno-strict-aliasing # Choose a flash type: CFLAGS += -I../../contrib/rincon/apps/Blackbook5/media/AT45DB #CFLAGS += -I../../contrib/rincon/apps/Blackbook5/media/STM25P # Standard include directories: CFLAGS += -I../../ -I../../contrib/rincon/apps/Blackbook5/core -I../../contrib/rincon/apps/Blackbook5/interfaces -I../../contrib/rincon/apps/Blackbook5/boot CFLAGS += -I../../contrib/rincon/apps/Blackbook5/apps/FlashBridge CFLAGS += -I../../contrib/rincon/tos/lib/State # If you use Boomerang, comment out this line: CFLAGS +=-I../../contrib/rincon/tos/lib/Transceiver # If you use Boomerang, uncomment the following lines # and comment out the above Transceiver line #CFLAGS += -DSTM25P_BOOMERANG_VERSION #CFLAGS += -I../../contrib/rincon/tos/lib/sptransceiver # Compiler optimizer flag: CFLAGS += -Os MSG_SIZE=49 include ../Makerules Is it correct? When i compile TinyDBApp using this makefile i got this error: C:/PROGRA~1/TinyOS/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/DBBufferC.nc: In function `doWrite': C:/PROGRA~1/TinyOS/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/DBBufferC.nc:1661: warning: suggest parentheses around comparison in operand of & TinyDBApp.nc: At top level: TinyDBApp.nc:47: component BlackbookFullConnectC not found TinyDBApp.nc:51: no match make: *** [exe0] Error 1 I don't understand why. Can anyone hel me? Thanks. Roberto. _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help