Using helper functions
Tanu Hari Dixit
tokencolour at gmail.com
Mon Feb 6 15:02:58 UTC 2017
Hello Gedare,
> see rtems.git/testsuites/fstests for examples of some filesystem usage.
I'll look into this testsuite in more depth. Thanks.
Regards,
Tanu Hari Dixit.
On Mon, Feb 6, 2017 at 8:31 PM, Tanu Hari Dixit <tokencolour at gmail.com>
wrote:
> Hello Punit, Gedare,
>
> Thanks for the answer.
>
> Which file system API you are talking about ? Can you please send me
>> the file location ?
>
>
> The file system I am talking about is In-Memory FileSystem (imfs). The
> file location is:
> /home/thd/development/rtems/src/rtems/cpukit/libfs/src/imfs
>
> I cloned the repo you linked to in your previous mail. However, I am
> unable to figure out how to run the application. I have kept it outside the
> rtems tree. I know how executables for tests are made i.e. by the configure
> script at the top. But I don't know how I will be able to run an
> application outside of testsuites. For example, my question is
> rtems_gsoc16/gpio has no configure.ac file. I don't understand how to
> generate make file in this case. Please help me with this.
>
> What example did you take to learn how to make an application (and run
> it)?
>
> Thank you so much.
> Tanu Hari Dixit.
>
> On Thu, Feb 2, 2017 at 11:16 PM, Gedare Bloom <gedare at rtems.org> wrote:
>
>> see rtems.git/testsuites/fstests for examples of some filesystem usage.
>>
>> On Thu, Feb 2, 2017 at 12:03 PM, punit vara <punitvara at gmail.com> wrote:
>> > Hi
>> >
>> > Which file system API you are talking about ? Can you please send me
>> > the file location ?
>> >
>> > I have used some of GPIO APIs for BBB board. Have a look at this example
>> >
>> > https://github.com/punitvara/rtems_gsoc16/blob/master/gpio/init.c
>> >
>> > Similarly you can create application for any APIs.
>> >
>> > P.S. Always add devel mailing list as CC so that other person also can
>> > help you :)
>> >
>> > Thanks
>> > PV
>> >
>> > On Wed, Feb 1, 2017 at 11:25 PM, Tanu Hari Dixit <tokencolour at gmail.com>
>> wrote:
>> >> Hello Punit,
>> >> I have been reading the docs as you suggested. But I want to execute
>> >> the various directives and helper functions and test for myself in an
>> >> isolated example. For example I want to test the various API functions
>> >> available for the filesystem (In memory Filesystem) in RTEMS. How do I
>> >> go about doing that?
>> >> Thanks,
>> >> Tanu Hari Dixit.
>> > _______________________________________________
>> > devel mailing list
>> > devel at rtems.org
>> > http://lists.rtems.org/mailman/listinfo/devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20170206/14cd3a12/attachment-0002.html>
More information about the devel
mailing list