contiki

contiki 3.x:关于源码Makefile架构逻辑(1)

和自甴很熟 提交于 2019-11-30 20:24:08
认识了源码结构,现在终于可以学习怎么编译了。 上一次的帖子说道,源码的目录结构,现在我们看看makefile的目录: [leonard@Archlinux contiki]$ tree -L 5 | grep Makefile │ │ └── Makefile.about │ │ ├── Makefile.antelope │ │ └── Makefile.at-master . . . │ │ ├── Makefile.webbrowser │ │ ├── Makefile.webserver │ ├── Makefile.webserver-nano │ │ │ ├── Makefile.tsch │ │ │ ├── Makefile │ │ │ ├── Makefile.c128.defines │ │ │ ├── Makefile.c64.defines │ │ │ └── Makefile.target │ │ │ ├── Makefile │ │ │ ├── Makefile.apple2enh.defines │ │ │ ├── Makefile.atarixl.defines │ │ │ ├── Makefile.c128.defines │ │ │ ├── Makefile.c64.defines │ │ │ └── Makefile.target │ │ ├──

TinyOS之EFM32移植

社会主义新天地 提交于 2019-11-30 19:02:28
最近TinyOS开源了,准备看看它的源码。暂时先把现有工程上的contiki给换了,有个直观的概念。过程主要参考 这里 。 要点一:tos_config.h 中增加stdlib,以及em_device 要点二:增加tos_clock.c,用于设置tos的时间基准,并在其中重写SysTick_Handler以及PendSV_Handler,参考github的移植文件。 来源: https://my.oschina.net/ShamerZhao/blog/3114396

Simulating different temperatures on Cooja/Contiki

耗尽温柔 提交于 2019-11-29 17:44:41
I'm having trouble reading different temperature readings on Cooja. I've done the following: Created a source file that initializes a light- and temperature-sensor. Created a simulation using a Sky mote. Ran the simulation with a network of 8 motes. Each mote reads the same temperature which is useless for what I want. I've spent the last 8 hours looking through threads, documentation (including the Contiki wiki) and haven't been able to come up with anything. If I'm misunderstanding the way Cooja/Contiki works I'd also appreciate some help with that but, bottom line, how do I simulate

When is .ARM.exidx is used

╄→гoц情女王★ 提交于 2019-11-28 13:24:11
I am working on Contiki 2.7 with the mbxxx target. While building my code the linker complained about an overlap of .ARM.exidx and .data sections . After some tinkering around with the linker script contiki-2.7/cpu/stm32w108/gnu-stm32w108.ld I fixed the problem by replacing: __exidx_start = .; __exidx_end = .; with: .ARM.exidx : { __exidx_start = .; *(.ARM.exidx* .gnu.linkonce.armexidx.*) __exidx_end = .; } >ROM_region Later when I tried to see the header listing of some other example applications by using objdump -h I did not find this particular .ARM.exidx section, while it is present in my

When is .ARM.exidx is used

故事扮演 提交于 2019-11-27 07:38:27
问题 I am working on Contiki 2.7 with the mbxxx target. While building my code the linker complained about an overlap of .ARM.exidx and .data sections . After some tinkering around with the linker script contiki-2.7/cpu/stm32w108/gnu-stm32w108.ld I fixed the problem by replacing: __exidx_start = .; __exidx_end = .; with: .ARM.exidx : { __exidx_start = .; *(.ARM.exidx* .gnu.linkonce.armexidx.*) __exidx_end = .; } >ROM_region Later when I tried to see the header listing of some other example