Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
threads_arch.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2025 The Paparazzi Team
3
*
4
* This file is part of paparazzi.
5
*
6
* Paparazzi is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* See LICENSE file for the full license version, or see http://www.gnu.org/licenses/
12
*/
13
14
#pragma once
15
16
#define PPRZ_NORMAL_PRIO NORMALPRIO
17
18
#define THREADS_ATTRIBUTES __attribute__((error("Threads cannot be used in STM32 bare metal ARCH.")))
19
20
struct
pprzMutex
{
21
int
dummy
;
// avoid warning: empty declaration
22
};
23
24
struct
pprzBSem
{
25
volatile
int
value
;
26
};
27
28
29
typedef
int
pprz_thread_t
;
pprz_thread_t
thread_t * pprz_thread_t
Definition
threads_arch.h:31
pprzMutex::dummy
int dummy
Definition
threads_arch.h:21
pprzBSem::value
volatile int value
Definition
threads_arch.h:25
pprzBSem
Definition
threads_arch.h:26
pprzMutex
Definition
threads_arch.h:22
sw
airborne
arch
stm32
modules
core
threads_arch.h
Generated on Sun Aug 31 2025 11:28:31 for Paparazzi UAS by
1.9.8