mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
Add watchdog flag for simulated sensor task
This commit is contained in:
parent
ae2f1e95f6
commit
dd5a71c48d
@ -42,5 +42,6 @@ void PIOS_WDG_Clear(void);
|
||||
#define PIOS_WDG_STABILIZATION 0x0002
|
||||
#define PIOS_WDG_ATTITUDE 0x0004
|
||||
#define PIOS_WDG_MANUAL 0x0008
|
||||
#define PIOS_WDG_SENSORS 0x0010
|
||||
|
||||
#endif
|
||||
|
@ -54,7 +54,7 @@
|
||||
#include "pios_initcall.h"
|
||||
|
||||
/* PIOS Board Specific Device Configuration */
|
||||
#include "pios_board_posix.h"
|
||||
#include "pios_board_sim.h"
|
||||
|
||||
/* PIOS Hardware Includes (posix) */
|
||||
#include <pios_sys.h>
|
||||
|
@ -59,6 +59,10 @@ MODULES += Attitude/Revolution
|
||||
|
||||
MOD_GEN = Telemetry Actuator ManualControl Stabilization Attitude
|
||||
|
||||
# To run simulation instead of connect to SITL
|
||||
MODULES += Sensors/Simulated
|
||||
MOD_GEN += Sensors
|
||||
|
||||
# MCU name, submodel and board
|
||||
# - MCU used for compiler-option (-mtune)
|
||||
# - MODEL used for linker-script name (-T) and passed as define
|
||||
@ -134,7 +138,7 @@ SRC += ${OUTDIR}/InitMods.c
|
||||
## OPENPILOT CORE:
|
||||
SRC += ${OPMODULEDIR}/System/systemmod.c
|
||||
SRC += $(OPSYSTEM)/revolution.c
|
||||
SRC += $(OPSYSTEM)/pios_board_posix.c
|
||||
SRC += $(OPSYSTEM)/pios_board_sim.c
|
||||
SRC += $(OPSYSTEM)/alarms.c
|
||||
SRC += $(OPUAVTALK)/uavtalk.c
|
||||
SRC += $(OPUAVOBJ)/uavobjectmanager.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user