hwdef-bl.dat 1003 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # hw definition file for processing by chibios_hwdef.py
  2. # for VRBRAINv54 hardware
  3. # MCU class and specific type
  4. MCU STM32F4xx STM32F427xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 1154
  7. # crystal frequency
  8. OSCILLATOR_HZ 24000000
  9. # flash size
  10. FLASH_SIZE_KB 2048
  11. # board voltage
  12. STM32_VDD 330U
  13. # USB setup
  14. USB_VENDOR 0x27AC
  15. USB_PRODUCT 0x1154
  16. USB_STRING_MANUFACTURER "Laser Navigation"
  17. USB_STRING_SERIAL "%SERIAL%"
  18. # don't allow bootloader to use more than 16k
  19. FLASH_USE_MAX_KB 16
  20. # bootloader is installed at zero offset
  21. FLASH_RESERVE_START_KB 0
  22. # the location where the bootloader will put the firmware
  23. FLASH_BOOTLOADER_LOAD_KB 16
  24. # ChibiOS system timer
  25. STM32_ST_USE_TIMER 5
  26. # order of UARTs (and USB)
  27. UART_ORDER OTG1
  28. PA9 VBUS INPUT
  29. PA11 OTG_FS_DM OTG1
  30. PA12 OTG_FS_DP OTG1
  31. PA13 JTMS-SWDIO SWD
  32. PA14 JTCK-SWCLK SWD
  33. PD14 LED_BOOTLOADER OUTPUT
  34. PC5 LED_ACTIVITY OUTPUT
  35. define HAL_LED_ON 0
  36. define HAL_CHIBIOS_ARCH_BRAINV54 1
  37. define HAL_STORAGE_SIZE 16384
  38. define HAL_USE_EMPTY_STORAGE 1