This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

USB CDC sample fault with CONFIG_NO_OPTIMIZATIONS=y

On a nRF5340 DK the sample ncs/zephyr/samples/subsys/usb/cdc_acm runs fine.  However, if I add "CONFIG_NO_OPTIMIZATIONS=y" to prj.conf I get faults (see below).  Any ideas why that would be?

I'm turning off optimizations so it is easier to debug in SES.  Is this the right way to go about that?

Related