Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arm_hardfault.c File Reference
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>
#include <zephyr/sys/reboot.h>
#include <cmsis_core.h>
#include <zephyr/ztest.h>
#include <zephyr/tc_util.h>

Functions

void k_sys_fatal_error_handler (unsigned int reason, const struct arch_esf *pEsf)
 Fatal error policy handler.
 
void test_arm_hardfault (void)
 

Variables

static volatile int expected_reason = -1
 

Function Documentation

◆ test_arm_hardfault()

void test_arm_hardfault ( void )

Variable Documentation

◆ expected_reason

volatile int expected_reason = -1
static