Re: [riot-devel] IPv4 support

2017-08-18 Thread Martine Lenders
Hi Oleg,

2017-08-18 15:37 GMT+02:00 Oleg Hahm :

> Dear Ameya!
>
> On Fri, Aug 18, 2017 at 06:38:31PM +0530, Ameya Joshi wrote:
> > Does the latest version of RIOT support IPv4?
>
> RIOT supports the lwip network stack which supports IPv4. However, AFAIK
> there
> is no IPv4 support for application interface "sock". Martine, correct me if
> I'm wrong.
>

You are wrong ;-). Compile with `lwip_ipv4` and `lwip_sock_udp` or
`lwip_sock_tcp` to use UDP over IPv4 or TCP over IPv4, respectively.
However, this might only work for Ethernet-based L2 protocols. IPv4 over
IEEE 802.15.4 is not specified and I'm not sure if it would work with lwIP.

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


Re: [riot-devel] IPv4 support

2017-08-18 Thread Oleg Hahm
Dear Ameya!

On Fri, Aug 18, 2017 at 06:38:31PM +0530, Ameya Joshi wrote:
> Does the latest version of RIOT support IPv4?

RIOT supports the lwip network stack which supports IPv4. However, AFAIK there
is no IPv4 support for application interface "sock". Martine, correct me if
I'm wrong.

Cheers,
Oleg
-- 
die_if_kernel("Penguin instruction from Penguin mode??!?!", regs);
linux-2.2.16/arch/sparc/kernel/traps.c
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] where to put bootloader?

2017-08-18 Thread Mathias Tausig
Well, the boot loader is actually a full application, which is something that
has not yet been part of the RIOT source tree. So I suggest to create a new base
directory "applications" under dist/ or root (I am leaning towards dist/) for it
and put it there. That would make it either at /applications/bootloader or
/dist/applications/bootloader.

cheers
Mathias

On Mit, 2017-08-09 at 23:54 +0200, Francisco Javier Acosta Padilla wrote:
> Hi!
> 
> I think I’m quite against `dist/tools/bootloader`. Most of the code there can
> be built by itself, which is not the case of the bootloader… I was maybe
> thinking about leave it there in the root or move it to sys/ as a module. The
> module option seems to me a bit adequate since is an optional feature we
> provide to some boards, and can be deactivated when is not needed.
> 
> Cheers,
> 
> Paco.
> 
> On 9 August 2017 at 15:02:19, Martine Lenders (m...@martine-lenders.eu) wrote:
> 
> Hi,
> 
> gut feeling says `dist/tools/bootloader` (maybe something more unique than
> just bootloader?), since it isn't really part of the system and not really an
> example, but a quite specific application. Then again, for the same reasons I
> could argue to put it in the root folder, that IMHO should be kept small,
> however.
> 
> Cheers,
> Martine
> 
> 2017-08-09 13:29 GMT+02:00 Kaspar Schleiser :
> Hi everyone,
> 
> PR #7457 will introduce a bootloader application.
> 
> The question came up where to put it within the source tree?
> Currently the PR puts it in the root folder (./bootloader).
> 
> Do we want that? Is there a better place?
> 
> Options:
> examples/bootloader
> dist/tools/bootloader
> ...
> 
> Kaspar

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


[riot-devel] IPv4 support

2017-08-18 Thread Ameya Joshi
Hi RIOT developers,

Does the latest version of RIOT support IPv4?

Best Regards,
Ameya Joshi
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel