ardupilot/libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/hwdef.dat
2019-02-26 16:18:26 +11:00

21 lines
492 B
Plaintext

# 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.dat
env OPTIMIZE -O3
# USB setup
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
USB_PRODUCT 0x1011
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
USB_STRING_PRODUCT "CubeBlack"
USB_STRING_SERIAL "%SERIAL%"
# remap PB0/1 as ADC's
undef PB0
undef PB1
PB0 PB0_ADC ADC1 SCALE(1)
PB1 PB1_ADC ADC1 SCALE(1)