Vybhav Kadaba / Mbed OS EV-PRO-MW1001_MWARE1239

Files at this revision

API Documentation at this revision

Comitter:
Vkadaba
Date:
Wed Feb 19 09:09:59 2020 +0000
Parent:
52:d32ea3dfc8ac
Child:
54:31921ad29828
Commit message:
Reverting working copy

Changed in this revision

MBED release notes.txt Show diff for this revision Revisions of this file
inc/admw_api.h Show annotated file Show diff for this revision Revisions of this file
inc/mbed_version.h Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
release notes.txt Show diff for this revision Revisions of this file
src/admw_1001.c Show annotated file Show diff for this revision Revisions of this file
--- a/MBED release notes.txt	Wed Feb 19 09:07:35 2020 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-================================================================================
-=                            Mbed Host Firmware                                 =
-=                                                                              =
-=                              Release notes                                   =
-================================================================================
-
-================================================================================
-v01.02.0002 (18 February 2020)
---------------------------------------------------------------------------------
-- Added support to load Look up table 
-- Printing correct Raw values from the sensor
-- Added funcionality to read the Mbed FW version 
-- Added release notes
-================================================================================
-
-v01.01.0001 (18 February 2020)
---------------------------------------------------------------------------------
-- Changed ADMW_CONFIG struct variable name to "meassureware_config" inroder to load the config/design file downloaded from MW designer
-- Added wakeup functinality support.
-- Added support for ADT7420
-- Added support for DRDY_PER_FIFO_FILL mode
-- Supporting the the Device FW v1.12.061
-================================================================================
-
--- a/inc/admw_api.h	Wed Feb 19 09:07:35 2020 +0000
+++ b/inc/admw_api.h	Wed Feb 19 09:09:59 2020 +0000
@@ -702,7 +702,7 @@
 
 ADMW_RESULT admw1001_sendRun( ADMW_DEVICE_HANDLE   const hDevice);
 ADMW_RESULT admw_deviceInformation(ADMW_DEVICE_HANDLE hDevice);
-ADMW_RESULT admw_readMbedVersion();
+
 #ifdef __cplusplus
 }
 #endif
--- a/inc/mbed_version.h	Wed Feb 19 09:07:35 2020 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-/*
-Copyright (c) 2019 by ADI. This model is the confidential and
-proprietary property of ADI and the possession or use of this
-file requires a written license.
- *
- *****************************************************************************/
-
-/*!
- ******************************************************************************
- * @file:
- * @brief:  Placeholder for revision numbers
- *-----------------------------------------------------------------------------
- */
-#ifndef __VERSION_H__
-#define __VERSION_H__
-
-/* 
- * Use a 32-bit versioning scheme that supports numerical compares
- * Version number is read as MAJOR.MINOR build, e.g.
- * 1.12 build 55
- * Note: numbering format is binary coded decimal for ease of reading in debug
- *       environment.
- */
-#define ADMW_MBED_MAJOR 0x01
-#define ADMW_MBED_MINOR 0x01
-#define ADMW_MBED_BUILD 0x0001
-
-
-#endif
\ No newline at end of file
--- a/main.cpp	Wed Feb 19 09:07:35 2020 +0000
+++ b/main.cpp	Wed Feb 19 09:09:59 2020 +0000
@@ -124,7 +124,6 @@
      */
     res = admw_GetStatus(hDevice, &status);
     admw_deviceInformation(hDevice);
-    admw_readMbedVersion();
     if (res != ADMW_SUCCESS) {
         ADMW_LOG_ERROR("Failed to retrieve device status");
         return res;
--- a/release notes.txt	Wed Feb 19 09:07:35 2020 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-================================================================================
-=                            Mbed Host Firmware                                 =
-=                                                                              =
-=                              Release notes                                   =
-================================================================================
-
-================================================================================
-v01.02.0002 (18 February 2020)
---------------------------------------------------------------------------------
-- Added support to load Look up table 
-- Printing correct Raw values from the sensor
-- Added funcionality to read the Mbed FW version 
-- Added release notes
-================================================================================
-
-v01.01.0001 (18 February 2020)
---------------------------------------------------------------------------------
-- Changed ADMW_CONFIG struct variable name to "meassureware_config" inroder to load the config/design file downloaded from MW designer
-- Added wakeup functinality support.
-- Added support for ADT7420
-- Added support for DRDY_PER_FIFO_FILL mode
-- Supporting the the Device FW v1.12.061
-================================================================================
-
--- a/src/admw_1001.c	Wed Feb 19 09:07:35 2020 +0000
+++ b/src/admw_1001.c	Wed Feb 19 09:09:59 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,10 +405,6 @@
     }
     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,