CubeOrangePlus-SimOnHardWare: add support

This commit is contained in:
Michael Oborne 2023-03-15 19:59:44 +11:00 committed by Tom Pittenger
parent ed7a622928
commit 76beaeab64
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# setup correct defaults for battery monitoring for cube power brick
BATT2_CURR_PIN 4
BATT2_VOLT_PIN 13
BATT_AMP_PERVLT 39.877
BATT_VOLT_MULT 12.02
BATT2_AMP_PERVLT 39.877
BATT2_VOLT_MULT 12.02
# setup ADSB
ADSB_TYPE 1
SERIAL5_BAUD 57
SERIAL5_PROTOCOL 1

View File

@ -0,0 +1,9 @@
# Firmware suitable for flashing into a CubeOrangePlus to experience Simulation-on-Hardware
include ../CubeOrangePlus/hwdef.dat
include ../include/SimOnHW.inc
# short board name override (23 chars)
define CHIBIOS_SHORT_BOARD_NAME "CubeOrange+SimOnHW"
AUTOBUILD_TARGETS Copter