Skip to content

Commit 9d7c9ff

Browse files
stephanosionashif
authored andcommitted
samples: tflite-micro: hello_world: Enable standard C++ library
The TensorFlow Lite module makes use of the features provided by the standard C++ library (e.g. `#include <functional>`), so the standard C++ library config must be enabled for it. This used to work without `CONFIG_LIB_CPLUSPLUS=y` due to the bug described in the issue #36644. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent c2859bc commit 9d7c9ff

File tree

1 file changed

+1
-0
lines changed
  • samples/modules/tflite-micro/hello_world

1 file changed

+1
-0
lines changed

samples/modules/tflite-micro/hello_world/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
# limitations under the License.
1414
# ==============================================================================s
1515
CONFIG_CPLUSPLUS=y
16+
CONFIG_LIB_CPLUSPLUS=y
1617
CONFIG_NEWLIB_LIBC=y
1718
CONFIG_TENSORFLOW_LITE_MICRO=y

0 commit comments

Comments
 (0)