From 925878b2f83e09987bd1688746b92898ee8bbcac Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 12 Jul 2021 16:34:43 +1000 Subject: [PATCH] ports: Update for move of crypto-algorithms, uzlib to lib. Signed-off-by: Damien George --- ports/esp32/memory.h | 2 +- ports/stm32/mboot/Makefile | 8 ++++---- ports/stm32/mboot/gzstream.c | 2 +- ports/stm32/mboot/main.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ports/esp32/memory.h b/ports/esp32/memory.h index f3777b0e3..1f07fe409 100644 --- a/ports/esp32/memory.h +++ b/ports/esp32/memory.h @@ -1,2 +1,2 @@ -// this is needed for extmod/crypto-algorithms/sha256.c +// this is needed for lib/crypto-algorithms/sha256.c #include diff --git a/ports/stm32/mboot/Makefile b/ports/stm32/mboot/Makefile index 17de685a6..41a1a73bc 100755 --- a/ports/stm32/mboot/Makefile +++ b/ports/stm32/mboot/Makefile @@ -114,10 +114,10 @@ LIB_SRC_C += \ lib/littlefs/lfs2_util.c \ lib/oofatfs/ff.c \ lib/oofatfs/ffunicode.c \ - extmod/uzlib/crc32.c \ - extmod/uzlib/adler32.c \ - extmod/uzlib/tinflate.c \ - extmod/uzlib/tinfgzip.c + lib/uzlib/adler32.c \ + lib/uzlib/crc32.c \ + lib/uzlib/tinfgzip.c \ + lib/uzlib/tinflate.c SRC_C += \ main.c \ diff --git a/ports/stm32/mboot/gzstream.c b/ports/stm32/mboot/gzstream.c index 652302e42..6ed8a21d9 100644 --- a/ports/stm32/mboot/gzstream.c +++ b/ports/stm32/mboot/gzstream.c @@ -27,7 +27,7 @@ #include #include "py/mphal.h" -#include "extmod/uzlib/uzlib.h" +#include "lib/uzlib/uzlib.h" #include "gzstream.h" #include "mboot.h" diff --git a/ports/stm32/mboot/main.c b/ports/stm32/mboot/main.c index c1e1d59d2..6c7d2c771 100644 --- a/ports/stm32/mboot/main.c +++ b/ports/stm32/mboot/main.c @@ -28,7 +28,7 @@ #include #include "py/mphal.h" -#include "extmod/crypto-algorithms/sha256.c" +#include "lib/crypto-algorithms/sha256.c" #include "boardctrl.h" #include "usbd_core.h" #include "storage.h"