Re: Compile and build time, any way to speed up?

2017-01-04 Thread David G. Simmons
Hi Cris, What sorts of compile times are you seeing? And for what apps? Thanks, dg > On Jan 4, 2017, at 8:53 AM, Cris Frusina wrote: > > Hi All, > > I'm using the Docker method to run myNewt. > > I have tried giving the VM more resources doesn't seem to do anything in >

Re: Compile and build time, any way to speed up?

2017-01-04 Thread David G. Simmons
Hi Cris, Ok, that helps. Those times seem very high to me. I'm running natively on Mac OS Sierra and using the same bleprph code base -- modified a fair amount for an ADC sensor -- and any changes to main take about 4 seconds to compile, and more substantial changes to other parts of the code

Compile and build time, any way to speed up?

2017-01-04 Thread Cris Frusina
Hi All, I'm using the Docker method to run myNewt. I have tried giving the VM more resources doesn't seem to do anything in terms of speed. Is there any way to speed up the compile and build time? Would the native method be substantially faster? Thanks, Cris

Re: Compile and build time, any way to speed up?

2017-01-04 Thread Cris Frusina
Hi David, I'm building my code on top of the bleprph app. I haven't done too much to it as I'm still just playing around with myNewt. I've added the nffs dependency and some custom code, most of it is still the same. It depends on the changes I make to the code, if I only change the main.c

Re: Sensor API Helper Functions

2017-01-04 Thread Sterling Hughes
Hi Kevin, On 23 Dec 2016, at 15:26, Kevin Townsend wrote: I'm probably getting ahead of myself diving into this before the sensor API is nailed down, but if we wanted to add some generic helper functions that make use of the sensor API, what would be a good location or what to organize them

Re: Sensor API Helper Functions

2017-01-04 Thread Kevin Townsend
Hi Sterling, All of the above can probably be fit into a package based on sensor 'orientation', which might be a natural organizational unit? I think this belongs in the core sensor package itself, or as a sub-directory of hw/sensor (i.e. hw/sensor/orientation). Orientation is a very common

Re: Using LWIP with MyNewt

2017-01-04 Thread marko kiiskila
Hi Gilles, > On Jan 3, 2017, at 8:53 PM, Gilles Boccon-Gibod wrote: > > I'm trying to put together a simple app that uses TCP/IP with MyNewt. > I don't see any reference to how to enable/use LWIP in any of the tutorials > or docs, but I can see that LWIP is included in the

Re: Compile and build time, any way to speed up?

2017-01-04 Thread Cris Frusina
Hi Marko, Where do I find Simon's changes? I'd like to give it a try. Thanks Cris > On Jan 4, 2017, at 1:21 PM, marko kiiskila wrote: > > Hi Cris, > > Simon Ratner has made a number of improvements to newt which should > help with the native Windows support. > > I have not

Re: Compile and build time, any way to speed up?

2017-01-04 Thread Cris Frusina
Thanks Marko, I'll try it out when I get a chance. Cheers, Cris > On Jan 4, 2017, at 1:55 PM, marko kiiskila wrote: > > Hi, > > those are merged in, and are present in develop branch. > > https://github.com/apache/incubator-mynewt-core/pull/150 >

Re: Compile and build time, any way to speed up?

2017-01-04 Thread marko kiiskila
Hi, those are merged in, and are present in develop branch. https://github.com/apache/incubator-mynewt-core/pull/150 https://github.com/apache/incubator-mynewt-newt/pull/29 >

Re: newt build error

2017-01-04 Thread Alan Graves
Hi Sterling, Thanks that's good to hear. I got the build working under the virtualized xubuntu environment, however the USB SWD debugger on the Nordic board kept crashing my PC. I'm hoping that the PC MB is the source of the blue screens I've been getting, at least I'll find out once Dell

Re: BLE certification of the Nimble stack

2017-01-04 Thread Kevin Townsend
This is something I've been curious about myself as well. Nimble is still a work in progress, but I've wondered if there were any plans once the final 1.0 release is done and initial development is considered closed. The SD from Nordic has some significant trade-offs in terms of losing real

Re: Compile and build time, any way to speed up?

2017-01-04 Thread marko kiiskila
Hi Cris, Simon Ratner has made a number of improvements to newt which should help with the native Windows support. I have not had a chance to try those out (as I don’t have Windows setup), so I don’t know what the exact state is. But they did seem pretty good. I do recommend trying that out. And