Angus Gratton
d45eabe676
esptool: Add support for ESP32-S2 Secure Download Mode
...
* Pass --no-stub from build system if configured to enable ESP32-S2 Secure Download Mode
* Update esptool submodule
2020-05-28 17:52:15 +10:00
Angus Gratton
5bd75b134d
esptool: Set 80MHz SPI flash speed for ESP32-S2 & future chips
...
Most ESP32 devices will also work at 80MHz, but third party boards/modules
may not have been tested at this speed so the default is kept at 40MHz for safety.
2020-05-20 06:19:34 +00:00
KonstantinKondrashov
86a73de9b3
esp-idf: Update esptool and add reedsolo and bitstring into requirements.txt
...
They are necessary for espefuse.py from esptool v3.0.
2020-05-14 13:29:21 +10:00
Ivan Grokhotkov
b09ed2d2aa
esptool: fix malformed json when no files are flashed
2020-05-04 19:11:26 +02:00
Ivan Grokhotkov
dafd50934d
esptool: don't generate flashing metadata in loadable elf build
2020-05-04 19:11:00 +02:00
Ivan Grokhotkov
dfbf8ce518
Merge branch 'bugfix/display_partition_table' into 'master'
...
partition_table: do not always display partition table contents on build
See merge request espressif/esp-idf!8289
2020-05-04 14:51:32 +08:00
Angus Gratton
90b3676280
make: Fix quoting when flashing port is set via sdkconfig file
...
Regression in 862fa815ff
Closes https://github.com/espressif/esp-idf/issues/5124
Closes https://github.com/espressif/esp-idf/issues/5104
2020-04-15 15:43:36 +10:00
Ivan Grokhotkov
2e14149bff
Merge branch 'feat/monitor_remake_with_serial_arg' into 'master'
...
idf_monitor: support to re-flash with the using port
Closes IDFGH-2479 and IDF-836
See merge request espressif/esp-idf!6373
2020-04-09 05:43:32 +08:00
Renz Bagaporo
acb7a211dd
partition_table: do not always display partition table contents on build
2020-04-08 11:38:43 +08:00
Renz Bagaporo
07f9978df7
cmake: add elf dir information
...
Solves https://www.esp32.com/viewtopic.php?f=13&t=14784&p=57557&hilit=assumes#p57557
2020-04-07 17:19:33 +08:00
michael
862fa815ff
esptool: add quotes to allow complicated serial port path
...
Especially for Windows COM format: \\\.\COMx, introduced in
b00cea250f
2020-04-07 01:31:39 +08:00
Roland Dobai
9b16594444
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-26 07:51:59 +01:00
Renz Christian Bagaporo
eb865008d5
cmake: show error message on encrypted flash targets without proper config
2020-03-02 07:18:22 +05:00
Supreet Deshpande
a9ccc5e5c8
feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3
2020-02-25 01:28:22 +05:30
Ivan Grokhotkov
f31fc368bf
make: fix 'make monitor' target when core dump is not enabled
2020-02-18 08:34:16 +01:00
Ivan Grokhotkov
25041ba583
tools/idf_monitor: automatically decode UART core dumps
...
This adds detection of UART core dumps to IDF monitor. By default,
core dumps are not printed to the console, but are processed by
espcoredump.py using 'info_corefile' command. The result is printed
to stdout.
This feature can be disabled in menuconfig.
In the future this can be extended to allow running espcoredump.py
with 'dbg_corefile' argument, which is similar to the current GDB Stub
behavior.
Related to IDF-52.
2020-02-13 18:46:26 +01:00
Ivan Grokhotkov
09950797cb
esptool_py: pass flash mode/frequency/size to elf2image
...
Otherwise the image gets generated with wrong parameters, and the
binary does not boot unless it has been "fixed" by esptool during the
upload.
2020-01-23 12:19:15 +01:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
Ivan Grokhotkov
c11f77cb1a
Merge branch 'feature/use_underlying_cmake_targets_for_idf_py' into 'master'
...
CMake: Use underlying flash targets for idf.py
See merge request espressif/esp-idf!7067
2020-01-21 17:05:47 +08:00
morris
2422c52851
global: hello world on real esp32-s2
2020-01-16 17:43:59 +08:00
morris
1c2cc5430e
global: bring up esp32s2(not beta)
2020-01-16 17:41:31 +08:00
Renz Christian Bagaporo
fd74ec75d7
esptool_py: retain flash targets when building RAM loadable apps
2020-01-15 03:36:47 +00:00
Renz Christian Bagaporo
cc8bff703e
esptool_py: create flash target functions
2020-01-15 03:36:47 +00:00
Amit Sheth
8f3987099e
project_include.cmake: Make esptool_py_custom_target callable from other directories
2019-12-19 17:53:09 +05:30
morris
5efb1140ac
esptool: add chip and stub option
2019-12-09 09:48:16 +08:00
Angus Gratton
c60370b67f
esptool: Update esptool version to match master
2019-10-22 16:44:16 +11:00
Angus Gratton
a89000855e
esptool: Update submodule adding ESP32-S2 beta support
2019-10-15 16:55:39 +11:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
Ivan Grokhotkov
46a65a35d6
Merge branch 'bugfix/missing_build_targets_cmake' into 'master'
...
esptool_py: add missing phony build targets for CMake
Closes IDFGH-370
See merge request espressif/esp-idf!5838
2019-10-08 16:24:40 +08:00
Ivan Grokhotkov
5830f529d8
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-02 19:01:39 +02:00
Roland Dobai
5a916ce126
Support ELF files loadable with gdb
2019-09-24 07:19:50 +00:00
Angus Gratton
adfc06a530
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-20 10:28:37 +10:00
suda-morris
dd248ffc32
Add chip revision into image header
...
Check chip id and chip revision before boot app image
Closes https://github.com/espressif/esp-idf/issues/4000
2019-09-16 18:13:53 +08:00
Michael (XIAO Xufeng)
df27a50866
app_update: re-enable elf-sha256
2019-09-11 18:29:11 +08:00
Renz Christian Bagaporo
a1a2f33459
esptool_py: add missing phony build targets for CMake
...
Adds targets erase_flash and monitor for users not using idf.py.
Closes https://github.com/espressif/esp-idf/issues/2420 .
2019-08-21 10:01:00 +08:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Angus Gratton
aa2a972261
Merge branch 'bugfix/fix_encrypted_project_flash_arg_file_gen' into 'master'
...
CMake: fix encrypted project flash arg file generation
See merge request espressif/esp-idf!5741
2019-08-13 13:45:57 +08:00
suda-morris
f86e82cb63
efuse: update the scheme of getting chip revision
2019-08-13 10:59:02 +08:00
Renz Christian Bagaporo
e3c236d2fe
cmake: fix encrypted project flash arg file generation
2019-08-09 16:35:31 +08:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Angus Gratton
e1ef0faccd
esptool: Bump to v2.7
...
https://github.com/espressif/esptool/releases/tag/v2.7
2019-07-18 15:09:17 +10:00
Angus Gratton
bd0a5d4c8b
Merge branch 'feature/esptool_py_use_component_properties' into 'master'
...
esptool_py: use component property to simplify arg file generation
See merge request espressif/esp-idf!5312
2019-07-15 10:52:15 +08:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Renz Christian Bagaporo
4848dfa710
esptool_py: use component property to simplify arg file generation
...
esptool_py used to create its own custom target to attach properties to.
This commit uses component properties instead, and the APIs used to set
and retrieve those properties in order to simplify generation of
argument files to esptool.py.
2019-06-28 18:14:25 +08:00
Renz Christian Bagaporo
3ae69484fe
esptool_py: do not generate flasher arg files on bootloader build
2019-06-28 10:54:21 +08:00
Renz Christian Bagaporo
9edc867c62
bootloader: fix secure boot issues
...
Do not include bootloader in flash target when secure boot is enabled.
Emit signing warning on all cases where signed apps are enabled (secure
boot and signed images)
Follow convention of capital letters for SECURE_BOOT_SIGNING_KEY variable, since it is
relevant to other components, not just bootloader.
Pass signing key and verification key via config, not requiring
bootloader to know parent app dir.
Misc. variables name corrections
2019-06-28 10:54:21 +08:00
Renz Christian Bagaporo
f332e0c1d6
partition_table: move establishing dependencies to respective components
...
partition_table: move establishing dependencies to respective components
2019-06-28 10:50:52 +08:00
Renz Christian Bagaporo
6a18eaeaf5
esptool_py: fix issue with variable for esptool args
...
elf2image-only arguments are being added to esptool args meant for
flashing
2019-06-28 10:50:52 +08:00
Angus Gratton
83ba2e082c
esptool+cmake: Fix path generation for args.in2 file
...
Path was accidentally generated as build/<absolute path to input file> which creates unexpected path structure on Linux/macOS and breaks Windows (as can't have a directory named "C:".
Regression in e8582e9aa4
Closes https://github.com/espressif/esp-idf/issues/3687
Closes IDFGH-1409
2019-06-27 14:19:03 +10:00
Hemal Gujarathi
a68c7c21e1
Improve flash encryption documentation and add Development & Release modes
...
This MR improves existing flash encryption document to provide simplified steps
Adds two new modes for user: Development & Release
Adds a simple example
Supports encrypted write through make command
2019-06-25 23:41:18 +00:00