Re: RTEMS DEMO

2021-03-10 Thread Gedare Bloom
On Wed, Mar 10, 2021 at 7:04 AM Joel Sherrill  wrote:
>
>
>
> On Wed, Mar 10, 2021 at 5:26 AM Mingyu Li  wrote:
>>
>> Dear Eduardo,
>>
>> You may refer to the https://github.com/RTEMS/rtems/tree/master/testsuites,
>> and search for keywords like mutex for some simple demos.
>
>
> There are lots of programs in the test suites but they tend to make terrible
> demos or even examples of how one would do things since many are
> contorted to test specific paths and return values.
>
> That said, testsuites/samples has some I like to show people but fileio
> is by far the most interesting but it isn't a concurrency demo, it shows
> off the shell.
>
> For what I think you are doing, I think https://git.rtems.org/rtems-examples/
> is a better source of examples. There are a variety of programs more geared
> to showing off a way of doing something. The hello and ticker variants are
> just examples of how the same functional thing can be achieved differently
> and have different footprints. led is a collection of ways to setup a 1 second
> periodic activity to blink an LED. Some are reasonable, some are strictly
> examples and not how to do a periodic activity in a real system. The POSIX
> examples are just that -- examples of some POSIX thread services. There
> are others in there.
>
> libbsd has netshell which is cool if you are on a BSP with libbsd support
> and that's what you want to show.
>

I would suggest looking into maybe Beaglebone Black with littlevgl
driving an LCD, that should be possible from what we have publicly
available and would allow a sufficiently complicated environment with
a "cool factor" although you'd have to identify a suitable application
to show on the LCD.

> If you have some similar examples from the net that you want comparables,
> point us to them. Good examples are hard to come by.
>
>
>>
>> Hope this helps. Please let me know if you have any further questions.
>
>
> Examples are hard. Please feel free to give examples from other places
> or some specific examples you have in mind.
>
> --joel
>>
>>
>> Bests,
>> Maxul
>>
>> Eduardo Escalante  于2021年3月10日周三 上午6:35写道:
>>>
>>> Hello, I am a University of Houston Electrical Engineering student. I am in 
>>> a
>>> advanced microprocessor course this semester working on a presentation
>>> involving RTEMS. One of my requirements is to demo RTEMS using a
>>> microcontroller by using concepts such as semaphores, task, scheduling, and
>>> mutexes. Unfortunately, it has been a hassle finding a simple demo
>>> showcasing a demo. Is there anyway someone can help me with this?--
>>> kind regards,
>>>
>>> Eduardo Escalante
>>> University of Houston- Computer Engineering student
>>> ___
>>> users mailing list
>>> users@rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users
>>
>> ___
>> users mailing list
>> users@rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS DEMO

2021-03-10 Thread Joel Sherrill
On Wed, Mar 10, 2021 at 5:26 AM Mingyu Li  wrote:

> Dear Eduardo,
>
> You may refer to the https://github.com/RTEMS/rtems/tree/master/testsuites
> ,
> and search for keywords like mutex for some simple demos.
>

There are lots of programs in the test suites but they tend to make
terrible
demos or even examples of how one would do things since many are
contorted to test specific paths and return values.

That said, testsuites/samples has some I like to show people but fileio
is by far the most interesting but it isn't a concurrency demo, it shows
off the shell.

For what I think you are doing, I think
https://git.rtems.org/rtems-examples/
is a better source of examples. There are a variety of programs more geared
to showing off a way of doing something. The hello and ticker variants are
just examples of how the same functional thing can be achieved differently
and have different footprints. led is a collection of ways to setup a 1
second
periodic activity to blink an LED. Some are reasonable, some are strictly
examples and not how to do a periodic activity in a real system. The POSIX
examples are just that -- examples of some POSIX thread services. There
are others in there.

libbsd has netshell which is cool if you are on a BSP with libbsd support
and that's what you want to show.

If you have some similar examples from the net that you want comparables,
point us to them. Good examples are hard to come by.



> Hope this helps. Please let me know if you have any further questions.
>

Examples are hard. Please feel free to give examples from other places
or some specific examples you have in mind.

--joel

>
> Bests,
> Maxul
>
> Eduardo Escalante  于2021年3月10日周三 上午6:35写道:
>
>> Hello, I am a University of Houston Electrical Engineering student. I am
>> in a
>> advanced microprocessor course this semester working on a presentation
>> involving RTEMS. One of my requirements is to demo RTEMS using a
>> microcontroller by using concepts such as semaphores, task, scheduling,
>> and
>> mutexes. Unfortunately, it has been a hassle finding a simple demo
>> showcasing a demo. Is there anyway someone can help me with this?--
>> kind regards,
>>
>> *Eduardo Escalante*
>> *University of Houston- *Computer Engineering student
>> ___
>> users mailing list
>> users@rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Re: RTEMS DEMO

2021-03-10 Thread Mingyu Li
Dear Eduardo,

You may refer to the https://github.com/RTEMS/rtems/tree/master/testsuites,
and search for keywords like mutex for some simple demos.

Hope this helps. Please let me know if you have any further questions.

Bests,
Maxul

Eduardo Escalante  于2021年3月10日周三 上午6:35写道:

> Hello, I am a University of Houston Electrical Engineering student. I am
> in a
> advanced microprocessor course this semester working on a presentation
> involving RTEMS. One of my requirements is to demo RTEMS using a
> microcontroller by using concepts such as semaphores, task, scheduling, and
> mutexes. Unfortunately, it has been a hassle finding a simple demo
> showcasing a demo. Is there anyway someone can help me with this?--
> kind regards,
>
> *Eduardo Escalante*
> *University of Houston- *Computer Engineering student
> ___
> users mailing list
> users@rtems.org
> http://lists.rtems.org/mailman/listinfo/users
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

RTEMS DEMO

2021-03-09 Thread Eduardo Escalante
Hello, I am a University of Houston Electrical Engineering student. I am in
a
advanced microprocessor course this semester working on a presentation
involving RTEMS. One of my requirements is to demo RTEMS using a
microcontroller by using concepts such as semaphores, task, scheduling, and
mutexes. Unfortunately, it has been a hassle finding a simple demo
showcasing a demo. Is there anyway someone can help me with this?--
kind regards,

*Eduardo Escalante*
*University of Houston- *Computer Engineering student
___
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users