lora's drivers taken out of examples repo to make a smaller binary
Dependencies: libxDot-mbed5
README@1:80bc4501abc5, 2019-12-08 (annotated)
- Committer:
- candre97
- Date:
- Sun Dec 08 01:56:17 2019 +0000
- Revision:
- 1:80bc4501abc5
- Parent:
- 0:973a5bbb2a17
working on lower levels of radio driver. Still have a binary that is much too large. ;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
guoxsharon | 0:973a5bbb2a17 | 1 | Instructions for building Dot-Examples |
guoxsharon | 0:973a5bbb2a17 | 2 | |
guoxsharon | 0:973a5bbb2a17 | 3 | 1. Import dot-examples |
guoxsharon | 0:973a5bbb2a17 | 4 | $ mbed import http://os.mbed.com/teams/MultiTech/code/Dot-Examples/ |
guoxsharon | 0:973a5bbb2a17 | 5 | |
guoxsharon | 0:973a5bbb2a17 | 6 | 2. cd to the Dot-Examples/examples and import the dot library stack |
guoxsharon | 0:973a5bbb2a17 | 7 | Choose either the stable or dev library for your dot device |
guoxsharon | 0:973a5bbb2a17 | 8 | e.g. to get the latest development library for the xDot |
guoxsharon | 0:973a5bbb2a17 | 9 | $ mbed add http://os.mbed.com/teams/MultiTech/code/libxDot-dev-mbed5/ |
guoxsharon | 0:973a5bbb2a17 | 10 | |
guoxsharon | 0:973a5bbb2a17 | 11 | 3. Update mbed-os revision to match that of the dot library you just imported. |
guoxsharon | 0:973a5bbb2a17 | 12 | This information can be found in the library's commit history. |
guoxsharon | 0:973a5bbb2a17 | 13 | e.g. |
guoxsharon | 0:973a5bbb2a17 | 14 | $ cd Dot-Examples/mbed-os |
guoxsharon | 0:973a5bbb2a17 | 15 | $ mbed update mbed-os-5.7.6 |
guoxsharon | 0:973a5bbb2a17 | 16 | |
guoxsharon | 0:973a5bbb2a17 | 17 | 4. Modify the Dot-Examples/examples/example_config.h to select the channel plan and which example to build |
guoxsharon | 0:973a5bbb2a17 | 18 | By default, the OTA example is selected to build with the US channel plan |
guoxsharon | 0:973a5bbb2a17 | 19 | |
guoxsharon | 0:973a5bbb2a17 | 20 | 5. Once the example is selected, modify the example source file to match the configuration of your gateway. |
guoxsharon | 0:973a5bbb2a17 | 21 | Make sure the network_name, network_passphrase, frequency_sub_band (US), public_network, and join_delay settings match that of your gateway |
guoxsharon | 0:973a5bbb2a17 | 22 |