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
|
|
|
|
|
2019-02-14 08:13:01 -04:00
|
|
|
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%"
|
2018-08-09 03:25:44 -03:00
|
|
|
|
|
|
|
# remap PB0/1 as ADC's
|
|
|
|
undef PB0
|
|
|
|
undef PB1
|
|
|
|
PB0 PB0_ADC ADC1 SCALE(1)
|
|
|
|
PB1 PB1_ADC ADC1 SCALE(1)
|