Cleanup of the MQX file headers for STDIO. Cleanup of fio.h and nio.h includes to use wc_port.h. ZD 9453.

This commit is contained in:
David Garske
2019-11-18 12:14:34 -08:00
parent c9f7741dfb
commit 1542482cd5
11 changed files with 39 additions and 80 deletions
+2 -6
View File
@@ -29,6 +29,7 @@
#include <wolfssl/wolfcrypt/settings.h>
#include <wolfssl/version.h>
#include <wolfssl/wolfcrypt/wc_port.h>
/* Macro to disable benchmark */
#ifndef NO_CRYPT_BENCHMARK
@@ -48,11 +49,7 @@
/* printf mappings */
#ifdef FREESCALE_MQX
#include <mqx.h>
#if MQX_USE_IO_OLD
#include <fio.h>
#else
#include <nio.h>
#endif
/* see wc_port.h for fio.h and nio.h includes */
#elif defined(FREESCALE_KSDK_1_3)
#include "fsl_debug_console.h"
#include "fsl_os_abstraction.h"
@@ -93,7 +90,6 @@
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "wolfssl/wolfcrypt/wc_port.h" /* for m2mb headers */
#include "m2m_log.h" /* for M2M_LOG_INFO - not standard API */
/* remap printf */
#undef printf