How do you plan before starting to code ?

Richi Dubey richidubey at gmail.com
Thu Jul 9 08:22:25 UTC 2020


Hi,

I understand. I'll learn how to use Doxygen and put it in my codes. Thank
you.

On Thu, Jul 9, 2020 at 12:43 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> Hello Richi,
>
> we use Doxygen to document the software design. Maybe you can write your
> high-level description with it. This way it is integrated already
> integrated in the sources. You can use @dot for graphs and @msc for
> message sequences.
>
> I would document the data structures and the invariants of the data
> structures. I would also try to write code which checks that the
> invariants are satisfied. This can be used in _Assert() and RTEMS_DEBUG
> blocks.
>
> I would also write test cases. You can already run the test cases with:
>
>
> https://docs.rtems.org/branches/master/c-user/scheduling_concepts.html#arbitrary-processor-affinity-priority-smp-scheduler
>
> There should be test cases which would fail with the Linux push and pull
> scheduler.
>
> You should identify the key scheduler operations (e.g. block and
> unblock) and write a high level description of the algorithms used for
> these operations in some sort of pseudo code.
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20200709/bc17e9ce/attachment-0001.html>


More information about the users mailing list