1 /* 2 * Copyright (c) 2018 Phytec Messtechnik GmbH 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr.h> 8 #include <logging/log.h> 9 #include <usb/usb_device.h> 10 LOG_MODULE_REGISTER(main); 11 main(void)12void main(void) 13 { 14 int ret; 15 16 ret = usb_enable(NULL); 17 if (ret != 0) { 18 LOG_ERR("Failed to enable USB"); 19 return; 20 } 21 22 LOG_INF("entered main."); 23 } 24