<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://192.168.180.206:8001/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://192.168.180.206:8001/feed.php">
        <title>wiki.niziak.spox.org - programming</title>
        <description></description>
        <link>http://192.168.180.206:8001/</link>
        <image rdf:resource="http://192.168.180.206:8001/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-05-12T22:43:10+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://192.168.180.206:8001/programming:cmake?rev=1744800539&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/programming:doxygen?rev=1734073537&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/programming:js?rev=1593762510&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/programming:kernel?rev=1708716008&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/programming:makefile?rev=1744803075&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/programming:mcu?rev=1615906176&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/programming:python?rev=1593762703&amp;do=diff"/>
                <rdf:li rdf:resource="http://192.168.180.206:8001/programming:rst?rev=1733507783&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://192.168.180.206:8001/_media/wiki:dokuwiki.svg">
        <title>wiki.niziak.spox.org</title>
        <link>http://192.168.180.206:8001/</link>
        <url>http://192.168.180.206:8001/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="http://192.168.180.206:8001/programming:cmake?rev=1744800539&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-16T10:48:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>CMake</title>
        <link>http://192.168.180.206:8001/programming:cmake?rev=1744800539&amp;do=diff</link>
        <description>CMake

&lt;https://cmake.org/Wiki/CMake_Useful_Variables&gt;
&lt;http://www.vtk.org/Wiki/CMake_Cross_Compiling#Setting_up_the_system_and_toolchain&gt;

add assembly listing


add_custom_command(OUTPUT ${CMAKE_PROJECT_NAME}.lst
    MAIN_DEPENDENCY $&lt;TARGET_FILE:${CMAKE_PROJECT_NAME}.elf&gt;
    COMMAND ${CMAKE_OBJDUMP} -h -S $&lt;TARGET_FILE:${CMAKE_PROJECT_NAME}.elf&gt; &gt; ${CMAKE_PROJECT_NAME}.lst
    COMMENT &quot;Invoking: Cross AVR GNU Create Listing&quot;)</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/programming:doxygen?rev=1734073537&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-13T07:05:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Doxygen</title>
        <link>http://192.168.180.206:8001/programming:doxygen?rev=1734073537&amp;do=diff</link>
        <description>Doxygen

&lt;http://micro-os-plus.github.io/develop/doxygen-style-guide/&gt;


/**
 * @file ...
 * @brief ...
 * @author
 * @date 2024-12-01
 * @version 1.0
 */



/**
 * @brief ...
 * @details
 * ...
 */


Function:


/**
 * @brief ...
 *
 * @param [in] c  ...
 * @return int
 * @retval -1 Error
 * @retval 0 oK
 *
 * @details
 * ...

 */</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/programming:js?rev=1593762510&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-03T07:48:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>JS</title>
        <link>http://192.168.180.206:8001/programming:js?rev=1593762510&amp;do=diff</link>
        <description>JS

Promises

break promises chain

	*  if you don&#039;t return anything, you are effectively returning a resolved promise for the value undefined
	*  Promise.reject() sets only Promise state, not break the code flow, so return statement is required
	*</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/programming:kernel?rev=1708716008&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-23T19:20:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Kernel</title>
        <link>http://192.168.180.206:8001/programming:kernel?rev=1708716008&amp;do=diff</link>
        <description>Kernel

printk

modify format for vprintk

To modify format string to f.e.:

	*  add log level
	*  add prefix
	*  solve [&lt;https://stackoverflow.com/questions/54430645/how-to-use-a-variable-as-a-format-string-in-printk&gt;|How to use a variable as a format string in printk]]

Special structure struct va_format and special format character %pV was added to Kernel.
Examples:</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/programming:makefile?rev=1744803075&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-16T11:31:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Makefile</title>
        <link>http://192.168.180.206:8001/programming:makefile?rev=1744803075&amp;do=diff</link>
        <description>Makefile

Quick reference &lt;https://www.gnu.org/software/make/manual/html_node/Quick-Reference.html&gt;

Recursive Make Considered Harmful:

	*  Recursive Make Considered Harmfull
	*  Recursive Make Considered Harmful
	*  &lt;https://news.ycombinator.com/item?id=20014348&gt;
	*  &lt;http://make.mad-scientist.net/papers/rules-of-makefiles/&gt;

one shell

NOTE: read carefully issues introduced with “one shell”:
5.3.1 Using One Shell


.ONESHELL:
foo : bar/lose
        cd $(&lt;D)
        gobble $(&lt;F) &gt; ../$@


alte…</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/programming:mcu?rev=1615906176&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-16T14:49:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>MCUs</title>
        <link>http://192.168.180.206:8001/programming:mcu?rev=1615906176&amp;do=diff</link>
        <description>MCUs

Cortex-M

	*  Introductionthe ARM Cortex-M3Exception / Interrupt
	*  How to debug a HardFault on an ARM Cortex-M MCU 
	*  Disabling/Enabling interrupts (critical sections)
		*  NVIC: Disabling Interrupts on ARM Cortex-M and the Need for a Memory Barrier Instruction
		*  Chapter 10 in book: Cortex M3 Definitive Guide</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/programming:python?rev=1593762703&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-03T07:51:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Python</title>
        <link>http://192.168.180.206:8001/programming:python?rev=1593762703&amp;do=diff</link>
        <description>Python

OOP

Call parent constuctor

super().__init__()

String formatting

	*  using the % operator (old)


logger.debug(&#039;Got argument %s.&#039; % arg)


	*  str.format (new: string formatters)


print(&quot;Sammy has {} balloons.&quot;.format(5))
print(&quot;Sammy has {} and {} balloons.&quot;.format(5, 7))
print(&quot;Sammy has {0} and {1} balloons.&quot;.format(5, 7))
print(&quot;Sammy has {1} and {0} balloons.&quot;.format(5, 7))</description>
    </item>
    <item rdf:about="http://192.168.180.206:8001/programming:rst?rev=1733507783&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-06T17:56:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>reStructuredText</title>
        <link>http://192.168.180.206:8001/programming:rst?rev=1733507783&amp;do=diff</link>
        <description>reStructuredText

tags: Sphinx, rst

text formating

superscipt


The E = mc\ :sup:`2` explains everything.</description>
    </item>
</rdf:RDF>
