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:
Sebastian Huber
2024-01-09 07:47:50 +01:00
parent 9a961eec67
commit df378641e6
2 changed files with 8 additions and 5 deletions

View File

@@ -62,10 +62,8 @@
#include <bsp/default-initial-extension.h>
#if TMS570_VARIANT == 4357
#define BSP_OSCILATOR_CLOCK 16000000
#define BSP_PLL_OUT_CLOCK 150000000
#else
#define BSP_OSCILATOR_CLOCK 8000000
#define BSP_PLL_OUT_CLOCK 160000000
#endif

View File

@@ -4,12 +4,17 @@ actions:
- define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
- Copyright (C) 2020, 2024 embedded brains GmbH & Co. KG
default:
- enabled-by:
- arm/tms570lc4357_hdk
- arm/tms570lc4357_hdk_sdram
value: 16000000
- enabled-by: true
value: 12000000
value: 8000000
description: |
main oscillator frequency in Hz
The option value shall be the main oscillator (OSCIN) frequency in Hz of the
board.
enabled-by: true
format: '{}'
links: []