zephyr/drivers/bbram
Patryk Duda f7fca220ba drivers: bbram: Introduce BBRAM shell
Add 'bbram' command which is very convenient tool for examining and
modyfying BBRAM content.

Examples:

Write one byte:
$ bbram write backup_regs 0x1 0xaa

Write many bytes (starting from 0x13):
$ bbram write backup_regs 0x13 0xa 0xb 0xc 0xd 0xe 0xf 0xaa 0xab 0xac

Read whole BBRAM:
$ bbram read backup_regs

Read many bytes (4 bytes starting from address 0x14 in this case):
$ bbram read backup_regs 0x14 4

Read one byte (from 0x14 address):
$ bbram read backup_regs 0x14

Signed-off-by: Patryk Duda <pdk@semihalf.com>
2022-12-08 16:47:09 +09:00
..
CMakeLists.txt drivers: bbram: Introduce BBRAM shell 2022-12-08 16:47:09 +09:00
Kconfig drivers: bbram: Introduce BBRAM shell 2022-12-08 16:47:09 +09:00
Kconfig.bbram_emul
Kconfig.it8xxx2
Kconfig.npcx
Kconfig.stm32 drivers: bbram: Introduce STM32 BBRAM driver 2022-12-08 16:47:09 +09:00
Kconfig.xec
bbram_emul.c
bbram_it8xxx2.c include: fix includes for IT8xxx2 SoC 2022-10-12 16:10:05 -04:00
bbram_npcx.c
bbram_shell.c drivers: bbram: Introduce BBRAM shell 2022-12-08 16:47:09 +09:00
bbram_stm32.c drivers: bbram: Introduce STM32 BBRAM driver 2022-12-08 16:47:09 +09:00
bbram_xec.c