1 /* 2 * Copyright (c) 2020 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #define LOG_LEVEL LOG_LEVEL_INF 8 #include <zephyr/logging/log.h> 9 LOG_MODULE_DECLARE(mec15_brd_test); 10 #include "power_mgmt.h" 11 12 #define MAX_CYCLES 5ul 13 main(void)14int main(void) 15 { 16 test_pwr_mgmt_singlethread(false, MAX_CYCLES); 17 18 test_pwr_mgmt_singlethread(true, MAX_CYCLES); 19 20 test_pwr_mgmt_multithread(false, MAX_CYCLES); 21 22 test_pwr_mgmt_multithread(true, MAX_CYCLES); 23 return 0; 24 } 25