diff --git a/ports/zephyr/boards/mimxrt1050_evk.conf b/ports/zephyr/boards/mimxrt1050_evk.conf index c4abf726a450..98981df75a00 100644 --- a/ports/zephyr/boards/mimxrt1050_evk.conf +++ b/ports/zephyr/boards/mimxrt1050_evk.conf @@ -1,7 +1,6 @@ # Required for zephyr.DiskAccess block devices CONFIG_DISK_ACCESS=y -CONFIG_USB=y CONFIG_USB_DEVICE_STACK=y CONFIG_USB_DEVICE_PRODUCT="Zephyr MicroPython" CONFIG_USB_MASS_STORAGE=y diff --git a/ports/zephyr/main.c b/ports/zephyr/main.c index f97276834078..1275a49739e6 100644 --- a/ports/zephyr/main.c +++ b/ports/zephyr/main.c @@ -34,7 +34,7 @@ #include #endif -#ifdef CONFIG_USB +#ifdef CONFIG_USB_DEVICE_STACK #include #endif @@ -140,7 +140,7 @@ int real_main(void) { #endif mp_init(); - #ifdef CONFIG_USB + #ifdef CONFIG_USB_DEVICE_STACK usb_enable(NULL); #endif