<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I can get my RKI project to build on
windows ( from a command prompt , without a mingw or cygwin shell
) <br>
If you can build it in a command prompt, it should build in
eclipse.<br>
For my windows setup, I have the following lines in the makefile:<br>
## <br>
## Windows paths<br>
RTEMS_TOOL_BASE=c:\opt\rtems\4.11<br>
RTEMS_BSP_BASE=e:\Projects\rtems\bsps\rtems-4.11<br>
<br>
<br>
Your project sounds neat, I would love to find out more about your
avionics board. Let me know if you make any progress with the I2C
on the Raspberry Pi, I was going to tackle that when I get some
free time.<br>
<br>
Alan<br>
<br>
<br>
On 8/9/2013 4:08 AM, <a class="moz-txt-link-abbreviated" href="mailto:williamssimonp@gmail.com">williamssimonp@gmail.com</a> wrote:<br>
</div>
<blockquote cite="mid:5204b628.486b0e0a.49a0.6b2c@mx.google.com"
type="cite">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style>
<div data-externalstyle="false" dir="ltr"
style="font-family:Calibri,'Segoe UI',Meiryo,'Microsoft YaHei
UI','Microsoft JhengHei UI','Malgun Gothic','Khmer UI','Nirmala
UI',Tunga,'Lao UI',Ebrima,sans-serif;font-size:12pt;">
<div>Thanks for that Chris, using this build set gave me working
a compiler. I hadn't been able to get RTEMS source Builder to
work on Windows, but I didn’t try very hard as your build
set removed the need. I built the Raspberry Pi BSP and
all appears to be well.</div>
<div> </div>
<div>I am trying to get RKI to build, but this is early days.
I eventually need to use C++ and I like to use the Eclipse
IDE and so I have imported the source into Eclipse with a view
to getting the original C code to work, prior to porting it to
C++ as a base for my project. I am getting undefined
references in the link, but I can sort this out, I just need
to find which libraries are missing.</div>
<div> </div>
<div>The project I am working on is for a Raspberry Pi based
autopilot. I have designed an avionics board containing the
sensors. This board will interface to the Pi using I2C.
I had made a small and insignificant start to writing the
autopilot code, but it was a huge job! Linux is not suitable
for this kind of application and so I was going to use my own
microkernel. Doing this is insanely complicated however.
Using RTEMS will save me a huge amount of time as I can
concentrate on writing an autopilot and leave the details of
memory management, scheduling, etc. to a proven RTOS. Once
the autopilot code is in a suitable form, I will be making it,
along with the avionics design, available under GPL. Any
RTEMS device drivers that I write for the generic Pi
peripherals, I will make available as soon as I am happy they
work so that they can be considered for inclusion in the BSP.</div>
<div> </div>
<div>Please don’t expect miracles. Although I have a lot of
experience with low level programming, most of it was a while
ago (early 90’s) and I have not used RTEMS before. Also, this
is very much a hobby and I do have a life!</div>
<div data-signatureblock="true">
<div> </div>
<div>Sent from Windows Mail</div>
<div> </div>
</div>
<div style="padding-top: 5px; border-top-color: rgb(229, 229,
229); border-top-width: 1px; border-top-style: solid;">
<div><font style="line-height: 15pt; letter-spacing: 0.02em;
font-family: Calibri, "Segoe UI", Meiryo,
"Microsoft YaHei UI", "Microsoft JhengHei
UI", "Malgun Gothic", "Khmer UI",
"Nirmala UI", Tunga, "Lao UI", Ebrima,
sans-serif; font-size: 11pt;" face="Calibri, 'Segoe UI',
Meiryo, 'Microsoft YaHei UI', 'Microsoft JhengHei UI',
'Malgun Gothic', 'Khmer UI', 'Nirmala UI', Tunga, 'Lao
UI', Ebrima, sans-serif"><b>From:</b> Chris Johns<br>
<b>Sent:</b> Thursday, 8 August 2013 02:04<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a></font></div>
</div>
<div> </div>
Sebastian Huber wrote:<br>
><br>
> you can use the RTEMS Source Builder (RSB) for this:<br>
><br>
> <a class="moz-txt-link-freetext" href="http://wiki.rtems.org/wiki/index.php/RTEMS_Source_Builder">http://wiki.rtems.org/wiki/index.php/RTEMS_Source_Builder</a><br>
><br>
> I normally build the MinGW tools on Linux.<br>
><br>
<br>
I just built a new ARM compiler for MinGW using the RSB on
FreeBSD using ...<br>
<br>
../source-builder/sb-set-builder --host=mingw32 --trace
--log=log_arm <br>
--prefix=/opt/rtems/4.11 --no-install --bset-tar-file
4.11/rtems-arm<br>
<br>
You can find the tar file with the binaries at ...<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/4.11/mingw32/">http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/4.11/mingw32/</a><br>
<br>
I will add more architectures as they become available. These
tools <br>
contain all required patches and should work on RTEMS 4.11
master.<br>
<br>
Using autoconf and automake in MSYS may require 'mount
c:/opt/rtems/4.11 <br>
/opt/rtems/4.11" where "c:/opt/rtems/4.11" is the path to where
you <br>
unpacked the tar file. The tool such as arm-rtems4.11-as, <br>
arm-rtems4.11-gcc should be relocatable.<br>
<br>
Chris<br>
_______________________________________________<br>
rtems-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<a class="moz-txt-link-freetext" href="http://www.rtems.org/mailman/listinfo/rtems-users">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rtems-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://www.rtems.org/mailman/listinfo/rtems-users">http://www.rtems.org/mailman/listinfo/rtems-users</a>
</pre>
</blockquote>
<br>
</body>
</html>