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: DM_HttpServer DM_USBHost
Dependents: lpc4088_displaymodule_emwin lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI ... more
Fork of DMSupport by
Diff: Memory/InternalEEPROM.cpp
- Revision:
- 17:4ea2509445ac
- Parent:
- 9:a33326afd686
- Child:
- 18:e5eb986b2a83
--- a/Memory/InternalEEPROM.cpp Fri Jan 02 14:17:03 2015 +0000
+++ b/Memory/InternalEEPROM.cpp Wed Jan 07 14:02:39 2015 +0100
@@ -176,7 +176,7 @@
int InternalEEPROM::write(uint32_t pageAddr, uint32_t pageOffset, const uint8_t* data, uint32_t size)
{
-#if defined(DM_BOARD_USE_INT_EEPROM_WRITE)
+#if defined(DM_BOARD_ENABLE_INT_EEPROM_WRITE)
uint32_t numWritten = 0;
uint32_t writeOffset = (pageOffset & (EEPROM_PAGE_SIZE - 1));
uint32_t writeSize = EEPROM_PAGE_SIZE - writeOffset;
@@ -208,7 +208,7 @@
void InternalEEPROM::erasePage(uint32_t pageAddr)
{
-#if defined(DM_BOARD_USE_INT_EEPROM_WRITE)
+#if defined(DM_BOARD_ENABLE_INT_EEPROM_WRITE)
powerUp();
