This commit updates all deprecated `CONFIG_LIB_CPLUSPLUS` usages to: * check if the Zephyr minimal C++ library is enabled using `CONFIG_MINIMAL_LIBCPP` instead of relying on the `CONFIG_LIB_CPLUSPLUS`-based inference. * select `CONFIG_REQUIRES_FULL_LIBCPP` when there exists a component- level C++ standard library dependency. This allows a component to declare C++ standard library dependency without designating a specific libray implementation. * select the correct type of C++ standard library implementation to use through one of the `CONFIG_LIBCPP_IMPLEMENTATION` choices. Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
18 lines
761 B
Plaintext
18 lines
761 B
Plaintext
# Copyright 2019 The TensorFlow Authors. All Rights Reserved.
|
|
#
|
|
# 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.
|
|
# ==============================================================================s
|
|
CONFIG_CPP=y
|
|
CONFIG_TENSORFLOW_LITE_MICRO=y
|
|
CONFIG_MAIN_STACK_SIZE=2048
|