Update GeneratedSource and system files for B0S2 using psoc6pdl 1.6.0.4172 RC2

pull/13122/head
Roman Okhrimenko 2020-06-15 21:30:02 +03:00
parent aa3c81e749
commit f99a1c49b9
16 changed files with 87 additions and 66 deletions

View File

@ -4,10 +4,10 @@
* Description:
* Wrapper function to initialize all generated code.
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Simple wrapper header containing all generated files.
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Sentinel file for determining if generated source is up to date.
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Clock configuration
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Clock configuration
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -5,10 +5,10 @@
* Contains warnings and errors that occurred while generating code for the
* design.
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Peripheral Hardware Block configuration
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Peripheral Hardware Block configuration
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Pin configuration
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Pin configuration
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Establishes all necessary connections between hardware elements.
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -4,10 +4,10 @@
* Description:
* Establishes all necessary connections between hardware elements.
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation
@ -38,20 +38,20 @@ void init_cycfg_routing(void);
#define init_cycfg_connectivity() init_cycfg_routing()
#define ioss_0_port_0_pin_0_ANALOG P0_0_SRSS_WCO_IN
#define ioss_0_port_0_pin_1_ANALOG P0_1_SRSS_WCO_OUT
#define ioss_0_port_1_pin_0_HSIOM HSIOM_SEL_AMUXA
#define ioss_0_port_1_pin_0_HSIOM HSIOM_SEL_AMUXB
#define ioss_0_port_6_pin_4_HSIOM P6_4_CPUSS_SWJ_SWO_TDO
#define ioss_0_port_6_pin_6_HSIOM P6_6_CPUSS_SWJ_SWDIO_TMS
#define ioss_0_port_6_pin_7_HSIOM P6_7_CPUSS_SWJ_SWCLK_TCLK
#define ioss_0_port_7_pin_1_HSIOM HSIOM_SEL_AMUXA
#define ioss_0_port_7_pin_2_HSIOM HSIOM_SEL_AMUXA
#define ioss_0_port_7_pin_7_HSIOM HSIOM_SEL_AMUXB
#define ioss_0_port_7_pin_1_HSIOM HSIOM_SEL_AMUXB
#define ioss_0_port_7_pin_2_HSIOM HSIOM_SEL_AMUXB
#define ioss_0_port_7_pin_7_HSIOM HSIOM_SEL_AMUXA
#define ioss_0_port_8_pin_1_HSIOM HSIOM_SEL_AMUXA
#define ioss_0_port_8_pin_2_HSIOM HSIOM_SEL_AMUXB
#define ioss_0_port_8_pin_3_HSIOM HSIOM_SEL_AMUXA
#define ioss_0_port_8_pin_4_HSIOM HSIOM_SEL_AMUXB
#define ioss_0_port_8_pin_5_HSIOM HSIOM_SEL_AMUXB
#define ioss_0_port_8_pin_4_HSIOM HSIOM_SEL_AMUXA
#define ioss_0_port_8_pin_5_HSIOM HSIOM_SEL_AMUXA
#define ioss_0_port_8_pin_6_HSIOM HSIOM_SEL_AMUXB
#define ioss_0_port_8_pin_7_HSIOM HSIOM_SEL_AMUXA
#define ioss_0_port_8_pin_7_HSIOM HSIOM_SEL_AMUXB
#if defined(__cplusplus)
}

View File

@ -4,10 +4,10 @@
* Description:
* System configuration
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation
@ -709,7 +709,7 @@ void init_cycfg_system(void)
Cy_SysClk_ClkSlowInit();
#endif
#if ((CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM == 0x6UL) && (CY_CFG_SYSCLK_CLKHF0_CLKPATH == 0U))
#if ((CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM == 0x6UL) && (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 0U))
/* Configure HFCLK0 to temporarily run from IMO to initialize other clocks */
Cy_SysClk_ClkPathSetSource(1UL, CY_SYSCLK_CLKPATH_IN_IMO);
Cy_SysClk_ClkHfSetSource(0UL, CY_SYSCLK_CLKHF_IN_CLKPATH1);
@ -773,7 +773,7 @@ void init_cycfg_system(void)
Cy_SysClk_ClkHf0Init();
#if ((CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM == 0x6UL) && (CY_CFG_SYSCLK_CLKHF0_CLKPATH == 0U))
#if ((CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM == 0x6UL) && (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 0U))
#ifdef CY_CFG_SYSCLK_CLKPATH1_ENABLED
/* Apply the ClkPath1 user setting */
Cy_SysClk_ClkPath1Init();
@ -894,9 +894,6 @@ void init_cycfg_system(void)
/* Configure default enabled clocks */
#ifdef CY_CFG_SYSCLK_ILO_ENABLED
Cy_SysClk_IloInit();
#else
Cy_SysClk_IloDisable();
Cy_SysClk_IloHibernateOn(false);
#endif
#ifndef CY_CFG_SYSCLK_IMO_ENABLED
@ -921,6 +918,15 @@ void init_cycfg_system(void)
/* Update System Core Clock values for correct Cy_SysLib_Delay functioning */
SystemCoreClockUpdate();
#ifndef CY_CFG_SYSCLK_ILO_ENABLED
#ifdef CY_CFG_SYSCLK_CLKLF_ENABLED
/* Wait 4 ILO cycles in case of unfinished CLKLF clock source transition */
Cy_SysLib_DelayUs(200U);
#endif
Cy_SysClk_IloDisable();
Cy_SysClk_IloHibernateOn(false);
#endif
#endif /* ((!CY_CPU_CORTEX_M4) || (!defined(CY_DEVICE_SECURE))) */

View File

@ -4,10 +4,10 @@
* Description:
* System configuration
* This file was automatically generated and should not be modified.
* Tools Package 2.1.0.1260
* psoc6pdl 1.6.0.3875
* Tools Package 2.2.0.1747
* psoc6pdl 1.6.0.4172
* personalities_2.0 2.0.0.0
* udd 1.2.0.300
* udd 1.2.0.370
*
********************************************************************************
* Copyright 2020 Cypress Semiconductor Corporation

View File

@ -1,6 +1,6 @@
/***************************************************************************//**
* \file system_psoc6_cm4.c
* \version 2.70.1
* \version 2.80
*
* The device system-source file.
*
@ -40,6 +40,10 @@
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#endif /* !defined(CY_IPC_DEFAULT_CFG_DISABLE) */
#if defined(CY_DEVICE_SECURE)
#include "cy_pra.h"
#endif /* defined(CY_DEVICE_SECURE) */
/*******************************************************************************
* SystemCoreClockUpdate()
@ -233,6 +237,11 @@ void SystemInit(void)
#endif /* defined(CY_DEVICE_PSOC6ABLE2) */
#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
* \version 2.70.1
* \version 2.80
*
* \brief Device system header file.
*
@ -321,6 +321,16 @@
* <th>Reason for Change</th>
* </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() function call to \ref SystemInit() API for CM0+ core of 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>Updated documentation for the better description of the existing startup implementation.</td>
* <td>User experience enhancement.</td>
@ -538,11 +548,7 @@ extern "C" {
* \addtogroup group_system_config_system_functions
* \{
*/
#if defined(__ARMCC_VERSION)
extern void SystemInit(void) __attribute__((constructor));
#else
extern void SystemInit(void);
#endif /* (__ARMCC_VERSION) */
extern void SystemCoreClockUpdate(void);
/** \} group_system_config_system_functions */