New Firmware Release 1.20.2.rc6
-
@robert-hh https://github.com/pycom/pycom-micropython-sigfox/commit/e264b4c24bf33daf50c766823bedbaa9bc931c51
-
@robert-hh Thanks Robert, I'll update this on GitHub.
-
@peterp The fix about Ctrl-D working if Pybytes is disabled works only halfway. It does not work if Pybytes is not implemented in the firmware at all, as it is in the BASE variant. Then, the call config_get_pybytes_autostart() returns True and the flag cannot be cleared, since the method pycom.pybytes_on_boot() is not present in that variant. That cannot be solved by erasing the flash, since that sets this flag to 0xff, which is the True value. Of the many possible solutions, I changed pyexec.c such that the VARIANT flag is used as part if the decision making. See below:
#if (VARIANT == PYBYTES) if (config_get_pybytes_autostart()) { continue; } else { vstr_clear(&line); return PYEXEC_FORCED_EXIT; } #else vstr_clear(&line); return PYEXEC_FORCED_EXIT; #endif