An example in how to partition your code in as many modules as you can fit in the configurable (in the link script) shared external RAM memory. Usually 16 MB for the Parallella board.
The files:
messaging-cells/src/tests/main.mk
messaging-cells/src/tests/nil_host/nil_host.mk
messaging-cells/src/tests/modules/modules.mk
are the ones needed to generate the files:
messaging-cells/src/tests/bin/nil-host.elf
messaging-cells/src/tests/bin/modules/modules.elf
that get called by messaging-cells/modules.sh
Just call messaging-cells/modules.sh
The output will be written to the logs in:
messaging-cells/src/tests/bin/log_*
files.
One per core.
Do not forget to read the example documentation in the Library Documentation.