ardupilot/libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/hwdef.dat

21 lines
492 B
Plaintext
Raw Normal View History

2018-06-05 23:23:46 -03:00
# 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
2018-06-05 23:23:46 -03:00
# USB setup
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
2018-07-04 08:18:23 -03:00
USB_PRODUCT 0x1011
2018-06-05 23:23:46 -03:00
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)