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

Commit a7a2e9e

Browse files
author
iwahdan88
committed
esp32: help- Removed CRTL-D from PYBYTES build + minor fixes
1 parent bda5261 commit a7a2e9e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

esp32/tools/mpy-build-check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ VARIANT="$3"
66
PY_PATH="./frozen"
77
PY_DIRS="$(ls ${PY_PATH})"
88
OS="$(uname)"
9-
if [ ${VARIANT} = "PYBYTES" ] ; then
10-
BUILD_DIR="build-PYBYTES"
9+
if [ ${VARIANT} != "BASE" ] ; then
10+
BUILD_DIR="build-${VARIANT}"
1111
else
1212
BUILD_DIR="build"
1313
fi

esp32/tools/size_check.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ if [ "${BOARD}" != "WIPY" -a "${BOARD}" != "SIPY" -a "${BOARD}" != "LOPY" -a "${
1919
exit 1
2020
fi
2121

22-
if [ "${VARIANT}" == "PYBYTES" ] ; then
23-
BUILD_DIR="build-PYBYTES"
22+
if [ "${VARIANT}" != "BASE" ] ; then
23+
BUILD_DIR="build-${VARIANT}"
2424
fi
2525

2626
APP_BIN_PATH=./"${BUILD_DIR}"/"${BOARD}"/"${RELEASE_TYP}"/$(tr '[:upper:]' '[:lower:]'<<<${BOARD})".bin"

esp32/util/help.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ const char pycom_help_text[] =
4444
" CTRL-A -- on a blank line, enter raw REPL mode\n"
4545
" CTRL-B -- on a blank line, enter normal REPL mode\n"
4646
" CTRL-C -- interrupt a running program\n"
47+
#if(VARIANT != PYBYTES)
4748
" CTRL-D -- on a blank line, do a soft reset of the board\n"
49+
#endif
4850
" CTRL-E -- on a blank line, enter paste mode\n"
4951
" CTRL-F -- on a blank line, do a hard reset of the board and enter safe boot\n"
5052
"\n"

0 commit comments

Comments
 (0)