mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: removed unnecessary USB product IDs from boards
This commit is contained in:
parent
de3a3f7edf
commit
91dce554d1
|
@ -11,8 +11,6 @@ APJ_BOARD_ID 1003
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1101
|
USB_PRODUCT 0x1101
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubeBlack+-BL"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# disable peripheral and sensor power in the bootloader
|
# disable peripheral and sensor power in the bootloader
|
||||||
PA8 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
PA8 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
||||||
|
|
|
@ -11,8 +11,6 @@ APJ_BOARD_ID 1003
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1101
|
USB_PRODUCT 0x1101
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubeBlack+"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
undef IMU
|
undef IMU
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,6 @@ include ../fmuv3/hwdef-bl.dat
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1001
|
USB_PRODUCT 0x1001
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubeBlack-BL"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# disable peripheral and sensor power in the bootloader
|
# disable peripheral and sensor power in the bootloader
|
||||||
PA8 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
PA8 nVDD_5V_PERIPH_EN OUTPUT HIGH
|
||||||
|
|
|
@ -12,8 +12,6 @@ env OPTIMIZE -O2
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1011
|
USB_PRODUCT 0x1011
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubeBlack"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# remap PB0/1 as ADC's
|
# remap PB0/1 as ADC's
|
||||||
undef PB0
|
undef PB0
|
||||||
|
|
|
@ -8,8 +8,6 @@ MCU STM32H7xx STM32H743xx
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1016
|
USB_PRODUCT 0x1016
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubeOrange-BL"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 24000000
|
OSCILLATOR_HZ 24000000
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1016
|
USB_PRODUCT 0x1016
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubeOrange"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# MCU class and specific type
|
# MCU class and specific type
|
||||||
MCU STM32H7xx STM32H743xx
|
MCU STM32H7xx STM32H743xx
|
||||||
|
|
|
@ -8,8 +8,6 @@ include ../fmuv3/hwdef-bl.dat
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1005
|
USB_PRODUCT 0x1005
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubePurple-BL"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
PA0 GPS_PIN1 OUTPUT LOW PULLDOWN
|
PA0 GPS_PIN1 OUTPUT LOW PULLDOWN
|
||||||
PA1 GPS_PIN2 OUTPUT LOW PULLDOWN
|
PA1 GPS_PIN2 OUTPUT LOW PULLDOWN
|
||||||
|
|
|
@ -8,8 +8,6 @@ include ../fmuv3/hwdef.dat
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1015
|
USB_PRODUCT 0x1015
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubePurple"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# remap PB0/1 as ADC's
|
# remap PB0/1 as ADC's
|
||||||
undef PB0
|
undef PB0
|
||||||
|
|
|
@ -16,8 +16,6 @@ FLASH_SIZE_KB 2048
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY ProfiCNC / HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY ProfiCNC / HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1002
|
USB_PRODUCT 0x1002
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubeYellow-BL"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# order of UARTs (and USB)
|
# order of UARTs (and USB)
|
||||||
SERIAL_ORDER OTG1 USART2 USART3 UART7
|
SERIAL_ORDER OTG1 USART2 USART3 UART7
|
||||||
|
|
|
@ -72,8 +72,6 @@ FLASH_SIZE_KB 2048
|
||||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY ProfiCNC / HEX! NOBODY ELSE
|
USB_VENDOR 0x2DAE # ONLY FOR USE BY ProfiCNC / HEX! NOBODY ELSE
|
||||||
USB_PRODUCT 0x1012
|
USB_PRODUCT 0x1012
|
||||||
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
USB_STRING_MANUFACTURER "Hex/ProfiCNC"
|
||||||
USB_STRING_PRODUCT "CubeYellow"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# now define the order that I2C buses are presented in the hal.i2c API
|
# now define the order that I2C buses are presented in the hal.i2c API
|
||||||
# in ArduPilot. For historical reasons inherited from HAL_PX4 the
|
# in ArduPilot. For historical reasons inherited from HAL_PX4 the
|
||||||
|
|
|
@ -11,8 +11,6 @@ OSCILLATOR_HZ 16000000
|
||||||
USB_VENDOR 0x3162 # ONLY FOR USE BY Holybro
|
USB_VENDOR 0x3162 # ONLY FOR USE BY Holybro
|
||||||
USB_PRODUCT 0x004B
|
USB_PRODUCT 0x004B
|
||||||
USB_STRING_MANUFACTURER "Holybro"
|
USB_STRING_MANUFACTURER "Holybro"
|
||||||
USB_STRING_PRODUCT "Durandal-BL"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 139
|
APJ_BOARD_ID 139
|
||||||
|
|
|
@ -10,8 +10,6 @@ OSCILLATOR_HZ 16000000
|
||||||
USB_VENDOR 0x3162 # ONLY FOR USE BY Holybro
|
USB_VENDOR 0x3162 # ONLY FOR USE BY Holybro
|
||||||
USB_PRODUCT 0x004B
|
USB_PRODUCT 0x004B
|
||||||
USB_STRING_MANUFACTURER "Holybro"
|
USB_STRING_MANUFACTURER "Holybro"
|
||||||
USB_STRING_PRODUCT "Durandal"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 139
|
APJ_BOARD_ID 139
|
||||||
|
|
|
@ -11,8 +11,6 @@ APJ_BOARD_ID 20
|
||||||
USB_VENDOR 0x27AC # Swift-Flyer
|
USB_VENDOR 0x27AC # Swift-Flyer
|
||||||
USB_PRODUCT 0x0201 # fmu usb driver
|
USB_PRODUCT 0x0201 # fmu usb driver
|
||||||
USB_STRING_MANUFACTURER "Swift-Flyer"
|
USB_STRING_MANUFACTURER "Swift-Flyer"
|
||||||
USB_STRING_PRODUCT "%BOARD%"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@ FLASH_SIZE_KB 1024
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1151
|
USB_PRODUCT 0x1151
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# don't allow bootloader to use more than 16k
|
# don't allow bootloader to use more than 16k
|
||||||
FLASH_USE_MAX_KB 16
|
FLASH_USE_MAX_KB 16
|
||||||
|
|
|
@ -20,7 +20,6 @@ FLASH_SIZE_KB 1024
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1151
|
USB_PRODUCT 0x1151
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# ChibiOS system timer
|
# ChibiOS system timer
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
|
@ -19,7 +19,6 @@ FLASH_SIZE_KB 1024
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1152
|
USB_PRODUCT 0x1152
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# don't allow bootloader to use more than 16k
|
# don't allow bootloader to use more than 16k
|
||||||
FLASH_USE_MAX_KB 16
|
FLASH_USE_MAX_KB 16
|
||||||
|
|
|
@ -20,7 +20,6 @@ FLASH_SIZE_KB 1024
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1152
|
USB_PRODUCT 0x1152
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# ChibiOS system timer
|
# ChibiOS system timer
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
|
@ -20,7 +20,6 @@ FLASH_SIZE_KB 2048
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1154
|
USB_PRODUCT 0x1154
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# don't allow bootloader to use more than 16k
|
# don't allow bootloader to use more than 16k
|
||||||
FLASH_USE_MAX_KB 16
|
FLASH_USE_MAX_KB 16
|
||||||
|
|
|
@ -21,7 +21,6 @@ FLASH_SIZE_KB 2048
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1154
|
USB_PRODUCT 0x1154
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# ChibiOS system timer
|
# ChibiOS system timer
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
|
@ -19,7 +19,6 @@ FLASH_SIZE_KB 1024
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1910
|
USB_PRODUCT 0x1910
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# don't allow bootloader to use more than 16k
|
# don't allow bootloader to use more than 16k
|
||||||
FLASH_USE_MAX_KB 16
|
FLASH_USE_MAX_KB 16
|
||||||
|
|
|
@ -20,7 +20,6 @@ FLASH_SIZE_KB 1024
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1910
|
USB_PRODUCT 0x1910
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# ChibiOS system timer
|
# ChibiOS system timer
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
|
@ -19,7 +19,6 @@ FLASH_SIZE_KB 1024
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1351
|
USB_PRODUCT 0x1351
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# don't allow bootloader to use more than 16k
|
# don't allow bootloader to use more than 16k
|
||||||
FLASH_USE_MAX_KB 16
|
FLASH_USE_MAX_KB 16
|
||||||
|
|
|
@ -20,7 +20,6 @@ FLASH_SIZE_KB 1024
|
||||||
USB_VENDOR 0x27AC
|
USB_VENDOR 0x27AC
|
||||||
USB_PRODUCT 0x1351
|
USB_PRODUCT 0x1351
|
||||||
USB_STRING_MANUFACTURER "Laser Navigation"
|
USB_STRING_MANUFACTURER "Laser Navigation"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# ChibiOS system timer
|
# ChibiOS system timer
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
|
@ -112,7 +112,6 @@ FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
# USB setup
|
# USB setup
|
||||||
USB_STRING_MANUFACTURER "ArduPilot"
|
USB_STRING_MANUFACTURER "ArduPilot"
|
||||||
USB_STRING_PRODUCT "%BOARD%"
|
|
||||||
|
|
||||||
# Now define the order that I2C buses are presented in the hal.i2c API
|
# Now define the order that I2C buses are presented in the hal.i2c API
|
||||||
# in ArduPilot. For historical reasons inherited from HAL_PX4 the
|
# in ArduPilot. For historical reasons inherited from HAL_PX4 the
|
||||||
|
|
|
@ -25,7 +25,6 @@ FLASH_RESERVE_START_KB 0
|
||||||
|
|
||||||
# USB setup
|
# USB setup
|
||||||
USB_STRING_MANUFACTURER "ArduPilot"
|
USB_STRING_MANUFACTURER "ArduPilot"
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# baudrate to run bootloader at on uarts
|
# baudrate to run bootloader at on uarts
|
||||||
define BOOTLOADER_BAUDRATE 115200
|
define BOOTLOADER_BAUDRATE 115200
|
||||||
|
|
|
@ -112,7 +112,6 @@ FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
# USB setup
|
# USB setup
|
||||||
USB_STRING_MANUFACTURER "ArduPilot"
|
USB_STRING_MANUFACTURER "ArduPilot"
|
||||||
USB_STRING_PRODUCT "%BOARD%"
|
|
||||||
|
|
||||||
# Now define the order that I2C buses are presented in the hal.i2c API
|
# Now define the order that I2C buses are presented in the hal.i2c API
|
||||||
# in ArduPilot. For historical reasons inherited from HAL_PX4 the
|
# in ArduPilot. For historical reasons inherited from HAL_PX4 the
|
||||||
|
|
|
@ -21,8 +21,6 @@ FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
# USB setup
|
# USB setup
|
||||||
USB_STRING_MANUFACTURER "mRo"
|
USB_STRING_MANUFACTURER "mRo"
|
||||||
USB_STRING_PRODUCT "X2.1-777-BL"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# order of UARTs (and USB)
|
# order of UARTs (and USB)
|
||||||
SERIAL_ORDER OTG1 USART2 USART3 UART7
|
SERIAL_ORDER OTG1 USART2 USART3 UART7
|
||||||
|
|
|
@ -76,8 +76,6 @@ STDOUT_BAUDRATE 57600
|
||||||
|
|
||||||
# USB setup
|
# USB setup
|
||||||
USB_STRING_MANUFACTURER "mRo"
|
USB_STRING_MANUFACTURER "mRo"
|
||||||
USB_STRING_PRODUCT "mRoX21-777"
|
|
||||||
USB_STRING_SERIAL "%SERIAL%"
|
|
||||||
|
|
||||||
# this board only has a single I2C bus so make it external
|
# this board only has a single I2C bus so make it external
|
||||||
define HAL_I2C_INTERNAL_MASK 0
|
define HAL_I2C_INTERNAL_MASK 0
|
||||||
|
|
Loading…
Reference in New Issue