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: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
src/Drivers/LogLocalApi.h@116:7337ed514891, 2016-09-22 (annotated)
- Committer:
- davidjhoward
- Date:
- Thu Sep 22 21:09:49 2016 +0000
- Revision:
- 116:7337ed514891
- Child:
- 123:ce602c91a9c3
Write log to EEPROM
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| davidjhoward | 116:7337ed514891 | 1 | #ifndef LOGLOCALAPI_H |
| davidjhoward | 116:7337ed514891 | 2 | #define LOGLOCALAPI_H |
| davidjhoward | 116:7337ed514891 | 3 | |
| davidjhoward | 116:7337ed514891 | 4 | #include <string.h> |
| davidjhoward | 116:7337ed514891 | 5 | #include "eep.h" |
| davidjhoward | 116:7337ed514891 | 6 | |
| davidjhoward | 116:7337ed514891 | 7 | #define LOG_BYTES_PER_ENTRY 128 |
| davidjhoward | 116:7337ed514891 | 8 | #define LOG_END_OF_STORAGE (EEP_NBYT - LOG_BYTES_PER_ENTRY) |
| davidjhoward | 116:7337ed514891 | 9 | |
| davidjhoward | 116:7337ed514891 | 10 | void LogLocalApi( const char *logString ); |
| davidjhoward | 116:7337ed514891 | 11 | void LogLocalApi_PushEntry( const char *logString ); |
| davidjhoward | 116:7337ed514891 | 12 | void LogLocalApi_PopEntry( char *logString ); |
| davidjhoward | 116:7337ed514891 | 13 | |
| davidjhoward | 116:7337ed514891 | 14 | #endif |
| davidjhoward | 116:7337ed514891 | 15 |
