reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
lf_zephyr_support.h
Go to the documentation of this file.
1
31#ifndef LF_ZEPHYR_SUPPORT_H
32#define LF_ZEPHYR_SUPPORT_H
33
34#include "lf_tag_64_32.h"
35
36#include <stdint.h> // For fixed-width integral types
37#include <stdbool.h>
38#include <stdlib.h> //malloc, calloc, free, realloc
39
40#include <zephyr/kernel.h>
41
42#define NO_CLI
43#define MINIMAL_STDLIB
44#if !defined(LF_SINGLE_THREADED)
45
46typedef struct k_mutex lf_mutex_t;
47typedef struct {
48 lf_mutex_t* mutex;
49 struct k_condvar condition;
50} lf_cond_t;
51typedef struct k_thread* lf_thread_t;
52
54
55#endif // !LF_SINGLE_THREADED
56
57#endif // LF_ZEPHYR_SUPPORT_H
void * lf_cond_t
Definition lf_arduino_support.h:119
void * lf_mutex_t
Definition lf_arduino_support.h:118
struct k_thread * lf_thread_t
Definition lf_zephyr_support.h:51
void _lf_initialize_clock_zephyr_common()