Skip to content

Commit e73d7fe

Browse files
committed
Make LORAMAC_SECURE_ELEMENT a cache variable and set property strings for GUI
1 parent 43c36d1 commit e73d7fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

as-lib/peripheral/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ if (NOT TARGET ${PROJECT_NAME})
77
option(LORAMAC_SECURE_ELEMENT_PRE_PROVISIONED "Secure-element pre-provisioning" ON)
88
option(LORAMAC_AES_DEC_PREKEYED "AES DEC Prekeyed" ON)
99

10+
set(LORAMAC_SECURE_ELEMENT_LIST SOFT_SE LR1110_SE ATECC608A_TNGLORA_SE)
11+
set(LORAMAC_SECURE_ELEMENT SOFT_SE CACHE STRING "Default secure element is SOFT_SE")
12+
set_property(CACHE LORAMAC_SECURE_ELEMENT PROPERTY STRINGS ${LORAMAC_SECURE_ELEMENT_LIST})
13+
1014
add_library(${PROJECT_NAME} STATIC)
1115

1216
if (LORAMAC_SECURE_ELEMENT MATCHES SOFT_SE)

0 commit comments

Comments
 (0)