Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
9ad37255
Commit
9ad37255
authored
Aug 30, 2020
by
Marcel Stör
Browse files
Pull SDK from GH instead of BBS
parent
b9436bdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
9ad37255
...
...
@@ -13,10 +13,8 @@ SDK_BASE_VER:=1.5.4
SDK_DIR_DEPENDS
:=
sdk_patched
SDK_FILE_VER
:=
$(SDK_BASE_VER)
_16_05_20
SDK_FILE_ID
:=
1469
SDK_FILE_SHA1
:=
868784bd37d47f31d52b81f133aa1fb70c58e17d
SDK_PATCH_VER
:=
$(SDK_VER)
_patch_20160704
SDK_PATCH_ID
:=
1572
SDK_PATCH_SHA1
:=
388d9e91df74e3b49fca126da482cf822cf1ebf1
# Ensure we search "our" SDK before the tool-chain's SDK (if any)
TOP_DIR
:=
$(
abspath
$(
dir
$(
lastword
$(MAKEFILE_LIST)
)))
...
...
@@ -221,12 +219,12 @@ $(TOP_DIR)/sdk/.patched-$(SDK_VER): $(TOP_DIR)/cache/esp_iot_sdk_v$(SDK_PATCH_VE
$(TOP_DIR)/cache/esp_iot_sdk_v$(SDK_FILE_VER).zip
:
mkdir
-p
"
$(
dir
$@
)
"
wget
--tries
=
10
--timeout
=
15
--waitretry
=
30
--read-timeout
=
20
--retry-connrefused
--no-check-certificate
http://
bbs.espressif.com/download/file.php?id
=
$(SDK_FILE_
ID)
-O
$@
||
{
rm
-f
"
$@
"
;
exit
1
;
}
wget
--tries
=
10
--timeout
=
15
--waitretry
=
30
--read-timeout
=
20
--retry-connrefused
http
s
://
github.com/nodemcu/espressif-sdk-archive/raw/master/esp_iot_sdk_v
$(SDK_FILE_
VER)
.zip
-O
$@
||
{
rm
-f
"
$@
"
;
exit
1
;
}
(
echo
"
$(SDK_FILE_SHA1)
$@
"
|
sha1sum
-c
-
)
||
{
rm
-f
"
$@
"
;
exit
1
;
}
$(TOP_DIR)/cache/esp_iot_sdk_v$(SDK_PATCH_VER).zip
:
mkdir
-p
"
$(
dir
$@
)
"
wget
--tries
=
10
--timeout
=
15
--waitretry
=
30
--read-timeout
=
20
--retry-connrefused
--no-check-certificate
http://
bbs.espressif.com/download/file.php?id
=
$(SDK_PATCH_
ID)
-O
$@
||
{
rm
-f
"
$@
"
;
exit
1
;
}
wget
--tries
=
10
--timeout
=
15
--waitretry
=
30
--read-timeout
=
20
--retry-connrefused
http
s
://
github.com/nodemcu/espressif-sdk-archive/raw/master/esp_iot_sdk_v
$(SDK_PATCH_
VER)
.zip
-O
$@
||
{
rm
-f
"
$@
"
;
exit
1
;
}
(
echo
"
$(SDK_PATCH_SHA1)
$@
"
|
sha1sum
-c
-
)
||
{
rm
-f
"
$@
"
;
exit
1
;
}
clean
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment