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

Why there is no main() in zephyr thread sample codes?

Hello:

    I am studying thread samples in nRF9160.

   There are two thread samples: "zephyr\samples\basic\threads" and “zephyr\samples\synchronization”.

    But I can't find main() in those two samples.

    So I don't know where the code started from and how the code run threads.

    Can you explain to me what is the entry point of the sample code?

    I know the code begin with 0x000000 in ram but I don't know which code is in 0x00000 and how the code run from 0x0000 to threads in those examples.

Related