FYI- I have filed a PR implementing this change: https://github.com/apache/mynewt-core/pull/969
Chris On Wed, Mar 21, 2018 at 10:47:14AM -0700, Christopher Collins wrote: > Hello all, > > I was thinking about adding a new header to the core repo that just > includes the (more or less) mandatory headers: > > * syscfg/syscfg.h > * sysinit/sysinit.h > * os/os.h > * defs/error.h > > The rule of thumb would be: just include "mynewt.h" in every file. I > think this would make an application developer's job easier, and > simplify the introduction to Mynewt. > > Thoughts? > > Thanks, > Chris