2022-04-19 19:18:37 -04:00
|
|
|
/*============================================================================
|
|
|
|
* QS/C port to ARM Cortex-M, generic compiler
|
|
|
|
* Copyright (C) 2005 Quantum Leaps, LLC. All rights reserved.
|
2012-08-14 18:07:04 -04:00
|
|
|
*
|
2022-04-19 19:18:37 -04:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial
|
2012-08-14 18:07:04 -04:00
|
|
|
*
|
2022-04-19 19:18:37 -04:00
|
|
|
* This software is dual-licensed under the terms of the open source GNU
|
|
|
|
* General Public License version 3 (or any later version), or alternatively,
|
|
|
|
* under the terms of one of the closed source Quantum Leaps commercial
|
|
|
|
* licenses.
|
2012-08-14 18:07:04 -04:00
|
|
|
*
|
2022-04-19 19:18:37 -04:00
|
|
|
* The terms of the open source GNU General Public License version 3
|
|
|
|
* can be found at: <www.gnu.org/licenses/gpl-3.0>
|
2012-08-14 18:07:04 -04:00
|
|
|
*
|
2022-04-19 19:18:37 -04:00
|
|
|
* The terms of the closed source Quantum Leaps commercial licenses
|
|
|
|
* can be found at: <www.state-machine.com/licensing>
|
2012-08-14 18:07:04 -04:00
|
|
|
*
|
2022-04-19 19:18:37 -04:00
|
|
|
* Redistributions in source code must retain this top-level comment block.
|
|
|
|
* Plagiarizing this software to sidestep the license obligations is illegal.
|
2012-08-14 18:07:04 -04:00
|
|
|
*
|
|
|
|
* Contact information:
|
2022-04-19 19:18:37 -04:00
|
|
|
* <www.state-machine.com>
|
2019-12-31 15:55:08 -05:00
|
|
|
* <info@state-machine.com>
|
2022-04-19 19:18:37 -04:00
|
|
|
============================================================================*/
|
|
|
|
/*!
|
|
|
|
* @date Last updated on: 2022-04-09
|
|
|
|
* @version Last updated for: @ref qpc_7_0_0
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief QS/C port to a 32-bit CPU and a generic C compiler.
|
|
|
|
* @ingroup qs
|
2015-04-28 13:45:35 -04:00
|
|
|
*/
|
2019-10-27 11:57:33 -04:00
|
|
|
#ifndef QS_PORT_H
|
|
|
|
#define QS_PORT_H
|
2012-08-14 18:07:04 -04:00
|
|
|
|
2015-04-28 13:45:35 -04:00
|
|
|
/* QS time-stamp size in bytes */
|
|
|
|
#define QS_TIME_SIZE 4
|
|
|
|
|
|
|
|
/* object pointer size in bytes */
|
|
|
|
#define QS_OBJ_PTR_SIZE 4
|
|
|
|
|
|
|
|
/* function pointer size in bytes */
|
|
|
|
#define QS_FUN_PTR_SIZE 4
|
2012-08-14 18:07:04 -04:00
|
|
|
|
2022-04-19 19:18:37 -04:00
|
|
|
/*==========================================================================*/
|
|
|
|
/* NOTE: QS might be used with or without other QP components, in which case
|
2017-12-11 12:13:22 -05:00
|
|
|
* the separate definitions of the macros QF_CRIT_STAT_TYPE, QF_CRIT_ENTRY,
|
|
|
|
* and QF_CRIT_EXIT are needed. In this port QS is configured to be used with
|
|
|
|
* the other QP component, by simply including "qf_port.h" *before* "qs.h".
|
2012-08-14 18:07:04 -04:00
|
|
|
*/
|
2015-04-28 13:45:35 -04:00
|
|
|
#include "qf_port.h" /* use QS with QF */
|
|
|
|
#include "qs.h" /* QS platform-independent public interface */
|
2012-08-14 18:07:04 -04:00
|
|
|
|
2019-10-27 11:57:33 -04:00
|
|
|
#endif /* QS_PORT_H */
|
2022-04-19 19:18:37 -04:00
|
|
|
|