[riot-devel] RIOT preview for TI cc3200

Attilio Dona attilio.dona at gmail.com
Fri Sep 25 14:27:46 CEST 2015


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 <hauke.petersen at 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 <kaspar at 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 at riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/devel
>>
>
>
>
> _______________________________________________
> devel mailing listdevel at riot-os.orghttps://lists.riot-os.org/mailman/listinfo/devel
>
>
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150925/b92f7e04/attachment-0001.html>


More information about the devel mailing list