How to define custom symbols in kconfig

Hello,

I am trying to having custom symbols defined in kconfig, as in the reference : https://www.zephyrproject.org/add-custom-kconfig-symbols-in-zephyr/

But I am always getting a compilation error.

Please find my project : Peripheral_Integration_Project.zip

All I need to do is add a symbol "INTG_LED2COLOR", which if defined should enable my folder source "add_subdirectory_ifdef(CONFIG_INTG_LED2COLOR LED_2_Color)" for build

Kindly suggest.

Related