Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
main_bare.c File Reference

Program main function with baremetal inplementation (no RTOS) More...

#include "generated/modules.h"
#include "mcu_periph/sys_time.h"
+ Include dependency graph for main_bare.c:

Go to the source code of this file.

Macros

#define POLLING_PERIOD   (500000/PERIODIC_FREQUENCY)
 

Functions

int main (void)
 

Detailed Description

Program main function with baremetal inplementation (no RTOS)

Calls AP on single/dual MCU Limit polling when used with an OS (e.g. Linux) None on SITL

Definition in file main_bare.c.

Macro Definition Documentation

◆ POLLING_PERIOD

#define POLLING_PERIOD   (500000/PERIODIC_FREQUENCY)

Definition at line 53 of file main_bare.c.

Function Documentation

◆ main()

int main ( void  )

Definition at line 56 of file main_bare.c.

References get_sys_time_usec(), init, POLLING_PERIOD, and sys_time_usleep().

+ Here is the call graph for this function: