Import Mbed OS hard-float snapshot
This commit is contained in:
39
UNITTESTS/empty_baseline/empty_baseline.cpp
Normal file
39
UNITTESTS/empty_baseline/empty_baseline.cpp
Normal file
@@ -0,0 +1,39 @@
|
||||
/* Copyright (c) 2019 ARM Limited
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
/*
|
||||
* Purpose of this test is just to be empty baseline
|
||||
* that does nothing, but includes all source files
|
||||
* in the build.
|
||||
* Do not add any tests here
|
||||
*/
|
||||
|
||||
class EmptyBaseline : public testing::Test {
|
||||
virtual void SetUp()
|
||||
{
|
||||
}
|
||||
|
||||
virtual void TearDown()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
TEST_F(EmptyBaseline, constructor)
|
||||
{
|
||||
EXPECT_TRUE(true);
|
||||
}
|
||||
57
UNITTESTS/empty_baseline/unittest.cmake
Normal file
57
UNITTESTS/empty_baseline/unittest.cmake
Normal file
@@ -0,0 +1,57 @@
|
||||
|
||||
####################
|
||||
# UNIT TESTS
|
||||
####################
|
||||
|
||||
set(unittest-includes ${unittest-includes}
|
||||
.
|
||||
..
|
||||
../connectivity/mbedtls/include/mbedtls/
|
||||
../connectivity/mbedtls/platform/inc/
|
||||
../features/frameworks/mbed-trace/mbed-trace/
|
||||
)
|
||||
|
||||
set(unittest-test-sources
|
||||
empty_baseline/empty_baseline.cpp
|
||||
)
|
||||
|
||||
set(unittest-test-flags
|
||||
-DDEVICE_ANALOGIN
|
||||
-DDEVICE_ANALOGOUT
|
||||
-DDEVICE_CAN
|
||||
-DDEVICE_ETHERNET
|
||||
-DDEVICE_FLASH
|
||||
-DDEVICE_I2C
|
||||
-DDEVICE_I2CSLAVE
|
||||
-DDEVICE_I2C_ASYNCH
|
||||
-DDEVICE_INTERRUPTIN
|
||||
-DDEVICE_LPTICKER
|
||||
-DDEVICE_PORTIN
|
||||
-DDEVICE_PORTINOUT
|
||||
-DDEVICE_PORTOUT
|
||||
-DDEVICE_PWMOUT
|
||||
-DDEVICE_QSPI
|
||||
-DDEVICE_SERIAL
|
||||
-DDEVICE_SERIAL_ASYNCH
|
||||
-DDEVICE_SERIAL_FC
|
||||
-DDEVICE_SPI
|
||||
-DDEVICE_SPISLAVE
|
||||
-DDEVICE_SPI_ASYNCH
|
||||
-DCOMPONENT_FLASHIAP
|
||||
-DMBED_CONF_PLATFORM_CTHUNK_COUNT_MAX=10
|
||||
-DMBED_CONF_DATAFLASH_SPI_FREQ=1
|
||||
-DMBED_CONF_FLASHIAP_BLOCK_DEVICE_BASE_ADDRESS=0
|
||||
-DMBED_CONF_FLASHIAP_BLOCK_DEVICE_SIZE=0
|
||||
-DMBED_CONF_QSPIF_QSPI_FREQ=1
|
||||
-DMBED_CONF_QSPIF_QSPI_MIN_READ_SIZE=1
|
||||
-DMBED_CONF_QSPIF_QSPI_MIN_PROG_SIZE=1
|
||||
-DMBED_LFS_READ_SIZE=64
|
||||
-DMBED_LFS_PROG_SIZE=64
|
||||
-DMBED_LFS_BLOCK_SIZE=512
|
||||
-DMBED_LFS_LOOKAHEAD=512
|
||||
-DFLASHIAP_APP_ROM_END_ADDR=0x80000
|
||||
-DMBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_SIZE=1024
|
||||
-DMBED_CONF_STORAGE_TDB_INTERNAL_INTERNAL_BASE_ADDRESS=0x80000
|
||||
-DMBED_CONF_STORAGE_STORAGE_TYPE=default
|
||||
-DMBED_CONF_FAT_CHAN_FF_MAX_SS=4096
|
||||
)
|
||||
Reference in New Issue
Block a user