[ANNOUNCE] Apache Mynewt 1.4.1 released

2018-07-02 Thread Szymon Janc
Hello all, The Apache Mynewt team is pleased to announce the release of Apache Mynewt 1.4.1. Apache Mynewt is a community-driven module OS for constrained, embedded applications. Mynewt provides a real-time operating system, flash file system, network stacks, and support utilities for

[GitHub] ccollins476ad commented on issue #5: cmd: img_mgmt: Add an extra byte to the 'hash' buffer

2018-07-02 Thread GitBox
ccollins476ad commented on issue #5: cmd: img_mgmt: Add an extra byte to the 'hash' buffer URL: https://github.com/apache/mynewt-mcumgr/pull/5#issuecomment-401909191 Thanks, Olivier. This looks like a good workaround for the buffer overrun. The real bug seems to be in the TinyCbor

[GitHub] ccollins476ad closed pull request #5: cmd: img_mgmt: Add an extra byte to the 'hash' buffer

2018-07-02 Thread GitBox
ccollins476ad closed pull request #5: cmd: img_mgmt: Add an extra byte to the 'hash' buffer URL: https://github.com/apache/mynewt-mcumgr/pull/5 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As

Re: 1 Wire HAL

2018-07-02 Thread Miguel Azevedo
Hi Kevin, I actually do have some code for 1-wire I implemented a few days ago. AFAIK most MCUs we support don't have 1-wire specific hardware, so why not have a general implementation(using hal_timer) instead of one implementation per MCU? Thanks, Miguel On Mon, Jul 2, 2018 at 8:10 PM Kevin

[GitHub] carlescufi commented on issue #5: cmd: img_mgmt: Add an extra byte to the 'hash' buffer

2018-07-02 Thread GitBox
carlescufi commented on issue #5: cmd: img_mgmt: Add an extra byte to the 'hash' buffer URL: https://github.com/apache/mynewt-mcumgr/pull/5#issuecomment-401910216 @ccollins476ad I don’t have merge rights on this repo. Mind merging this yourself? Thanks!

[GitHub] carlescufi commented on issue #5: cmd: img_mgmt: Add an extra byte to the 'hash' buffer

2018-07-02 Thread GitBox
carlescufi commented on issue #5: cmd: img_mgmt: Add an extra byte to the 'hash' buffer URL: https://github.com/apache/mynewt-mcumgr/pull/5#issuecomment-401910386 Cc @mariuszskamra @sjanc This is an automated message from

Re: 1 Wire HAL

2018-07-02 Thread Kevin Townsend
Hi Miguel, Good to hear! Yeah, GPIO is the only way I've ever implemented this and I think a simple SW implementation is the way to go here. K. On 02/07/18 21:39, Miguel Azevedo wrote: Hi Kevin, I actually do have some code for 1-wire I implemented a few days ago. AFAIK most MCUs we

Re: 1 Wire HAL

2018-07-02 Thread Sam Lewis
It might be more difficult to make a generic driver for but I've had some great success using a UART peripheral to read/write 1 wire devices. There's a good writeup of how this works in this app note: https://www.maximintegrated.com/en/app-notes/index.mvp/id/214 The benefit is less CPU time

1 Wire HAL

2018-07-02 Thread Kevin Townsend
Is there any interest is discussing how to add Dallas 1-Wire support to the HAL? https://en.wikipedia.org/wiki/1-Wire It's a bit of a niche item, but an interesting protocol (you can power some devices from the single GPIO line) and there are some very common and cheap waterproof temp sensors

Re: Sensor API Timing Constraints

2018-07-02 Thread Kevin Townsend
To try to frame this in a concrete example, I've pushed out a PR with the initial TSL2591 driver. It would be worthwhile discussing there how to handle minimum delays between valid sensor reads: https://github.com/apache/mynewt-core/pull/1237 On 30/06/18 19:12, Kevin Townsend wrote: Hi Amr,