Re: recommendations for IO pin declarations

2018-03-01 Thread Miguel Azevedo
> Unfortunately there is no universal AF value for pwm channels, on some pins > it's 1, on some it's 6 ... , some pins cannot be used as pwm channel outputs > at all and some pins could be used as the output of multiple channels. Not sure I got it right. So you can configure a given pin using 1

Re: Move driver _shell_init into driver pkg.init instead of app main

2018-03-01 Thread marko kiiskila
+1 on using sysinit > On Mar 1, 2018, at 6:18 PM, Jacob Rosenthal wrote: > > shell_init in the app feels odd. > https://github.com/apache/mynewt-core/blob/master/apps/sensors_test/src/main.c#L411 > > It feels like they should be down in the drivers pkg.init, especially