Rohan Gurav
/
Sean_AdiSense1000_V21
ADISense1000 Version 2.1 code base
Fork of AdiSense1000_V21 by
doc/porting.md@26:12d0204be712, 2018-03-26 (annotated)
- Committer:
- danodonovan
- Date:
- Mon Mar 26 14:50:05 2018 +0000
- Revision:
- 26:12d0204be712
- Child:
- 27:567abf893938
Adding files missed in previous commit for v1.0.2
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/ |
danodonovan | 26:12d0204be712 | 21 |