Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
main.c File Reference
#include <zephyr/ztest.h>

Macros

#define STACK_SIZE   1024
 
#define NUM_THREADS   (CONFIG_MP_MAX_NUM_CPUS * 2)
 

Functions

 K_THREAD_STACK_ARRAY_DEFINE (thread_stack,(CONFIG_MP_MAX_NUM_CPUS *2), 1024)
 
static void thread_entry (void *p1, void *p2, void *p3)
 
void test_register_sanity (void)
 
 ZTEST_SUITE (hifi, NULL, NULL, NULL, NULL, NULL)
 

Variables

struct k_thread thread [(CONFIG_MP_MAX_NUM_CPUS *2)]
 

Macro Definition Documentation

◆ NUM_THREADS

#define NUM_THREADS   (CONFIG_MP_MAX_NUM_CPUS * 2)

◆ STACK_SIZE

#define STACK_SIZE   1024

Function Documentation

◆ K_THREAD_STACK_ARRAY_DEFINE()

K_THREAD_STACK_ARRAY_DEFINE ( thread_stack ,
(CONFIG_MP_MAX_NUM_CPUS *2) ,
1024  )

◆ test_register_sanity()

void test_register_sanity ( void )

◆ thread_entry()

static void thread_entry ( void * p1,
void * p2,
void * p3 )
static

◆ ZTEST_SUITE()

ZTEST_SUITE ( hifi ,
NULL ,
NULL ,
NULL ,
NULL ,
NULL  )

Variable Documentation

◆ thread

struct k_thread thread[(CONFIG_MP_MAX_NUM_CPUS *2)]