MMS 3 years ago
parent e6ee7ca655
commit 9b34a33ab9

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<model version="5.2.1" links="1"> <model version="5.2.2" links="1">
<documentation>About this model: <documentation>About this model:
----------------- -----------------
The TimeBomb example from the video course &quot;Modern Embedded Systems Programming&quot;: The TimeBomb example from the video course &quot;Modern Embedded Systems Programming&quot;:

@ -3,7 +3,7 @@
* Model: TimeBomb.qm * Model: TimeBomb.qm
* File: ${.::main.c} * File: ${.::main.c}
* *
* This code has been generated by QM 5.2.1 <www.state-machine.com/qm>. * This code has been generated by QM 5.2.2 <www.state-machine.com/qm>.
* DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost. * DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<model version="5.2.1" links="1"> <model version="5.2.2" links="1">
<documentation>About this model: <documentation>About this model:
----------------- -----------------
The TimeBomb example from the video course &quot;Modern Embedded Systems Programming&quot;: The TimeBomb example from the video course &quot;Modern Embedded Systems Programming&quot;:
@ -134,7 +134,8 @@ QTimeEvt_armX(&amp;me-&gt;te, BSP_TICKS_PER_SEC/2, 0U);</entry>
<state name="boom"> <state name="boom">
<entry brief="all-LEDs=ON;">BSP_ledRedOn(); <entry brief="all-LEDs=ON;">BSP_ledRedOn();
BSP_ledGreenOn(); BSP_ledGreenOn();
BSP_ledBlueOn();</entry> BSP_ledBlueOn();
MY_PRINTF(&quot;*** Boom!!!\n&quot;);</entry>
<state_glyph node="4,68,26,10"> <state_glyph node="4,68,26,10">
<entry box="1,2,17,3"/> <entry box="1,2,17,3"/>
</state_glyph> </state_glyph>
@ -155,6 +156,8 @@ BSP_ledBlueOn();</entry>
#include &quot;qpc.h&quot; /* QP/C API */ #include &quot;qpc.h&quot; /* QP/C API */
#include &quot;bsp.h&quot; #include &quot;bsp.h&quot;
#include &quot;my_printf.h&quot; /* software tracing with printf() */
Q_DEFINE_THIS_MODULE(&quot;main&quot;) /* this module name for Q_ASSERT() */ Q_DEFINE_THIS_MODULE(&quot;main&quot;) /* this module name for Q_ASSERT() */
/* The TimeBomb AO =======================================================*/ /* The TimeBomb AO =======================================================*/
@ -183,8 +186,7 @@ int main() {
QF_run(); /* run QP/C... */ QF_run(); /* run QP/C... */
return 0; /* NOTE: the scheduler does NOT return */ return 0; /* NOTE: the scheduler does NOT return */
} }</text>
</text>
</file> </file>
</directory> </directory>
</model> </model>

@ -3,7 +3,7 @@
* Model: TimeBomb.qm * Model: TimeBomb.qm
* File: ${.::main.c} * File: ${.::main.c}
* *
* This code has been generated by QM 5.2.1 <www.state-machine.com/qm>. * This code has been generated by QM 5.2.2 <www.state-machine.com/qm>.
* DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost. * DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
* *
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
@ -279,4 +279,3 @@ int main() {
QF_run(); /* run QP/C... */ QF_run(); /* run QP/C... */
return 0; /* NOTE: the scheduler does NOT return */ return 0; /* NOTE: the scheduler does NOT return */
} }

Loading…
Cancel
Save