Deprecate the Greentea metrics API

Add the deprecated macro to where the Greentea metrics API is declared.

Fixes #14790
pull/14914/head
Nicole Osazuwa 2021-07-12 16:52:37 +01:00 committed by Jaeden Amero
parent 7095dc79fa
commit e8bd2fb530
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#include "platform/mbed_toolchain.h"
/** \addtogroup frameworks */
/** @{*/
@ -7,11 +8,13 @@
/**
* Setup platform specific metrics
*/
MBED_DEPRECATED_SINCE("mbed-os-6.14", "Greentea metrics API are deprecated")
void greentea_metrics_setup(void);
/**
* Report and cleanup platform specifc metrics
*/
MBED_DEPRECATED_SINCE("mbed-os-6.14", "Greentea metrics API are deprecated")
void greentea_metrics_report(void);
#endif