Update pico sdk 1.1.0 (#712)

* update pico-sdk to 1.1.0
also correct fetch_submodule_if_empty behavior
This commit is contained in:
Ha Thach 2021-03-10 13:26:14 +07:00 committed by GitHub
parent f9817da397
commit 1cdd1b0209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 9 deletions

View File

@ -45,16 +45,10 @@ else
SRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/$(FAMILY_PATH)/*.c))
endif
#TODO $(call fetch_submodule_if_empty,lib/sct_neopixel)
# Fetch submodules depended by family
fetch_submodule_if_empty = \
ifeq ($(wildcard $(TOP)/$1/*),) \
$(info $(shell git -C $(TOP) submodule update --init $1)) \
endif
fetch_submodule_if_empty = $(if $(wildcard $(TOP)/$1/*),,$(info $(shell git -C $(TOP) submodule update --init $1)))
ifdef DEPS_SUBMODULES
$(foreach s,$(DEPS_SUBMODULES),:$(call fetch_submodule_if_empty,$(s)))
$(foreach s,$(DEPS_SUBMODULES),$(call fetch_submodule_if_empty,$(s)))
endif
#-------------- Cross Compiler ------------

@ -1 +1 @@
Subproject commit 61978dc707c7f2026efa4c3300bbb94baa89c78a
Subproject commit fc10a97c386f65c1a44c68684fe52a56aaf50df0