Skip to content

Commit

Permalink
base: lmp-device-register: support configurable oauth url
Browse files Browse the repository at this point in the history
This gets lmp-device-register working "out of the box" for MEDs

Signed-off-by: Andy Doan <[email protected]>
  • Loading branch information
doanac authored and ricardosalveti committed Sep 19, 2023
1 parent db83644 commit 419ba95
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ SRCREV = "f3f6d4ba03b27b83ca168d62d5f561767107ad07"
SRC_URI = "git://github.com/foundriesio/lmp-device-register.git;protocol=https;branch=main"

LMP_DEVICE_API ?= "https://api.foundries.io/ota/devices/"
LMP_OAUTH_API ?= "https://app.foundries.io/oauth"

PACKAGECONFIG ?= "composeapp"
PACKAGECONFIG[composeapp] = "-DDOCKER_COMPOSE_APP=ON,-DDOCKER_COMPOSE_APP=OFF,"
Expand All @@ -24,5 +25,6 @@ EXTRA_OECMAKE += "\
-DGIT_COMMIT=${SRCREV} \
-DHARDWARE_ID=${MACHINE} \
-DDEVICE_API=${LMP_DEVICE_API} \
-DOAUTH_API=${LMP_OAUTH_API} \
-DSOTA_CLIENT=${SOTA_CLIENT} \
"

0 comments on commit 419ba95

Please sign in to comment.