在Contiki的Wismote上运行咖啡文件系统示例失败

时间:2018-12-28 16:43:38

标签: c filesystems contiki cooja

我想在Wismote上测试cfs Contiki的示例。我在这里使用示例: Coffee filesystem example

此示例在天空尘埃上效果很好。当我想在Wismote上实现时,我将目标更改为Wismote,这是makefile:

CONTIKI_PROJECT = [project_name]
all: $(CONTIKI_PROJECT)

#UIP_CONF_IPV6=1
CONTIKI_WITH_RIME = 1   CFLAGS =-DUIP_CONF_IPV6
MODULES += core/net/ipv6/multicast

ifeq ($(TARGET),avr-raven)
COFFEE_FILES = 4
endif 

CONTIKI =../../../
include $(CONTIKI)/Makefile.include

编译后,我收到此错误消息:

  

/ usr / local / msp430 / bin /../ lib / gcc / msp430 / 4.7.0 /../../../../ msp430 / bin / ld:cfstest.wismote部分{{1 }}只读存储器'   /usr/local/msp430/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld:节.vectors加载于[0000ff80,0000ffff]与加载在[0000fe82,0000ff81]的.data重叠   /usr/local/msp430/bin/../lib/gcc/msp430/4.7.0/../../../../msp430/bin/ld:区域.data' will not fit in region cfs_coffee_get_protected_mem':   /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369:对rom' overflowed by 2 bytes contiki-wismote.a(cfs-coffee.o): In function xmem_pread'的未定义引用   /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369:对xmem_pread' /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369: undefined reference to xmem_erase的未定义引用   /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369:对xmem_pwrite' /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369: undefined reference to xmem_pread'的未定义引用   /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369:对xmem_pread' /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369: undefined reference to xmem_pread'的未定义引用   /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369:对xmem_pread' /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369: undefined reference to xmem_pread'的未定义引用   /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369:对xmem_pwrite' /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369: undefined reference to xmem_pwrite'的未定义引用   /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369:对xmem_pread' /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369: undefined reference to xmem_pwrite'的未定义引用   /home/user/contiki/examples/mySim/Dscv/../../..//core/cfs/cfs-coffee.c:1369:对xmem_pwrite的未定义引用   collect2:错误:ld返回1退出状态   rm cfstest.co obj_wismote / contiki-wismote-main.o   制作:*** [cfstest.wismote]错误1   处理返回的错误代码2

我检查了core / cfs / cfs-coffee.c以查看第1369行中的代码,但是正如您在cfs-coffee.c中看到的那样,没有这样的行。 有谁有解决问题的想法?

0 个答案:

没有答案