Skip to content

Commit 06354bf

Browse files
committed
PSOC6: update BSP generated sources with latest configurator
Use ModusToolbox Device Configurator 1.1.0.284 to generate the BSP low-level initialization code. Compatible version of Device Configurator to be released with ModusToolbox 1.1. Notable changes: * rename cycfg_connectivity -> cycfg_routing * switch LF_CLK clock source from ILO to WCO on CY8CPROTO-062-4343W and CYW943012P6EVB-01
1 parent cefc745 commit 06354bf

File tree

37 files changed

+98
-106
lines changed

37 files changed

+98
-106
lines changed

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_4343W/GeneratedSource/cycfg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ void init_cycfg_all(void)
3030
init_cycfg_peripherals();
3131
init_cycfg_pins();
3232
init_cycfg_platform();
33-
init_cycfg_connectivity();
33+
init_cycfg_routing();
3434
}

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_4343W/GeneratedSource/cycfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extern "C" {
3434
#include "cycfg_peripherals.h"
3535
#include "cycfg_pins.h"
3636
#include "cycfg_platform.h"
37-
#include "cycfg_connectivity.h"
37+
#include "cycfg_routing.h"
3838

3939
void init_cycfg_all(void);
4040

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_4343W/GeneratedSource/cycfg_peripherals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#include "cy_mcwdt.h"
3636
#include "cy_rtc.h"
3737
#include "cy_tcpwm_pwm.h"
38-
#include "cycfg_connectivity.h"
38+
#include "cycfg_routing.h"
3939
#include "cy_usbfs_dev_drv.h"
4040

4141
#if defined(__cplusplus)

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_4343W/GeneratedSource/cycfg_pins.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#include "cycfg_notices.h"
2929
#include "cy_gpio.h"
30-
#include "cycfg_connectivity.h"
30+
#include "cycfg_routing.h"
3131

3232
#if defined(__cplusplus)
3333
extern "C" {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* File Name: cycfg_connectivity.c
2+
* File Name: cycfg_routing.c
33
*
44
* Description:
55
* Establishes all necessary connections between hardware elements.
@@ -22,11 +22,11 @@
2222
* limitations under the License.
2323
********************************************************************************/
2424

25-
#include "cycfg_connectivity.h"
25+
#include "cycfg_routing.h"
2626

2727
#include "cy_device_headers.h"
2828

29-
void init_cycfg_connectivity(void)
29+
void init_cycfg_routing(void)
3030
{
3131
HSIOM->AMUX_SPLIT_CTL[2] = HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_AA_SL_Msk |
3232
HSIOM_V2_AMUX_SPLIT_CTL_SWITCH_AA_SR_Msk |
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* File Name: cycfg_connectivity.h
2+
* File Name: cycfg_routing.h
33
*
44
* Description:
55
* Establishes all necessary connections between hardware elements.
@@ -22,16 +22,16 @@
2222
* limitations under the License.
2323
********************************************************************************/
2424

25-
#if !defined(CYCFG_CONNECTIVITY_H)
26-
#define CYCFG_CONNECTIVITY_H
25+
#if !defined(CYCFG_ROUTING_H)
26+
#define CYCFG_ROUTING_H
2727

2828
#if defined(__cplusplus)
2929
extern "C" {
3030
#endif
3131

3232
#include "cycfg_notices.h"
33-
void init_cycfg_connectivity(void);
34-
33+
void init_cycfg_routing(void);
34+
#define init_cycfg_connectivity() init_cycfg_routing()
3535
#define ioss_0_port_11_pin_1_HSIOM P11_1_TCPWM1_LINE_COMPL1
3636
#define ioss_0_port_11_pin_2_HSIOM P11_2_SMIF_SPI_SELECT0
3737
#define ioss_0_port_11_pin_3_HSIOM P11_3_SMIF_SPI_DATA3
@@ -73,4 +73,4 @@ void init_cycfg_connectivity(void);
7373
#endif
7474

7575

76-
#endif /* CYCFG_CONNECTIVITY_H */
76+
#endif /* CYCFG_ROUTING_H */

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_BLE/GeneratedSource/cycfg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ void init_cycfg_all(void)
3030
init_cycfg_peripherals();
3131
init_cycfg_pins();
3232
init_cycfg_platform();
33-
init_cycfg_connectivity();
33+
init_cycfg_routing();
3434
}

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_BLE/GeneratedSource/cycfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extern "C" {
3434
#include "cycfg_peripherals.h"
3535
#include "cycfg_pins.h"
3636
#include "cycfg_platform.h"
37-
#include "cycfg_connectivity.h"
37+
#include "cycfg_routing.h"
3838

3939
void init_cycfg_all(void);
4040

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_BLE/GeneratedSource/cycfg_pins.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#include "cycfg_notices.h"
2929
#include "cy_gpio.h"
30-
#include "cycfg_connectivity.h"
30+
#include "cycfg_routing.h"
3131

3232
#if defined(__cplusplus)
3333
extern "C" {

targets/TARGET_Cypress/TARGET_PSOC6/TARGET_CY8CKIT_062_BLE/GeneratedSource/cycfg_platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ __STATIC_INLINE void Cy_SysClk_IloInit()
119119
__STATIC_INLINE void Cy_SysClk_ClkLfInit()
120120
{
121121
/* The WDT is unlocked in the default startup code */
122-
Cy_SysClk_ClkLfSetSource(CY_SYSCLK_CLKLF_IN_ILO);
122+
Cy_SysClk_ClkLfSetSource(CY_SYSCLK_CLKLF_IN_WCO);
123123
}
124124
__STATIC_INLINE void Cy_SysClk_ClkPath0Init()
125125
{

0 commit comments

Comments
 (0)