diff --git a/Makefile b/Makefile index 637d878..7211b55 100644 --- a/Makefile +++ b/Makefile @@ -98,3 +98,15 @@ init-strobe: .PHONY: update-strobe update-strobe: git subtree pull -P strobe --squash $(STROBE_REPO) $(STROBE_BRANCH) + +SX1276LIB_REPO = hg::https://os.mbed.com/teams/Semtech/code/SX1276Lib/ +SX1276LIB_BRANCH = master +SX1276LIB_PATH = SX1276Lib + +.PHONY: init-sx1276lib +init-sx1276lib: + git subtree add -P $(SX1276LIB_PATH) --squash $(SX1276LIB_REPO) $(SX1276LIB_BRANCH) + +.PHONY: update-sx1276lib +update-sx1276lib: + git subtree pull -P $(SX1276LIB_PATH) --squash $(SX1276LIB_REPO) $(SX1276LIB_BRANCH)