Skip to content
Snippets Groups Projects

debug-console: set overlay to enable shell/console over USB (CDC ACM)

Merged Francesco Pham requested to merge mrfrank/openthread-node-zephyr:main into main
3 files
+ 25
0
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 5
0
@@ -14,10 +14,15 @@ LOG_MODULE_REGISTER(openthreadnode, LOG_LEVEL_DBG);
@@ -14,10 +14,15 @@ LOG_MODULE_REGISTER(openthreadnode, LOG_LEVEL_DBG);
#include <zephyr.h>
#include <zephyr.h>
#include <sys/printk.h>
#include <sys/printk.h>
#include <stdio.h>
#include <stdio.h>
 
#include <zephyr/usb/usb_device.h>
#define APP_BANNER "Oniro Gateway Blueprint OpenThread node"
#define APP_BANNER "Oniro Gateway Blueprint OpenThread node"
void main(void)
void main(void)
{
{
LOG_INF(APP_BANNER);
LOG_INF(APP_BANNER);
 
 
if (usb_enable(NULL)) {
 
return -1;
 
}
}
}
Loading