Vybhav Kadaba
/
EV-PRO-MW1001_Development_code_cleaup
Removed unwanted enums and unused functions
inc/admw_platform.h@64:d89d9728ba95, 2020-04-09 (annotated)
- Committer:
- Vkadaba
- Date:
- Thu Apr 09 12:39:43 2020 +0000
- Revision:
- 64:d89d9728ba95
- Parent:
- 5:0728bde67bdb
code clean up part-2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Vkadaba | 5:0728bde67bdb | 1 | /* |
Vkadaba | 5:0728bde67bdb | 2 | Copyright (c) 2019 Analog Devices, Inc. |
Vkadaba | 5:0728bde67bdb | 3 | |
Vkadaba | 5:0728bde67bdb | 4 | All rights reserved. |
Vkadaba | 5:0728bde67bdb | 5 | |
Vkadaba | 5:0728bde67bdb | 6 | Redistribution and use in source and binary forms, with or without modification, |
Vkadaba | 5:0728bde67bdb | 7 | are permitted provided that the following conditions are met: |
Vkadaba | 5:0728bde67bdb | 8 | - Redistributions of source code must retain the above copyright notice, |
Vkadaba | 5:0728bde67bdb | 9 | this list of conditions and the following disclaimer. |
Vkadaba | 5:0728bde67bdb | 10 | - Redistributions in binary form must reproduce the above copyright notice, |
Vkadaba | 5:0728bde67bdb | 11 | this list of conditions and the following disclaimer in the documentation |
Vkadaba | 5:0728bde67bdb | 12 | and/or other materials provided with the distribution. |
Vkadaba | 5:0728bde67bdb | 13 | - Modified versions of the software must be conspicuously marked as such. |
Vkadaba | 5:0728bde67bdb | 14 | - This software is licensed solely and exclusively for use with processors |
Vkadaba | 5:0728bde67bdb | 15 | manufactured by or for Analog Devices, Inc. |
Vkadaba | 5:0728bde67bdb | 16 | - This software may not be combined or merged with other code in any manner |
Vkadaba | 5:0728bde67bdb | 17 | that would cause the software to become subject to terms and conditions |
Vkadaba | 5:0728bde67bdb | 18 | which differ from those listed here. |
Vkadaba | 5:0728bde67bdb | 19 | - Neither the name of Analog Devices, Inc. nor the names of its |
Vkadaba | 5:0728bde67bdb | 20 | contributors may be used to endorse or promote products derived |
Vkadaba | 5:0728bde67bdb | 21 | from this software without specific prior written permission. |
Vkadaba | 5:0728bde67bdb | 22 | - The use of this software may or may not infringe the patent rights of one |
Vkadaba | 5:0728bde67bdb | 23 | or more patent holders. This license does not release you from the |
Vkadaba | 5:0728bde67bdb | 24 | requirement that you obtain separate licenses from these patent holders |
Vkadaba | 5:0728bde67bdb | 25 | to use this software. |
Vkadaba | 5:0728bde67bdb | 26 | |
Vkadaba | 5:0728bde67bdb | 27 | THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. AND CONTRIBUTORS "AS IS" AND ANY |
Vkadaba | 5:0728bde67bdb | 28 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, |
Vkadaba | 5:0728bde67bdb | 29 | TITLE, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN |
Vkadaba | 5:0728bde67bdb | 30 | NO EVENT SHALL ANALOG DEVICES, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
Vkadaba | 5:0728bde67bdb | 31 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES |
Vkadaba | 5:0728bde67bdb | 32 | (INCLUDING, BUT NOT LIMITED TO, DAMAGES ARISING OUT OF CLAIMS OF INTELLECTUAL |
Vkadaba | 5:0728bde67bdb | 33 | PROPERTY RIGHTS INFRINGEMENT; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS |
Vkadaba | 5:0728bde67bdb | 34 | OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
Vkadaba | 5:0728bde67bdb | 35 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
Vkadaba | 5:0728bde67bdb | 36 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
Vkadaba | 5:0728bde67bdb | 37 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Vkadaba | 5:0728bde67bdb | 38 | */ |
Vkadaba | 5:0728bde67bdb | 39 | |
Vkadaba | 5:0728bde67bdb | 40 | /*! |
Vkadaba | 5:0728bde67bdb | 41 | ****************************************************************************** |
Vkadaba | 5:0728bde67bdb | 42 | * @file: |
Vkadaba | 5:0728bde67bdb | 43 | * @brief: Platform-specific type definitions for ADMW API. |
Vkadaba | 5:0728bde67bdb | 44 | *----------------------------------------------------------------------------- |
Vkadaba | 5:0728bde67bdb | 45 | */ |
Vkadaba | 5:0728bde67bdb | 46 | |
Vkadaba | 5:0728bde67bdb | 47 | #ifndef __ADMW_PLATFORM_H__ |
Vkadaba | 5:0728bde67bdb | 48 | #define __ADMW_PLATFORM_H__ |
Vkadaba | 5:0728bde67bdb | 49 | |
Vkadaba | 5:0728bde67bdb | 50 | #include <stddef.h> |
Vkadaba | 5:0728bde67bdb | 51 | #include <stdint.h> |
Vkadaba | 5:0728bde67bdb | 52 | #include <stdbool.h> |
Vkadaba | 5:0728bde67bdb | 53 | |
Vkadaba | 5:0728bde67bdb | 54 | /*! @defgroup ADMW_Host ADMW Host Portability Layer */ |
Vkadaba | 5:0728bde67bdb | 55 | |
Vkadaba | 5:0728bde67bdb | 56 | typedef char char_t; |
Vkadaba | 5:0728bde67bdb | 57 | typedef float float32_t; |
Vkadaba | 5:0728bde67bdb | 58 | typedef double float64_t; |
Vkadaba | 5:0728bde67bdb | 59 | |
Vkadaba | 5:0728bde67bdb | 60 | #if defined (__MBED__) |
Vkadaba | 5:0728bde67bdb | 61 | #include "inc/mbed/admw_platform.h" |
Vkadaba | 5:0728bde67bdb | 62 | #else |
Vkadaba | 5:0728bde67bdb | 63 | #warning "Unknown host platform" |
Vkadaba | 5:0728bde67bdb | 64 | #endif |
Vkadaba | 5:0728bde67bdb | 65 | |
Vkadaba | 5:0728bde67bdb | 66 | #endif /* __ADMW_PLATFORM_H__ */ |