Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
main.c File Reference
#include <zephyr.h>
#include <tc_util.h>
#include <ztest.h>
#include <kernel.h>

Macros

#define CPU1_STACK_SIZE   1024
 

Functions

 K_THREAD_STACK_DEFINE (cpu1_stack, 1024)
 
FUNC_NORETURN void cpu1_fn (void *arg)
 
void test_mp_start (void)
 Test to verify CPU start. More...
 
void test_main (void)
 

Variables

int cpu_arg
 
volatile int cpu_running
 

Macro Definition Documentation

◆ CPU1_STACK_SIZE

#define CPU1_STACK_SIZE   1024

Function Documentation

◆ cpu1_fn()

FUNC_NORETURN void cpu1_fn ( void arg)

◆ K_THREAD_STACK_DEFINE()

K_THREAD_STACK_DEFINE ( cpu1_stack  ,
1024   
)

◆ test_main()

void test_main ( void  )

test case main entry

Variable Documentation

◆ cpu_arg

int cpu_arg

◆ cpu_running

volatile int cpu_running