<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Mark,<br>
    <br>
    there are no dumb questions, only dumb answers (:<br>
    Where did you get that 50MB from?<br>
    When you compile for your board then you have<br>
    a binary representation of the source code parts that<br>
    are necessary for your board + the desired modules<br>
    configured in the Makefiles. Additionally, the compiler<br>
    does a good job at optimizing the binary for a smaller size.<br>
    Furthermore, there are plenty of extra tools in the RIOT<br>
    folder that have nothing to do with your board per se,<br>
    but merely assist in testing RIOT or doing other housekeeping stuff.<br>
    <br>
    When I build the default project residing in the `examples` folder
    for<br>
    the udoo platform, then I get a binary blob which would take up
    12,5kb<br>
    of ROM on the flash.<br>
    <br>
    Did that help?<br>
    <br>
    Best,<br>
    Cenk<br>
    <br>
    <div class="moz-cite-prefix">On 03.03.2016 16:48, Mark Bul wrote:<br>
    </div>
    <blockquote
cite="mid:CAEWH7PHo_vpfa7RN10c0K=xTKJFiGCiLcQgBtT501Z+0vsDvNg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I ask sorry for the dumb question in advance, but I have a
          beginner doubt.</div>
        <div>My project has to be less then 512KB since that that is the
          maximum ROM size of my board (the UDOO). </div>
        <div>What I don't understand is: </div>
        <div>RIOT itself is about 50MB so how can it fit in the board,
          in 512KB of ROM? And if RIOT is 50MB why can't I do a project
          who is like 20MB?</div>
        <div><br>
        </div>
        <div>I know for sure that I have a huge lack in knowledge, but
          I'm a beginner.</div>
        <div>Thanks,</div>
        <div>Mark</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Mar 1, 2016 at 4:29 PM, Mark
          Bul <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:markbullaro@gmail.com" target="_blank">markbullaro@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hello Oleg and Chenk.
              <div><br>
              </div>
              <div>What is occuping more size is a server that I
                download and then I apply some patches, maybe I have to
                find another way. If there's not that, the program would
                be of 3MB, still to much, but I'm compiling in native.
                Hopefully compiling for a board the size will be
                smaller..</div>
              <span class="HOEnZb"><font color="#888888">
                  <div><br>
                  </div>
                  <div>Mark</div>
                </font></span></div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Tue, Mar 1, 2016 at 3:01
                    PM, Cenk Gündogan <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:cenk.guendogan@fu-berlin.de"
                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:cenk.guendogan@fu-berlin.de">cenk.guendogan@fu-berlin.de</a></a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000"> Hello Mark
                        Bul,<br>
                        <br>
                        I don't think that it's possible to extend the
                        native address space onto an external<br>
                        flash memory, which is probably driven by SPI.<br>
                        <br>
                        Do you really need 20 MB of coding size, or are
                        parts of that<br>
                        big files like pictures/videos/music files?
                        Those can be loaded at runtime<br>
                        and then accessed/worked on without problems.<br>
                        <br>
                        If you really need 20 MB of code, then I don't
                        see a simple solution here.<br>
                        You probably could split your program into small
                        parts and load these parts<br>
                        on demand from the SD flash memory into the SRAM
                        of your microcontroller<br>
                        and execute the code snip from RAM, but this
                        degrades the overall performance<br>
                        is very hard to maintain..<br>
                        <br>
                        Best,<br>
                        Cenk
                        <div>
                          <div><br>
                            <br>
                            <div>On 01.03.2016 14:45, Mark Bul wrote:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="ltr">Hi Emmanuel,
                                <div>Yes exactly that one.</div>
                                <div><br>
                                </div>
                                <div>The UDOO's hardware has 512KB of
                                  flash memory, but there's a
                                  possibility to add a micro SD card of
                                  8GB or more, so since that my project
                                  is 20MB, is it okay or still it has to
                                  be less than 512KB? Because if I can't
                                  overcome that size then everything I
                                  did is wrong. That's why it's
                                  important for me to know it.</div>
                                <div><br>
                                </div>
                                <div>Thank you.</div>
                                <div>Mark</div>
                              </div>
                              <div class="gmail_extra"><br>
                                <div class="gmail_quote">On Tue, Mar 1,
                                  2016 at 2:07 PM, Emmanuel Baccelli <span
                                    dir="ltr"><<a
                                      moz-do-not-send="true"
                                      href="mailto:Emmanuel.Baccelli@inria.fr"
                                      target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:Emmanuel.Baccelli@inria.fr">Emmanuel.Baccelli@inria.fr</a></a>></span>
                                  wrote:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div dir="ltr">Hi Mark,
                                      <div>which Udoo board are you
                                        talking about exactly?</div>
                                      <div>The memory constraint is
                                        dictated by the hardware,
                                        essentially.</div>
                                      <div>The Udoo board supported by
                                        RIOT so far is this one <a
                                          moz-do-not-send="true"
                                          href="https://github.com/RIOT-OS/RIOT/wiki/Board:-UDOO"
                                          target="_blank"><a class="moz-txt-link-freetext" href="https://github.com/RIOT-OS/RIOT/wiki/Board:-UDOO">https://github.com/RIOT-OS/RIOT/wiki/Board:-UDOO</a></a></div>
                                      <div>And on this board, RIOT runs
                                        on the Arduino part of the
                                        hardware, not on the quad-core.</div>
                                      <div>Cheers,</div>
                                      <div>Emmanuel</div>
                                    </div>
                                    <div class="gmail_extra"><br>
                                      <div class="gmail_quote">
                                        <div>
                                          <div>On Tue, Mar 1, 2016 at
                                            1:54 PM, Mark Bul <span
                                              dir="ltr"><<a
                                                moz-do-not-send="true"
                                                href="mailto:markbullaro@gmail.com"
                                                target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:markbullaro@gmail.com">markbullaro@gmail.com</a></a>></span>
                                            wrote:<br>
                                          </div>
                                        </div>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          <div>
                                            <div>
                                              <div dir="ltr">Hello, 
                                                <div>I'm new to this
                                                  mailing list and to
                                                  RIOT, I hope I can
                                                  have some help.</div>
                                                <div><br>
                                                </div>
                                                <div>I want to use a
                                                  board like the udoo
                                                  where to put RIOT and
                                                  my program that I'm
                                                  developing, the
                                                  question is: </div>
                                                <div>since the udoo, as
                                                  well as all the other
                                                  boards, have a limited
                                                  amount of memory (ram
                                                  and rom) how big can
                                                  my project be? </div>
                                                <div>I'm developing a
                                                  project which is more
                                                  than 20MB of size is
                                                  that too much? As far
                                                  as I got, usually the
                                                  in the boards the ROM
                                                  is 256KB or 512KB, but
                                                  the udoo has the
                                                  possibility to put an
                                                  external memory card,
                                                  so the available
                                                  memory would be
                                                  bigger?</div>
                                                <div><br>
                                                </div>
                                                <div>I'm probably doing
                                                  a lot of confusion and
                                                  I'm sorry if my
                                                  question is dumb, but
                                                  I hope someone can
                                                  clarify to me this
                                                  thing.</div>
                                                <div><br>
                                                </div>
                                                <div>Thanks. Cheers</div>
                                                <span><font
                                                    color="#888888">
                                                    <div>Mark</div>
                                                  </font></span></div>
                                              <br>
                                            </div>
                                          </div>
_______________________________________________<br>
                                          users mailing list<br>
                                          <a moz-do-not-send="true"
                                            href="mailto:users@riot-os.org"
                                            target="_blank">users@riot-os.org</a><br>
                                          <a moz-do-not-send="true"
                                            href="https://lists.riot-os.org/mailman/listinfo/users"
                                            rel="noreferrer"
                                            target="_blank">https://lists.riot-os.org/mailman/listinfo/users</a><br>
                                          <br>
                                        </blockquote>
                                      </div>
                                      <br>
                                    </div>
                                    <br>
_______________________________________________<br>
                                    users mailing list<br>
                                    <a moz-do-not-send="true"
                                      href="mailto:users@riot-os.org"
                                      target="_blank">users@riot-os.org</a><br>
                                    <a moz-do-not-send="true"
                                      href="https://lists.riot-os.org/mailman/listinfo/users"
                                      target="_blank">https://lists.riot-os.org/mailman/listinfo/users</a><br>
                                    <br>
                                  </blockquote>
                                </div>
                                <br>
                              </div>
                              <br>
                              <fieldset></fieldset>
                              <br>
                              <pre>_______________________________________________
users mailing list
<a moz-do-not-send="true" href="mailto:users@riot-os.org" target="_blank">users@riot-os.org</a>
<a moz-do-not-send="true" href="https://lists.riot-os.org/mailman/listinfo/users" target="_blank">https://lists.riot-os.org/mailman/listinfo/users</a>
</pre>
                            </blockquote>
                            <br>
                          </div>
                        </div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:users@riot-os.org" target="_blank">users@riot-os.org</a><br>
                      <a moz-do-not-send="true"
                        href="https://lists.riot-os.org/mailman/listinfo/users"
                        rel="noreferrer" target="_blank">https://lists.riot-os.org/mailman/listinfo/users</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@riot-os.org">users@riot-os.org</a>
<a class="moz-txt-link-freetext" href="https://lists.riot-os.org/mailman/listinfo/users">https://lists.riot-os.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>