osd-contiki/cpu
Benoît Thébaudeau 5d98cb71e2 cc2538: Add support for Coffee
Coffee is placed by default at the beginning of the flash memory, right
before the firmware. This avoids the memory gaps that there could be
before and after Coffee if it were placed after the firmware, because it
is unlikely that the end of the firmware is aligned with a flash page
boundary, and the CCA is not flash-page-aligned. Thanks to that, Coffee
is also always in the same flash area if its size remains unchanged,
even if the firmware changes, which makes it possible to keep the Coffee
files when reprogramming the firmware after a partial flash erase
command.

The default configuration of Coffee is set to use sensible values for a
typical usage on this SoC, i.e. for sensor data logging.

The default size of Coffee is set to 0 in order not to waste flash if
Coffee is unused.

COFFEE_CONF_CUSTOM_PORT can be defined to a header file to be used with
"#include" in order to override the default CC2538 port of Coffee. This
makes it possible to use Coffee with an external memory device rather
than with the internal flash memory, without having to alter the Contiki
files.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2015-11-19 01:22:58 +01:00
..
6502 Removed CC_FASTCALL. 2015-11-01 18:10:17 +01:00
arm doxygen: Fix some warnings 2015-06-20 03:22:31 +02:00
avr Remove commented-out code 2015-10-20 10:11:47 +02:00
cc26xx-cc13xx Merge pull request #1293 from simonduq/pr/fix-warnings 2015-11-10 08:49:11 +01:00
cc253x Removed CC_FASTCALL. 2015-11-01 18:10:17 +01:00
cc2430 Removed CC_FASTCALL. 2015-11-01 18:10:17 +01:00
cc2538 cc2538: Add support for Coffee 2015-11-19 01:22:58 +01:00
mc1322x Merge pull request #685 from SmallLars/mc1322x 2015-09-13 12:35:53 -05:00
msp430 Merge pull request #1293 from simonduq/pr/fix-warnings 2015-11-10 08:49:11 +01:00
native Merge pull request #1293 from simonduq/pr/fix-warnings 2015-11-10 08:49:11 +01:00
pic32 [cpu/pic32] Removed excess end group 2014-11-10 23:53:33 +01:00
rl78 The -pedantic and -stdc flags trigger a few too many warnings 2015-10-20 10:11:35 +02:00
stm32w108 mbxxx: added missing undefs 2015-10-20 09:37:28 +02:00
x86 A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00