CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/AP_Periph/version.h
Views: 1798
1
#pragma once
2
3
#ifndef FORCE_VERSION_H_INCLUDE
4
#error version.h should never be included directly. You probably want to include AP_Common/AP_FWVersion.h
5
#endif
6
7
#include "ap_version.h"
8
#include <AP_HAL/AP_HAL.h>
9
10
#define THISFIRMWARE "AP_Periph V1.8.0-dev"
11
12
// defines needed due to lack of GCS includes
13
#ifndef HAVE_ENUM_FIRMWARE_VERSION_TYPE
14
#define FIRMWARE_VERSION_TYPE_DEV 0
15
#define FIRMWARE_VERSION_TYPE_BETA 255
16
#define FIRMWARE_VERSION_TYPE_OFFICIAL 255
17
#endif
18
19
// the following line is parsed by the autotest scripts
20
#define FIRMWARE_VERSION 1,8,0,FIRMWARE_VERSION_TYPE_DEV
21
22
#define FW_MAJOR 1
23
#define FW_MINOR 8
24
#define FW_PATCH 0
25
#define FW_TYPE FIRMWARE_VERSION_TYPE_DEV
26
27
#include <AP_Common/AP_FWVersionDefine.h>
28
#include <AP_CheckFirmware/AP_CheckFirmwareDefine.h>
29
30