Skip to content

Commit

Permalink
Examples: minor comment update in Fault example for Cortex-M7 (AVH) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloradCvjetkovic authored Jan 6, 2025
1 parent 8f18397 commit 727e107
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/Fault/FVP_MPS2_Cortex-M7/ARM_FaultTrigger.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023 Arm Limited. All rights reserved.
* Copyright (c) 2023-2025 Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -32,7 +32,7 @@ void ARM_FaultTrigger (uint32_t fault_id) {
void (*ptr_func) (void);

switch (fault_id) {
case ARM_FAULT_ID_MEM_DATA: // Trigger Non-Secure MemManage fault - data access
case ARM_FAULT_ID_MEM_DATA: // Trigger MemManage fault - data access
val = *((uint32_t *)0x20000000); // Read from address not allowed by the MPU (non-privileged access not allowed)
break;

Expand Down

0 comments on commit 727e107

Please sign in to comment.