Re: [riot-devel] questions about riot os

2017-03-21 Thread Kaspar Schleiser
Hi,

On 03/22/2017 12:13 AM, Arjun Hary wrote:
> Is there a plan or a timeline for it? 

Nordic seems to have released its BLE stack for Mynewt under a
compatible license. AFAIK someone is already looking into porting that
to RIOT, but I don't know what's the state there.

Help is very appreciated!

Kaspar
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] questions about riot os

2017-03-21 Thread Arjun Hary
Is there a plan or a timeline for it?

On Tue, Mar 21, 2017 at 4:07 PM, Kaspar Schleiser 
wrote:

> Hi,
>
> On 03/21/2017 11:38 PM, Arjun Hary wrote:
> > Thanks a lot. I have one more follow up question. Does RIOT have a full
> > Bluetooth stack?
>
> Not yet.
>
> Kaspar
> ___
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>



-- 
Arjun Hary

 : +1 (425) 381-7722
 : zGlue Inc., Mountain View, CA

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] questions about riot os

2017-03-21 Thread Arjun Hary
Thanks a lot. I have one more follow up question. Does RIOT have a full
Bluetooth stack?

On Mon, Mar 20, 2017 at 10:02 AM, Kaspar Schleiser 
wrote:

> Hi Arjun,
>
> On 03/20/2017 05:03 PM, Arjun Hary wrote:
> > 1) After adding the softdevice the code size jumped to 46K bytes which
> > includes compilation of 6lowpan, ipv6. Is there a way to compile the
> > nordic ble linbrary without adding these modules. I tried the
> > DISABLE_MODULE macro and though the makefile complained , the code size
> > still remained the same. It looks like 6lowpan and ipv6 are required
> > modules. How do I change this.
>
> You'll need to remove the corresponding nordic softdevice dependencies
> from Makefile.dep. Currently, if you add modules to DISABLE_MODULE, they
> get removed *after* dependency resolution. In this case, meta-modules
> that are just used for dependency tracking are removed after their
> dependencies are added in.
>
> > 2)  Also as a general question, I see that RIOT claims the FLASH size
> > usage is around 5K. What features does the 5K include. Does it incude
> > pthreads, task switching, synchronization , messaging etc.
>
> That very much depends. Please take a look at tests/minimal, which
> currently compiles to ~2.7k flash for ARM platforms.
>
> 5k flash is enough for RIOT's threading, synchronization and messaging.
> The pthreads wrapper will not fit, though. Also, newlib's POSIX stdio is
> quite large, e.g., a simple printf will pull in ~4k of code on ARM
> platforms.
>
> Kaspar
> ___
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>



-- 
Arjun Hary

 : +1 (425) 381-7722
 : zGlue Inc., Mountain View, CA

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] questions about riot os

2017-03-20 Thread Kaspar Schleiser
Hi Arjun,

On 03/20/2017 05:03 PM, Arjun Hary wrote:
> 1) After adding the softdevice the code size jumped to 46K bytes which
> includes compilation of 6lowpan, ipv6. Is there a way to compile the
> nordic ble linbrary without adding these modules. I tried the
> DISABLE_MODULE macro and though the makefile complained , the code size
> still remained the same. It looks like 6lowpan and ipv6 are required
> modules. How do I change this.

You'll need to remove the corresponding nordic softdevice dependencies
from Makefile.dep. Currently, if you add modules to DISABLE_MODULE, they
get removed *after* dependency resolution. In this case, meta-modules
that are just used for dependency tracking are removed after their
dependencies are added in.

> 2)  Also as a general question, I see that RIOT claims the FLASH size
> usage is around 5K. What features does the 5K include. Does it incude
> pthreads, task switching, synchronization , messaging etc. 

That very much depends. Please take a look at tests/minimal, which
currently compiles to ~2.7k flash for ARM platforms.

5k flash is enough for RIOT's threading, synchronization and messaging.
The pthreads wrapper will not fit, though. Also, newlib's POSIX stdio is
quite large, e.g., a simple printf will pull in ~4k of code on ARM
platforms.

Kaspar
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] questions about riot os

2017-03-20 Thread Arjun Hary
Hi,

I am trying to build riot os for the nrf52dk board. I got the code base and
have been successful in building it and was able to add the nordic
softdevice module as well

1) After adding the softdevice the code size jumped to 46K bytes which
includes compilation of 6lowpan, ipv6. Is there a way to compile the nordic
ble linbrary without adding these modules. I tried the DISABLE_MODULE macro
and though the makefile complained , the code size still remained the same.
It looks like 6lowpan and ipv6 are required modules. How do I change this.

2)  Also as a general question, I see that RIOT claims the FLASH size usage
is around 5K. What features does the 5K include. Does it incude pthreads,
task switching, synchronization , messaging etc.

-- 
Arjun Hary

 : +1 (425) 381-7722
 : zGlue Inc., Mountain View, CA

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel