1 /* 2 * Copyright (c) 2024 Arif Balik <arifbalik@outlook.com> 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6 #include <zephyr/device.h> 7 #include <zephyr/drivers/gpio.h> 8 #include <zephyr/kernel.h> 9 #include <zephyr/ztest.h> 10 11 extern const struct gpio_dt_spec signal_mock; 12 stm32_tsc_setup(void)13static void *stm32_tsc_setup(void) 14 { 15 zexpect_ok(gpio_pin_configure_dt(&signal_mock, GPIO_OUTPUT_INACTIVE), 16 "Failed to configure signal_mock pin"); 17 18 return NULL; 19 } 20 21 ZTEST_SUITE(stm32_tsc, NULL, stm32_tsc_setup, NULL, NULL, NULL); 22