Commit cfcd0c40 authored by iabdalkader's avatar iabdalkader Committed by Damien George

stm32: Add missing header include for debug builds.

Debug build fails if string.h header is not included.
Signed-off-by: default avatariabdalkader <i.abdalkader@gmail.com>
parent 992cd645
......@@ -24,6 +24,7 @@
* THE SOFTWARE.
*/
#include <string.h>
#include "py/mperrno.h"
#include "py/mphal.h"
#include "py/runtime.h"
......
......@@ -29,6 +29,7 @@
// extmod/machine_i2s.c via MICROPY_PY_MACHINE_I2S_INCLUDEFILE.
#include <stdlib.h>
#include <string.h>
#include "py/mphal.h"
#include "pin.h"
#include "dma.h"
......
......@@ -26,6 +26,9 @@
#ifndef MICROPY_INCLUDED_STM32_PIN_STATIC_AF_H
#define MICROPY_INCLUDED_STM32_PIN_STATIC_AF_H
// For debug builds some of the macros expand to use strcmp.
#include <string.h>
#include "py/mphal.h"
#include "genhdr/pins.h"
#include "genhdr/pins_af_defs.h"
......
......@@ -24,6 +24,7 @@
* THE SOFTWARE.
*/
#include <string.h>
#include "py/runtime.h"
#include "py/mperrno.h"
#include "py/mphal.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment