Rohan Gurav
/
Sean_AdiSense1000_V21
ADISense1000 Version 2.1 code base
Fork of AdiSense1000_V21 by
doc/porting.md@33:640b6bebda17, 2018-09-18 (annotated)
- Committer:
- RGurav
- Date:
- Tue Sep 18 16:46:40 2018 +0000
- Revision:
- 33:640b6bebda17
- Parent:
- 28:4eb837cd71df
- Child:
- 31:de49744b57a6
ADISense1000 Version 2.1 code base
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
danodonovan | 26:12d0204be712 | 1 | Porting Guide |
danodonovan | 26:12d0204be712 | 2 | ============= |
danodonovan | 26:12d0204be712 | 3 | [ADISENSE Host Portability Layer](@ref ADISENSE_Host) describes a portability |
danodonovan | 26:12d0204be712 | 4 | API layer which encapsulates the host platform-specific functions used by the |
danodonovan | 26:12d0204be712 | 5 | ADISENSE Host Library to communicate with the ADSNS1000 module. |
danodonovan | 26:12d0204be712 | 6 | |
danodonovan | 26:12d0204be712 | 7 | Porting the ADISENSE Host Library to a new hardware platform and/or operating |
danodonovan | 26:12d0204be712 | 8 | system (OS) should involve replacing only the portability layer API functions |
danodonovan | 26:12d0204be712 | 9 | with a suitable implementation for the target platform. |
danodonovan | 26:12d0204be712 | 10 | |
danodonovan | 26:12d0204be712 | 11 | A fully-functional communication interface implementation (i.e. @ref |
danodonovan | 26:12d0204be712 | 12 | ADISENSE_Spi) is required, as is @ref ADISENSE_Time which provides time-delay |
danodonovan | 26:12d0204be712 | 13 | functions for the ADISENSE Host Library. However, other elements of the |
danodonovan | 26:12d0204be712 | 14 | portability layer, such as @ref ADISENSE_Gpio and @ref ADISENSE_Log, may be |
danodonovan | 26:12d0204be712 | 15 | substituted with dummy implementations if necessary. |
danodonovan | 26:12d0204be712 | 16 | |
danodonovan | 26:12d0204be712 | 17 | Source code for the ST Nucleo / mbed portability layer implementation is located |
danodonovan | 26:12d0204be712 | 18 | in the following sub-directory within the ADISENSE Host Library source package: |
danodonovan | 26:12d0204be712 | 19 | |
danodonovan | 26:12d0204be712 | 20 | <path_to_library>/host/src/mbed/ |