Re: Set proj.conf config parameter from CMakelists


Nikos Karamolegkos
 

I found a solution. I pass it as argument to west build.

On 28/5/21 11:49 π.μ., Nikos Karamolegkos wrote:
Hello,

I would like to set the CONFIG_FLASH_LOAD_OFFSET variable before compilation without setting in to proj.conf file. Can I use CMakelist.txt or something else to define a default value in case is not set in proj.conf. Identically,  I would like to hide from the programmer that the CONFIG_FLASH_LOAD_OFFSET is set to another value so I would prefer to avoid add it to proj.conf and just update (somehow) before compilation of the code.

Thank you
--
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)

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