This repository was archived by the owner on Sep 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,11 @@ VARIANT="$3"
6
6
PY_PATH=" ./frozen"
7
7
PY_DIRS=" $( ls ${PY_PATH} ) "
8
8
OS=" $( uname) "
9
- BUILD_DIR=" build"
9
+ if [ ${VARIANT} = " PYBYTES" ] ; then
10
+ BUILD_DIR=" build-PYBYTES"
11
+ else
12
+ BUILD_DIR=" build"
13
+ fi
10
14
11
15
# Script Has to be called from esp32 Dir
12
16
if ! [ $0 = " tools/mpy-build-check.sh" ]; then
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ if [ "${BOARD}" != "WIPY" -a "${BOARD}" != "SIPY" -a "${BOARD}" != "LOPY" -a "${
20
20
fi
21
21
22
22
if [ " ${VARIANT} " == " PYBYTES" ] ; then
23
- BUILD_DIR=" build-variant "
23
+ BUILD_DIR=" build-PYBYTES "
24
24
fi
25
25
26
26
APP_BIN_PATH=./" ${BUILD_DIR} " /" ${BOARD} " /" ${RELEASE_TYP} " /$( tr ' [:upper:]' ' [:lower:]' <<< ${BOARD} ) " .bin"
Original file line number Diff line number Diff line change @@ -446,8 +446,12 @@ int pyexec_friendly_repl(void) {
446
446
} else if (ret == CHAR_CTRL_D ) {
447
447
// exit for a soft reset
448
448
mp_hal_stdout_tx_str ("\r\n" );
449
+ #if (VARIANT == PYBYTES )
450
+ continue ;
451
+ #else
449
452
vstr_clear (& line );
450
453
return PYEXEC_FORCED_EXIT ;
454
+ #endif
451
455
} else if (ret == CHAR_CTRL_E ) {
452
456
// paste mode
453
457
mp_hal_stdout_tx_str ("\r\npaste mode; Ctrl-C to cancel, Ctrl-D to finish\r\n=== " );
You can’t perform that action at this time.
0 commit comments