summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-03-10 13:26:14 +0700
committerGitHub <[email protected]>2021-03-10 13:26:14 +0700
commit1cdd1b02098be05b511571457165fa66a27af7bc (patch)
treee32824b99e00504e9f2a2653b774c0046d4d848f
parentf9817da397d9e24801bb1b7e2b8ed0ddcef36d62 (diff)
Update pico sdk 1.1.0 (#712)
* update pico-sdk to 1.1.0 also correct fetch_submodule_if_empty behavior
-rw-r--r--examples/make.mk10
m---------hw/mcu/raspberrypi/pico-sdk0
2 files changed, 2 insertions, 8 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 82fbd020b..53f633b18 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -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 ------------
diff --git a/hw/mcu/raspberrypi/pico-sdk b/hw/mcu/raspberrypi/pico-sdk
-Subproject 61978dc707c7f2026efa4c3300bbb94baa89c78
+Subproject fc10a97c386f65c1a44c68684fe52a56aaf50df