Skip to content

Commit

Permalink
AP_HAL_ChibiOS: add default USB ids for CubeNode
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator committed Jun 18, 2024
1 parent 9c35867 commit 6761903
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/CubePilot-CANMod/hwdef-bl.dat
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# hw definition file for processing by chibios_hwdef.py

# USB setup
USB_VENDOR 0x2DAE # ONLY FOR USE BY CubePilot! NOBODY ELSE
USB_PRODUCT 0x2010
USB_STRING_MANUFACTURER "CubePilot"
USB_STRING_PRODUCT "CubeNode"

# MCU class and specific type
MCU STM32H7xx STM32H757xx
define CORE_CM7
Expand Down
5 changes: 5 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/CubePilot-CANMod/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
# MCU class and specific type
MCU STM32H7xx STM32H757xx

# USB setup
USB_VENDOR 0x2DAE # ONLY FOR USE BY CubePilot! NOBODY ELSE
USB_PRODUCT 0x2000
USB_STRING_MANUFACTURER "CubePilot"
USB_STRING_PRODUCT "CubeNode"

define CORE_CM7
define SMPS_PWR
Expand Down

0 comments on commit 6761903

Please sign in to comment.