[riot-devel] 6lowpan Host with SLAAC, minimum ram footprint

Cenk Gündoğan list-riot at cgundogan.de
Thu Nov 30 22:19:43 CET 2017

Hey Josua!

If you're not using RPL, then you should disable it in the Makefile.
`gnrc_networking` is shipping with RPL enabled. It's sufficient to
remove the `USEMODULE += gnrc_rpl` line in the Makefile.

You can also get some inspiration from the Makefile of the `gnrc_minimal`
example. Especially from the `CFLAGS` line there.


On 17-11-30 15:17:59, Arndt, Josua wrote:
> Hello all,
> I have ported Riot OS to the atmega256rfr2 and the gnrc_network example works as expected.
> My setup is following:
> RPI Border Router with an openlabs at86rf233 transceiver and radvd.
> Jiminy Host with gnrc_network.
> Ping6 with link local from Host to BR and from BR to host works.
> Also ping with global Ip works.
> Sending UDP Packets works.
> Now I want to reduce the RAM  footprint to a minimum would need some advice how to proceed.
> And another question would be: is it possible to run all necessary modules/layers needed for slaac with only 16Kbytes sram?
> And how would you proceed/optimize the gnrc_network example to achieve this.
> This question arises as I have ported riot os to an at x mega256 and would like to run it as host, but the sram is only 16kbytes and so
> The gnrc_network example is way too large. Removing shell commands helps but is not enough.
> Following the memory usage of the full gnrc_network example.
> ----------------
> Device: atmega256rfr2
> Program:  114428 bytes (43.7% Full)
> (.text + .data + .bootloader)
> Data:      29195 bytes (89.1% Full)
> (.data + .bss + .noinit)
> ----------------
> Thank you in advance for any advice our suggestion.
> Josua Arndt

> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

Cenk Gündoğan

Hamburg University of Applied Sciences
Dept. of Computer Science / Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49 40 42875 - 8426
Mail: cenk.guendogan at haw-hamburg.de
Web: https://www.inet.haw-hamburg.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20171130/0b9f59c2/attachment-0001.sig>

More information about the devel mailing list