[riot-devel] RIOT on Arduino UNO

2014-12-21 Thread Sudarshan S
Hi ,
I am a complete newbie to RIOT OS . I have Arduino Uno board (based on
ATmega328)  and I would like to install RIOT on it . It appears there is no
support for  Arduino UNO presently.
On reading through certain older posts,  (
http://lists.riot-os.org/pipermail/devel/2013-May/28.html) , I learned
that ATmega328 has RAM of 2K - which would be insufficient for RIOT plus
any application to run.

I would like to understand the following:
1) I believe there are ways to expand RAM in Arduino UNO,  using SRAM ICs
and SPI bus upto 32K . So would it be feasible or make sense  to port RIOT
on such an expanded RAM arrangement ?
 If yes, I would like to try doing this exercise , though to be honest
I don't have prior experience in such an activity
2)  Is  RAM the only constraint for porting RIOT on to Arduino UNO ? are
there any other constraints to be thought through before taking on porting?

Regards
Sudarshan
___
devel mailing list
devel@riot-os.org
http://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] RIOT on Arduino UNO

2014-12-21 Thread Martine Lenders
Hi,

2014-12-21 21:13 GMT+01:00 eric fleury eric.fle...@inria.fr:



 Eric Fleury, Professor
 DANTE INRIA TEAM
 ENS LYON
 Tel: +33 672 162974

 On 21 déc. 2014, at 20:15, Sudarshan S sudarshans.riot@gmail.com
 wrote:

 […]
 I would like to understand the following:
 1) I believe there are ways to expand RAM in Arduino UNO,  using SRAM ICs
 and SPI bus upto 32K . So would it be feasible or make sense  to port RIOT
 on such an expanded RAM arrangement ?


 I am afraid that such memory is only for data and will not be accessible
 via the program counter.


True, but since RIOT's program is written to the Flash ROM, there would be
no need for the IP to access those addresses. So the real question is: how
big is the Flash ROM, and how much memory does the .text part of RIOT
consume on 8-bit platforms. For our hello-world application this is 8524
bytes on the Arduino Mega 2560, for the somewhat more sophisticated default
application it's ~15 KiB (without any network support). @Sudarshan is that
remotely in the flash sizes of the Arduino Uno?

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