[rtems commit] bsp/tms570: Adjust BSP_OSCILATOR_CLOCK

Sebastian Huber sebh at rtems.org
Wed Dec 6 15:37:27 UTC 2023


Module:    rtems
Branch:    master
Commit:    c374727c634822185cf30669fe2bf4676f3c03ce
Changeset: http://git.rtems.org/rtems/commit/?id=c374727c634822185cf30669fe2bf4676f3c03ce

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Apr 17 16:14:35 2023 +0200

bsp/tms570: Adjust BSP_OSCILATOR_CLOCK

---

 bsps/arm/tms570/include/bsp.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bsps/arm/tms570/include/bsp.h b/bsps/arm/tms570/include/bsp.h
index c5ac0cc59a..78445314d1 100644
--- a/bsps/arm/tms570/include/bsp.h
+++ b/bsps/arm/tms570/include/bsp.h
@@ -44,8 +44,13 @@
 #include <rtems.h>
 #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
 
 #endif /* ASM */
 



More information about the vc mailing list