diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-09-07 00:59:02 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-09-07 00:59:02 +0300 |
commit | 742d8bdbe46274401aa261881d14dee50a7618d5 (patch) | |
tree | 6e3b64ac5865f92a1b23f1b4d4525184b5050cbd /py/stackctrl.h | |
parent | b4be5a8f3499ca19bdc9ac3ef94625529141b0ff (diff) | |
download | micropython-742d8bdbe46274401aa261881d14dee50a7618d5.tar.gz micropython-742d8bdbe46274401aa261881d14dee50a7618d5.zip |
esp8266/modmachine: Map PWR_ON_RESET to vendor's REASON_DEFAULT_RST.
When dealing with a board which controls chip reset with UART's DTR/RTS,
we never see REASON_DEFAULT_RST (0), only REASON_EXT_SYS_RST (6). However,
trying a "raw" module with with just TXD/RXD UART connection, on power up
it has REASON_DEFAULT_RST as a reset reason.
Diffstat (limited to 'py/stackctrl.h')
0 files changed, 0 insertions, 0 deletions