Generic Pelion Device Management example for various Advantech modules.
This example is known to work great on the following platforms:
- WISE-1530 WiFi Module using DB-1505 carrier board and external SD card reader.
Example Functionality
This example showcases the following device functionality:
- On timer button increment, simulate Pelion LWM2M button resource change
Use this example with Mbed CLI
1. Import the application into your desktop:
mbed import https://os.mbed.com/teams/Advantech/code/pelion-example-common cd pelion-example-common
2. Download your developer certificate from pelion portal
3. Compile the program
mbed compile -t <toolchain> -m <TARGET_BOARD>
(supported toolchains : GCC_ARM / ARM / IAR)
4. Copy the binary file pelion-example-common.bin to your mbed device.
drivers/storage/COMPONENT_NUSD/README.md@0:43ff9e3bc244, 2019-03-12 (annotated)
- Committer:
- chuanga
- Date:
- Tue Mar 12 13:48:39 2019 +0800
- Revision:
- 0:43ff9e3bc244
copying sources from github repository
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| chuanga | 0:43ff9e3bc244 | 1 | # Block device driver for SD card supported by Nuvoton platforms |
| chuanga | 0:43ff9e3bc244 | 2 | |
| chuanga | 0:43ff9e3bc244 | 3 | This driver implements [BlockDevice class](https://github.com/ARMmbed/mbed-os/blob/master/features/filesystem/bd/BlockDevice.h) |
| chuanga | 0:43ff9e3bc244 | 4 | introduced with mbed OS 5.4 for SD card running in SD bus mode on Nuvoton platforms which support it. |
| chuanga | 0:43ff9e3bc244 | 5 | |
| chuanga | 0:43ff9e3bc244 | 6 | ARM mbed team also releases an official [SD driver](https://github.com/armmbed/sd-driver), but it supports SPI bus mode |
| chuanga | 0:43ff9e3bc244 | 7 | rather than SD bus mode. |
| chuanga | 0:43ff9e3bc244 | 8 | |
| chuanga | 0:43ff9e3bc244 | 9 | ## Use with FAT file system |
| chuanga | 0:43ff9e3bc244 | 10 | The [SD file system example](https://developer.mbed.org/teams/Nuvoton/code/NuMaker-mbed-SD-FileSystem-example/) is cloned from |
| chuanga | 0:43ff9e3bc244 | 11 | the [FAT file system example](https://github.com/armmbed/mbed-os-example-fat-filesystem) released by ARM mbed team and |
| chuanga | 0:43ff9e3bc244 | 12 | is modified to use this SD block device to back the FAT file system. |
| chuanga | 0:43ff9e3bc244 | 13 | |
| chuanga | 0:43ff9e3bc244 | 14 | ## Support Nuvoton platforms |
| chuanga | 0:43ff9e3bc244 | 15 | - [NuMaker-PFM-NUC472](https://developer.mbed.org/platforms/Nuvoton-NUC472/) |
| chuanga | 0:43ff9e3bc244 | 16 | - NuMaker-PFM-M487 |
| chuanga | 0:43ff9e3bc244 | 17 | - NuMaker-PFM-M2351 |
| chuanga | 0:43ff9e3bc244 | 18 |