Gabriele Spina
2012-09-30 23:53:43 UTC
Dear all,
I've seen that in the repository ~/tinyos-2.x-contrib/shimmer/apps a new
firmware is present (ParamLogging) that allows to store the data in the SD.
I tried to compile it without success and I get the following message:
***@ShimmerLive:~/tinyos-2.x-contrib/shimmer/apps/ParamLogging$ make
shimmer2r
mkdir -p build/shimmer2r
compiling ParamLoggingC to a shimmer2r binary
ncc -o build/shimmer2r/main.exe -Os -O -DSMCLK_4MHZ -mdisable-hwmul
-fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=shimmer2r
-fnesc-cfile=build/shimmer2r/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22
-DIDENT_APPNAME=\"ParamLoggingC\" -DIDENT_USERNAME=\"tiny2\"
-DIDENT_HOSTNAME=\"ShimmerLive\" -DIDENT_USERHASH=0xe8d0c5b7L
-DIDENT_TIMESTAMP=0x5068b97fL -DIDENT_UIDHASH=0x1e5da879L ParamLoggingC.nc
-lm
In file included from ParamLoggingC.nc:35:
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/FatFs.h:69:2:
warning: #warning "Using enhanced/optimized version of FatFs............."
In file included from ParamLoggingC.nc:40:
In component `ParamLoggingP':
ParamLoggingP.nc: In function `setSamplingConfig':
ParamLoggingP.nc:347: implicit declaration of function `__delay_cycles'
ParamLoggingP.nc: In function `getSamplingConfig.runTask':
ParamLoggingP.nc:504: interface has no command or event named `disableDock'
ParamLoggingP.nc:520: interface has no command or event named `enableDock'
ParamLoggingP.nc: At top level:
ParamLoggingP.nc:614: `Magnetometer.readDone': async mismatch with
declaration
/home/tiny2/tinyos-main/tos/platforms/shimmer2/chips/hmc5843/Magnetometer.nc:69:
previous declaration of `Magnetometer.readDone'
ParamLoggingP.nc:681: `Magnetometer.writeDone': async mismatch with
declaration
/home/tiny2/tinyos-main/tos/platforms/shimmer2/chips/hmc5843/Magnetometer.nc:71:
previous declaration of `Magnetometer.writeDone'
/home/tiny2/tinyos-main/tos/platforms/shimmer2r/chips/mma7361/Mma7361P.nc:45:2:
warning: #warning "This accelerometer chipset supports only 1.5 and 6.0g;
other settings will default to 1.5g"
In file included from ParamLoggingC.nc:84:
In component `FatFsP':
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/FatFsP.nc: In
function `f_mkfs':
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/FatFsP.nc:3150:
warning: decimal constant is so large that it is unsigned
In file included from
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/diskIOC.nc:50,
from ParamLoggingC.nc:84:
In component `SDP':
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/SDP.nc: In function
`powerCycle':
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/SDP.nc:142: warning:
decimal constant is so large that it is unsigned
In file included from
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/diskIOC.nc:55,
from ParamLoggingC.nc:84:
In component `TimeP':
/home/tiny2/tinyos-main/tos/platforms/shimmer/TimeP.nc: In function
`Time.setZoneInfo':
/home/tiny2/tinyos-main/tos/platforms/shimmer/TimeP.nc:121: warning:
assignment of read-only variable `g_first_year'
make: *** [exe0] Error 1
Can anybody help me somehow?
Thanks a lot
Gabbo
I've seen that in the repository ~/tinyos-2.x-contrib/shimmer/apps a new
firmware is present (ParamLogging) that allows to store the data in the SD.
I tried to compile it without success and I get the following message:
***@ShimmerLive:~/tinyos-2.x-contrib/shimmer/apps/ParamLogging$ make
shimmer2r
mkdir -p build/shimmer2r
compiling ParamLoggingC to a shimmer2r binary
ncc -o build/shimmer2r/main.exe -Os -O -DSMCLK_4MHZ -mdisable-hwmul
-fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=shimmer2r
-fnesc-cfile=build/shimmer2r/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22
-DIDENT_APPNAME=\"ParamLoggingC\" -DIDENT_USERNAME=\"tiny2\"
-DIDENT_HOSTNAME=\"ShimmerLive\" -DIDENT_USERHASH=0xe8d0c5b7L
-DIDENT_TIMESTAMP=0x5068b97fL -DIDENT_UIDHASH=0x1e5da879L ParamLoggingC.nc
-lm
In file included from ParamLoggingC.nc:35:
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/FatFs.h:69:2:
warning: #warning "Using enhanced/optimized version of FatFs............."
In file included from ParamLoggingC.nc:40:
In component `ParamLoggingP':
ParamLoggingP.nc: In function `setSamplingConfig':
ParamLoggingP.nc:347: implicit declaration of function `__delay_cycles'
ParamLoggingP.nc: In function `getSamplingConfig.runTask':
ParamLoggingP.nc:504: interface has no command or event named `disableDock'
ParamLoggingP.nc:520: interface has no command or event named `enableDock'
ParamLoggingP.nc: At top level:
ParamLoggingP.nc:614: `Magnetometer.readDone': async mismatch with
declaration
/home/tiny2/tinyos-main/tos/platforms/shimmer2/chips/hmc5843/Magnetometer.nc:69:
previous declaration of `Magnetometer.readDone'
ParamLoggingP.nc:681: `Magnetometer.writeDone': async mismatch with
declaration
/home/tiny2/tinyos-main/tos/platforms/shimmer2/chips/hmc5843/Magnetometer.nc:71:
previous declaration of `Magnetometer.writeDone'
/home/tiny2/tinyos-main/tos/platforms/shimmer2r/chips/mma7361/Mma7361P.nc:45:2:
warning: #warning "This accelerometer chipset supports only 1.5 and 6.0g;
other settings will default to 1.5g"
In file included from ParamLoggingC.nc:84:
In component `FatFsP':
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/FatFsP.nc: In
function `f_mkfs':
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/FatFsP.nc:3150:
warning: decimal constant is so large that it is unsigned
In file included from
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/diskIOC.nc:50,
from ParamLoggingC.nc:84:
In component `SDP':
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/SDP.nc: In function
`powerCycle':
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/SDP.nc:142: warning:
decimal constant is so large that it is unsigned
In file included from
/home/tiny2/tinyos-main/tos/platforms/shimmer/chips/sd/fatfs/diskIOC.nc:55,
from ParamLoggingC.nc:84:
In component `TimeP':
/home/tiny2/tinyos-main/tos/platforms/shimmer/TimeP.nc: In function
`Time.setZoneInfo':
/home/tiny2/tinyos-main/tos/platforms/shimmer/TimeP.nc:121: warning:
assignment of read-only variable `g_first_year'
make: *** [exe0] Error 1
Can anybody help me somehow?
Thanks a lot
Gabbo