hwdef-bl.dat 1020 B

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