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
2021-03-24 12:07:15 +01:00
..
main.c tests/cortexm_address_check: Add missing include inttypes.h 2021-03-24 12:07:15 +01:00
Makefile cpu/cortexm_common: function to check address validity 2019-05-13 09:35:34 +02:00
Makefile.ci tests: skip nucleo-l011k4 where it doesn't fit 2020-10-15 18:52:51 +02:00
README.md cpu/cortexm_common: function to check address validity 2019-05-13 09:35:34 +02:00

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.