5d98cb71e2
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> |
||
---|---|---|
.. | ||
apple2enh | ||
atarixl | ||
avr-atmega128rfa1 | ||
avr-raven | ||
avr-ravenlcd | ||
avr-ravenusb | ||
avr-rcb | ||
avr-zigbit | ||
c64 | ||
c128 | ||
cc2530dk | ||
cc2538dk | ||
cooja | ||
cooja-ip64 | ||
econotag | ||
ev-aducrf101mkxz | ||
eval-adf7xxxmb4z | ||
exp5438 | ||
jn516x | ||
mbxxx | ||
micaz | ||
minimal-net | ||
native | ||
remote | ||
seedeye | ||
sensinode | ||
sky | ||
srf06-cc26xx | ||
stm32test | ||
win32 | ||
wismote | ||
z1 |