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

Macros

#define FPSCR_MASK   (0xffffffffU)
 

Functions

 K_THREAD_STACK_DECLARE (z_main_stack, CONFIG_MAIN_STACK_SIZE)
 
void arm_isr_handler (const void *args)
 
void k_sys_fatal_error_handler (unsigned int reason, const struct arch_esf *pEsf)
 Fatal error policy handler.
 
void test_main (void)
 

Variables

static volatile int test_flag
 
static unsigned int expected_reason
 

Macro Definition Documentation

◆ FPSCR_MASK

#define FPSCR_MASK   (0xffffffffU)

Function Documentation

◆ arm_isr_handler()

void arm_isr_handler ( const void * args)

◆ K_THREAD_STACK_DECLARE()

K_THREAD_STACK_DECLARE ( z_main_stack ,
CONFIG_MAIN_STACK_SIZE  )

◆ test_main()

void test_main ( void )

Variable Documentation

◆ expected_reason

unsigned int expected_reason
static

◆ test_flag

volatile int test_flag
static