PSOC6: update BSP startup code to match psoc6pdl-1.6.1

pull/13419/head
Volodymyr Medvid 2020-08-12 04:33:29 +01:00
parent 3b25d2ded0
commit 563e216cc8
78 changed files with 499 additions and 231 deletions

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xxa_cm0plus.sct ;* \file cy8c6xxa_cm0plus.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xxa_cm0plus.ld * \file cy8c6xxa_cm0plus.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xxa_cm0plus.icf * \file cy8c6xxa_cm0plus.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm0plus.c * \file system_psoc6_cm0plus.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -126,6 +130,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* *
*******************************************************************************/ *******************************************************************************/
@ -219,6 +224,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Regsiter Access driver. */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xxa_cm4_dual.sct ;* \file cy8c6xxa_cm4_dual.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xxa_cm4_dual.ld * \file cy8c6xxa_cm4_dual.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xxa_cm4_dual.icf * \file cy8c6xxa_cm4_dual.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm4.c * \file system_psoc6_cm4.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -125,6 +129,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* \endcond * \endcond
*******************************************************************************/ *******************************************************************************/
@ -233,6 +238,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Register Access driver */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6.h * \file system_psoc6.h
* \version 2.70.1 * \version 2.90
* *
* \brief Device system header file. * \brief Device system header file.
* *
@ -321,6 +321,21 @@
* <th>Reason for Change</th> * <th>Reason for Change</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>2.90</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU cyb06xx7 devices.</td>
* <td>Flash allocation adjustment.</td>
* </tr>
* <tr>
* <td rowspan="2">2.80</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td>
* <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates
* in accordance with the PSoC 64 Secure Boot SDK policies.</td>
* </tr>
* <tr>
* <td>Added \ref Cy_PRA_Init() call to \ref SystemInit() Cortex-M0+ and Cortex-M4 functions for PSoC 64 Secure MCU.</td>
* <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td>
* </tr>
* <tr>
* <td>2.70.1</td> * <td>2.70.1</td>
* <td>Updated documentation for the better description of the existing startup implementation.</td> * <td>Updated documentation for the better description of the existing startup implementation.</td>
* <td>User experience enhancement.</td> * <td>User experience enhancement.</td>

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx7_cm0plus.sct ;* \file cy8c6xx7_cm0plus.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx7_cm0plus.ld * \file cy8c6xx7_cm0plus.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx7_cm0plus.icf * \file cy8c6xx7_cm0plus.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm0plus.c * \file system_psoc6_cm0plus.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -126,6 +130,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* *
*******************************************************************************/ *******************************************************************************/
@ -219,6 +224,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Regsiter Access driver. */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx7_cm4_dual.sct ;* \file cy8c6xx7_cm4_dual.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx7_cm4_dual.ld * \file cy8c6xx7_cm4_dual.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx7_cm4_dual.icf * \file cy8c6xx7_cm4_dual.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm4.c * \file system_psoc6_cm4.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -125,6 +129,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* \endcond * \endcond
*******************************************************************************/ *******************************************************************************/
@ -233,6 +238,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Register Access driver */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6.h * \file system_psoc6.h
* \version 2.70.1 * \version 2.90
* *
* \brief Device system header file. * \brief Device system header file.
* *
@ -321,6 +321,21 @@
* <th>Reason for Change</th> * <th>Reason for Change</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>2.90</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU cyb06xx7 devices.</td>
* <td>Flash allocation adjustment.</td>
* </tr>
* <tr>
* <td rowspan="2">2.80</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td>
* <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates
* in accordance with the PSoC 64 Secure Boot SDK policies.</td>
* </tr>
* <tr>
* <td>Added \ref Cy_PRA_Init() call to \ref SystemInit() Cortex-M0+ and Cortex-M4 functions for PSoC 64 Secure MCU.</td>
* <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td>
* </tr>
* <tr>
* <td>2.70.1</td> * <td>2.70.1</td>
* <td>Updated documentation for the better description of the existing startup implementation.</td> * <td>Updated documentation for the better description of the existing startup implementation.</td>
* <td>User experience enhancement.</td> * <td>User experience enhancement.</td>

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx7_cm0plus.sct ;* \file cy8c6xx7_cm0plus.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx7_cm0plus.ld * \file cy8c6xx7_cm0plus.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx7_cm0plus.icf * \file cy8c6xx7_cm0plus.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm0plus.c * \file system_psoc6_cm0plus.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -126,6 +130,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* *
*******************************************************************************/ *******************************************************************************/
@ -219,6 +224,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Regsiter Access driver. */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx7_cm4_dual.sct ;* \file cy8c6xx7_cm4_dual.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx7_cm4_dual.ld * \file cy8c6xx7_cm4_dual.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx7_cm4_dual.icf * \file cy8c6xx7_cm4_dual.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm4.c * \file system_psoc6_cm4.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -125,6 +129,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* \endcond * \endcond
*******************************************************************************/ *******************************************************************************/
@ -233,6 +238,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Register Access driver */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6.h * \file system_psoc6.h
* \version 2.70.1 * \version 2.90
* *
* \brief Device system header file. * \brief Device system header file.
* *
@ -321,6 +321,21 @@
* <th>Reason for Change</th> * <th>Reason for Change</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>2.90</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU cyb06xx7 devices.</td>
* <td>Flash allocation adjustment.</td>
* </tr>
* <tr>
* <td rowspan="2">2.80</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td>
* <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates
* in accordance with the PSoC 64 Secure Boot SDK policies.</td>
* </tr>
* <tr>
* <td>Added \ref Cy_PRA_Init() call to \ref SystemInit() Cortex-M0+ and Cortex-M4 functions for PSoC 64 Secure MCU.</td>
* <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td>
* </tr>
* <tr>
* <td>2.70.1</td> * <td>2.70.1</td>
* <td>Updated documentation for the better description of the existing startup implementation.</td> * <td>Updated documentation for the better description of the existing startup implementation.</td>
* <td>User experience enhancement.</td> * <td>User experience enhancement.</td>

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cyb06xxa_cm0plus.sct ;* \file cyb06xxa_cm0plus.sct
;* \version 2.80 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,5 +1,5 @@
;/**************************************************************************//** ;/**************************************************************************//**
; * @file startup_psoc6_02_cm0plus.s ; * @file startup_psoc6_02_cm0plus.S
; * @brief CMSIS Core Device Startup File for ; * @brief CMSIS Core Device Startup File for
; * ARMCM0plus Device Series ; * ARMCM0plus Device Series
; * @version V5.00 ; * @version V5.00

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cyb06xxa_cm0plus.ld * \file cyb06xxa_cm0plus.ld
* \version 2.80 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cyb06xxa_cm0plus.icf * \file cyb06xxa_cm0plus.icf
* \version 2.80 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,5 +1,5 @@
;/**************************************************************************//** ;/**************************************************************************//**
; * @file startup_psoc6_02_cm0plus.s ; * @file startup_psoc6_02_cm0plus.S
; * @brief CMSIS Core Device Startup File for ; * @brief CMSIS Core Device Startup File for
; * ARMCM0plus Device Series ; * ARMCM0plus Device Series
; * @version V5.00 ; * @version V5.00

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm0plus.c * \file system_psoc6_cm0plus.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -126,6 +130,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* *
*******************************************************************************/ *******************************************************************************/
@ -219,6 +224,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Regsiter Access driver. */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cyb06xxa_cm4_dual.sct ;* \file cyb06xxa_cm4_dual.sct
;* \version 2.80 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*
@ -66,7 +66,7 @@
#define BOOT_HEADER_SIZE 0x00000400 #define BOOT_HEADER_SIZE 0x00000400
#if !defined(MBED_ROM_SIZE) #if !defined(MBED_ROM_SIZE)
#define MBED_ROM_SIZE 0x00E8000 #define MBED_ROM_SIZE 0x000E8000
#endif #endif
;* MBED_APP_SIZE is being used by the bootloader build script and ;* MBED_APP_SIZE is being used by the bootloader build script and
@ -290,7 +290,7 @@ CYMETA 0x90500000
/* The following symbols used by the cymcuelftool. */ /* The following symbols used by the cymcuelftool. */
/* Flash */ /* Flash */
#define __cy_memory_0_start 0x10000000 #define __cy_memory_0_start 0x10000000
#define __cy_memory_0_length 0x00200000 #define __cy_memory_0_length 0x001D0000
#define __cy_memory_0_row_size 0x200 #define __cy_memory_0_row_size 0x200
/* Emulated EEPROM Flash area */ /* Emulated EEPROM Flash area */

View File

@ -1,5 +1,5 @@
;/**************************************************************************//** ;/**************************************************************************//**
; * @file startup_psoc6_02_cm4.s ; * @file startup_psoc6_02_cm4.S
; * @brief CMSIS Core Device Startup File for ; * @brief CMSIS Core Device Startup File for
; * ARMCM4 Device Series ; * ARMCM4 Device Series
; * @version V5.00 ; * @version V5.00

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cyb06xxa_cm4_dual.ld * \file cyb06xxa_cm4_dual.ld
* \version 2.80 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *
@ -64,7 +64,7 @@ BOOT_HEADER_SIZE = 0x400;
#endif #endif
#if !defined(MBED_ROM_SIZE) #if !defined(MBED_ROM_SIZE)
#define MBED_ROM_SIZE 0xE8000 #define MBED_ROM_SIZE 0x000E8000
#endif #endif
/* MBED_APP_SIZE is being used by the bootloader build script and /* MBED_APP_SIZE is being used by the bootloader build script and
@ -180,6 +180,7 @@ SECTIONS
/* Cortex-M4 application flash area */ /* Cortex-M4 application flash area */
.text ORIGIN(flash) : .text ORIGIN(flash) :
{ {
/* Cortex-M4 flash vector table */
. = ALIGN(4); . = ALIGN(4);
__Vectors = . ; __Vectors = . ;
KEEP(*(.vectors)) KEEP(*(.vectors))

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cyb06xxa_cm4_dual.icf * \file cyb06xxa_cm4_dual.icf
* \version 2.80 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *
@ -65,7 +65,7 @@ if (!isdefinedsymbol(MBED_APP_START)) {
} }
if (!isdefinedsymbol(MBED_ROM_SIZE)) { if (!isdefinedsymbol(MBED_ROM_SIZE)) {
define symbol MBED_ROM_SIZE = 0x00E8000; define symbol MBED_ROM_SIZE = 0x000E8000;
} }
/* MBED_APP_SIZE is being used by the bootloader build script and /* MBED_APP_SIZE is being used by the bootloader build script and
@ -267,7 +267,7 @@ keep { section .cy_m0p_image,
/* The following symbols used by the cymcuelftool. */ /* The following symbols used by the cymcuelftool. */
/* Flash */ /* Flash */
define exported symbol __cy_memory_0_start = 0x10000000; define exported symbol __cy_memory_0_start = 0x10000000;
define exported symbol __cy_memory_0_length = 0x00200000; define exported symbol __cy_memory_0_length = 0x001D0000;
define exported symbol __cy_memory_0_row_size = 0x200; define exported symbol __cy_memory_0_row_size = 0x200;
/* Emulated EEPROM Flash area */ /* Emulated EEPROM Flash area */

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm4.c * \file system_psoc6_cm4.c
* \version 2.80 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -129,6 +129,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* \endcond * \endcond
*******************************************************************************/ *******************************************************************************/

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6.h * \file system_psoc6.h
* \version 2.80 * \version 2.90
* *
* \brief Device system header file. * \brief Device system header file.
* *
@ -321,13 +321,18 @@
* <th>Reason for Change</th> * <th>Reason for Change</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>2.90</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU cyb06xx7 devices.</td>
* <td>Flash allocation adjustment.</td>
* </tr>
* <tr>
* <td rowspan="2">2.80</td> * <td rowspan="2">2.80</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td> * <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td>
* <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates * <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates
* in accordance with the PSoC 64 Secure Boot SDK policies.</td> * in accordance with the PSoC 64 Secure Boot SDK policies.</td>
* </tr> * </tr>
* <tr> * <tr>
* <td>Added \ref Cy_PRA_Init() function call to \ref SystemInit() API for CM0+ core of PSoC 64 Secure MCU.</td> * <td>Added \ref Cy_PRA_Init() call to \ref SystemInit() Cortex-M0+ and Cortex-M4 functions for PSoC 64 Secure MCU.</td>
* <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td> * <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td>
* </tr> * </tr>
* <tr> * <tr>

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx5_cm0plus.sct ;* \file cy8c6xx5_cm0plus.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx5_cm0plus.ld * \file cy8c6xx5_cm0plus.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx5_cm0plus.icf * \file cy8c6xx5_cm0plus.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm0plus.c * \file system_psoc6_cm0plus.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -126,6 +130,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* *
*******************************************************************************/ *******************************************************************************/
@ -219,6 +224,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Regsiter Access driver. */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx5_cm4_dual.sct ;* \file cy8c6xx5_cm4_dual.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx5_cm4_dual.ld * \file cy8c6xx5_cm4_dual.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx5_cm4_dual.icf * \file cy8c6xx5_cm4_dual.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm4.c * \file system_psoc6_cm4.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -125,6 +129,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* \endcond * \endcond
*******************************************************************************/ *******************************************************************************/
@ -233,6 +238,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Register Access driver */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6.h * \file system_psoc6.h
* \version 2.70.1 * \version 2.90
* *
* \brief Device system header file. * \brief Device system header file.
* *
@ -321,6 +321,21 @@
* <th>Reason for Change</th> * <th>Reason for Change</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>2.90</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU cyb06xx7 devices.</td>
* <td>Flash allocation adjustment.</td>
* </tr>
* <tr>
* <td rowspan="2">2.80</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td>
* <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates
* in accordance with the PSoC 64 Secure Boot SDK policies.</td>
* </tr>
* <tr>
* <td>Added \ref Cy_PRA_Init() call to \ref SystemInit() Cortex-M0+ and Cortex-M4 functions for PSoC 64 Secure MCU.</td>
* <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td>
* </tr>
* <tr>
* <td>2.70.1</td> * <td>2.70.1</td>
* <td>Updated documentation for the better description of the existing startup implementation.</td> * <td>Updated documentation for the better description of the existing startup implementation.</td>
* <td>User experience enhancement.</td> * <td>User experience enhancement.</td>

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xxa_cm0plus.sct ;* \file cy8c6xxa_cm0plus.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xxa_cm0plus.ld * \file cy8c6xxa_cm0plus.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xxa_cm0plus.icf * \file cy8c6xxa_cm0plus.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm0plus.c * \file system_psoc6_cm0plus.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -126,6 +130,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* *
*******************************************************************************/ *******************************************************************************/
@ -219,6 +224,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Regsiter Access driver. */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xxa_cm4_dual.sct ;* \file cy8c6xxa_cm4_dual.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xxa_cm4_dual.ld * \file cy8c6xxa_cm4_dual.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xxa_cm4_dual.icf * \file cy8c6xxa_cm4_dual.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm4.c * \file system_psoc6_cm4.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -125,6 +129,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* \endcond * \endcond
*******************************************************************************/ *******************************************************************************/
@ -233,6 +238,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Register Access driver */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6.h * \file system_psoc6.h
* \version 2.70.1 * \version 2.90
* *
* \brief Device system header file. * \brief Device system header file.
* *
@ -321,6 +321,21 @@
* <th>Reason for Change</th> * <th>Reason for Change</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>2.90</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU cyb06xx7 devices.</td>
* <td>Flash allocation adjustment.</td>
* </tr>
* <tr>
* <td rowspan="2">2.80</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td>
* <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates
* in accordance with the PSoC 64 Secure Boot SDK policies.</td>
* </tr>
* <tr>
* <td>Added \ref Cy_PRA_Init() call to \ref SystemInit() Cortex-M0+ and Cortex-M4 functions for PSoC 64 Secure MCU.</td>
* <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td>
* </tr>
* <tr>
* <td>2.70.1</td> * <td>2.70.1</td>
* <td>Updated documentation for the better description of the existing startup implementation.</td> * <td>Updated documentation for the better description of the existing startup implementation.</td>
* <td>User experience enhancement.</td> * <td>User experience enhancement.</td>

View File

@ -1,5 +1,5 @@
;/**************************************************************************//** ;/**************************************************************************//**
; * @file startup_psoc6_02_cm4.s ; * @file startup_psoc6_02_cm4.S
; * @brief CMSIS Core Device Startup File for ; * @brief CMSIS Core Device Startup File for
; * ARMCM4 Device Series ; * ARMCM4 Device Series
; * @version V5.00 ; * @version V5.00

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm4.c * \file system_psoc6_cm4.c
* \version 2.80 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -129,6 +129,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* \endcond * \endcond
*******************************************************************************/ *******************************************************************************/

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6.h * \file system_psoc6.h
* \version 2.80 * \version 2.90
* *
* \brief Device system header file. * \brief Device system header file.
* *
@ -321,13 +321,18 @@
* <th>Reason for Change</th> * <th>Reason for Change</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>2.90</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU cyb06xx7 devices.</td>
* <td>Flash allocation adjustment.</td>
* </tr>
* <tr>
* <td rowspan="2">2.80</td> * <td rowspan="2">2.80</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td> * <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td>
* <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates * <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates
* in accordance with the PSoC 64 Secure Boot SDK policies.</td> * in accordance with the PSoC 64 Secure Boot SDK policies.</td>
* </tr> * </tr>
* <tr> * <tr>
* <td>Added \ref Cy_PRA_Init() function call to \ref SystemInit() API for CM0+ core of PSoC 64 Secure MCU.</td> * <td>Added \ref Cy_PRA_Init() call to \ref SystemInit() Cortex-M0+ and Cortex-M4 functions for PSoC 64 Secure MCU.</td>
* <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td> * <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td>
* </tr> * </tr>
* <tr> * <tr>

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx7_cm0plus.sct ;* \file cy8c6xx7_cm0plus.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx7_cm0plus.ld * \file cy8c6xx7_cm0plus.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx7_cm0plus.icf * \file cy8c6xx7_cm0plus.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm0plus.c * \file system_psoc6_cm0plus.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -126,6 +130,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* *
*******************************************************************************/ *******************************************************************************/
@ -219,6 +224,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Regsiter Access driver. */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx7_cm4_dual.sct ;* \file cy8c6xx7_cm4_dual.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx7_cm4_dual.ld * \file cy8c6xx7_cm4_dual.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx7_cm4_dual.icf * \file cy8c6xx7_cm4_dual.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm4.c * \file system_psoc6_cm4.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -125,6 +129,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* \endcond * \endcond
*******************************************************************************/ *******************************************************************************/
@ -233,6 +238,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Register Access driver */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6.h * \file system_psoc6.h
* \version 2.70.1 * \version 2.90
* *
* \brief Device system header file. * \brief Device system header file.
* *
@ -321,6 +321,21 @@
* <th>Reason for Change</th> * <th>Reason for Change</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>2.90</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU cyb06xx7 devices.</td>
* <td>Flash allocation adjustment.</td>
* </tr>
* <tr>
* <td rowspan="2">2.80</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td>
* <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates
* in accordance with the PSoC 64 Secure Boot SDK policies.</td>
* </tr>
* <tr>
* <td>Added \ref Cy_PRA_Init() call to \ref SystemInit() Cortex-M0+ and Cortex-M4 functions for PSoC 64 Secure MCU.</td>
* <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td>
* </tr>
* <tr>
* <td>2.70.1</td> * <td>2.70.1</td>
* <td>Updated documentation for the better description of the existing startup implementation.</td> * <td>Updated documentation for the better description of the existing startup implementation.</td>
* <td>User experience enhancement.</td> * <td>User experience enhancement.</td>

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx7_cm0plus.sct ;* \file cy8c6xx7_cm0plus.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx7_cm0plus.ld * \file cy8c6xx7_cm0plus.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx7_cm0plus.icf * \file cy8c6xx7_cm0plus.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm0plus.c * \file system_psoc6_cm0plus.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -126,6 +130,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* *
*******************************************************************************/ *******************************************************************************/
@ -219,6 +224,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Regsiter Access driver. */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -4,7 +4,7 @@
;******************************************************************************* ;*******************************************************************************
;* \file cy8c6xx7_cm4_dual.sct ;* \file cy8c6xx7_cm4_dual.sct
;* \version 2.70.1 ;* \version 2.90
;* ;*
;* Linker file for the ARMCC. ;* Linker file for the ARMCC.
;* ;*

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file cy8c6xx7_cm4_dual.ld * \file cy8c6xx7_cm4_dual.ld
* \version 2.70.1 * \version 2.90
* *
* Linker file for the GNU C compiler. * Linker file for the GNU C compiler.
* *

View File

@ -1,6 +1,6 @@
/******************************************************************************* /*******************************************************************************
* \file cy8c6xx7_cm4_dual.icf * \file cy8c6xx7_cm4_dual.icf
* \version 2.70.1 * \version 2.90
* *
* Linker file for the IAR compiler. * Linker file for the IAR compiler.
* *

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6_cm4.c * \file system_psoc6_cm4.c
* \version 2.70.1 * \version 2.90
* *
* The device system-source file. * The device system-source file.
* *
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/******************************************************************************* /*******************************************************************************
* SystemCoreClockUpdate() * SystemCoreClockUpdate()
@ -125,6 +129,7 @@ uint32_t cy_delay32kMs = CY_DELAY_MS_OVERFLOW_THRESHOLD *
* - Unlocks and disables WDT. * - Unlocks and disables WDT.
* - Calls Cy_PDL_Init() function to define the driver library. * - Calls Cy_PDL_Init() function to define the driver library.
* - Calls the Cy_SystemInit() function, if compiled from PSoC Creator. * - Calls the Cy_SystemInit() function, if compiled from PSoC Creator.
* - Calls \ref Cy_PRA_Init() for PSoC 64 devices.
* - Calls \ref SystemCoreClockUpdate(). * - Calls \ref SystemCoreClockUpdate().
* \endcond * \endcond
*******************************************************************************/ *******************************************************************************/
@ -233,6 +238,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */ #endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */ #endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
/* Initialize Protected Register Access driver */
Cy_PRA_Init();
#endif /* defined(CY_DEVICE_SECURE) */
} }

View File

@ -1,6 +1,6 @@
/***************************************************************************//** /***************************************************************************//**
* \file system_psoc6.h * \file system_psoc6.h
* \version 2.70.1 * \version 2.90
* *
* \brief Device system header file. * \brief Device system header file.
* *
@ -321,6 +321,21 @@
* <th>Reason for Change</th> * <th>Reason for Change</th>
* </tr> * </tr>
* <tr> * <tr>
* <td>2.90</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU cyb06xx7 devices.</td>
* <td>Flash allocation adjustment.</td>
* </tr>
* <tr>
* <td rowspan="2">2.80</td>
* <td>Updated linker scripts for PSoC 64 Secure MCU devices.</td>
* <td>Updated FLASH and SRAM memory area definitions in cyb0xxx linker script templates
* in accordance with the PSoC 64 Secure Boot SDK policies.</td>
* </tr>
* <tr>
* <td>Added \ref Cy_PRA_Init() call to \ref SystemInit() Cortex-M0+ and Cortex-M4 functions for PSoC 64 Secure MCU.</td>
* <td>Updated PSoC 64 Secure MCU startup sequence to initialize the Protected Register Access driver.</td>
* </tr>
* <tr>
* <td>2.70.1</td> * <td>2.70.1</td>
* <td>Updated documentation for the better description of the existing startup implementation.</td> * <td>Updated documentation for the better description of the existing startup implementation.</td>
* <td>User experience enhancement.</td> * <td>User experience enhancement.</td>