Check which board version I am using in the CMakeLists.txt

How can I check which board version I am using in the CMakeLists.txt file to compile a specific file depending on the version being used?
if(CONFIG_GPIO)
	zephyr_library()
	zephyr_library_sources(foor.c)
endif()
Parents Reply Children
Related