mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
HAL_ChibiOS: removed clock tree settings in most hwdef.dat
these are better set automatically in the headers. This simplifies the task of doing a new port
This commit is contained in:
parent
a638196334
commit
a9df9fe0c0
@ -7,14 +7,6 @@ MCU STM32F7xx STM32F767xx
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 16000000
|
OSCILLATOR_HZ 16000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 216
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 50
|
APJ_BOARD_ID 50
|
||||||
|
|
||||||
|
@ -6,14 +6,6 @@ MCU STM32F7xx STM32F777xx
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 24000000
|
OSCILLATOR_HZ 24000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 24
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 120
|
APJ_BOARD_ID 120
|
||||||
|
|
||||||
|
@ -21,14 +21,6 @@ define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_FMUV3
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 24000000
|
OSCILLATOR_HZ 24000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 24
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 120
|
APJ_BOARD_ID 120
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 135
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# bootloader is installed at zero offset
|
# bootloader is installed at zero offset
|
||||||
FLASH_RESERVE_START_KB 0
|
FLASH_RESERVE_START_KB 0
|
||||||
|
@ -9,8 +9,6 @@ APJ_BOARD_ID 135
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
|
|
||||||
# ChibiOS system timer
|
# ChibiOS system timer
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
@ -6,9 +6,6 @@ MCU STM32F4xx STM32F407xx
|
|||||||
APJ_BOARD_ID 20
|
APJ_BOARD_ID 20
|
||||||
|
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -18,8 +18,6 @@ FLASH_SIZE_KB 1024
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
|
|
||||||
# this is the STM32 timer that ChibiOS will use for the low level
|
# this is the STM32 timer that ChibiOS will use for the low level
|
||||||
# driver. This must be a 32 bit timer. We currently only support
|
# driver. This must be a 32 bit timer. We currently only support
|
||||||
|
@ -8,7 +8,6 @@ APJ_BOARD_ID 122
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@ APJ_BOARD_ID 122
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
define STM32_ST_USE_TIMER 4
|
define STM32_ST_USE_TIMER 4
|
||||||
define CH_CFG_ST_RESOLUTION 16
|
define CH_CFG_ST_RESOLUTION 16
|
||||||
|
@ -13,12 +13,6 @@ OSCILLATOR_HZ 8000000
|
|||||||
define STM32_LSECLK 32768U
|
define STM32_LSECLK 32768U
|
||||||
define STM32_LSEDRV (3U << 3U)
|
define STM32_LSEDRV (3U << 3U)
|
||||||
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
# bootloader starts at zero offset
|
# bootloader starts at zero offset
|
||||||
|
@ -11,15 +11,6 @@ APJ_BOARD_ID 123
|
|||||||
# crystal frequency, setup to use external oscillator
|
# crystal frequency, setup to use external oscillator
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
# leave 2 sectors free
|
# leave 2 sectors free
|
||||||
|
@ -11,15 +11,6 @@ APJ_BOARD_ID 145
|
|||||||
# crystal frequency, setup to use external oscillator
|
# crystal frequency, setup to use external oscillator
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
# leave 2 sectors free
|
# leave 2 sectors free
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 127
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# bootloader is installed at zero offset
|
# bootloader is installed at zero offset
|
||||||
FLASH_RESERVE_START_KB 0
|
FLASH_RESERVE_START_KB 0
|
||||||
|
@ -27,7 +27,6 @@ APJ_BOARD_ID 127
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
define STM32_ST_USE_TIMER 5
|
define STM32_ST_USE_TIMER 5
|
||||||
define CH_CFG_ST_RESOLUTION 32
|
define CH_CFG_ST_RESOLUTION 32
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 125
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ APJ_BOARD_ID 125
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
define STM32_ST_USE_TIMER 4
|
define STM32_ST_USE_TIMER 4
|
||||||
define CH_CFG_ST_RESOLUTION 16
|
define CH_CFG_ST_RESOLUTION 16
|
||||||
|
@ -10,15 +10,6 @@ APJ_BOARD_ID 143
|
|||||||
# crystal frequency, setup to use external oscillator
|
# crystal frequency, setup to use external oscillator
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 2048
|
FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
# bootloader starts at zero offset
|
# bootloader starts at zero offset
|
||||||
|
@ -10,15 +10,6 @@ APJ_BOARD_ID 143
|
|||||||
# crystal frequency, setup to use external oscillator
|
# crystal frequency, setup to use external oscillator
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 2048
|
FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
# leave 2 sectors free
|
# leave 2 sectors free
|
||||||
|
@ -10,15 +10,6 @@ APJ_BOARD_ID 121
|
|||||||
# crystal frequency, setup to use external oscillator
|
# crystal frequency, setup to use external oscillator
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
# bootloader is installed at zero offset
|
# bootloader is installed at zero offset
|
||||||
|
@ -11,15 +11,6 @@ APJ_BOARD_ID 121
|
|||||||
# crystal frequency, setup to use external oscillator
|
# crystal frequency, setup to use external oscillator
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
# reserve one sector for bootloader and 2 for storage
|
# reserve one sector for bootloader and 2 for storage
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 133
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -9,8 +9,6 @@ APJ_BOARD_ID 133
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
|
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -10,15 +10,6 @@ APJ_BOARD_ID 1008
|
|||||||
# crystal frequency, setup to use external oscillator
|
# crystal frequency, setup to use external oscillator
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 2048
|
FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
# bootloader starts at zero offset
|
# bootloader starts at zero offset
|
||||||
|
@ -10,13 +10,6 @@ APJ_BOARD_ID 1008
|
|||||||
# crystal frequency, setup to use external oscillator
|
# crystal frequency, setup to use external oscillator
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 2048
|
FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
# leave 2 sectors free
|
# leave 2 sectors free
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 1011
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -10,8 +10,6 @@ APJ_BOARD_ID 1011
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
|
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -7,14 +7,6 @@ MCU STM32F7xx STM32F767xx
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 16000000
|
OSCILLATOR_HZ 16000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 216
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 50
|
APJ_BOARD_ID 50
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@ APJ_BOARD_ID 1151
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
@ -11,7 +11,6 @@ APJ_BOARD_ID 1151
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
@ -10,7 +10,6 @@ APJ_BOARD_ID 1152
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
@ -11,7 +11,6 @@ APJ_BOARD_ID 1152
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
@ -10,7 +10,6 @@ APJ_BOARD_ID 1910
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
@ -11,7 +11,6 @@ APJ_BOARD_ID 1910
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
@ -10,7 +10,6 @@ APJ_BOARD_ID 1351
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
@ -11,7 +11,6 @@ APJ_BOARD_ID 1351
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
# flash size
|
# flash size
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 128
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -11,8 +11,6 @@ APJ_BOARD_ID 128
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
|
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 12
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
define STM32_ST_USE_TIMER 5
|
define STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 12
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
define STM32_ST_USE_TIMER 5
|
define STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -7,14 +7,6 @@ MCU STM32F7xx STM32F767xx
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 16000000
|
OSCILLATOR_HZ 16000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 216
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 50
|
APJ_BOARD_ID 50
|
||||||
|
|
||||||
|
@ -8,14 +8,6 @@ MCU STM32F7xx STM32F767xx
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 16000000
|
OSCILLATOR_HZ 16000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 8
|
|
||||||
define STM32_PLLN_VALUE 216
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_FMUV5
|
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_FMUV5
|
||||||
define HAL_CHIBIOS_ARCH_FMUV5 1
|
define HAL_CHIBIOS_ARCH_FMUV5 1
|
||||||
|
|
||||||
|
@ -10,14 +10,6 @@ USB_STRING_MANUFACTURER "mRo"
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 24000000
|
OSCILLATOR_HZ 24000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 24
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 141
|
APJ_BOARD_ID 141
|
||||||
|
|
||||||
|
@ -9,15 +9,6 @@ APJ_BOARD_ID 141
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 24000000
|
OSCILLATOR_HZ 24000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 24
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 2048
|
FLASH_SIZE_KB 2048
|
||||||
|
|
||||||
# with 2M flash we can afford to optimize for speed
|
# with 2M flash we can afford to optimize for speed
|
||||||
|
@ -12,14 +12,6 @@ MCU STM32F7xx STM32F777xx
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 24000000
|
OSCILLATOR_HZ 24000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 24
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 136
|
APJ_BOARD_ID 136
|
||||||
|
|
||||||
|
@ -27,14 +27,6 @@ define BOARD_TYPE_DEFAULT 20
|
|||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 24000000
|
OSCILLATOR_HZ 24000000
|
||||||
|
|
||||||
define STM32_LSECLK 32768U
|
|
||||||
define STM32_LSEDRV (3U << 3U)
|
|
||||||
define STM32_PLLSRC STM32_PLLSRC_HSE
|
|
||||||
define STM32_PLLM_VALUE 24
|
|
||||||
define STM32_PLLN_VALUE 432
|
|
||||||
define STM32_PLLP_VALUE 2
|
|
||||||
define STM32_PLLQ_VALUE 9
|
|
||||||
|
|
||||||
# board ID for firmware load
|
# board ID for firmware load
|
||||||
APJ_BOARD_ID 136
|
APJ_BOARD_ID 136
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ APJ_BOARD_ID 88
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@ APJ_BOARD_ID 88
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 131
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -11,8 +11,6 @@ APJ_BOARD_ID 131
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
|
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 137
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -11,8 +11,6 @@ APJ_BOARD_ID 137
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
|
|
||||||
# ChibiOS system timer
|
# ChibiOS system timer
|
||||||
STM32_ST_USE_TIMER 5
|
STM32_ST_USE_TIMER 5
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 124
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 124
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
define STM32_ST_USE_TIMER 5
|
define STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 130
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 130
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
define STM32_ST_USE_TIMER 5
|
define STM32_ST_USE_TIMER 5
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ APJ_BOARD_ID 134
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@ APJ_BOARD_ID 134
|
|||||||
|
|
||||||
# crystal frequency
|
# crystal frequency
|
||||||
OSCILLATOR_HZ 8000000
|
OSCILLATOR_HZ 8000000
|
||||||
STM32_PLLM_VALUE 8
|
|
||||||
|
|
||||||
define STM32_ST_USE_TIMER 5
|
define STM32_ST_USE_TIMER 5
|
||||||
#define CH_CFG_ST_RESOLUTION 16
|
#define CH_CFG_ST_RESOLUTION 16
|
||||||
|
Loading…
Reference in New Issue
Block a user