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.
Diff: src/admw_1001.c
- Revision:
- 52:d32ea3dfc8ac
- Parent:
- 50:d84305e5e1c0
- Child:
- 53:644c5f6300da
diff -r d84305e5e1c0 -r d32ea3dfc8ac src/admw_1001.c
--- a/src/admw_1001.c Mon Feb 17 11:23:39 2020 +0000
+++ b/src/admw_1001.c Wed Feb 19 09:07:35 2020 +0000
@@ -52,7 +52,7 @@
#include "admw1001/ADMW1001_REGISTERS.h"
#include "admw1001/admw1001_lut_data.h"
#include "admw1001/admw1001_host_comms.h"
-
+#include "inc/mbed_version.h"
#include "crc16.h"
#define VERSIONID_MAJOR 2
#define VERSIONID_MINOR 0
@@ -405,6 +405,10 @@
}
return ADMW_SUCCESS;
}
+ADMW_RESULT admw_readMbedVersion()
+{
+ ADMW_LOG_INFO("ADMW Mbed Firmware Version Id is %X.%X.%X",ADMW_MBED_MAJOR,ADMW_MBED_MINOR,ADMW_MBED_BUILD);
+}
static ADMW_RESULT executeCommand(
ADMW_DEVICE_HANDLE const hDevice,
ADMW_CORE_Command_Special_Command const command,