kasjer opened a new pull request, #3024:
URL: https://github.com/apache/mynewt-core/pull/3024
This is extension of #2729 with difference being lack of weak function that
seems not work every time.
In incorporates original commit by @andrzej-kaczmarek.
This change was motivated by awkward way native mynewt build was working.
Some implementations of main function looked like this
```c
int
main(int argc, char **argv)
{
#ifdef ARCH_sim
mcu_sim_parse_args(argc, argv);
#endif
...
```
where `mcu_sim_parse_args` called main function recursively after parsing
arguments and preparing native environment.
Now mynewt main function is called `mynewt_main` and is called from startup
code (start.c) while native bsp has `main` function that parses command line
arguments and then calls mynewt application `mynewt_main`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]