1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/cpu_cortexm_address_check
Marian Buschsieweke 12140ffb0e
examples,tests: Drop redundant dependency
When depending on one or more shell commands, the shell is pulled in
as dependency anyway.
2023-04-19 16:58:10 +02:00
..
main.c tests/cortexm_address_check: Add missing include inttypes.h 2021-03-24 12:07:15 +01:00
Makefile examples,tests: Drop redundant dependency 2023-04-19 16:58:10 +02:00
Makefile.ci
README.md

Cortex-M check for memory address validity

Introduction

Cortex-M3/M4/M7-based MCUs allow to check memory address validity by temporarily blocking BusFault handler.

Validity check can be used to determine RAM/flash/EEPROM sizes, peripherals availability, etc., to create firmware that runs effectively on different MCUs without recompiling.

NB: Cortex-M0 and Cortex-M0+ don't have BusFault events, all bus errors escalate to HardFault immediately.