Skip to content

Commit e199890

Browse files
committed
Add options and explanations to README
1 parent 09211a7 commit e199890

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

as-lib/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@
22

33
**WIP**
44

5-
This directory is provided to allow LoRaMac-node to be built as a static library for inclusion in other projects.
5+
This directory is provided to allow LoRaMac-node to be built as a static library for inclusion in other projects.
6+
7+
## CMake Options
8+
9+
- LORAMAC_AS_LIB:BOOL Whether to build the project as a static library (when ON), or to build the example applications
10+
- LORAMAC_SUFFIX:STRING Defaults to empty, but can be set to any string to allow for multiple static libraries to
11+
be build (for example with different region support)
12+
- LORAMAC_SECURE_ELEMENT Name of the secure element, defaults to SOFT_SE
13+
- LORAMAC_SECURE_ELEMENT_PRE_PROVISIONED Whether the secure element is pre-provisioned (default ON)
14+
- LORAMAC_SOFT_SE_AES_DEC_PREKEYED Whether the SOFT SE secure elements AES support is DEC Prekeyed (default ON)
15+
- LORAMAC_RADIO Name of the radio driver, defaults to SX1276

0 commit comments

Comments
 (0)