summaryrefslogtreecommitdiff
path: root/ports/stm32/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/spi.c')
-rw-r--r--ports/stm32/spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm32/spi.c b/ports/stm32/spi.c
index 47714a287..ee2301c80 100644
--- a/ports/stm32/spi.c
+++ b/ports/stm32/spi.c
@@ -24,6 +24,7 @@
* THE SOFTWARE.
*/
+#include <string.h>
#include "py/runtime.h"
#include "py/mperrno.h"
#include "py/mphal.h"