hwdef-bl.dat 783 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # hw definition file for processing by chibios_pins.py
  2. # for bootloader for mini-pix hardware from RadioLink
  3. # MCU class and specific type
  4. MCU STM32F4xx STM32F405xx
  5. # board ID for firmware load
  6. APJ_BOARD_ID 3
  7. # crystal frequency
  8. OSCILLATOR_HZ 24000000
  9. # flash size
  10. FLASH_SIZE_KB 1024
  11. # don't allow bootloader to use more than 16k
  12. FLASH_USE_MAX_KB 16
  13. # bootloader loads at start of flash
  14. FLASH_RESERVE_START_KB 0
  15. # LEDs
  16. PB1 LED_BOOTLOADER OUTPUT LOW
  17. PE12 LED_ACTIVITY OUTPUT LOW
  18. define HAL_LED_ON 0
  19. # the location where the bootloader will put the firmware
  20. FLASH_BOOTLOADER_LOAD_KB 16
  21. # board voltage
  22. STM32_VDD 330U
  23. # order of UARTs (and USB)
  24. UART_ORDER OTG1
  25. # USB pins
  26. PA11 OTG_FS_DM OTG1
  27. PA12 OTG_FS_DP OTG1
  28. define HAL_USE_EMPTY_STORAGE 1
  29. define HAL_STORAGE_SIZE 16384