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:43
download | new post

  1. include ../Pixracer/hwdef.dat
  2.  
  3. ## undefs and fixups
  4. undef COMPASS
  5. undef IOMCU_UART
  6. undef USART6
  7. undef ROMFS
  8. undef IMU
  9. undef HAL_CHIBIOS_ARCH_FMUV4
  10. #undef BOOTLOADER_DEV_LIST
  11. undef HAL_OS_FATFS_IO
  12. undef SDIO
  13. undef FLASH_RESERVE_START_KB
  14. undef HAL_WITH_RAMTRON
  15.  
  16. undef HAL_HAVE_SAFETY_SWITCH
  17. undef LED_SAFETY
  18. undef SAFETY_IN
  19.  
  20. HAL_WITH_RAMTRON 0
  21.  
  22. STDOUT_SERIAL SD2
  23. STDOUT_BAUDRATE 57600
  24.  
  25. ## memory
  26. # the location where the bootloader will put the firmware
  27. # we use first 32k
  28. FLASH_RESERVE_START_KB 32
  29.  
  30. # reserve 256 bytes for comms between app and bootloader
  31. RAM_RESERVE_START 256
  32.  
  33. MAIN_STACK 0x2000
  34. PROCESS_STACK 0x6000
  35.  
  36. ## ap_periph
  37. # board ID for firmware load
  38. APJ_BOARD_ID 1101
  39.  
  40. # setup build for a peripheral firmware
  41. env AP_PERIPH 1
  42.  
  43. define PERIPH_FW TRUE
  44. define HAL_BUILD_AP_PERIPH
  45.  
  46. # ap_periph capabilities
  47. #define HAL_PERIPH_ENABLE_GPS
  48. #define HAL_PERIPH_ENABLE_MAG
  49. #define HAL_PERIPH_ENABLE_BARO
  50. define HAL_PERIPH_ENABLE_RCOUT_TRANSLATOR
  51.  
  52. ## run lean
  53. # single GPS and compass for peripherals
  54. define GPS_MAX_RECEIVERS 1
  55. define GPS_MAX_INSTANCES 1
  56. define HAL_COMPASS_MAX_SENSORS 1
  57.  
  58. # shutdown unused resources
  59. define HAL_NO_GCS     
  60. define HAL_NO_LOGGING
  61. define HAL_NO_MONITOR_THREAD
  62.  
  63. define HAL_DISABLE_LOOP_DELAY
  64.  
  65. define HAL_USE_RTC FALSE
  66. define DISABLE_SERIAL_ESC_COMM TRUE
  67. define NO_DATAFLASH TRUE
  68.  
  69. define HAL_NO_RCIN_THREAD
  70.  
  71. define HAL_BARO_ALLOW_INIT_NO_BARO
  72.  
  73. define HAL_USE_ADC FALSE
  74. define STM32_ADC_USE_ADC1 FALSE
  75. define HAL_DISABLE_ADC_DRIVER TRUE
  76.  
  77. env DISABLE_SCRIPTING 1
  78.  
  79. ## can
  80. define HAL_CAN_DEFAULT_NODE_ID 0
  81. define CAN_APP_NODE_NAME "org.ardupilot.Pixracer-periph"
  82. define HAL_CAN_DRIVER_DEFAULT 1
  83.  
  84. # use the app descriptor needed by MissionPlanner for CAN upload
  85. env APP_DESCRIPTOR MissionPlanner
  86.  
  87. ## misc
  88. # use blue LED
  89. define HAL_GPIO_PIN_LED HAL_GPIO_C_LED_PIN

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