mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
doc: Document the MPU pseudomodules
This commit is contained in:
parent
68d0c291a9
commit
bb8402fc0b
@ -158,10 +158,7 @@ void reset_handler_default(void)
|
||||
#endif /* CPU_HAS_BACKUP_RAM */
|
||||
|
||||
#ifdef MODULE_MPU_NOEXEC_RAM
|
||||
/* Mark the RAM non executable. This is a protection mechanism which
|
||||
* makes exploitation of buffer overflows significantly harder.
|
||||
*
|
||||
* This marks the memory region from 0x20000000 to 0x3FFFFFFF as non
|
||||
/* This marks the memory region from 0x20000000 to 0x3FFFFFFF as non
|
||||
* executable. This is the Cortex-M SRAM region used for on-chip RAM.
|
||||
*/
|
||||
mpu_configure(
|
||||
|
@ -105,8 +105,21 @@ PSEUDOMODULES += log
|
||||
PSEUDOMODULES += log_printfnoformat
|
||||
PSEUDOMODULES += log_color
|
||||
PSEUDOMODULES += lora
|
||||
|
||||
## @defgroup pseudomodule_mpu_stack_guard mpu_stack_guard
|
||||
## @brief MPU based stack guard
|
||||
##
|
||||
## When this module is active (which it is by default on supported MCUs),
|
||||
## the Memory Protection Unit will be configured to detect stack overflows.
|
||||
PSEUDOMODULES += mpu_stack_guard
|
||||
|
||||
## @defgroup pseudomodule_mpu_noexec_ram mpu_noexec_ram
|
||||
## @brief Mark RAM as non-executable using the MPU
|
||||
##
|
||||
## Mark the RAM non executable.
|
||||
## This is a protection mechanism which makes exploitation of buffer overflows significantly harder.
|
||||
PSEUDOMODULES += mpu_noexec_ram
|
||||
|
||||
PSEUDOMODULES += mtd_write_page
|
||||
PSEUDOMODULES += nanocoap_%
|
||||
PSEUDOMODULES += netdev_default
|
||||
|
Loading…
Reference in New Issue
Block a user