Files
LiteOS2021 cee9714a90 fix: kernel接口融合,添加/修改kernel函数
kernel接口融合,添加/修改kernel函数

BREAKING CHANGE:
新增接口:
LOS_TaskResRecycle
LOS_CurrNanosec
LOS_MDelay
接口修改:
LOS_QueueCreate:第一个入参添加const修饰并增加一种异常情况处理
los_memory.c中 OS_ERROR 修改为LOS_NOK,重定义LOS_NOK为(UINT32)-1。
接口位置转移:
LOS_UDelay 由los_task.h/.c 转移到los_tick.h/.c 
宏修改:
LOS_ERRNO_MUX_PEND_INTERR 改名为 LOS_ERRNO_MUX_IN_INTERR
增加宏:

Signed-off-by: LiteOS2021 <dinglu@huawei.com>
2022-02-15 09:47:58 +08:00

151 lines
4.8 KiB
Plaintext

# Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of
# conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
# of conditions and the following disclaimer in the documentation and/or other materials
# provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used
# to endorse or promote products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
static_library("test_swtmr") {
sources = [
"It_los_swtmr.c",
"It_los_swtmr_001.c",
"It_los_swtmr_002.c",
"It_los_swtmr_003.c",
"It_los_swtmr_004.c",
"It_los_swtmr_005.c",
"It_los_swtmr_006.c",
"It_los_swtmr_007.c",
"It_los_swtmr_008.c",
"It_los_swtmr_009.c",
"It_los_swtmr_010.c",
"It_los_swtmr_011.c",
"It_los_swtmr_012.c",
"It_los_swtmr_013.c",
"It_los_swtmr_014.c",
"It_los_swtmr_015.c",
"It_los_swtmr_016.c",
"It_los_swtmr_017.c",
"It_los_swtmr_018.c",
"It_los_swtmr_019.c",
"It_los_swtmr_020.c",
"It_los_swtmr_021.c",
"It_los_swtmr_022.c",
"It_los_swtmr_023.c",
"It_los_swtmr_024.c",
"It_los_swtmr_025.c",
"It_los_swtmr_026.c",
"It_los_swtmr_027.c",
"It_los_swtmr_029.c",
"It_los_swtmr_030.c",
"It_los_swtmr_031.c",
"It_los_swtmr_032.c",
"It_los_swtmr_033.c",
"It_los_swtmr_034.c",
"It_los_swtmr_035.c",
"It_los_swtmr_036.c",
"It_los_swtmr_037.c",
"It_los_swtmr_038.c",
"It_los_swtmr_039.c",
"It_los_swtmr_040.c",
"It_los_swtmr_041.c",
"It_los_swtmr_042.c",
"It_los_swtmr_043.c",
"It_los_swtmr_044.c",
"It_los_swtmr_045.c",
"It_los_swtmr_046.c",
"It_los_swtmr_047.c",
"It_los_swtmr_048.c",
"It_los_swtmr_049.c",
"It_los_swtmr_050.c",
"It_los_swtmr_051.c",
"It_los_swtmr_052.c",
"It_los_swtmr_053.c",
"It_los_swtmr_054.c",
"It_los_swtmr_055.c",
"It_los_swtmr_056.c",
"It_los_swtmr_057.c",
"It_los_swtmr_058.c",
"It_los_swtmr_059.c",
"It_los_swtmr_060.c",
"It_los_swtmr_061.c",
"It_los_swtmr_062.c",
"It_los_swtmr_063.c",
"It_los_swtmr_064.c",
"It_los_swtmr_065.c",
"It_los_swtmr_066.c",
"It_los_swtmr_067.c",
"It_los_swtmr_068.c",
"It_los_swtmr_069.c",
"It_los_swtmr_071.c",
"It_los_swtmr_072.c",
"It_los_swtmr_073.c",
"It_los_swtmr_074.c",
"It_los_swtmr_075.c",
"It_los_swtmr_076.c",
"It_los_swtmr_077.c",
"It_los_swtmr_078.c",
"It_los_swtmr_079.c",
"It_los_swtmr_080.c",
"It_los_swtmr_081.c",
"It_los_swtmr_Align_001.c",
"It_los_swtmr_Align_002.c",
"It_los_swtmr_Align_003.c",
"It_los_swtmr_Align_004.c",
"It_los_swtmr_Align_005.c",
"It_los_swtmr_Align_006.c",
"It_los_swtmr_Align_007.c",
"It_los_swtmr_Align_008.c",
"It_los_swtmr_Align_009.c",
"It_los_swtmr_Align_010.c",
"It_los_swtmr_Align_011.c",
"It_los_swtmr_Align_012.c",
"It_los_swtmr_Align_013.c",
"It_los_swtmr_Align_014.c",
"It_los_swtmr_Align_015.c",
"It_los_swtmr_Align_016.c",
"It_los_swtmr_Align_017.c",
"It_los_swtmr_Align_018.c",
"It_los_swtmr_Align_019.c",
"It_los_swtmr_Align_020.c",
"It_los_swtmr_Align_021.c",
"It_los_swtmr_Align_022.c",
"It_los_swtmr_Align_023.c",
"It_los_swtmr_Align_024.c",
"It_los_swtmr_Align_025.c",
"It_los_swtmr_Align_026.c",
"It_los_swtmr_Align_027.c",
"It_los_swtmr_Align_028.c",
"It_los_swtmr_Align_029.c",
"It_los_swtmr_Align_030.c",
"It_los_swtmr_Align_031.c",
"It_los_swtmr_Delay_001.c",
"It_los_swtmr_Delay_003.c",
"It_los_swtmr_Delay_004.c",
"It_los_swtmr_Delay_005.c",
]
configs += [ "//kernel/liteos_m/testsuites:include" ]
}