You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
575 B
23 lines
575 B
# Turn on logging, and set ZMK logging to debug output |
|
CONFIG_LOG=y |
|
CONFIG_ZMK_LOG_LEVEL_DBG=y |
|
|
|
# Turn on USB CDC ACM device |
|
CONFIG_USB=y |
|
CONFIG_USB_DEVICE_STACK=y |
|
CONFIG_USB_CDC_ACM=y |
|
CONFIG_USB_CDC_ACM_RINGBUF_SIZE=1024 |
|
CONFIG_USB_CDC_ACM_DEVICE_NAME="CDC_ACM" |
|
CONFIG_USB_CDC_ACM_DEVICE_COUNT=1 |
|
|
|
# Enable serial console |
|
CONFIG_SERIAL=y |
|
CONFIG_CONSOLE=y |
|
CONFIG_UART_INTERRUPT_DRIVEN=y |
|
CONFIG_UART_LINE_CTRL=y |
|
|
|
# Enable USB UART, and set the console device |
|
CONFIG_UART_CONSOLE=y |
|
CONFIG_USB_UART_CONSOLE=y |
|
CONFIG_UART_CONSOLE_ON_DEV_NAME="CDC_ACM_0" |
|
CONFIG_USB_UART_DTR_WAIT=n |