Re: Mynewt system initialization

2016-09-01 Thread Christopher Collins
Hello all, This is a follow-up email regarding Mynewt system initialization. I took all of your feedback (very helpful, thanks!) and did some more thinking. As always, all comments, criticisms, and suggestions are appreciated. Thanks, Chris ### Recap Proposal: 1. Move system

Re: Mynewt system initialization

2016-08-29 Thread Christopher Collins
On Tue, Aug 30, 2016 at 12:35:31AM +, p...@wrada.com wrote: > Would you expect that everyone that writes a new core package, would add > their init code to sys/sysinit package and include their package in the > dependencies for sys/sysinit? Would that mean that if I include > sys/sysinit as a

Re: Mynewt system initialization

2016-08-29 Thread Christopher Collins
On Mon, Aug 29, 2016 at 04:53:12PM -0700, marko kiiskila wrote: > Hi, > > for bootloader I’d like to have different set of devices than the app. > What did you have in mind for that? Different bsp_init() routines? > Or would bsp_init() have conditional parts depending on syscfg.h says? I know

Re: Mynewt system initialization

2016-08-29 Thread p...@wrada.com
Thanks Chris, I think this is a great step in the right direction. I¹m looking forward to seeing it. Just a few quick questions/comments about sysinit. Would you expect that everyone that writes a new core package, would add their init code to sys/sysinit package and include their package in