Fixed bug #1205.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15172 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
c2450fd8d4
commit
a75670b399
|
@ -187,7 +187,7 @@
|
||||||
* @note The default is @p TRUE.
|
* @note The default is @p TRUE.
|
||||||
*/
|
*/
|
||||||
#if !defined(CH_CFG_USE_TIMESTAMP)
|
#if !defined(CH_CFG_USE_TIMESTAMP)
|
||||||
#define CH_CFG_USE_TIMESTAMP TRUE
|
#define CH_CFG_USE_TIMESTAMP FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -102,6 +102,8 @@
|
||||||
ARMv7-M and ARMv8-M-ML.
|
ARMv7-M and ARMv8-M-ML.
|
||||||
- NEW: On STM32WBxx added a check on STM32_LSI_ENABLE required by IWDG.
|
- NEW: On STM32WBxx added a check on STM32_LSI_ENABLE required by IWDG.
|
||||||
- NEW: Added SPIv2 support also to STM32WB and STM32WL.
|
- NEW: Added SPIv2 support also to STM32WB and STM32WL.
|
||||||
|
- FIX: Fixed RT test suite build fails when CH_CFG_USE_TIMESTAMP is FALSE
|
||||||
|
(bug #1205)(backported to 21.11.1).
|
||||||
- FIX: Fixed wrong number of CAN filters for STM32L496/9A6 (bug #1204)
|
- FIX: Fixed wrong number of CAN filters for STM32L496/9A6 (bug #1204)
|
||||||
(backported to 20.3.5)(backported to 21.11.1).
|
(backported to 20.3.5)(backported to 21.11.1).
|
||||||
- FIX: Fixed DMA stream not disabled in STM32 QUADSPIv1 driver (bug #1203)
|
- FIX: Fixed DMA stream not disabled in STM32 QUADSPIv1 driver (bug #1203)
|
||||||
|
|
|
@ -821,7 +821,7 @@ test_assert(b == false, "in range");
|
||||||
related to time stamps.</value>
|
related to time stamps.</value>
|
||||||
</description>
|
</description>
|
||||||
<condition>
|
<condition>
|
||||||
<value />
|
<value><![CDATA[CH_CFG_USE_TIMESTAMP == TRUE]]></value>
|
||||||
</condition>
|
</condition>
|
||||||
<shared_code>
|
<shared_code>
|
||||||
<value><![CDATA[#include "ch.h"]]></value>
|
<value><![CDATA[#include "ch.h"]]></value>
|
||||||
|
|
|
@ -57,7 +57,9 @@ const testsequence_t * const rt_test_suite_array[] = {
|
||||||
&rt_test_sequence_001,
|
&rt_test_sequence_001,
|
||||||
&rt_test_sequence_002,
|
&rt_test_sequence_002,
|
||||||
&rt_test_sequence_003,
|
&rt_test_sequence_003,
|
||||||
|
#if (CH_CFG_USE_TIMESTAMP == TRUE) || defined(__DOXYGEN__)
|
||||||
&rt_test_sequence_004,
|
&rt_test_sequence_004,
|
||||||
|
#endif
|
||||||
&rt_test_sequence_005,
|
&rt_test_sequence_005,
|
||||||
&rt_test_sequence_006,
|
&rt_test_sequence_006,
|
||||||
#if (CH_CFG_USE_SEMAPHORES == TRUE) || defined(__DOXYGEN__)
|
#if (CH_CFG_USE_SEMAPHORES == TRUE) || defined(__DOXYGEN__)
|
||||||
|
|
|
@ -29,11 +29,19 @@
|
||||||
* This sequence tests the ChibiOS/RT functionalities related to time
|
* This sequence tests the ChibiOS/RT functionalities related to time
|
||||||
* stamps.
|
* stamps.
|
||||||
*
|
*
|
||||||
|
* <h2>Conditions</h2>
|
||||||
|
* This sequence is only executed if the following preprocessor condition
|
||||||
|
* evaluates to true:
|
||||||
|
* - CH_CFG_USE_TIMESTAMP == TRUE
|
||||||
|
* .
|
||||||
|
*
|
||||||
* <h2>Test Cases</h2>
|
* <h2>Test Cases</h2>
|
||||||
* - @subpage rt_test_004_001
|
* - @subpage rt_test_004_001
|
||||||
* .
|
* .
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if (CH_CFG_USE_TIMESTAMP == TRUE) || defined(__DOXYGEN__)
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Shared code.
|
* Shared code.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -104,3 +112,5 @@ const testsequence_t rt_test_sequence_004 = {
|
||||||
"Time Stamps Functionality",
|
"Time Stamps Functionality",
|
||||||
rt_test_sequence_004_array
|
rt_test_sequence_004_array
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif /* CH_CFG_USE_TIMESTAMP == TRUE */
|
||||||
|
|
Loading…
Reference in New Issue