Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
main_chibios.c File Reference
#include "mcu_periph/sys_time.h"
#include "mcu.h"
#include <ch.h>
#include "firmwares/rotorcraft/main_ap.h"
+ Include dependency graph for main_chibios.c:

Go to the source code of this file.

Macros

#define THD_WORKING_AREA_MAIN   8192
 

Functions

static void thd_ap (void *arg)
 
 THD_WORKING_AREA (wa_thd_ap, THD_WORKING_AREA_MAIN)
 
int main (void)
 Main function. More...
 
void pprz_terminate_autopilot_threads (void)
 Terminate all autopilot threads Wait until proper stop. More...
 

Variables

static thread_t * apThdPtr = NULL
 

Macro Definition Documentation

#define THD_WORKING_AREA_MAIN   8192

Definition at line 41 of file main_chibios.c.

Function Documentation

int main ( void  )

Main function.

Definition at line 55 of file main_chibios.c.

References apThdPtr, main_init(), thd_ap(), and TRUE.

+ Here is the call graph for this function:

void pprz_terminate_autopilot_threads ( void  )

Terminate all autopilot threads Wait until proper stop.

Definition at line 95 of file main_chibios.c.

References apThdPtr.

static void thd_ap ( void *  arg)
static

Definition at line 77 of file main_chibios.c.

References handle_periodic_tasks(), and main_event().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

THD_WORKING_AREA ( wa_thd_ap  ,
THD_WORKING_AREA_MAIN   
)

Variable Documentation

thread_t* apThdPtr = NULL
static

Definition at line 50 of file main_chibios.c.

Referenced by main(), and pprz_terminate_autopilot_threads().