Skip to content

Commit e7a3eb4

Browse files
committed
Samples: Updating board files in samples for CYW820829
Updates all supported samples for the cyw920829m2evk_02 board to support multiple SOC options. Signed-off-by: John Batch <john.batch@infineon.com>
1 parent db278f6 commit e7a3eb4

16 files changed

+115
-9
lines changed

samples/basic/blinky_pwm/boards/cyw920829m2evk_02.overlay renamed to samples/basic/blinky_pwm/boards/cyw920829m2evk_02_common.overlay

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* SPDX-License-Identifier: Apache-2.0
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
34
*
4-
* Copyright (c) 2024 Cypress Semiconductor Corporation (an Infineon company) or
5-
* an affiliate of Cypress Semiconductor Corporation
5+
* SPDX-License-Identifier: Apache-2.0
66
*/
77

88
#include <zephyr/dt-bindings/pwm/pwm.h>
@@ -15,6 +15,7 @@
1515

1616
pwmleds {
1717
compatible = "pwm-leds";
18+
1819
pwm_led0: pwm_led_0 {
1920
pwms = <&pwm0_0 0 PWM_MSEC(20) PWM_POLARITY_INVERTED>;
2021
label = "PWM MB1";
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
#include "cyw920829m2evk_02_common.overlay"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
#include "cyw920829m2evk_02_common.overlay"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
#include "cyw920829m2evk_02_common.overlay"

samples/basic/fade_led/boards/cyw920829m2evk_02.overlay renamed to samples/basic/fade_led/boards/cyw920829m2evk_02_common.overlay

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* SPDX-License-Identifier: Apache-2.0
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
34
*
4-
* Copyright (c) 2024 Cypress Semiconductor Corporation (an Infineon company) or
5-
* an affiliate of Cypress Semiconductor Corporation
5+
* SPDX-License-Identifier: Apache-2.0
66
*/
77

88
#include <zephyr/dt-bindings/pwm/pwm.h>
@@ -16,6 +16,7 @@
1616

1717
pwmleds {
1818
compatible = "pwm-leds";
19+
1920
pwm_led0: pwm_led_0 {
2021
pwms = <&pwm0_0 0 PWM_MSEC(20) PWM_POLARITY_INVERTED>;
2122
label = "PWM MB1";
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
#include "cyw920829m2evk_02_common.overlay"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
#include "cyw920829m2evk_02_common.overlay"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
#include "cyw920829m2evk_02_common.overlay"

samples/drivers/adc/adc_dt/boards/cyw920829m2evk_02.overlay renamed to samples/drivers/adc/adc_dt/boards/cyw920829m2evk_02_common.overlay

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* SPDX-License-Identifier: Apache-2.0
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
34
*
4-
* Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
5-
* an affiliate of Cypress Semiconductor Corporation
5+
* SPDX-License-Identifier: Apache-2.0
66
*/
77

88
#include <zephyr/dt-bindings/adc/adc.h>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* Copyright (c) 2025 Infineon Technologies AG,
3+
* or an affiliate of Infineon Technologies AG.
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
#include "cyw920829m2evk_02_common.overlay"

0 commit comments

Comments
 (0)