pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

pastebin private pastebin - collaborative debugging tool What's a private pastebin?

Posted by Anonymous on Sat 12 Dec 13:44 (modification of post by Anonymous view diff)
download | new post

  1. # hw definition file for processing by chibios_hwdef.py
  2. # for Pixracer bootloader
  3.  
  4. # MCU class and specific type
  5. MCU STM32F4xx STM32F427xx
  6.  
  7. # crystal frequency
  8. OSCILLATOR_HZ 24000000
  9.  
  10. # board ID for firmware load
  11. APJ_BOARD_ID 1101
  12.  
  13. FLASH_SIZE_KB 2048
  14.  
  15. # ChibiOS system timer
  16. STM32_ST_USE_TIMER 5
  17.  
  18. # setup build for a peripheral firmware
  19. # bootloader is installed at zero offset
  20. FLASH_RESERVE_START_KB 0
  21.  
  22. # the location where the bootloader will put the firmware
  23. # we use first 32k
  24. FLASH_BOOTLOADER_LOAD_KB 32
  25.  
  26. # order of UARTs (and USB)
  27. # make bl baudrate match debug baudrate for easier debugging
  28. define BOOTLOADER_BAUDRATE 57600
  29.  
  30. # USART2 serial2 telem1
  31. PD3 USART2_CTS USART2
  32. PD4 USART2_RTS USART2
  33. PD5 USART2_TX USART2
  34. PD6 USART2_RX USART2
  35.  
  36. # OTG1
  37. PA11 OTG_FS_DM OTG1
  38. PA12 OTG_FS_DP OTG1
  39.  
  40. PA13 JTMS-SWDIO SWD
  41. PA14 JTCK-SWCLK SWD
  42.  
  43. define HAL_STORAGE_SIZE 16384
  44.  
  45. # Add CS pins to ensure they are high in bootloader
  46. PC2 MPU9250_CS CS
  47. PC15 20608_CS CS
  48. PD7 BARO_CS CS
  49. #PD10 FRAM_CS CS
  50. PE15 MAG_CS CS
  51.  
  52. # the first CAN bus
  53. # reserve 256 bytes for comms between app and bootloader
  54. RAM_RESERVE_START 256
  55.  
  56. # use DNA
  57. "org.ardupilot.Pixracer-periph"
  58.  
  59. # make bl baudrate match debug baudrate for easier debugging
  60. define BOOTLOADER_BAUDRATE 57600
  61.  
  62. # disable
  63. # avoid timer and RCIN threads to save memory
  64. # ChibiOS system timer
  65. STM32_ST_USE_TIMER 5

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me