diff --git a/examples/nx/nx_internal.h b/examples/nx/nx_internal.h index ce1f61771b8..b01fa5db642 100644 --- a/examples/nx/nx_internal.h +++ b/examples/nx/nx_internal.h @@ -49,6 +49,10 @@ /* Configuration ************************************************************/ +#ifndef CONFIG_NXGRAPHICS +# error "NX is not enabled (CONFIG_NXGRAPHICS)" +#endif + #ifndef CONFIG_EXAMPLES_NX_VPLANE # define CONFIG_EXAMPLES_NX_VPLANE 0 #endif