aboutsummaryrefslogtreecommitdiff
path: root/cc3200/bootmgr
diff options
context:
space:
mode:
authordanicampora2015-03-04 13:52:39 +0100
committerdanicampora2015-03-11 17:00:33 +0100
commit9e44383e3f4092940a1e1b49a278978df99f7b08 (patch)
tree606ad67566b41bb037bd02e678891dfb69db6c70 /cc3200/bootmgr
parent73aee8da54f847341d0fd9718d05ca964654a6dd (diff)
cc3200: Add power management framework. Add mpcallback class.
Supports suspend and hibernate modes. Waking is possible throug GPIO and WLAN. The mpcallback class is generic and can be reused by other classes.
Diffstat (limited to 'cc3200/bootmgr')
-rw-r--r--cc3200/bootmgr/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cc3200/bootmgr/main.c b/cc3200/bootmgr/main.c
index e718fd9e2..c7c149d21 100644
--- a/cc3200/bootmgr/main.c
+++ b/cc3200/bootmgr/main.c
@@ -57,7 +57,7 @@
//*****************************************************************************
// Local Constants
//*****************************************************************************
-#define SL_STOP_TIMEOUT 250
+#define SL_STOP_TIMEOUT 35
#define BOOTMGR_HASH_ALGO SHAMD5_ALGO_MD5
#define BOOTMGR_HASH_SIZE 32
#define BOOTMGR_BUFF_SIZE 512
@@ -65,8 +65,8 @@
#define BOOTMGR_WAIT_SAFE_MODE_MS 1600
#define BOOTMGR_WAIT_SAFE_MODE_TOOGLE_MS 200
-#define BOOTMGR_SAFE_MODE_ENTER_MS 700
-#define BOOTMGR_SAFE_MODE_ENTER_TOOGLE_MS 70
+#define BOOTMGR_SAFE_MODE_ENTER_MS 800
+#define BOOTMGR_SAFE_MODE_ENTER_TOOGLE_MS 80
//*****************************************************************************
// Exported functions declarations
@@ -307,7 +307,7 @@ int main (void) {
bootmgr_board_init();
// start simplelink since we need it to access the sflash
- sl_Start(NULL, NULL, NULL);
+ sl_Start(0, 0, 0);
// if a boot info file is found, load it, else, create a new one with the default boot info
if (!sl_FsOpen((unsigned char *)IMG_BOOT_INFO, FS_MODE_OPEN_READ, NULL, &fhandle)) {