mynewt-core is a project, just like any project you create with newt new.
so, just git clone mynewt-core (or ungz the tarball), and then set the app & bsp you want to compile it for. (blinky, bletiny, etc.)
i do most of my dev on mynewt-core itself, but when we release, its really meant to be included in other people's projects (and newt install/upgrade can manage it as a remote dependency.)
cheers, sterling On 4/30/16 5:49 PM, Justin Mclean wrote:
HI, Perhaps a silly question but how do you compile mynewt core? There doesn’t seem to be any instructions in the package. I’m also run into an issue with compiling blinky on OSX and was getting this: Building target targets/my_blinky_sim Compiling main.c Error: In file included from main.c:19:0: /Users/justinmclean/Downloads/ApacheMynewt/apache-blinky-0.8.0-incubating/repos/apache-mynewt-core/libs/os//include/os/os.h:23:20: fatal error: stdlib.h: No such file or directory compilation terminated. To solve just run this to reinstall the dev tools. xcode-select --install I had upgraded to El Capitan the other day and look like it needs a new version of the dev tools. Thanks, Justin
