Update support for esp-idf framework

This commit is contained in:
Valeriy Koval
2017-04-11 22:49:54 +03:00
parent 5e8616603e
commit 2e5671cf24
10 changed files with 77 additions and 29 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ def build_espidf_bootloader():
join(FRAMEWORK_DIR, "components", "micro-ecc"),
src_filter="+<*> -<micro-ecc/test>"
),
"rtc", "gcc", "stdc++"
"rtc_clk", "gcc", "stdc++"
]
)
@@ -218,7 +218,7 @@ env.Prepend(
],
LIBS=[
"btdm_app", "hal", "coexist", "core", "net80211", "phy", "rtc", "pp",
"btdm_app", "hal", "coexist", "core", "net80211", "phy", "rtc", "rtc_clk", "pp",
"wpa", "wpa2", "wps", "smartconfig", "m", "c", "gcc", "stdc++"
]
)
+3 -1
View File
@@ -89,11 +89,13 @@ env.Replace(
UPLOADERFLAGS=[
"--chip", "esp32",
"--port", '"$UPLOAD_PORT"',
"--before", "default_reset",
"--after", "hard_reset",
"--baud", "$UPLOAD_SPEED",
"write_flash", "-z",
"--flash_mode", "$BOARD_FLASH_MODE",
"--flash_freq", "${__get_board_f_flash(__env__)}",
"--flash_size", env.BoardConfig().get("upload.flash_size", "4MB")
"--flash_size", "detect"
],
UPLOADCMD='"$PYTHONEXE" "$UPLOADER" $UPLOADERFLAGS $SOURCE',