2019-10-24 22:05:30 -03:00
|
|
|
#pragma once
|
|
|
|
|
2024-01-12 21:22:22 -04:00
|
|
|
#ifndef FORCE_VERSION_H_INCLUDE
|
|
|
|
#error version.h should never be included directly. You probably want to include AP_Common/AP_FWVersion.h
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "ap_version.h"
|
2024-02-08 03:03:20 -04:00
|
|
|
#include <AP_HAL/AP_HAL.h>
|
2022-07-08 09:30:20 -03:00
|
|
|
|
2024-02-25 16:53:39 -04:00
|
|
|
#define THISFIRMWARE "AP_Periph V1.8.0-dev"
|
2019-10-24 22:05:30 -03:00
|
|
|
|
2024-01-12 21:22:22 -04:00
|
|
|
// defines needed due to lack of GCS includes
|
2024-02-08 03:03:20 -04:00
|
|
|
#ifndef HAVE_ENUM_FIRMWARE_VERSION_TYPE
|
2024-01-12 21:22:22 -04:00
|
|
|
#define FIRMWARE_VERSION_TYPE_DEV 0
|
|
|
|
#define FIRMWARE_VERSION_TYPE_BETA 255
|
|
|
|
#define FIRMWARE_VERSION_TYPE_OFFICIAL 255
|
2024-02-08 03:03:20 -04:00
|
|
|
#endif
|
2024-01-12 21:22:22 -04:00
|
|
|
|
2019-10-24 22:05:30 -03:00
|
|
|
// the following line is parsed by the autotest scripts
|
2024-02-25 16:53:39 -04:00
|
|
|
#define FIRMWARE_VERSION 1,8,0,FIRMWARE_VERSION_TYPE_DEV
|
2019-10-24 22:05:30 -03:00
|
|
|
|
|
|
|
#define FW_MAJOR 1
|
2024-02-25 16:53:39 -04:00
|
|
|
#define FW_MINOR 8
|
2019-10-24 22:05:30 -03:00
|
|
|
#define FW_PATCH 0
|
2023-09-07 17:57:13 -03:00
|
|
|
#define FW_TYPE FIRMWARE_VERSION_TYPE_DEV
|
|
|
|
|
2024-01-12 21:22:22 -04:00
|
|
|
#include <AP_Common/AP_FWVersionDefine.h>
|
2024-02-08 03:03:20 -04:00
|
|
|
#include <AP_CheckFirmware/AP_CheckFirmwareDefine.h>
|