APM:Libraries
Macros
sitl.h File Reference

Go to the source code of this file.

Macros

#define HAL_BOARD_NAME   "SITL"
 
#define HAL_CPU_CLASS   HAL_CPU_CLASS_1000
 
#define HAL_OS_POSIX_IO   1
 
#define HAL_OS_SOCKETS   1
 
#define HAL_STORAGE_SIZE   16384
 
#define HAL_STORAGE_SIZE_AVAILABLE   HAL_STORAGE_SIZE
 
#define HAL_BOARD_LOG_DIRECTORY   "logs"
 
#define HAL_BOARD_TERRAIN_DIRECTORY   "terrain"
 
#define HAL_PARAM_DEFAULTS_PATH   nullptr
 
#define HAL_INS_DEFAULT   HAL_INS_HIL
 
#define HAL_BARO_DEFAULT   HAL_BARO_HIL
 
#define HAL_COMPASS_DEFAULT   HAL_COMPASS_HIL
 
#define HAL_GPIO_A_LED_PIN   61
 
#define HAL_GPIO_B_LED_PIN   48
 
#define HAL_GPIO_C_LED_PIN   117
 
#define HAL_GPIO_LED_ON   0
 
#define HAL_GPIO_LED_OFF   1
 
#define HAL_HAVE_BOARD_VOLTAGE   1
 
#define HAL_HAVE_SAFETY_SWITCH   1
 

Macro Definition Documentation

◆ HAL_BARO_DEFAULT

#define HAL_BARO_DEFAULT   HAL_BARO_HIL

Definition at line 13 of file sitl.h.

◆ HAL_BOARD_LOG_DIRECTORY

#define HAL_BOARD_LOG_DIRECTORY   "logs"

Definition at line 9 of file sitl.h.

◆ HAL_BOARD_NAME

#define HAL_BOARD_NAME   "SITL"

Definition at line 3 of file sitl.h.

◆ HAL_BOARD_TERRAIN_DIRECTORY

#define HAL_BOARD_TERRAIN_DIRECTORY   "terrain"

Definition at line 10 of file sitl.h.

◆ HAL_COMPASS_DEFAULT

#define HAL_COMPASS_DEFAULT   HAL_COMPASS_HIL

Definition at line 14 of file sitl.h.

◆ HAL_CPU_CLASS

#define HAL_CPU_CLASS   HAL_CPU_CLASS_1000

Definition at line 4 of file sitl.h.

◆ HAL_GPIO_A_LED_PIN

#define HAL_GPIO_A_LED_PIN   61

Definition at line 15 of file sitl.h.

◆ HAL_GPIO_B_LED_PIN

#define HAL_GPIO_B_LED_PIN   48

Definition at line 16 of file sitl.h.

◆ HAL_GPIO_C_LED_PIN

#define HAL_GPIO_C_LED_PIN   117

Definition at line 17 of file sitl.h.

◆ HAL_GPIO_LED_OFF

#define HAL_GPIO_LED_OFF   1

Definition at line 19 of file sitl.h.

◆ HAL_GPIO_LED_ON

#define HAL_GPIO_LED_ON   0

Definition at line 18 of file sitl.h.

◆ HAL_HAVE_BOARD_VOLTAGE

#define HAL_HAVE_BOARD_VOLTAGE   1

Definition at line 21 of file sitl.h.

◆ HAL_HAVE_SAFETY_SWITCH

#define HAL_HAVE_SAFETY_SWITCH   1

Definition at line 22 of file sitl.h.

◆ HAL_INS_DEFAULT

#define HAL_INS_DEFAULT   HAL_INS_HIL

Definition at line 12 of file sitl.h.

◆ HAL_OS_POSIX_IO

#define HAL_OS_POSIX_IO   1

Definition at line 5 of file sitl.h.

◆ HAL_OS_SOCKETS

#define HAL_OS_SOCKETS   1

Definition at line 6 of file sitl.h.

◆ HAL_PARAM_DEFAULTS_PATH

#define HAL_PARAM_DEFAULTS_PATH   nullptr

Definition at line 11 of file sitl.h.

◆ HAL_STORAGE_SIZE

#define HAL_STORAGE_SIZE   16384

Definition at line 7 of file sitl.h.

◆ HAL_STORAGE_SIZE_AVAILABLE

#define HAL_STORAGE_SIZE_AVAILABLE   HAL_STORAGE_SIZE

Definition at line 8 of file sitl.h.