1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/cpu_cortexm_address_check/README.md

12 lines
454 B
Markdown
Raw Normal View History

# 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.