Debugging Zephyr* Applications for the ARC* Core

To debug Zephyr applications for the ARC core, the Zephyr Intel® Quark™ application configuration needs to be modified from the default and be built with the three CONFIG_ARC_ options set to y:

CONFIG_ARC_INIT=y
CONFIG_ARC_INIT_DEBUG=y
CONFIG_ARC_GDB_ENABLE=y

The debug configurations for ARC will give the Intel® Quark™ core enough time to reach the proper place in the Zephyr kernel before releasing the ARC core, the time is around 1 second for the Intel® Quark™ SE microcontroller C1000 board and can be up to 5 seconds on the Arduino* 101 / Genuino* 101 board with default firmware.

While debugging the ARC application, the Intel® Quark™ application will be running.

For more complete information about compiler optimizations, see our Optimization Notice.