forked from Imagelibrary/rtems
bsp/tms570: Use TMS570_OSCILLATOR_MAIN
This option replaces BSP_OSCILATOR_CLOCK. It may be used in PLL setup calculatios. Update #4982.
This commit is contained in:
@@ -62,10 +62,8 @@
|
|||||||
#include <bsp/default-initial-extension.h>
|
#include <bsp/default-initial-extension.h>
|
||||||
|
|
||||||
#if TMS570_VARIANT == 4357
|
#if TMS570_VARIANT == 4357
|
||||||
#define BSP_OSCILATOR_CLOCK 16000000
|
|
||||||
#define BSP_PLL_OUT_CLOCK 150000000
|
#define BSP_PLL_OUT_CLOCK 150000000
|
||||||
#else
|
#else
|
||||||
#define BSP_OSCILATOR_CLOCK 8000000
|
|
||||||
#define BSP_PLL_OUT_CLOCK 160000000
|
#define BSP_PLL_OUT_CLOCK 160000000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -4,12 +4,17 @@ actions:
|
|||||||
- define: null
|
- define: null
|
||||||
build-type: option
|
build-type: option
|
||||||
copyrights:
|
copyrights:
|
||||||
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
- Copyright (C) 2020, 2024 embedded brains GmbH & Co. KG
|
||||||
default:
|
default:
|
||||||
|
- enabled-by:
|
||||||
|
- arm/tms570lc4357_hdk
|
||||||
|
- arm/tms570lc4357_hdk_sdram
|
||||||
|
value: 16000000
|
||||||
- enabled-by: true
|
- enabled-by: true
|
||||||
value: 12000000
|
value: 8000000
|
||||||
description: |
|
description: |
|
||||||
main oscillator frequency in Hz
|
The option value shall be the main oscillator (OSCIN) frequency in Hz of the
|
||||||
|
board.
|
||||||
enabled-by: true
|
enabled-by: true
|
||||||
format: '{}'
|
format: '{}'
|
||||||
links: []
|
links: []
|
||||||
|
|||||||
Reference in New Issue
Block a user