Browse Source

hwdef:update storage pages and enable watchdog

gps-1.3.1
MallikarjunSE 3 years ago committed by Andrew Tridgell
parent
commit
a553cb08b1
  1. 6
      libraries/AP_HAL_ChibiOS/hwdef/Sierra-F405/hwdef.dat

6
libraries/AP_HAL_ChibiOS/hwdef/Sierra-F405/hwdef.dat

@ -7,8 +7,8 @@ MCU STM32F4xx STM32F405xx @@ -7,8 +7,8 @@ MCU STM32F4xx STM32F405xx
FLASH_RESERVE_START_KB 64
FLASH_SIZE_KB 1024
# store parameters in pages 11 and 12
STORAGE_FLASH_PAGE 1
# store parameters in pages 2 and 3
STORAGE_FLASH_PAGE 2
define HAL_STORAGE_SIZE 15360
# board ID for firmware load
@ -20,6 +20,7 @@ define STM32_ST_USE_TIMER 5 @@ -20,6 +20,7 @@ define STM32_ST_USE_TIMER 5
define CH_CFG_ST_RESOLUTION 32
# enable watchdog
define HAL_WATCHDOG_ENABLED_DEFAULT true
# crystal frequency
OSCILLATOR_HZ 16000000
@ -128,4 +129,3 @@ PC7 M9SB INPUT @@ -128,4 +129,3 @@ PC7 M9SB INPUT
# allow for reboot command for faster development
define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0

Loading…
Cancel
Save