1 /** 2 * Copyright (c) 2024 Croxel, Inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include "bstests.h" 9 #include "common.h" 10 11 extern enum bst_result_t bst_result; 12 test_tick(bs_time_t HW_device_time)13void test_tick(bs_time_t HW_device_time) 14 { 15 if (bst_result != Passed) { 16 FAIL("test failed (not passed after %i seconds)\n", WAIT_SECONDS); 17 } 18 } 19 test_init(void)20void test_init(void) 21 { 22 bst_ticker_set_next_tick_absolute(WAIT_TIME); 23 bst_result = In_progress; 24 } 25