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@31:de49744b57a6, 2018-06-22 (annotated)
- Committer:
- Dan O'Donovan
- Date:
- Fri Jun 22 09:29:24 2018 +0100
- Branch:
- v2.0
- Revision:
- 31:de49744b57a6
- Parent:
- 27:567abf893938
Adding host library and example code for v2.1 release to the v2.0 branch
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 | |
Dan O'Donovan |
31:de49744b57a6 | 17 | Source code for the ST Nucleo / EV-COG-AD4050LZ mbed portability layer |
Dan O'Donovan |
31:de49744b57a6 | 18 | implementation is located in the following sub-directory within the ADISENSE |
Dan O'Donovan |
31:de49744b57a6 | 19 | Host Library source package: |
danodonovan | 26:12d0204be712 | 20 | |
danodonovan | 26:12d0204be712 | 21 | <path_to_library>/host/src/mbed/ |