stm32: Add missing header include for debug builds.

Debug build fails if string.h header is not included.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
pull/13038/head
iabdalkader 2023-11-21 08:58:36 +01:00 zatwierdzone przez Damien George
rodzic 992cd64555
commit cfcd0c4022
4 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -24,6 +24,7 @@
* THE SOFTWARE.
*/
#include <string.h>
#include "py/mperrno.h"
#include "py/mphal.h"
#include "py/runtime.h"

Wyświetl plik

@ -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"

Wyświetl plik

@ -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"

Wyświetl plik

@ -24,6 +24,7 @@
* THE SOFTWARE.
*/
#include <string.h>
#include "py/runtime.h"
#include "py/mperrno.h"
#include "py/mphal.h"