HAL_ChibiOS: hwdef: add hwdef for CubeBlack+
This commit is contained in:
parent
ee6f912217
commit
e82da992c9
7
libraries/AP_HAL_ChibiOS/hwdef/CubeBlack+/defaults.parm
Normal file
7
libraries/AP_HAL_ChibiOS/hwdef/CubeBlack+/defaults.parm
Normal file
@ -0,0 +1,7 @@
|
||||
# setup correct defaults for battery monitoring for cube power brick
|
||||
BATT2_CURR_PIN 14
|
||||
BATT2_VOLT_PIN 13
|
||||
BATT_AMP_PERVLT 39.877
|
||||
BATT_VOLT_MULT 12.02
|
||||
BATT2_AMP_PERVLT 39.877
|
||||
BATT2_VOLT_MULT 12.02
|
16
libraries/AP_HAL_ChibiOS/hwdef/CubeBlack+/hwdef-bl.dat
Normal file
16
libraries/AP_HAL_ChibiOS/hwdef/CubeBlack+/hwdef-bl.dat
Normal file
@ -0,0 +1,16 @@
|
||||
# hw definition file for processing by chibios_hwdef.py
|
||||
# for The CUBE Black and the Cube Purple hardware
|
||||
# this is based on fmuv3, but with vendor specific USB IDs
|
||||
|
||||
include ../fmuv3/hwdef-bl.dat
|
||||
|
||||
# USB setup
|
||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||
USB_PRODUCT 0x1101
|
||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||
USB_STRING_PRODUCT "CubeBlack+-BL"
|
||||
USB_STRING_SERIAL "%SERIAL%"
|
||||
|
||||
# disable peripheral and sensor power in the bootloader
|
||||
PA8 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
||||
PE3 VDD_3V3_SENSORS_EN OUTPUT LOW
|
8
libraries/AP_HAL_ChibiOS/hwdef/CubeBlack+/hwdef.dat
Normal file
8
libraries/AP_HAL_ChibiOS/hwdef/CubeBlack+/hwdef.dat
Normal file
@ -0,0 +1,8 @@
|
||||
# hw definition file for processing by chibios_hwdef.py
|
||||
# for The CUBE Black and the Cube Purple hardware
|
||||
# this is based on fmuv3, but with vendor specific USB IDs
|
||||
|
||||
include ../CubeBlack/hwdef.dat
|
||||
|
||||
undef ROMFS
|
||||
ROMFS io_firmware.bin Tools/IO_Firmware/iofirmware_highpolh.bin
|
Loading…
Reference in New Issue
Block a user