Re: nrf52dk hal_bsp_init() and sensor device creation

2017-05-16 Thread Vipul Rahane
Hello, I have managed to get a working good enough solution for the two issues mentioned below. I have not opened a PR with this as I still have to make changes to all the drivers with the interface changes. The below comparison between master and my fork shows an example of how it would work:

Re: Problems with erasing flash on nordic devices

2017-05-16 Thread Christopher Collins
On Tue, May 16, 2017 at 05:11:36PM -0700, Jacob Rosenthal wrote: > Seems like it could go in flash_map? > > Its also been requested to also have a function that detects if an area > should be erased, based on it having any non 0xff bytes within. > > Should that go there as well. That is the

Re: Problems with erasing flash on nordic devices

2017-05-16 Thread marko kiiskila
> On May 15, 2017, at 3:46 PM, Christopher Collins wrote: > > Hi Jacob, > > On Mon, May 15, 2017 at 02:51:35PM -0700, Jacob Rosenthal wrote: >> So Ill duplicate the upload command to an erase command. >> >> Is there a bit of metadata I could check to see if a slot was filled