Skip to content

Commit d9c3459

Browse files
authored
Merge pull request #4295 from LeeChunHei/test_branch
添加imxrt的pulse encoder和usb host驅動
2 parents 6d3847b + b51c633 commit d9c3459

36 files changed

+6392
-1855
lines changed

bsp/imxrt/libraries/MIMXRT1050/MIMXRT1052/drivers/fsl_os_abstraction.h

Lines changed: 813 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*!
2+
* Copyright (c) 2015, Freescale Semiconductor, Inc.
3+
* Copyright 2016-2018 NXP
4+
*
5+
*
6+
* SPDX-License-Identifier: BSD-3-Clause
7+
*/
8+
9+
#ifndef _FSL_OS_ABSTRACTION_CONFIG_H_
10+
#define _FSL_OS_ABSTRACTION_CONFIG_H_
11+
12+
#ifndef gMainThreadStackSize_c
13+
#define gMainThreadStackSize_c 1024
14+
#endif
15+
16+
#ifndef gMainThreadPriority_c
17+
#define gMainThreadPriority_c 1
18+
#endif
19+
20+
#ifndef gTaskMultipleInstancesManagement_c
21+
#define gTaskMultipleInstancesManagement_c 0
22+
#endif
23+
24+
/*! @brief Definition to determine whether enable OSA's TASK module. */
25+
#ifndef OSA_USED
26+
#ifndef FSL_OSA_TASK_ENABLE
27+
#define FSL_OSA_TASK_ENABLE 0U
28+
#endif
29+
#else
30+
#if defined(FSL_OSA_TASK_ENABLE)
31+
#undef FSL_OSA_TASK_ENABLE
32+
#endif
33+
#define FSL_OSA_TASK_ENABLE 1U
34+
#endif /* OSA_USED */
35+
36+
#endif /* _FSL_OS_ABSTRACTION_CONFIG_H_ */

0 commit comments

Comments
 (0)