mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 03:05:14 +00:00
a2686e581e
Create a dedicated header file with all the definitions for the flash lock bit page and customer configuration area. This avoids duplicating those definitions in the startup-gcc.c files of all CC2538-based platforms, and this also allows to easily manipulate the CCA from outside startup-gcc.c (e.g. for on-the-air firmware update). The definitions are now complete contrary to what was in startup-gcc.c: - Definitions have been added to select the bootloader backdoor pin and active level if enabled. - Definitions have been added to access the page and debug lock bits. The debug lock bit can be used to prevent someone from reading back a programmed firmware through JTAG if the firmware binary image has to be confidential, which should be combined with a disabled bootloader backdoor. - The application entry point is now tied to the beginning of the .text section instead of to the beginning of the flash. This allows projects using custom linker scripts to place the application entry point anywhere in the flash, which can be useful e.g. for on-the-air firmware update. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> |
||
---|---|---|
.. | ||
ana-regs.h | ||
cc2538-rf.c | ||
cc2538-rf.h | ||
flash-cca.h | ||
gpio.c | ||
gpio.h | ||
gptimer.h | ||
ioc.c | ||
ioc.h | ||
mpu.h | ||
nvic.c | ||
nvic.h | ||
random.c | ||
rfcore-ffsm.h | ||
rfcore-sfr.h | ||
rfcore-xreg.h | ||
rfcore.h | ||
rom-util.h | ||
scb.h | ||
smwdthrosc.h | ||
soc-adc.h | ||
spi.c | ||
ssi.h | ||
sys-ctrl.c | ||
sys-ctrl.h | ||
systick.h | ||
uart1.h | ||
uart.c | ||
uart.h | ||
udma.c | ||
udma.h | ||
usb-regs.h | ||
watchdog.c |