hwdef: split SimOnHW.inc from CubeOrange-SimOnHW config
makes this easier to reuse on other boards
This commit is contained in:
parent
04a6a2fce7
commit
441d83f05e
@ -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
|
||||||
|
26
libraries/AP_HAL_ChibiOS/hwdef/include/SimOnHW.inc
Normal file
26
libraries/AP_HAL_ChibiOS/hwdef/include/SimOnHW.inc
Normal 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
|
Loading…
Reference in New Issue
Block a user