Re: IDE used for Mynewt Development

2017-01-18 Thread Andrzej Kaczmarek
Hi Chew, On Wed, Jan 18, 2017 at 6:37 AM, Lm Chew wrote: > Hi, > > > Before moving to mynewt platform, I worked with Nordic SDK using Eclipse > IDE and uses CDT Parser to parse the makefile output to display useful > information in Eclipse. And was able to use the GDB to

Using Eclipse for Mynewt development

2017-01-18 Thread Christopher Collins
Here are some of my notes for getting Mynewt to work with eclipse. I wrote these a while back, so there may be a few inaccuracies. Also, these notes assume you are building bletiny for the nRF52dk BSP, so you may need to adjust accordingly. Thanks, Chris *** Setup 1. Download Eclipse Neon

Re: stopping scan & adv in bleprph example

2017-01-18 Thread Christopher Collins
Hi, sorry for the late response. Somehow I missed this. On Mon, Jan 16, 2017 at 08:22:27PM -0800, will sanfilippo wrote: > Yes, Mynewt works the same way as FreeRTOS in this respect. Well, at least in > the way you are describing FreeRTOS. We have a tickless OS and when we decide > to go to

Re: Using Eclipse for Mynewt development

2017-01-18 Thread Jitesh Shah
To add to that, we use the GNU ARM Eclipse plugin ( http://gnuarmeclipse.github.io/) to get the peripherals view while debugging. The website (http://gnuarmeclipse.github.io/plugins/packs-manager/) has good documentation of how to get it up and running. We couldn't get it to work on Neon, but the

Re: Using Eclipse for Mynewt development

2017-01-18 Thread Lm Chew
Hi Chris, Thanks for the instruction on setting debugging on eclipse. Manage to get it to work with minor changes to the steps you provide. For this step: 5. File -> New -> New Project -> C/C++ -> C Project -> Makefile project -> Empty Project I did this instead,

Re: crypto libraries

2017-01-18 Thread Szymon Janc
Hi Marko, On 9 January 2017 at 19:25, marko kiiskila wrote: > Hi, > >> On Jan 9, 2017, at 5:30 AM, Szymon Janc wrote: >> >> Hi, >> >> Currently there are 2 crypto libraries in mynewt sourcetree - TinyCrypt and >> mbedTLS. TinyCrypt is used only by

Re: Tutorial problem with the Docker Container

2017-01-18 Thread David G. Simmons
This appears not to be a docker-specific problem. I am running natively on MacOS Sierra and see the same problem. It seems to be a Go problem newt test @repos/apache-mynewt-core/libs/os panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation

Re: SPI/I2C on Arduino Primo

2017-01-18 Thread David G. Simmons
I'm thinking it should be possible to just pull in your existing Adafruit_BME280_Library maybe? Or maybe not since it's C++ ... Let's say that is possible, How would I go about that? The I2C transactions should, as you say, be pretty straightforward with what you already provided. dg > On

Re: IDE used for Mynewt Development

2017-01-18 Thread aditi hilbert
> > I was actually planning to create short tutorial on how to use Eclipse for > Mynewt based on our experience. I can't promise anything, but perhaps I'll > have some spare time to finally write this down and share soon. +1 This would be great! Let me know if I can help in any way. thanks,

ApacheCon CFP closing soon (11 February)

2017-01-18 Thread Rich Bowen
Hello, fellow Apache enthusiast. Thanks for your participation, and interest in, the projects of the Apache Software Foundation. I wanted to remind you that the Call For Papers (CFP) for ApacheCon North America, and Apache: Big Data North America, closes in less than a month. If you've been

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-18 Thread Christopher Collins
Hi Jacob, On Tue, Jan 17, 2017 at 09:06:36PM -0700, Jacob Rosenthal wrote: [...] > As you can see, I cant seem to get slot1 active and confirmed It looks like one of two things is going wrong: 1. The loader (bleprph) is failing to jump into the application (splitty), or 2. The application

Re: crypto libraries

2017-01-18 Thread marko kiiskila
Hi Szymon, > On Jan 18, 2017, at 6:05 AM, Szymon Janc wrote: > > Hi Marko, > > On 9 January 2017 at 19:25, marko kiiskila wrote: >> Hi, >> >>> On Jan 9, 2017, at 5:30 AM, Szymon Janc wrote: >>> >>> Hi, >>> >>> Currently

Re: Tutorial problem with the Docker Container

2017-01-18 Thread aditi hilbert
Lichun, That particular package path actually does not exist - so the documentation is incorrect. I can fix that. Try testing with the package with a valid path e.g. newt test @apache-mynewt-core/kernel/os thanks, aditi > On Jan 18, 2017, at 3:59 AM, Li-Chun Ko

Re: Tutorial problem with the Docker Container

2017-01-18 Thread aditi hilbert
And could you also make sure you are running the latest docker container? docker pull mynewt/newt:latest thanks, aditi > On Jan 18, 2017, at 10:42 AM, aditi hilbert wrote: > > Lichun, > > That particular package path actually does not exist - so the documentation > is

Tutorial problem with the Docker Container

2017-01-18 Thread Li-Chun Ko
Hi all, I am a noob here and I am trying to build Mynewt applications with the Docker Container (using the Docker Quickstart Terminal). I followed the instructions I found here: http://mynewt.apache.org/os/get_started/project_create/ and encountered a problem in the step when executing this