Re: JIRA

2015-10-26 Thread Sterling Hughes
Hi Justin, No, we've pretty much been waiting for the ASF infra. It will be nice to have JIRA! Sterling On Mon, Oct 26, 2015 at 3:11 PM, Justin Mclean wrote: > Hi, > > I’ve raised a JIRA to setup JIRA here. [1] > > Is there an existing JIRA bug base you wish to

Re: incubator-mynewt-larva git commit: add task info display. re-arrange the task structure a little, removing enum on task state and making it a uint8

2015-11-17 Thread Sterling Hughes
wt-larva/diff/e96c2c3c > > Branch: refs/heads/master > Commit: e96c2c3c6377452d9f7b40915f741116c8209eb3 > Parents: 55082ce > Author: Sterling Hughes <sterl...@apache.org> > Authored: Tue Nov 17 10:39:01 2015 -0800 > Comm

Task Priorities

2015-11-04 Thread Sterling Hughes
Howdy, I'm working on getting blinky a bit more developed as an initial project. First part of that is getting console running on sim, which I have working. One thing I've been looking at, is the hal_uart starts an OS task when initialized. The priority of that task, and stack size is defined

ASF Copyright header

2015-11-06 Thread Sterling Hughes
Hey, At some point in the near future, I'm going to go through and replace all the header files from: /** * Copyright (c) 2015 Runtime Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain

Re: Mynewt logo - request for input

2015-11-17 Thread Sterling Hughes
we settle for > “mynewt” and “mynewt OS” and change all reference to that (e.g. docs, website > etc.)? > > aditi > >> On Nov 17, 2015, at 3:33 PM, Sterling Hughes <sterl...@apache.org> wrote: >> >> I like the one on the upper left hand corner of the second pag

Re: subsystem configuration ideas

2016-01-05 Thread Sterling Hughes
I think lua for configuration would make sense, but I agree, a simpler mechanism is also useful for more constrained systems. I think it would make sense that lua have hooks into the simpler configuration system, and then more complex functions can be directly exposed by lua. Lua can supersede

Re: Changes to HAL/BSP/Drivers

2016-06-06 Thread Sterling Hughes
On 6 Jun 2016, at 12:56, marko kiiskila wrote: On Jun 2, 2016, at 5:07 PM, Sterling Hughes <sterl...@apache.org> wrote: ... :) Right now, we don’t have a drivers interface, and the HAL is dual-purposing both. The ADC is a good example of this, so I’ll focus in on th

Re: newtmgr over Serial

2016-06-07 Thread Sterling Hughes
Hi Kevin, I’ll caveat my comments below with: I agree with you, there should be a serial port option in the boot loader, so take the rest as capturing thoughts in this area. :-) Thanks for the reply. On Jun 7, 2016, at 5:07 AM, Kevin Townsend wrote: Dev probably

Re: newtmgr over Serial

2016-06-07 Thread Sterling Hughes
On 7 Jun 2016, at 10:12, Kevin Townsend wrote: Hi Sterling, If a faulty image is uploaded, the boot loader will fall back to the previous image. So the process typically works, upgrade the new image, ensure stability, then confirm it as the default image. In my experience, if the flash

Re: newtmgr over Serial

2016-06-09 Thread Sterling Hughes
Hi David, On 8 Jun 2016, at 11:17, David Moshal wrote: Thanks Wayne, that's very interesting, I think it helps explain the disconnect here. I understood David Simmons to be suggesting that Makers (like me) are the target end-users, i.e: that MyNewt would be an alternative to, say, Arduino

Re: Base a custom bsp on an existing one

2016-06-09 Thread Sterling Hughes
Hi Simon, I agree with Will’s response, the problem you have with “inherit’ing” BSPs, at least at this stage, is that the APIs are changing, and everything that inherits the BSP will have to change as we morph APIs. However, you shouldn’t have to maintain a different BSP for every slightly

Re: newtmgr over Serial

2016-06-09 Thread Sterling Hughes
Hi Wayne, On 8 Jun 2016, at 10:35, Wayne Keenan wrote: On 8 June 2016 at 17:14, David Moshal wrote: David you make good points, though I have to say, sadly, that serial vs JTag is the least of MyNewt's worries when it comes to targeting the Maker market, if indeed that is

Re: Javascript Support (was Re: [SUMMARY][DISCUSS] A users@ mailing list for Apache Mynewt)

2016-05-28 Thread Sterling Hughes
Hi David, You look at Espruino’s compiler, and it was clearly written in a swashbuckling style: Thanks for the links. At this point though my C knowledge isn't sufficient to comment either way. However, I will share that I have a class of 3-6 graders (22 kids aged 8-11 years), who are all

Re: Correct way to add a task that only runs once

2016-05-28 Thread Sterling Hughes
Hi James, Callouts are perfect for this type of function. I’d recommend multiplexing this within the task context you are running out of. Essentially the logic works like: - Turn the LED on - Set a callout for 1 second to turn the LED back off If your task is waiting on an event queue,

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-28 Thread Sterling Hughes
he.org> wrote: > >> On Sat, May 28, 2016 at 01:38:48PM -0700, Sterling Hughes wrote: >> $ newt run >> >> Will do this for you. No need to call binary directly. > > If you are building for real hardware (i.e., not sim), then you need to > add a version numbe

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-28 Thread Sterling Hughes
target? > Dave > > >> On Sat, May 28, 2016 at 4:46 PM, Sterling Hughes <sterl...@apache.org> wrote: >> $ newt run my_blinky_sim >> >> Just the name of the target, don’t provide the binary path. All of the >> commands run based on the name of the

Re: Javascript Support (was Re: [SUMMARY][DISCUSS] A users@ mailing list for Apache Mynewt)

2016-05-28 Thread Sterling Hughes
in: i’d be interested in thoughts, and if you have ideas on how to change it, i’d be happy to put in the work to make it easier. sterling On 28 May 2016, at 10:38, Sterling Hughes wrote: Hi David, On 26 May 2016, at 8:36, David G. Simmons wrote: This is fantastic! Glad to see so much

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-28 Thread Sterling Hughes
il.com> wrote: > > ok, so Docker knowledge is a pre-requisite, has been ages since I last > used Docker. > what's the host directory mapped to? > > Dave > > > On Sat, May 28, 2016 at 1:18 PM, Sterling Hughes > <sterling.hughes.pub...@gmail.co

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-28 Thread Sterling Hughes
gt; # eval $(docker-machine env default) >> ``` >> >> also the simulated version didn't seem to want to run: >> >> ``` >> ⇒ ./bin/my_blinky_sim/apps/blinky/blinky.elf >> zsh: exec format error: ./bin/my_blinky_sim/apps/blinky/blinky.elf >> ``` >>

Re: [DISCUSS] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-28 Thread Sterling Hughes
On 28 May 2016, at 10:38, aditi hilbert wrote: I think John D. Ament raised some good points. * Nothing in our binaries say Mynewt - do we need to by Apache rules? * Our repos already include mynewt - so we should be fine there. * the package "apache-newt" lacks a NOTICE/LICENSE file * our

Javascript Support (was Re: [SUMMARY][DISCUSS] A users@ mailing list for Apache Mynewt)

2016-05-26 Thread Sterling Hughes
I'd like to echo the sentiments here: I think this would be great. I think good scripting language support is very important for Mynewt. Most of the newer chipsets (like the NRF52), have enough RAM and Flash, that you can run the OS, Bluetooth stack, and still have 256KB or more left over for

Re: Javascript Support (was Re: [SUMMARY][DISCUSS] A users@ mailing list for Apache Mynewt)

2016-05-26 Thread Sterling Hughes
9 AM, Sterling Hughes wrote: I'd like to echo the sentiments here: I think this would be great. I think good scripting language support is very important for Mynewt. Most of the newer chipsets (like the NRF52), have enough RAM and Flash, that you can run the OS, Bluetooth stack, and still have 2

Re: [SUMMARY] [DISCUSS] A users@ mailing list for Apache Mynewt

2016-05-26 Thread Sterling Hughes
Hi David, Good to see you on the list. On 25 May 2016, at 15:49, David Moshal wrote: Thanks, actually I've been using both lua and JavaScript (espruino) on esp8266-12e for a couple months. As mentioned to Sterling at the maker faire last weekemd, my interest in mynewt is actually to try and

Re: Enabling the Nordic HAL gpio external IRQ detection

2016-06-01 Thread Sterling Hughes
Hi Wayne, I’m working on fleshing out the HAL for Nordic chips as we speak, but going slowly. If you’d like to make the changes, I’d make sure to merge anything you did into my work, and we’d appreciate the contribution. If you’d like me to make them, I can reorg some stuff and make sure

Re: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc2

2016-05-29 Thread Sterling Hughes
Hey Chris, On 29 May 2016, at 13:14, Christopher Collins wrote: I'm attaching git diffs between the following two revisions: a: commit when BSD license text was added (mbed repo) b: first commit to the mynewt core repo. The Mynewt files are "b" in the attached diffs. That is, "+++"

Re: 6LoWPAN over BLE

2016-06-24 Thread Sterling Hughes
Hi Jan, Schoene Gruesse aus Kalifornien! On 23 Jun 2016, at 7:55, Jan Rüth wrote: Hi (skip the first paragraph to get to the actual topic), first of all thanks for the project, I came across it yesterday and it was ridiculously easy to get it running on my nrf51 based blenano from

Address Randomization in net/nimble

2016-02-06 Thread Sterling Hughes
Howdy: How hard is it to get address randomization in the net/nimble stack? I realize that full Bluetooth security is probably a month or two away, but would it be possible to just provide the randomization component of it, for privacy and tracking considerations? Sterling

Re: [jira] [Resolved] (MYNEWT-16) need to be able use json without floating points

2016-02-06 Thread Sterling Hughes
On 2/6/16 11:45 AM, Marko Kiiskila (JIRA) wrote: [ https://issues.apache.org/jira/browse/MYNEWT-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marko Kiiskila resolved MYNEWT-16. -- Resolution: Fixed If you want it, define

Re: Larva content review for license

2016-02-05 Thread Sterling Hughes
On 2/5/16 8:39 AM, marko kiiskila wrote: First of all; thanks for going through the licenses. This is good info. On Feb 4, 2016, at 8:03 PM, Sterling Hughes <sterl...@apache.org> wrote: We can raise this with legal, alternatively we could move the MCU & BSP definitions to githu

Re: Vanity import domain

2016-02-04 Thread Sterling Hughes
Hi Justin, mynewt.io would be a vanity domain to make git imports simpler, so instead of doing: import ( "git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt/cli" ) You'd do: import ( "mynewt.io/newt/cli" ) And for installation of packages, you would do: go install

Re: Mailing lists

2016-02-04 Thread Sterling Hughes
absolutely, let's update it! On 2/4/16 4:31 PM, Justin Mclean wrote: Hi, Notice the readme’s at [1][2] are pointing people to stack-...@googlegroups.org shouldn’t it be this mailing list instead? Thanks, Justin 1. https://github.com/apache/incubator-mynewt-tadpole 2.

Re: Larva content review for license

2016-02-04 Thread Sterling Hughes
On 2/4/16 7:55 PM, Justin Mclean wrote: Hi, If you'd like to create an overall shout-out, then go for it. The Subversion project does this, and uses the same file to track partial commit (as Mynewt has adopted). See: http://svn.apache.org/repos/asf/subversion/trunk/COMMITTERS Apache Flex

Re: Larva content review for license

2016-02-04 Thread Sterling Hughes
rel_v0_0_8-b1 for example. - newt's built in package manager knows to fetch packages from that git branch (we make the changes to newt once we branch.) May be an issue with this (I think not 100% sure), does that imply that a release can basically change over time? Or that it would be

Bye Bye Eggs :-(

2016-02-09 Thread Sterling Hughes
Hey, I have implemented the bug report here: https://issues.apache.org/jira/browse/MYNEWT-71 I think everyone has noticed that on-boarding new users becomes difficult because we use custom terms for packages, package lists and repositories. While I personally like these terms (I named them

Re: [2/2] incubator-mynewt-larva git commit: Simpler linker script for STM32F3 discovery board.

2016-02-05 Thread Sterling Hughes
Re [1] - Thanks, will do. Re [2] - What defines major? :-) I ask this because of libjson. We've taken microjson (http://www.catb.org/esr/microjson/), and are doing some fairly major surgery to it: - conversion into our coding standards (tabs to spaces, line length) - removal of all logging

Re: [2/2] incubator-mynewt-larva git commit: Simpler linker script for STM32F3 discovery board.

2016-02-05 Thread Sterling Hughes
I agree. I will try and find some time this weekend to do a run through of the entire source code base and update this. Tedious, but it will only get more tedious. sterling On 2/5/16 3:47 PM, Justin Mclean wrote: Hi, Probably should start getting into the habit of putting in the correct

OS Task Statistics

2016-01-27 Thread Sterling Hughes
Heehaw, I'm looking to add statistics to the core RTOS (libs/os), to improve instrumentation. Here are the commands, and data I'm bring back in those commands. I'd love people's input on what else they think should be included here. Taskinfo: - Array of tasks, each containing: - Task Name

Re: Add my jira user to Mynewt

2016-02-23 Thread Sterling Hughes
I'll do this Sterling On 2/23/16 10:27 AM, todd mitton wrote: Hi Justin, Could you please add my jira user (mitton) to Mynewt? Aditi would like to assign tickets to me. Thanks, -Todd

Re: Planning to add log facilities

2016-02-22 Thread Sterling Hughes
Welcome Gordon! That would be awesome. Sterling On 2/22/16 3:37 AM, Gordon Chaffee wrote: Hi, I'm new to the list, and I'm working on some code to extend the existing logs capabilities. Specifically, I'm planning to add the following: newtmgr: - Create 'logs' command for dealing with logs -

Re: Bye Bye Eggs :-(

2016-02-24 Thread Sterling Hughes
On 2/24/16 1:06 PM, aditi hilbert wrote: Sorry to pipe up late and I know how involved the changes are but I need to understand the reasoning better to be able to document properly. For the most part I get the changes and agree with them. The only one that I am struggling with is “app”

Re: hal organization and multiple smaller packages

2016-02-22 Thread Sterling Hughes
On 2/22/16 1:24 PM, will sanfilippo wrote: My 1/2 cent on this topic (and I certainly dont think you killed the discussion; it is a difficult topic): * I think the HAL is meant to be a fairly general, simple, abstraction. Hopefully over time we will be able to incorporate more advanced HAL

our HAL and the new mbed-hal

2016-02-27 Thread Sterling Hughes
Hi, I posted: https://issues.apache.org/jira/browse/MYNEWT-174 If folks have a little spare time to look at this over the weekend, I'd be super appreciative for any thoughts people have. I've spelled out what I'm thinking in the comments section. But the summary here is: it would be good

Re: our HAL and the new mbed-hal

2016-02-28 Thread Sterling Hughes
On 2/28/16 10:02 PM, will sanfilippo wrote: Given the current state of the Mynewt hal, I think the question we need to answer is whether or not the mbed hal provides the functionality we think developers will need. Looks like what mbed is doing and mynewt is doing are very similar. Why not

Re: "newt target label" command question

2016-02-25 Thread Sterling Hughes
that’s right. The manifest file contains items which describe the build. I.e. info about what packages were included, their version numbers, time of the build, target definition etc. The reason I added this was because I did not want to have to build bin2img, a separate target, just to assign

Documentation & ease of use

2016-02-26 Thread Sterling Hughes
Howdy, For those of you on the list not at Runtime, you may have noticed a slow down in commits. Internally, we're making a push towards documentation and ease of use, now that we're moving towards releasing / releasing. Everyone is sitting and dutifully writing docs. As its a Friday, I'm

Re: Question on nlip protocol and log messages

2016-02-26 Thread Sterling Hughes
- Allow for mutex protection around console_write(), and block between multiple tasks calling to the console. NLIP can handle interleaved data, between calls to console_write(). (*) The downside here is that calls to console_write() will block. So if you have a higher priority task that

Re: Question on nlip protocol and log messages

2016-02-27 Thread Sterling Hughes
On 2/26/16 6:53 PM, marko kiiskila wrote: On Feb 26, 2016, at 4:35 PM, Sterling Hughes <sterl...@apache.org> wrote: - Allow for mutex protection around console_write(), and block between multiple tasks calling to the console. NLIP can handle interleaved data, between

Re: [VOTE] Release Apache Mynewt 0.8.0-b1-incubating

2016-02-24 Thread Sterling Hughes
On 2/24/16 11:45 AM, will sanfilippo wrote: +1 On Feb 23, 2016, at 5:29 PM, Christopher Collins wrote: Hello all, I am pleased to be calling this vote for the source release of apache-mynewt-0.8.0-b1-incubating. Apache Mynewt is a community-driven, permissively licensed

Go include path / Git Include Path

2016-01-19 Thread Sterling Hughes
Howdy, Right now there is a conflict in how newtmgr & newt include libraries using go. Newtmgr uses: git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/newtmgr Whereas Newt uses: git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/newt In order for both of these packages to compile,

Re: Proposed changes to sys/stats

2016-02-16 Thread Sterling Hughes
1. The STATS_SECT_START and STATS_SECT_END macros just define a struct; they don't create an instance. Generally, these macros would be used in a header file so that source files can have access to the struct definition. 2. The addition of a STATS_SECT_DECL macro. This macro would be used in

Kicking off a release

2016-02-16 Thread Sterling Hughes
Mynewtites, It looks like master has stabilized, and we're pretty much done with B1 bugs: The remaining issues are here:

Wiki / Confluence

2016-02-16 Thread Sterling Hughes
Hey, I'm starting to take a first stab at things like: - Release process - Roadmap Etc. It would be useful to have a WIKI to document these (we may end up summarizing them on the site, but I think this should live in a Wiki.) Is there ASF infrastructure to support a Wiki? Would someone

Re: Newt targets as packages

2016-02-17 Thread Sterling Hughes
- Target specific header files begin to get confusing. You end up having to have 100's of different copies of the same header file per build target. If you want to specify target specific defines, that's what the CFLAGS setting is for. Or, as in the bletiny case below, the project can

Re: Newt targets as packages

2016-02-17 Thread Sterling Hughes
I don't think we ever settled on this. There were 3 proposals: #1- Newt targets as packages #2- Newt targets stored as text in a targets/ directory #3- Newt targets having target specific header files I am unreservedly a fan of #2. I think we should have a targets directory, one-file per

Re: Kicking off a release

2016-02-18 Thread Sterling Hughes
On 2/16/16 5:07 PM, Justin Mclean wrote: Hi, Who is going to act as release manager? Good question: I nominate Chris. - Add release notes to the mynewt distribution - Tag the tree with a B1 release tag (mynewt_0_8_0_b1_tag) - Start a [VOTE] thread to [VOTE] on the Mynewt release (along

Re: hal organization and multiple smaller packages

2016-02-18 Thread Sterling Hughes
Paul - I think you make a number of good points here, but I'm not sure all of them argue for re-organizing the HAL, but perhaps just improving the existing structure. The purpose of the HAL is to abstract MCU peripheral functions, and make that portable across various MCU architectures.

Re: Release dependant on LGPL

2016-02-19 Thread Sterling Hughes
On 2/19/16 6:15 AM, Bertrand Delacretaz wrote: On Sun, Feb 14, 2016 at 5:46 AM, Greg Stein wrote: ...Speaking as an IPMC Member, and a Mynewt Mentor … yes, this is fine with a disclaimer in the release notes Except we don't have a standard for release notes, so how

Re: [BLE] Questions about BLE on Apache Mynewt

2016-02-19 Thread Sterling Hughes
Hi Quang, No problem, that's exciting! Documentation on Mynewt is located here: http://mynewt.incubator.apache.org/documentation/ It's good that you're working on the Nordic platform, we've spent a lot of time supporting that chip. We are currently in the middle of our first beta -- if

Re: LICENSE and NOTICE contents / headers

2016-02-21 Thread Sterling Hughes
Hi Justin, These are both in tadpole and larva. Are you suggesting moving these prior to release? Also: I've updated tadpole with the latest license changes, so re your previous mail, that should be fixed. newtvm.exe is also removed from the newt distribution. Sterling On 2/20/16 9:00

Re: hal organization and multiple smaller packages

2016-02-21 Thread Sterling Hughes
On 2/21/16 8:39 PM, Sterling Hughes wrote: BTW, I hope I didn't kill discussion on this one. :-) I think this is an important topic to get right, and I'd like other people's thoughts here as well. And I should further add, one issue I'd also like to discuss -- Should the HAL abstract away

Re: hal organization and multiple smaller packages

2016-02-21 Thread Sterling Hughes
BTW, I hope I didn't kill discussion on this one. :-) I think this is an important topic to get right, and I'd like other people's thoughts here as well. Sterling On 2/18/16 9:23 PM, Sterling Hughes wrote: Paul - I think you make a number of good points here, but I'm not sure all of them

Re: [jira] [Resolved] (MYNEWT-137) Replace YAML dependency in Newt tool

2016-02-29 Thread Sterling Hughes
. Replace YAML dependency in Newt tool Key: MYNEWT-137 URL: https://issues.apache.org/jira/browse/MYNEWT-137 Project: Mynewt Issue Type: Improvement Components: Newt Reporter: Sterling

New Newt & Process for B2

2016-03-10 Thread Sterling Hughes
Howdy, I'd like to talk about the process for releasing B2 here, in the context of a number of changes that have been made for newt. I am sending a separate email to describe the changes in detail, but wanted to first begin to settle on process items. Newt is our build and package

Re: New "Newt"

2016-03-14 Thread Sterling Hughes
On 3/14/16 12:21 PM, ray suorsa wrote: On Mar 14, 2016, at 11:49 AM, marko kiiskila wrote: On Mar 11, 2016, at 6:28 PM, Christopher Collins wrote: On Sat, Mar 12, 2016 at 10:31:12AM +1100, Justin Mclean wrote: download Download built target to

Re: the

2016-03-15 Thread Sterling Hughes
. On 3/15/16, Sterling Hughes <sterl...@apache.org> wrote: Hi Nges, On 3/15/16 5:12 AM, Nges B wrote: I have gone through the unit test documentation and have all the test and a perfact understanding of how it happens , I will need to to know if there is any documentation on the header

Re: [VOTE] Release Apache Mynewt 0.8.0-incubating-b2

2016-03-16 Thread Sterling Hughes
On 3/15/16 10:56 PM, Christopher Collins wrote: On Wed, Mar 16, 2016 at 03:41:27PM +1100, Justin Mclean wrote: Hi, Sorry -1 binding as: [...] Yikes! Thanks for the thorough review, Justin. - Contains source code (hashicorp) that is MPL licensed [2] this is not allowed in a source

Re: [VOTE] Release Apache Mynewt 0.8.0-incubating-b2

2016-03-15 Thread Sterling Hughes
I'll leave the license stuff for Chris to address, it all seems reasonable to me. I was holding on my +1 for that, this time btw :=) It looks like we'll need to remove the hashicorp stuff. bummer. luckily it looks easy enough to strip out, unlike the yaml stuff which was a pain. I wanted

C++ compatibility

2016-04-09 Thread Sterling Hughes
Hi, I recently talked with a user of Mynewt, and they were trying to get our system header files into a C++ project. I'm wondering if folks on the list know a better way of doing this, than just manually going to every header file and adding: #ifdef __cplusplus extern "C" { #endif #ifdef

Re: [VOTE] Release Apache Mynewt 0.8.0-b2-incubating-rc3

2016-03-21 Thread Sterling Hughes
+1 binding It's ready to go! > On Mar 20, 2016, at 10:00 PM, Justin Mclean wrote: > > Hi, > > +1 binding > > I checked (in all artefacts): > - names contain incubtating > - signatures good > - DISCLAIMER exits > - LICENSE and NOTICE good > - No unexpected binary files >

Re: more ADC hal discussion

2016-03-27 Thread Sterling Hughes
Hey Paul, I read through the APIs, I think they look good. I made a few comments, entirely coding standards related. There are a few other things I'd like to understand/discuss, which I'll post to dev@: - Can you post a description of how pins are mapped across MCU, BSP and Application? I

Fwd: [1/3] incubator-mynewt-core git commit: Add read supported commands and read local supported features commands

2016-03-23 Thread Sterling Hughes
Hi Will, I think some folks were looking for these features, should they try develop branch to test them out? Cheers, Sterling Begin forwarded message: > From: w...@apache.org > Date: March 22, 2016 at 11:13:29 PM PDT > To: comm...@mynewt.incubator.apache.org > Subject: [1/3]

Re: renaming apache-mynewt-larva to apache-mynewt-os

2016-03-03 Thread Sterling Hughes
poke around at the release prior to releasing B2. Sterling On 3/3/16 4:09 AM, Jim Jagielski wrote: Maintaining the precedent also becomes more painful as things move forward :) On Mar 2, 2016, at 6:28 PM, Sterling Hughes <sterl...@apache.org> wrote: Howdy, Awhile ago we decided to be

Re: renaming apache-mynewt-larva to apache-mynewt-os

2016-03-03 Thread Sterling Hughes
la <ma...@runtime.io> wrote: +1 for the rename. Sooner the better if we’re going to go ahead with this one. On Mar 3, 2016, at 3:50 PM, Sterling Hughes <sterl...@apache.org> wrote: :) Hey all - I wanted to get a few more opinions on this. We're going to need to change some reposit

Re: the fs/nffs

2016-03-03 Thread Sterling Hughes
Hi Nges, On 3/3/16 1:49 PM, Nges B wrote: Hello, I downloaded the the newt binary and placed it inside my lerva directory. Now I have created my_app . also ran the command $ ./newt pkg search fs and got the following output. Installed package project/ffs2native@ Installed package

Re: Introduction and first contribution

2016-03-03 Thread Sterling Hughes
Welcome Neel! On 3/3/16 12:19 PM, Neel Natu wrote: Hi, My name is Neel Natu and I recently started hacking on Apache Mynewt. I have been lurking on the dev list, digesting the documentation, making simple changes to the OS etc and its been a pleasant experience thus far. My first contribution

Re: Tutorial topics for Apache Mynewt

2016-03-01 Thread Sterling Hughes
On 3/1/16 7:03 PM, Jules Damji wrote: I wonder having a tutorial or user guide for the newt will help. What we have today for http://mynewt.apache.org/newt/newt_mac/ is only how to build it (on platform of your choice) not how to use its extensive

Re: trivial mbuf api thoughts: os_mbuf_free() and os_mbuf_free_chain()

2016-03-02 Thread Sterling Hughes
On 3/2/16 11:45 AM, will sanfilippo wrote: I was hoping that the other mbuf API exposed would be enough for users and they would never need to call os_mbuf_free. I also think that when you unlink something from a list, setting its next pointer to NULL is just good practice. I was just

Re: Interested inYour Gsoc Project Project

2016-03-02 Thread Sterling Hughes
Hi Nges, Thanks for your interest. Can you comment on the GSoC tickets within the ASF JIRA? I think it would be great if you came on and helped us with the regression testing: we're going to be doing a ton of work on that this summer, and would love the help. Cheers, Sterling On 3/2/16

Re: Analysis of our first release process

2016-03-02 Thread Sterling Hughes
On 3/1/16 4:02 PM, Justin Mclean wrote: Hi, Great summary! 0.8.0-b1 is exceptional in that it is our first release. In subsequent releases we will want to specify what has been added or fixed since the last release, as well as highlight known issues. JFYI this is usually done in a

Re: installing the Newt

2016-03-02 Thread Sterling Hughes
When pointed at the apache server, on the other hand, "go get" seems to require the ".git" suffix. An I mentioned earlier, this results in the creation of a directory that also has the ".git" suffix. The problem is: the behavior of "git clone" is in conflict with the behavior of "go get", at

Master newt does not build released software

2016-04-02 Thread Sterling Hughes
Hey, Try: $ newt target show targets/arduino_boot app=@apache-mynewt-core/apps/boot bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero build_profile=optimized features=arduino_zero_pro targets/my_blinky_sim app=apps/blinky bsp=@apache-mynewt-core/hw/bsp/native

Re: Master newt does not build released software

2016-04-02 Thread Sterling Hughes
Hey, On 4/2/16 12:37 PM, Christopher Collins wrote: I agree that that is a compatibility break, but that change was made at the same time as a host of other backwards-incompatible changes (0.8.0-b2). I think this particular problem is a bit more complicated, so strap yourself in for some

Re: more ADC hal discussion

2016-03-28 Thread Sterling Hughes
On 3/28/16 9:44 AM, p...@wrada.com wrote: > Thanks for the reviews. > > 1) regarding names. I can shorten. I really like having the units in the > names, but can shorted to > > hal_adc_refmv(); > hal_adc_bits(); OK. I'm fine if we chose milivolts as our primary unit. But if we believe MV

First draft of Coding standards in develop branch

2016-04-24 Thread Sterling Hughes
Hi, As we start to bring on new contributors, and operate as a project, its increasingly important that we document and agree upon coding standards. I think we've done a good job of maintaining this consistency informally, but, now we need to vote and agree on project standards. I've taken

Re: How do you get newt to compile asm source in app folders?

2016-04-23 Thread Sterling Hughes
Hi Wayne, On 4/23/16 1:55 PM, Wayne Keenan wrote: Cool, although I'm sticking to 'latest' for the moment as I've gotten carried away into being right in the middle of something... Basically, I have a tiny reptilian hissing out 'Hello World!' to the Newt UART console on the nrf52 just after

Re: [VOTE] Release Apache Mynewt 0.8.0-incubating-rc1

2016-04-30 Thread Sterling Hughes
The release candidate is signed with a GPG key available at: https://dist.apache.org/repos/dist/dev/incubator/mynewt/KEYS The vote is open for at least 72 hours and passes if a majority of at least three +1 PPMC votes are cast.

Re: [DISCUSS] Release Apache Mynewt 0.8.0-incubating-rc1

2016-04-30 Thread Sterling Hughes
Hi Justin, I don't see the link? B2 (the link I see) was voted on, and released. This is v0.8, full release... Sterling On 4/30/16 3:47 PM, Justin Mclean wrote: Hi, Looks like there’s a up public link up to build that has not been voted on [1]? If so this is against Apache policy and the

Re: [DISCUSS] Release Apache Mynewt 0.8.0-incubating-rc1

2016-04-30 Thread Sterling Hughes
On 4/30/16 5:09 PM, Justin Mclean wrote: Hi, I don't see the link? B2 (the link I see) was voted on, and released. This is v0.8, full release... Sorry my mistake. I had expect the version number to not be the same as the previous release. Generally the version after 0.8.0 would be 0.8.1

Re: [DISCUSS] Release Apache Mynewt 0.8.0-incubating-rc1

2016-04-30 Thread Sterling Hughes
mynewt-core is a project, just like any project you create with newt new. so, just git clone mynewt-core (or ungz the tarball), and then set the app & bsp you want to compile it for. (blinky, bletiny, etc.) i do most of my dev on mynewt-core itself, but when we release, its really meant to

Re: First draft of Coding standards in develop branch

2016-04-26 Thread Sterling Hughes
On 4/26/16 9:22 AM, Christopher Collins wrote: On Tue, Apr 26, 2016 at 09:06:37AM -0700, Sterling Hughes wrote: I think we do need a naming convention here - I'm fine adopting H_*. I'll point out that almost every POSIX or LIBC header I've ever seen uses underscore, and I believe this is only

Re: First draft of Coding standards in develop branch

2016-04-26 Thread Sterling Hughes
On 4/26/16 8:28 AM, Christopher Collins wrote: On Sun, Apr 24, 2016 at 10:08:09AM -0700, Sterling Hughes wrote: Hi, As we start to bring on new contributors, and operate as a project, its increasingly important that we document and agree upon coding standards. I think we've done a good

Re: First draft of Coding standards in develop branch

2016-04-25 Thread Sterling Hughes
On 4/25/16 8:57 PM, will sanfilippo wrote: Argh! I thought I had the stupid editor set to insert spaces for tabs. Dang! Oh well, at least you got the point :-) * I would vote for macros all uppercase. * I feel strongly about define alignment but not so much about alignment within structure

Re: BLE Stack

2016-05-20 Thread Sterling Hughes
Hi Vitya, On 5/19/16 5:42 AM, Vitya Gnatyuk wrote: Hi! I earlier wrote you on github as gnatyukv. I forgot to ask a main qustion. May your projects (from the apps folder) be compiled in Keil IDE? How to do it? I have uVision V5.17 and Armcc compiler. I cannot compile your code yet. Maybe

Re: Language Reference

2016-05-23 Thread Sterling Hughes
; for(x = 0; x < 8; x++){ hal_gpio_init_out(g_led_pins[x], 1); } It all worked fine. I now have blinky running a colorwheel. :-) Lots to learn, I guess. Thanks! dg On May 23, 2016, at 12:32 PM, Sterling Hughes <sterl...@apache.org> wrote: Standard C stuff should be ac

Re: Language Reference

2016-05-23 Thread Sterling Hughes
Standard C stuff should be acceptable. What's not working -- note: we do compile with -Wall -Werror as the default setting. Sterling On 5/23/16 9:27 AM, David G. Simmons wrote: Another N00B question … Is there a language reference for mynewt? I’m seeing that standard C stuff is not

Re: [DISCUSS] A users@ mailing list for Apache Mynewt

2016-05-22 Thread Sterling Hughes
+1 on a users mailing list, and I think David described it perfectly below. Originally, I was for all support being on dev@, as pointed out in other mails, it is good for the project/code for developers to hear directly from the users. IMO The best way to make a project easy to use and work

Re: [VOTE] Release Apache Mynewt 0.9.0-incubating-rc1

2016-05-22 Thread Sterling Hughes
+1 Binding. Ship it! On 5/20/16 10:07 AM, Christopher Collins wrote: On Wed, May 18, 2016 at 11:26:50PM -0700, Christopher Collins wrote: [X] +1 Release this package [ ] 0 I don't feel strongly about it, but don't object [ ] -1 Do not release this package because... +1 (binding) Thanks,

Re: [PATCH] bsp; Fix linker error for nrf51_arduino target

2016-05-21 Thread Sterling Hughes
> On May 20, 2016, at 11:12 PM, Łukasz Rymanowski > wrote: > > Thanks Johan, > > yes actually I was counting on my first super tiny credit for this project :) > Hopefully will contribute more in the future. > > Lukasz > > :-) thanks for the patch- and glad

Re: [PATCH] bsp; Fix linker error for nrf51_arduino target

2016-05-20 Thread Sterling Hughes
thanks - looks good, and applied. dev should be up to date. sterling On 5/20/16 6:25 AM, Łukasz Rymanowski wrote: This patch renames os_bsp_init to bsp_init to make nrf51_arduino build. --- hw/bsp/nrf51-arduino_101/src/os_bsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: Mynewt Local BSP Instance Location

2016-05-11 Thread Sterling Hughes
Hi Kevin, I was able to reproduce the issue, it looks like you didn't update the repository descriptor for the pkg.compiler -- that should point to a package in the @apache-mynewt-core repository as well. If you do that, you should get past that error. I was able to get your target to

  1   2   3   >