<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 6, 2017 at 9:20 AM, punit vara <span dir="ltr"><<a href="mailto:punitvara@gmail.com" target="_blank">punitvara@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Feb 6, 2017 at 8:31 PM, Tanu Hari Dixit <<a href="mailto:tokencolour@gmail.com">tokencolour@gmail.com</a>> wrote:<br>
> Hello Punit, Gedare,<br>
<span class=""><br>
> I cloned the repo you linked to in your previous mail. However, I am unable<br>
> to figure out how to run the application. I have kept it outside the rtems<br>
> tree. I know how executables for tests are made i.e. by the configure script<br>
> at the top. But I don't know how I will be able to run an application<br>
> outside of testsuites. For example, my question is rtems_gsoc16/gpio has no<br>
> <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> file.<br>
<br>
</span>You don't have to create separate <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>. In case of<br>
rtems_gsoc16/gpio copy gpio directory under samples. To execute that<br>
testcase you need to add one line<br>
<br>
gpio/Makefile<br>
<br>
in <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> at testsuits/samples/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
<br>
Then do bootstrap<br>
<br>
$ ./bootstrap; ./bootstrap -p<br>
<br>
I hope you know where to do it.<br>
<span class=""><br>
> What example did you take to learn how to make an application (and run it)?<br>
<br>
</span>I wasn't able to find any app at that time so I have figured out own<br>
my own and created this simple app to test GPIO. Carefully follow my<br>
testcase I think you will understand once you compile.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>An alternative is to look at the examples-v2 repo. It shows how to </div><div>builds RTEMS applications external to the RTEMS tree using waf.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
> On Thu, Feb 2, 2017 at 11:16 PM, Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br>
>><br>
>> see rtems.git/testsuites/fstests for examples of some filesystem usage.<br>
>><br>
>> On Thu, Feb 2, 2017 at 12:03 PM, punit vara <<a href="mailto:punitvara@gmail.com">punitvara@gmail.com</a>> wrote:<br>
>> > Hi<br>
>> ><br>
>> > Which file system API you are talking about ? Can you please send me<br>
>> > the file location ?<br>
>> ><br>
>> > I have used some of GPIO APIs for BBB board. Have a look at this example<br>
>> ><br>
>> > <a href="https://github.com/punitvara/rtems_gsoc16/blob/master/gpio/init.c" rel="noreferrer" target="_blank">https://github.com/punitvara/<wbr>rtems_gsoc16/blob/master/gpio/<wbr>init.c</a><br>
>> ><br>
>> > Similarly you can create application for any APIs.<br>
>> ><br>
>> > P.S. Always add devel mailing list as CC so that other person also can<br>
>> > help you :)<br>
>> ><br>
>> > Thanks<br>
>> > PV<br>
>> ><br>
>> > On Wed, Feb 1, 2017 at 11:25 PM, Tanu Hari Dixit <<a href="mailto:tokencolour@gmail.com">tokencolour@gmail.com</a>><br>
>> > wrote:<br>
>> >> Hello Punit,<br>
>> >> I have been reading the docs as you suggested. But I want to execute<br>
>> >> the various directives and helper functions and test for myself in an<br>
>> >> isolated example. For example I want to test the various API functions<br>
>> >> available for the filesystem (In memory Filesystem) in RTEMS. How do I<br>
>> >> go about doing that?<br>
>> >> Thanks,<br>
>> >> Tanu Hari Dixit.<br>
>> > ______________________________<wbr>_________________<br>
>> > devel mailing list<br>
>> > <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
>> > <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
><br>
><br>
______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>