Fixed bug preventing the 'rshell' and 'ampy' to run

This commit is contained in:
Boris Lovosevic
2018-04-05 14:04:59 +02:00
parent 5babc3c44b
commit a09f392839
21 changed files with 10 additions and 4 deletions
@@ -256,7 +256,8 @@ soft_reset:
}
// ================================================
prepareSleepReset(1, "ESP32: soft reboot\r\n");
//ToDo: Remember the REPL mode !!
prepareSleepReset(0, "ESP32: soft reboot\r\n");
esp_restart();
goto soft_reset;
@@ -24,12 +24,12 @@
* THE SOFTWARE.
*/
#define MICROPY_GIT_TAG "ESP32_LoBo_v3.2.2"
#define MICROPY_GIT_TAG "ESP32_LoBo_v3.2.3"
#define MICROPY_GIT_HASH "g139d4989"
#define MICROPY_BUILD_DATE "2018-04-04"
#define MICROPY_VERSION_MAJOR (3)
#define MICROPY_VERSION_MINOR (2)
#define MICROPY_VERSION_MICRO (2)
#define MICROPY_VERSION_STRING "3.2.2"
#define MICROPY_VERSION_MICRO (3)
#define MICROPY_VERSION_STRING "3.2.3"
#define MICROPY_CORE_VERSION "bcfff4f"
#define MICROPY_CORE_DATE "2018-03-30"
@@ -347,6 +347,11 @@ raw_repl_reset:
vstr_reset(&line);
} else if (c == CHAR_CTRL_D) {
// input finished
if (line.len == 0) {
mp_hal_stdout_tx_str("soft reboot\r\n");
vTaskDelay(1000);
goto raw_repl_reset;
}
break;
} else {
// let through any other raw 8-bit value
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More