Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 1-wire clock crypto fram log lpc1768 net web wiz mbed
Diff: main/main.c
- Revision:
- 3:f1464bf461c1
- Parent:
- 0:22b158d3c76f
- Child:
- 4:d98e267bbd8d
--- a/main/main.c Mon May 10 11:45:04 2021 +0000 +++ b/main/main.c Thu May 13 16:49:56 2021 +0000 @@ -25,16 +25,13 @@ Lpc1768Init(); ClkInit(); LogInit(ClkNowTmUtc, 115200); - if ( FramInit()) goto end; //Reserves 1 FRAM byte to detect if empty - FramAllocate(4); //Reserves 4 FRAM bytes where the watchdog used to hold the last program position + if ( SettingsInit()) goto end; //Fram is initialised here CryptoInit(); //Uses log NetInit(); - if (SettingsNtpInit()) goto end; //Loads of FRAM - WebInit(); //No FRAM - OneWireInit(); //No FRAM - DeviceInit(); //No FRAM - HeatingInit(); //Loads of FRAM - if ( SettingsInit()) goto end; + WebInit(); + OneWireInit(); + DeviceInit(); + HeatingInit(); if ( ValuesInit()) goto end; WizInit(); while (1)