micropython/micropython — pull request #826 by dhylands (2014-08-26 05:40:04+00:00)
Title: Add pyb.soft_reset() and pyb.hard_reset() commands.

These will also be useful for code which performs updates (over wireless or serial for example) and the code then want to simuate a hard or soft reset to execute the new code.