diff options
author | danicampora <danicampora@gmail.com> | 2015-02-25 22:38:33 +0100 |
---|---|---|
committer | danicampora <danicampora@gmail.com> | 2015-02-25 23:17:17 +0100 |
commit | 7a074a14ced0c9ea890793aa7dc43c896cfdf9b9 (patch) | |
tree | 02fee25f9d1375cde648ff82c87d0d0eacd2610e /cc3200/main.c | |
parent | 8a5aee103d0741efbbcf3fa7d0d0b3d2100eddb2 (diff) | |
download | micropython-7a074a14ced0c9ea890793aa7dc43c896cfdf9b9.tar.gz micropython-7a074a14ced0c9ea890793aa7dc43c896cfdf9b9.zip |
cc3200: Implement safe boot pin and system led behaviour.
The safe boot pin, when pulled high during reset rolls back the
firmware to the "factory" image and skips execution of 'boot.py'
and 'main.py'. This is useful to recover from a crash condition.
The system led is used mostly to signal errors.
Diffstat (limited to 'cc3200/main.c')
-rw-r--r-- | cc3200/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/main.c b/cc3200/main.c index 6f0ce3f1b6..24a42c5247 100644 --- a/cc3200/main.c +++ b/cc3200/main.c @@ -63,7 +63,7 @@ int main (void) { // Initialize the clocks and the interrupt system HAL_SystemInit(); - // Start the watchdog + // Init the watchdog pybwdt_init0(); #ifdef DEBUG |