From 53ce03576217052144f2800d0d3634651ef0be01 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Mon, 7 Aug 2017 21:41:07 +0000 Subject: Complete clock tree initialization for ATSAMA5D2. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10363 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- .../debug/RT-SAMA5D2-XPLAINED (Load and Run).launch | 4 ++-- demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'demos/ATSAMA5D2') diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/debug/RT-SAMA5D2-XPLAINED (Load and Run).launch b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/debug/RT-SAMA5D2-XPLAINED (Load and Run).launch index ea0aca12c..b9d906be2 100644 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/debug/RT-SAMA5D2-XPLAINED (Load and Run).launch +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/debug/RT-SAMA5D2-XPLAINED (Load and Run).launch @@ -6,7 +6,7 @@ - + @@ -17,7 +17,7 @@ - + diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h index 3cf952cd7..0b8a9c79b 100644 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h @@ -22,14 +22,14 @@ /* * HAL driver system settings. */ -#define SAMA_NO_INIT TRUE +#define SAMA_NO_INIT FALSE #define SAMA_MOSCRC_ENABLED TRUE #define SAMA_MOSCXT_ENABLED FALSE #define SAMA_MOSC_SEL SAMA_MOSC_MOSCRC #define SAMA_OSC_SEL SAMA_OSC_OSCXT #define SAMA_MCK_SEL SAMA_MCK_PLLA_CLK -#define SAMA_MCK_PRES SAMA_MCK_PRE_DIV2 -#define SAMA_MCK_MDIV SAMA_MCK_MDIV_DIV1 +#define SAMA_MCK_PRES_VALUE 1 +#define SAMA_MCK_MDIV_VALUE 3 #define SAMA_PLLA_MUL_VALUE 83 -#define SAMA_PLLADIV2_EN FALSE +#define SAMA_PLLADIV2_EN TRUE #endif /* MCUCONF_H */ -- cgit v1.2.3