| /* | |
| * Copyright (c) 2018 Phytec Messtechnik GmbH | |
| * | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| #include <zephyr/kernel.h> | |
| #include <zephyr/logging/log.h> | |
| #include <zephyr/usb/usb_device.h> | |
| LOG_MODULE_REGISTER(main); | |
| void main(void) | |
| { | |
| int ret; | |
| ret = usb_enable(NULL); | |
| if (ret != 0) { | |
| LOG_ERR("Failed to enable USB"); | |
| return; | |
| } | |
| LOG_INF("entered main."); | |
| } |