Skip to content

Commit 42ed09e

Browse files
committed
8.0.0
1 parent f505eec commit 42ed09e

File tree

196 files changed

+85058
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+85058
-259
lines changed

arm-cm/dpp_nucleo-c031c6/qk/armclang/dpp-qk.uvoptx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<SetRegEntry>
121121
<Number>0</Number>
122122
<Key>ST-LINKIII-KEIL_SWO</Key>
123-
<Name>-U066BFF505153848667095842 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(0BC11477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32C0x_32.FLM -FS08000000 -FL08000 -FP0($$Device:STM32C031C6Tx$CMSIS\Flash\STM32C0x_32.FLM)</Name>
123+
<Name>-U066BFF505153848667095842 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(0BC11477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32C0x_32.FLM -FS08000000 -FL08000 -FP0($$Device:STM32C031C6Tx$CMSIS\Flash\STM32C0x_32.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 -WK0-R0</Name>
124124
</SetRegEntry>
125125
<SetRegEntry>
126126
<Number>0</Number>
@@ -140,7 +140,7 @@
140140
<SetRegEntry>
141141
<Number>0</Number>
142142
<Key>DLGTARM</Key>
143-
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)</Name>
143+
<Name>(1010=1425,550,1836,1052,1)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)</Name>
144144
</SetRegEntry>
145145
<SetRegEntry>
146146
<Number>0</Number>
@@ -152,18 +152,18 @@
152152
<Bp>
153153
<Number>0</Number>
154154
<Type>0</Type>
155-
<LineNumber>336</LineNumber>
155+
<LineNumber>334</LineNumber>
156156
<EnabledFlag>1</EnabledFlag>
157-
<Address>134226654</Address>
157+
<Address>6</Address>
158158
<ByteObject>0</ByteObject>
159159
<HtxType>0</HtxType>
160160
<ManyObjects>0</ManyObjects>
161161
<SizeOfObject>0</SizeOfObject>
162162
<BreakByAccess>0</BreakByAccess>
163163
<BreakIfRCount>1</BreakIfRCount>
164-
<Filename>..\bsp.c</Filename>
164+
<Filename>..\..\..\..\..\src\qf\qf_time.c</Filename>
165165
<ExecCommand></ExecCommand>
166-
<Expression>\\dpp_qk\../bsp.c\336</Expression>
166+
<Expression>\\dpp_qk\../../../../../src/qf/qf_time.c\334</Expression>
167167
</Bp>
168168
</Breakpoint>
169169
<MemoryWindow1>

arm-cm/dpp_nucleo-c031c6/qk/armclang/dpp-qk.uvprojx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<TargetName>dpp-dbg</TargetName>
1111
<ToolsetNumber>0x4</ToolsetNumber>
1212
<ToolsetName>ARM-ADS</ToolsetName>
13-
<pCCUsed>6160000::V6.16::ARMCLANG</pCCUsed>
13+
<pCCUsed>6220000::V6.22::ARMCLANG</pCCUsed>
1414
<uAC6>1</uAC6>
1515
<TargetOption>
1616
<TargetCommonOption>

arm-cm/dpp_nucleo-c031c6/qxk/bsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ void QS_onCommand(uint8_t cmdId,
518518
//
519519
// Only ISRs prioritized at or below the QF_AWARE_ISR_CMSIS_PRI level (i.e.,
520520
// with the numerical values of priorities equal or higher than
521-
// QF_AWARE_ISR_CMSIS_PRI) are allowed to call the QK_ISR_ENTRY/
521+
// QF_AWARE_ISR_CMSIS_PRI) are allowed to call the QXK_ISR_ENTRY/
522522
// QXK_ISR_ENTRY macros or any other QF/QXK services. These ISRs are
523523
// "QF-aware".
524524
//

arm-cm/dpp_nucleo-c031c6/qxk/gnu/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#
4545
# NOTE:
4646
# To use this Makefile on Windows, you will need the GNU make utility, which
47-
# is included in the Qtools collection for Windows, see:
47+
# is included in the QTools collection for Windows, see:
4848
# https://github.com/QuantumLeaps/qtools
4949

5050
#-----------------------------------------------------------------------------

arm-cm/dpp_nucleo-f401re/bsp.h

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
//============================================================================
2+
// Product: Board Support Package example
3+
// Last Updated for Version: 7.3.0
4+
// Date of the Last Update: 2023-08-12
5+
//
6+
// Q u a n t u m L e a P s
7+
// ------------------------
8+
// Modern Embedded Software
9+
//
10+
// Copyright (C) 2005 Quantum Leaps, LLC. All rights reserved.
11+
//
12+
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial
13+
//
14+
// This software is dual-licensed under the terms of the open source GNU
15+
// General Public License version 3 (or any later version), or alternatively,
16+
// under the terms of one of the closed source Quantum Leaps commercial
17+
// licenses.
18+
//
19+
// The terms of the open source GNU General Public License version 3
20+
// can be found at: <www.gnu.org/licenses/gpl-3.0>
21+
//
22+
// The terms of the closed source Quantum Leaps commercial licenses
23+
// can be found at: <www.state-machine.com/licensing>
24+
//
25+
// Redistributions in source code must retain this top-level comment block.
26+
// Plagiarizing this software to sidestep the license obligations is illegal.
27+
//
28+
// Contact information:
29+
// <www.state-machine.com/licensing>
30+
31+
//============================================================================
32+
#ifndef BSP_H_
33+
#define BSP_H_
34+
35+
#define BSP_TICKS_PER_SEC 100U
36+
37+
void BSP_init(void);
38+
void BSP_start(void);
39+
void BSP_displayPaused(uint8_t paused);
40+
void BSP_displayPhilStat(uint8_t n, char const *stat);
41+
void BSP_terminate(int16_t result);
42+
43+
void BSP_randomSeed(uint32_t seed); // random seed
44+
uint32_t BSP_random(void); // pseudo-random generator
45+
46+
void BSP_ledOn(void);
47+
void BSP_ledOff(void);
48+
49+
#endif // BSP_H_

arm-cm/dpp_nucleo-f401re/dpp.h

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
//$file${.::dpp.h} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
2+
//
3+
// Model: dpp.qm
4+
// File: ${.::dpp.h}
5+
//
6+
// This code has been generated by QM 7.0.0 <www.state-machine.com/qm>.
7+
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
8+
//
9+
// Copyright (C) 2005 Quantum Leaps, LLC. All rights reserved.
10+
//
11+
// Q u a n t u m L e a P s
12+
// ------------------------
13+
// Modern Embedded Software
14+
//
15+
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial
16+
//
17+
// The QP/C software is dual-licensed under the terms of the open-source GNU
18+
// General Public License (GPL) or under the terms of one of the closed-
19+
// source Quantum Leaps commercial licenses.
20+
//
21+
// Redistributions in source code must retain this top-level comment block.
22+
// Plagiarizing this software to sidestep the license obligations is illegal.
23+
//
24+
// NOTE:
25+
// The GPL does NOT permit the incorporation of this code into proprietary
26+
// programs. Please contact Quantum Leaps for commercial licensing options,
27+
// which expressly supersede the GPL and are designed explicitly for
28+
// closed-source distribution.
29+
//
30+
// Quantum Leaps contact information:
31+
// <www.state-machine.com/licensing>
32+
33+
//
34+
//$endhead${.::dpp.h} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35+
#ifndef DPP_H_
36+
#define DPP_H_
37+
38+
//$declare${Shared} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
39+
40+
//${Shared::AppSignals} ......................................................
41+
enum AppSignals {
42+
EAT_SIG = Q_USER_SIG, // published by Table to let a Philo eat
43+
DONE_SIG, // published by Philo when done eating
44+
PAUSE_SIG, // published by BSP to pause the application
45+
SERVE_SIG, // published by BSP to serve re-start serving forks
46+
TEST_SIG, // published by BSP to test the application
47+
MAX_PUB_SIG, // the last published signal
48+
49+
TIMEOUT_SIG, // posted by time event to Philo
50+
HUNGRY_SIG, // posted by hungry Philo to Table
51+
MAX_SIG // the last signal
52+
};
53+
54+
//${Shared::produce_sig_dict} ................................................
55+
#ifdef Q_SPY
56+
static inline void produce_sig_dict(void) {
57+
QS_SIG_DICTIONARY(EAT_SIG, (void *)0);
58+
QS_SIG_DICTIONARY(DONE_SIG, (void *)0);
59+
QS_SIG_DICTIONARY(PAUSE_SIG, (void *)0);
60+
QS_SIG_DICTIONARY(SERVE_SIG, (void *)0);
61+
QS_SIG_DICTIONARY(TEST_SIG, (void *)0);
62+
63+
QS_SIG_DICTIONARY(TIMEOUT_SIG, (void *)0);
64+
QS_SIG_DICTIONARY(HUNGRY_SIG, (void *)0);
65+
}
66+
#endif // def Q_SPY
67+
68+
//${Shared::N_PHILO} .........................................................
69+
#define N_PHILO ((uint8_t)5U)
70+
71+
//${Shared::TableEvt} ........................................................
72+
typedef struct {
73+
// protected:
74+
QEvt super;
75+
76+
// public:
77+
uint8_t philoId;
78+
} TableEvt;
79+
80+
// public:
81+
static inline TableEvt * TableEvt_init(TableEvt * const me,
82+
uint8_t id)
83+
{
84+
if (me != (TableEvt *)0) {
85+
me->philoId = id;
86+
}
87+
return me;
88+
}
89+
90+
//${Shared::AO_Philo[N_PHILO]} ...............................................
91+
extern QActive * const AO_Philo[N_PHILO];
92+
93+
//${Shared::Philo_ctor} ......................................................
94+
void Philo_ctor(uint_fast8_t const id);
95+
96+
//${Shared::AO_Table} ........................................................
97+
extern QActive * const AO_Table;
98+
99+
//${Shared::Table_ctor} ......................................................
100+
void Table_ctor(void);
101+
//$enddecl${Shared} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
102+
103+
#ifdef QXK_H_
104+
105+
extern QXThread * const TH_XThread1;
106+
void XThread1_ctor(void);
107+
108+
extern QXThread * const TH_XThread2;
109+
void XThread2_ctor(void);
110+
111+
extern QXSemaphore TH_sema;
112+
extern QXMutex TH_mutex;
113+
114+
#endif // QXK_H_
115+
116+
#endif // DPP_H_

0 commit comments

Comments
 (0)