Re: Building docs needs an insane amount of RAM

Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org> Wed, 14 Feb 2018 16:47:36 +0100
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
>>>>> "Philipp" == Philipp Burch <[email protected]> writes:

    Philipp> Hi everyone, I just wanted to rebuild the Ethernut source
    Philipp> documentation to check some functions. But even with the 8GiB
    Philipp> RAM plus 12GiB of swap space, it still runs out of memory. I
    Philipp> suppose this is due to the large amount of vendor headers,
    Philipp> especially for the STM32. Is there an easy way to exclude
    Philipp> certain folders from the documentation generation process?
    Philipp> Maybe this should be done for all vendor headers in general, as
    Philipp> these probably do not offer much useful documentation when used
    Philipp> in conjunction with Nut/OS anyway (which should hide the
    Philipp> hardware details).

Philipp,

nut/doc/gen/nut_en.cfg contains some "EXCLUDE" statements. Perhaps adding
something like */arch/*/vendor/* or */vendor/* to "EXCLUDE_PATTERNS" will do
the job.

Bye
-- 
Uwe Bonnes                bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion