Skip to content

Commit 29baf0a

Browse files
nicole-osazPatater
authored andcommitted
Deprecate the Greentea metrics API
Add the deprecated macro to where the Greentea metrics API is declared. Fixes #14790
1 parent 7095dc7 commit 29baf0a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

features/frameworks/greentea-client/greentea-client/greentea_metrics.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
* mbed Microcontroller Library
3+
* Copyright (c) 2006-2019 ARM Limited
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*/
19+
#include "platform/mbed_toolchain.h"
120

221
/** \addtogroup frameworks */
322
/** @{*/
@@ -7,11 +26,13 @@
726
/**
827
* Setup platform specific metrics
928
*/
29+
MBED_DEPRECATED_SINCE("mbed-os-6.13", "Greentea metrics API are deprecated")
1030
void greentea_metrics_setup(void);
1131

1232
/**
1333
* Report and cleanup platform specifc metrics
1434
*/
35+
MBED_DEPRECATED_SINCE("mbed-os-6.13", "Greentea metrics API are deprecated")
1536
void greentea_metrics_report(void);
1637

1738
#endif

0 commit comments

Comments
 (0)