This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NCS v1.5.0 sample build error

Hi Dev team,

I was trying to build the mqtt_simple sample in the new NCS v1.5.0 and I am getting a build error.

I tried to build other samples as well but was faced with the same error. I think its related to the FLASH memory partition.

Can you help me out in running the samples of NCS v1.5.0 

Regards,

Adeel.

Parents Reply
  • Hi Hakon,

    The MQTT sample builds fine. I was trying to build my own sample wherein I encountered this error.

    I am using the kernel timers in that along with the date_time library. 

    This error was generally solved using CONFIG_LEGACY_TIMEOUT_API. Can you let me know what changes can I make in the sys_clock.h file to solve this error .

    The Zephyr issue for "CONFIG_LEGACY_TIMEOUT_API" states that : "All kernel timeout usage must use the new-style k_timeout_t type and not the legacy/deprecated millisecond counts." What does this mean ?

    Regards,

    Adeel.

Children
Related