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.
Fork of AdiSense1000_SmartBabySeat by
doc/porting.md@36:7b89e52b48f6, 2018-08-24 (annotated)
- Committer:
- Ross_o_halloran
- Date:
- Fri Aug 24 10:46:38 2018 +0000
- Revision:
- 36:7b89e52b48f6
- Parent:
- 28:4eb837cd71df
- Child:
- 31:de49744b57a6
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/ |