Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 91f1e0e

Browse files
committed
fixed firmware image for L01 (as Lopy1 is not supported)
1 parent fadeb36 commit 91f1e0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

esp32/tools/size_check.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ total_size=$((${size_app} + ${size_boot}))
5858

5959
IMG_MAX_SIZE=${IMG_MAX_SIZE_4MB}
6060

61-
if [ "${BOARD}" = "LOPY4" -o "${BOARD}" = "GPY" -o "${BOARD}" = "FIPY" ] ; then
61+
if [ "${BOARD}" = "LOPY4" -o "${BOARD}" = "GPY" -o "${BOARD}" = "FIPY" -o "${BOARD}" = "LOPY" ] ; then
62+
# LOPY image is for L01 (not Lopy1), which has a 8MB chip
6263
IMG_MAX_SIZE=${IMG_MAX_SIZE_8MB}
6364
elif [ "${BOARD}" = "WIPY" -a "${VARIANT}" = "PYGATE" ] ; then
6465
# WiPy2.0 has a 4MB chip

0 commit comments

Comments
 (0)