Files
zephyr/samples/basic/button/boards/cy8ckit_041s_max.overlay
Braeden Lane 56014df8d9 tests: Add cy8ckit_041s_max test overlays
Add test and sample overlays for CY8CKIT-041S-MAX board:
- GPIO basic API test using P1.2 and P1.3 pins
- Button sample using P11.5 with pull-up configuration

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-22 13:01:21 -05:00

27 lines
410 B
Plaintext

/*
* Copyright (c) 2025 Infineon Technologies AG,
* or an affiliate of Infineon Technologies AG.
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
aliases {
sw0 = &user_btn;
};
gpio_keys {
compatible = "gpio-keys";
user_btn: button_0 {
label = "SW_0";
gpios = <&gpio_prt11 5 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
zephyr,code = <INPUT_KEY_0>;
};
};
};
&gpio_prt11 {
status = "okay";
};