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-bl.dat
|
|
|
|
|
|
|
|
# USB setup
|
|
|
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
|
|
|
USB_PRODUCT 0x1001
|
|
|
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
|
|
|
USB_STRING_PRODUCT "CubeBlack-BL"
|
|
|
|
USB_STRING_SERIAL "%SERIAL%"
|
2019-06-08 19:42:18 -03:00
|
|
|
|
|
|
|
# disable peripheral and sensor power in the bootloader
|
|
|
|
PA8 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
|
|
|
PE3 VDD_3V3_SENSORS_EN OUTPUT LOW
|