forked from Imagelibrary/rtems
arm/stm32h7: Add STM32H7_HSE_FREQUENCY
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
#ifndef __STM32H7xx_HAL_CONF_H
|
||||
#define __STM32H7xx_HAL_CONF_H
|
||||
|
||||
#ifdef __rtems__
|
||||
#include <bspopts.h>
|
||||
|
||||
#define HSE_VALUE ((uint32_t)STM32H7_HSE_FREQUENCY)
|
||||
#endif /* __rtems__ */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -39,6 +39,8 @@ links:
|
||||
uid: optenusart3
|
||||
- role: build-dependency
|
||||
uid: optenusart6
|
||||
- role: build-dependency
|
||||
uid: opthse
|
||||
- role: build-dependency
|
||||
uid: optlinkcmds
|
||||
- role: build-dependency
|
||||
|
||||
20
spec/build/bsps/arm/stm32h7/opthse.yml
Normal file
20
spec/build/bsps/arm/stm32h7/opthse.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||
actions:
|
||||
- get-integer: null
|
||||
- assert-uint32: null
|
||||
- format-and-define: null
|
||||
build-type: option
|
||||
default: 25000000
|
||||
default-by-variant:
|
||||
- value: 8000000
|
||||
variants:
|
||||
- arm/nucleo-h743zi
|
||||
enabled-by: true
|
||||
format: '{}'
|
||||
links: []
|
||||
name: STM32H7_HSE_FREQUENCY
|
||||
description: |
|
||||
Frequency of the external high speed oscillator (HSE).
|
||||
type: build
|
||||
copyrights:
|
||||
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
|
||||
Reference in New Issue
Block a user