Re: [riot-devel] RIOT preview for TI cc3200

2015-09-27 Thread Peter Kietzmann

Hi Attilio,

nice! Looking forward to see you PR ;-) .

Best,
Peter

Am 25.09.2015 um 14:27 schrieb Attilio Dona:

Ok,

just for sharing a little roadmap I'm starting to work on the wifi 
module integration.


I need a little bit of time for this task, I think some weeks.

Could make sense create a PR after the completion of this task?

Let me know!

greetings
Attilio


ps. For shell echoing I needed to apply the following patch to 
shell/shell.c (I think this affect all systems that use newlib)


@@ -256,6 +256,9 @@ static int readline(char *buf, size_t size)
 else {
 *line_buf_ptr++ = c;
 _putchar(c);
+#ifdef MODULE_NEWLIB
+fflush(stdout);
+#endif
 }
 }
 }






On Thu, Sep 24, 2015 at 1:29 PM, Hauke Petersen 
mailto:hauke.peter...@fu-berlin.de>> wrote:


Hej,

On 03.09.2015 23:22, Attilio Dona wrote:

Ciao Kaspar,

I agree with RIOT philosophy, so a rewrite could be a nice thing,
but I also think that this is not a top priority now, at least
for me ...

If someone else wants to contribute it would be great!

One more thing to consider is that cc3200 has:

  * 256 Kb of RAM
  * an external SD serial flash card memory where to flash the image
  * an internal ROM memory burned into the chip that hosts the
bootloader and the driverlib "ROM version" (directly from
factory)

So from version ES1.33 it seems possible to link to the ROM
version of driverlib for resource optimizations (so could be a
waste to throw away the driverlib API?)

IMHO that is exactly what we do!

@kaspar: in this particular case (as for the LM4F120 launchpad
board) it makes very much sense to use the provided hardware
abstraction to implement RIOTs periph interfaces, as the code used
by this HAL layer is burned into read-only ROM directly on the CPU
and thus does not use any additional memory...

Cheers,
Hauke





I have not tested this setup yet, but I think could be a trail to do.

Attilio



On Wed, Sep 2, 2015 at 9:36 AM, Kaspar Schleiser
mailto:kas...@schleiser.de>> wrote:

Hey Attilio,

Thanks a lot for your effort on getting this board supported!

On 09/01/15 21:32, Attilio Dona wrote:
> I need just some confirmation, the most important is
> that driverlib from TI is license compatible with RIOT
> (cpu/cc32000/driverlib and cpu/cc3200/inc files used as HAL
for the
> drivers).

I just took a quick look, but it seems like "driverlib" is
TI's own
hardware abstraction C code.

Our philosphy here was always to not use vendor-supplied HAL
code and
instead rewrite hardware support from scratch.

While that requires a little more effort for a new port in the
beginning, we usually end up with a lot cleaner, smaller,
more-to-the
point code that can more easily be shared between platforms.

(The license used by driverlib looks fine actually.)

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




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



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




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


--
Peter Kietzmann

Hamburg University of Applied Sciences
Dept. Informatik, Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49-40-42875-8426
Web: http://www.haw-hamburg.de/inet

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


Re: [riot-devel] Fwd: tapsetup problem

2015-09-27 Thread Martine Lenders
Hi,
make sure you have the `netdev2_tap` module included to your project. You
can do that by either adding the line

USEMODULE += netdev2_tap

to your project or - more generally for all boards, not just native

USEMODULE += gnrc_netif_default

If you want the OS to setup the device (recommended) also add the auto
initialization modules:

USEMODULE += auto_init
USEMODULE += auto_init_gnrc_netif

Cheers,
Martine

2015-09-26 21:50 GMT+02:00 Ludwig Knüpfer :

> Hi,
>
> Apparently your project is not configured to use a transceiver.
>
> Cheers,
> Ludwig
>
> Am 20. September 2015 21:22:49 MESZ, schrieb samira afzal <
> afzal.sam...@gmail.com>:
> >Hi all,
> >Ii had sent a question about my problem but i didn't get any answer, if
> >i
> >have to email to another address or sth is wrong please tell me. thanks
> >to
> >all
> >-- Forwarded message --
> >From: samira afzal 
> >Date: Fri, Sep 18, 2015 at 5:09 PM
> >Subject: tapsetup problem
> >To: us...@riot-os.org, devel@riot-os.org
> >
> >
> >Hi all,
> >
> >I hope that i write in a correct place. i am newer on RIOT.  I've
> >started
> >to learn about it. i amm using "
> >https://github.com/RIOT-OS/RIOT/wiki/Creating-your-first-RIOT-project";
> >as
> >tutorial.
> >
> >
> >In the mentioned website i used command
> >../../dist/tools/tapsetup/tapsetup
> >-c
> >
> >tap0 and tap1 created successfully. Then i used make and then,
> >./bin/native/my_project.elf
> >tap0.
> >the result is:
> >
> >usage: ./bin/native/my_project.elf [-i ] [-d] [-e|-E] [-o]
> > help: ./bin/native/my_project.elf -h
> >
> >Options:
> >-h  help
> >-i  specify instance id (set by config module)
> >-sspecify srandom(3) seed (/dev/random is used instead of
> >random(3) if the option is omitted)
> >-d  daemonize
> >-e  redirect stderr to file
> >-E  do not redirect stderr (i.e. leave sterr unchanged despite
> >daemon/socket io)
> >-o  redirect stdout to file (/tmp/riot.stdout.PID) when not
> >attached
> >to socket
> >
> >The order of command line arguments matters.
> >samira@samira-pc:~/RIOT/examples/my_project$
> >
> >
> >
> >could u please guide me, what is the problem and how can i solve it?
> >thanks
> >for your kind consideration
>
> ___
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] Release branch

2015-09-27 Thread Oleg Hahm
Dear roaring IOTlers,

we've finally merged all remaining PRs that were missing for our upcoming
release and are now in final testing phase. Therefore, I created a release
branch [1] as well as a tag for the first release candidate [2]. Everybody is
invited to help testing and finding potential last bugs, before we can finally
publish the 2015.09 release this week.

Cheers,
Oleg

[1] https://github.com/RIOT-OS/RIOT/tree/2015.09-branch
[2] https://github.com/RIOT-OS/RIOT/releases/tag/2015.09-RC1
-- 
The four hard things in CS are cache invalidation, naming, and off-by-one
errors.


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