2019-09-10 05:40:32 -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
|
|
|
|
|
2019-09-10 06:00:47 -03:00
|
|
|
# board ID for firmware load
|
|
|
|
APJ_BOARD_ID 1003
|
|
|
|
|
2019-09-10 05:40:32 -03:00
|
|
|
# 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
|