cmake is not recognizing board variable set in CMakeLists.txt


Sathishkumar Duraisamy <bewithsathish@...>
 

Hi all,

I am Sathishkumar. I am experimenting with zephyr and learning to contribute to it. I am coming form Linux and feels home with kconfig, dts, etc.

As per the application primer, I have set(BOARD qemu_cortex_m3)  in CMakeLists.txt. But cmake complaints :

 BOARD is not being defined on the CMake command-line in the environment or
  by the app.

Are this expected?

Regards,
Sathishkumar D

Join devel@lists.zephyrproject.org to automatically receive all group messages.