5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-12 02:48:28 -04:00

hwdef: split SimOnHW.inc from CubeOrange-SimOnHW config

makes this easier to reuse on other boards
This commit is contained in:
Peter Barker 2022-06-15 14:11:44 +10:00 committed by Andrew Tridgell
parent 04a6a2fce7
commit 441d83f05e
2 changed files with 27 additions and 27 deletions
libraries/AP_HAL_ChibiOS/hwdef
CubeOrange-SimOnHardWare
include

View File

@ -1,32 +1,6 @@
# Firmware suitable for flashing into a CubeOrange to experience Simulation-on-Hardware # Firmware suitable for flashing into a CubeOrange to experience Simulation-on-Hardware
include ../CubeOrange/hwdef.dat include ../CubeOrange/hwdef.dat
include ../include/SimOnHW.inc
env SIM_ENABLED 1
define INS_MAX_INSTANCES 2
define HAL_COMPASS_MAX_SENSORS 2
define HAL_NAVEKF2_AVAILABLE 0
define EK3_FEATURE_BODY_ODOM 0
define EK3_FEATURE_EXTERNAL_NAV 0
define EK3_FEATURE_DRAG_FUSION 0
define HAL_ADSB_ENABLED 0
define HAL_MOUNT_ENABLED 0
define HAL_PROXIMITY_ENABLED 0
define HAL_VISUALODOM_ENABLED 0
define HAL_GENERATOR_ENABLED 0
# define HAL_LOGGING_ENABLED 0
define HAL_CRSF_TELEM_ENABLED 0
#define OSD_ENABLED 0
define AP_MOTORS_FRAME_DEFAULT_ENABLED 0
define AP_MOTORS_FRAME_QUAD_ENABLED 1
define LANDING_GEAR_ENABLED 0
define HAL_MSP_OPTICALFLOW_ENABLED 0
define HAL_SUPPORT_RCOUT_SERIAL 0
define HAL_HOTT_TELEM_ENABLED 0
# define HAL_WITH_DSP 0
AUTOBUILD_TARGETS Copter AUTOBUILD_TARGETS Copter

View File

@ -0,0 +1,26 @@
env SIM_ENABLED 1
define INS_MAX_INSTANCES 2
define HAL_COMPASS_MAX_SENSORS 2
define HAL_NAVEKF2_AVAILABLE 0
define EK3_FEATURE_BODY_ODOM 0
define EK3_FEATURE_EXTERNAL_NAV 0
define EK3_FEATURE_DRAG_FUSION 0
define HAL_ADSB_ENABLED 0
define HAL_MOUNT_ENABLED 0
define HAL_PROXIMITY_ENABLED 0
define HAL_VISUALODOM_ENABLED 0
define HAL_GENERATOR_ENABLED 0
# define HAL_LOGGING_ENABLED 0
define HAL_CRSF_TELEM_ENABLED 0
#define OSD_ENABLED 0
define AP_MOTORS_FRAME_DEFAULT_ENABLED 0
define AP_MOTORS_FRAME_QUAD_ENABLED 1
define LANDING_GEAR_ENABLED 0
define HAL_MSP_OPTICALFLOW_ENABLED 0
define HAL_SUPPORT_RCOUT_SERIAL 0
define HAL_HOTT_TELEM_ENABLED 0
# define HAL_WITH_DSP 0