Bypass the HAL

2017-02-21 Thread Jitesh Shah
Hey guys, Is it possible to bypass the mynewt HAL for SPI/UART/other-peripherals and directly call the APIs from nrf52sdk/stm32f4 directories? Is there a safe way to compile the HAL out? and lastly, what features am I losing if I don't use the HAL? (nffs? newtmgr?) I am working with

image upload error 2

2017-02-21 Thread then yon
Dear Support, I'm followed the tutorial below: https://mynewt.apache.org/latest/os/modules/split/split/ But i'm stuck at image upload step; it gave me the following error: $ newtmgr -c mynewt_serial image list Images: slot=0 version: 1.0.0 bootable: true flags: active

Re: Issues with bleprph and blecent on nRF51822xxaa

2017-02-21 Thread Marcos Scheeren
On Fri, Feb 17, 2017 at 3:38 AM, will sanfilippo wrote: > Hello there Marcos: > > Indeed, some of the sample apps probably wont run in 16KB RAM. If a malloc > fails it should be pretty easy to debug as I would suspect most mallocs in > the code assert() if they cant get the

Re: Issues with bleprph and blecent on nRF51822xxaa

2017-02-21 Thread Marcos Scheeren
Hi there! On Fri, Feb 17, 2017 at 5:45 PM, marko kiiskila wrote: > > > You could try removing the memory areas which are marked as flash, and then > use > restore. > I.e. > delete mem 0 > delete mem 1 > mem 0 0x rw nocache > info mem > restore binary > > Depending on

Re: Config id package

2017-02-21 Thread marko kiiskila
> On Feb 21, 2017, at 10:10 AM, Christopher Collins wrote: > > Hi Jacob, > > On Tue, Feb 21, 2017 at 10:34:53AM -0700, Jacob Rosenthal wrote: >> Im trying to build a DIS service with identification strings like bsp and >> app name from config/id package with conf_get_value >>

Re: Config id package

2017-02-21 Thread Christopher Collins
Hi Jacob, On Tue, Feb 21, 2017 at 10:34:53AM -0700, Jacob Rosenthal wrote: > Im trying to build a DIS service with identification strings like bsp and > app name from config/id package with conf_get_value > > I think Im using the api correctly? > > char *val; > int rc; > uint16_t

Config id package

2017-02-21 Thread Jacob Rosenthal
Im trying to build a DIS service with identification strings like bsp and app name from config/id package with conf_get_value I think Im using the api correctly? char *val; int rc; uint16_t uuid16; char tmp_buf[32 + 1]; ///hwid is only one that needs some tmp buffer