os cputime and hal cputime

2016-10-10 Thread will sanfilippo
Hello:

With the advent of the hal timer API we have decided to move hal_cputime.c out 
of the HAL and include it as an OS service for those that want it.

There is a jira ticket (MYNEWT-431) that describes what a user needs to do to 
use cputime from the os.

NOTES: 

1) Since the hal timer API has not been ported to all the platforms, 
hal_cputime.c (and hal_cputime.h) have not been completely removed from the 
repos. Once the remaining platforms have a hal_timer API we will remove 
hal_cputime entirely.

2) Some targets may now no longer build as they were (or were not) converted to 
using the new cputime API. Basically, certain combinations of targets/bsps wont 
build until we get a full implementation of the hal for all platforms.





Re: SystemView with Mynewt

2016-10-10 Thread Sterling Hughes
I’ve added a tracking ticket for this to Mynewt Jira 
(https://issues.apache.org/jira/browse/MYNEWT-430).  I think it would be 
great.


Sterling

On 6 Oct 2016, at 9:02, Kevin Townsend wrote:

Has anyone tried to get Segger's SystemView working with Mynewt? 
https://www.segger.com/systemview.html


I suspect most nRF52 devs are using a JLink, and live task tracking 
would be a nice compliment to the stats modules.


I've been meaning to try it out, I just wanted to see if any attempts 
had already been made at wiring the RTOS up to the SystemView API 
already.