File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
variants/arduino_portenta_c33_r7fa6m5bh3cfc Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,9 @@ static int loader(const struct shell *sh) {
219219 return 0 ;
220220 }
221221#elif CONFIG_LOG
222+ #if !CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT
223+ usb_enable (NULL );
224+ #endif
222225 for (int i = 0 ; i < log_backend_count_get (); i ++ ) {
223226 const struct log_backend * backend ;
224227 backend = log_backend_get (i );
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n
1010CONFIG_SERIAL=y
1111CONFIG_UART_LINE_CTRL=y
1212CONFIG_USBD_CDC_ACM_CLASS=y
13- CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT=y
1413CONFIG_USBD_CDC_ACM_LOG_LEVEL_ERR=y
1514CONFIG_UDC_DRIVER_LOG_LEVEL_ERR=y
1615CONFIG_USBD_LOG_LEVEL_ERR=y
@@ -28,8 +27,8 @@ CONFIG_MAIN_STACK_SIZE=32768
2827CONFIG_LLEXT_HEAP_SIZE=128
2928CONFIG_HEAP_MEM_POOL_SIZE=32768
3029CONFIG_ISR_STACK_SIZE=8192
31- CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=8192
32- CONFIG_IDLE_STACK_SIZE=8192
30+ # CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=8192
31+ # CONFIG_IDLE_STACK_SIZE=8192
3332CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=8192
3433
3534CONFIG_ADC=y
Original file line number Diff line number Diff line change 55 };
66};
77
8+ /{
9+ chosen {
10+ zephyr,log-uart = &log_uarts;
11+ };
12+
13+ log_uarts: log_uarts {
14+ compatible = "zephyr,log-uart";
15+ uarts = <&uart9 &board_cdc_acm_uart>;
16+ };
17+ };
18+
819&flash0 {
920 partitions {
1021 mcuboot: partition@0 {
You can’t perform that action at this time.
0 commit comments