1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/lpc2387/include
Benjamin Valentin 32bbba2fc5 cpu/lpc2387: add support for backup RAM
lpc23xx has 2k of battery RAM that is retained in Deep Power Down mode.

To not overwrite that data it must only be initialized on Power On Reset.
However, RSIR looks the same when waking up from Deep Power Down as it does
on the power-on case.

So use 4 bytes of the backup RAM to keep a signature that is only valid if
memory was retained (no power-on Reset).

A small change to the linker script is required so two sections can be
placed into flash.
2019-11-28 11:33:03 +01:00
..
vendor cpu/lpc2387: add definition of RSIR bits 2019-11-28 11:30:38 +01:00
cpu_conf.h cpu/arm7_common: hook up puf_sram 2019-11-25 02:04:34 +01:00
cpu.h cpu/lpc2387: add support for backup RAM 2019-11-28 11:33:03 +01:00
lpc2387.h cpu/lpc2387: fix indent 2019-11-07 21:55:24 +01:00
periph_cpu.h cpu/lpc2387: implement periph/dac 2019-11-26 01:49:45 +01:00