Shivani Tipnis
745e979283
CI: Fix prov example test cryptography package version exception handling
2020-04-23 00:27:40 +05:30
Mahavir Jain
44939a6b1e
Merge branch 'feature/iram_data_bss' into 'master'
...
esp32: IRAM_DATA_ATTR and IRAM_BSS_ATTR introduced
See merge request espressif/esp-idf!8377
2020-04-22 21:44:44 +08:00
Roland Dobai
14978aef70
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci
2020-04-22 15:29:06 +02:00
Roland Dobai
511135989c
tools: Autodetect the target of MAP files in idf_size.py
2020-04-22 13:12:56 +02:00
michael
1ca25688a8
freertos: place xQueueGenericCreateStatic
into flash
...
`xQueueGenericCreateStatic` is placed into flash by the linker script to
reduce IRAM usage. This will also cause the `xRingbufferCreate` not
not callable when cache is disabled.
2020-04-22 16:06:13 +08:00
michael
fdf983e0c4
spi: fix config break and reduce overhead of the bus lock on SPI1
...
The SPI bus lock on SPI1 introduces two side effects:
1. The device lock for the main flash requires the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` to be selected, however this
option is disabled by default in earlier IDF versions. Some developers
may find their project cannot be built by their old sdkconfig files.
2. Usually we don't need the lock on the SPI1 bus, due to it's
restrictions. However the overhead still exists in this case, the IRAM
cost for static version of semaphore functions, and the time cost when
getting and releasing the lock.
This commit:
1. Add a CONFIG_SPI_FLASH_BYPASS_MAIN_LOCK option, which will forbid the
space cost, as well as the initialization of the main bus lock.
2. When the option is not selected, the bus lock is used, the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` will be selected explicitly.
3. Revert default value of `CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION`
to `n`.
introduced in 49a48644e4
.
Closes https://github.com/espressif/esp-idf/issues/5046
2020-04-22 16:06:13 +08:00
He Yin Ling
c2e068f0e4
Merge branch 'bugfix/ci_partition_table_detection' into 'master'
...
CI: Fix partition table detection if "partition" is in the project name
See merge request espressif/esp-idf!8223
2020-04-22 15:10:11 +08:00
Wang Jia Lin
e3f85faee5
Merge branch 'bugfix/fix_spi_flash_clock_config_error' into 'master'
...
flash: fix spi flash clock config error
Closes IDFGH-3077
See merge request espressif/esp-idf!8384
2020-04-22 12:44:17 +08:00
Krzysztof Budzynski
0842aed2bc
Merge branch 'doc/submodule_links' into 'master'
...
doc: roles for linking files now correctly links to submodule repositories
Closes IDF-1584
See merge request espressif/esp-idf!8405
2020-04-22 01:49:18 +08:00
Alexey Gerenkov
c0610a49b4
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200420'
2020-04-21 19:43:58 +03:00
Martin Vychodil
7491ea677a
esp32s2: IRAM/DRAM memory protection
...
* new mem_prot API
* mem_prot on & locked by default (see Kconfig)
* feature activated in start_cpu0_default()
JIRA IDF-1355
2020-04-21 15:10:58 +02:00
Michael (XIAO Xufeng)
e2fc591a20
Merge branch 'bugfix/esp_flash_revert_qe_clear' into 'master'
...
esp_flash: fix the regression of non-quad mode by default chip driver, bugs in add_device and deprecate cs_id
See merge request espressif/esp-idf!8260
2020-04-21 17:52:42 +08:00
xueyunfei
b2a3b2a4f4
fixbug for set dhcp time fail
2020-04-21 14:28:39 +08:00
Angus Gratton
2433fe664d
Merge branch 'doc/wdt_config' into 'master'
...
docs: Add details about WDT config
See merge request espressif/esp-idf!7838
2020-04-21 11:51:42 +08:00
Ivan Grokhotkov
1a7dbe22da
Merge branch 'bugfix/wrong_cpp_guard' into 'master'
...
Bugfix/wrong cpp guard
Closes IDFGH-3129 and IDF-1219
See merge request espressif/esp-idf!8403
2020-04-20 18:47:28 +08:00
Ivan Grokhotkov
28b9acabe2
Merge branch 'bugfix/shell_runner_fails_pacman' into 'master'
...
Fix cmake component management test on shell runners
See merge request espressif/esp-idf!8398
2020-04-20 18:23:42 +08:00
Jiang Jiang Jian
80e5eb896c
Merge branch 'optimization/DNS_get_function' into 'master'
...
lw-ip:optimization DNS get function
Closes WIFI-1566
See merge request espressif/esp-idf!8244
2020-04-20 16:52:22 +08:00
Marius Vikhammer
e7d92b857e
doc: roles for linking files now correctly links to submodule repositories
...
Closes IDF-1584
2020-04-20 15:59:41 +08:00
Sergei Silnov
44d77c7100
Fix cmake component management test on shell runners
2020-04-20 09:25:03 +02:00
morris
5d0860f2e8
fix broken CONFIG_LEGACY_INCLUDE_COMMON_HEADERS
2020-04-20 14:01:09 +08:00
Ivan Grokhotkov
8ee1ec1270
Merge branch 'bugfix/pyyaml_test_config_output_unicode' into 'master'
...
test_config: pyyaml will generate !!python/unicode in test_config
See merge request espressif/esp-idf!8288
2020-04-20 02:21:11 +08:00
Krzysztof Budzynski
e45794d0cb
Merge branch 'doc/pdf_generation' into 'master'
...
PDF generation for build doc
Closes IDF-1217 and IDF-1464
See merge request espressif/esp-idf!8110
2020-04-20 01:44:42 +08:00
Hrudaynath Dhabe
d8a7cfdde4
wpa_supplicant: Minor bugfix with wpa_supplicant debug logs.
2020-04-19 16:40:06 +05:30
dowster
7b02fdf45a
Fix typo with sigmadelta.h #ifdef
2020-04-17 22:52:00 -05:00
Sachin Parekh
1e6c25992e
esp32: IRAM_DATA_ATTR and IRAM_BSS_ATTR introduced
...
Using these attributes, .data and .bss can be placed in IRAM
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2020-04-17 19:35:23 +05:30
Michael (XIAO Xufeng)
9d9d22c920
esp_flash: deprecate the cs_id member, which is no longer used.
...
We used to manually specify the CS id. However after the SPI bus lock is
introduced, the lock is responsible to assign the CS lines and provide
the CS id. The esp_flash driver now depends on the ID assigned by the
SPI bus lock, the configuration field is deprecated.
2020-04-17 18:15:33 +08:00
Michael (XIAO Xufeng)
5404e3d434
esp_flash: fix cache exception when CS pin is through IOMUX
2020-04-17 18:15:33 +08:00
Michael (XIAO Xufeng)
11501dbaa9
esp_flash: fix the cleanup when add device fails
2020-04-17 18:15:32 +08:00
Michael (XIAO Xufeng)
dc26065a72
esp_flash: fix the regression of non-quad mode by default chip driver
...
The issue is introduced in 571864e8ae
. The
esp_flash API tries to clear the QE bit when the flash is not working in
quad modes.
However this introduces a regression, compared to earlier versions and
the legacy API. When the chip is not detected, the generic chip driver
is used, which cannot 100% handle the QE bit properly for all flash
vendors. There may be some flash chips (e.g. MXIC) that can be used in
dual modes by legacy API, but output wrong data when the esp_flash API
clears the QE bit in a wrong way.
This commit reverts the QE force clearing behavior, so that it's safer
for the generic chip driver to work under dual modes.
2020-04-17 18:15:31 +08:00
Ivan Grokhotkov
b732abec7f
Merge branch 'bugfix/freemodbus_add_cpp_extern' into 'master'
...
freemodbus: add extern c block into common header for cpp
Closes IDFGH-3046
See merge request espressif/esp-idf!8281
2020-04-17 17:56:51 +08:00
Alex Lisitsyn
b1fe4c4cc6
freemodbus: add extern c block into common header for cpp
2020-04-17 17:56:50 +08:00
Ivan Grokhotkov
9003c01b4b
Merge branch 'init_priority_fix' into 'master'
...
CXX: make __attribute__((init_priority(n))) work
See merge request espressif/esp-idf!8276
2020-04-17 17:56:10 +08:00
xiehang
2d6f7f25e3
esp_wifi:Add softap example channel configuration
2020-04-17 17:31:46 +08:00
chenjianqiang
ec9cc27e08
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-17 16:26:26 +08:00
Ivan Grokhotkov
46e9aef6c9
tools/check_python_dependencies: print diagnostic info on failure
...
Helps collect more data for cases such as:
https://github.com/espressif/esp-idf/issues/5133
2020-04-16 11:58:16 +02:00
Ivan Grokhotkov
f245a518be
Merge branch 'bugfix/idfpy_debug_openocd_error' into 'master'
...
idf.py: debug ext prints detailed info/hint on common openocd issues
See merge request espressif/esp-idf!8344
2020-04-16 14:26:38 +08:00
Mahavir Jain
4e71cb3e68
Merge branch 'bugfix/transport_ssl_reset_state_on_closure' into 'master'
...
transport_ssl: reset state on connection closure
See merge request espressif/esp-idf!8355
2020-04-16 12:38:58 +08:00
David Čermák
d043674b2b
Merge branch 'feature/lwip_napt_forward' into 'master'
...
lw-IP: NAT support
Closes WIFI-931
See merge request espressif/esp-idf!7681
2020-04-16 03:03:00 +08:00
Krzysztof Budzynski
412c43d9b9
Merge branch 'docs/saola-1-guide' into 'master'
...
Add links to translation in Saola board user guide
See merge request espressif/esp-idf!8124
2020-04-15 22:23:27 +08:00
Wang Ning
efba523b54
Add links to translation in Saola board user guide
2020-04-15 22:23:26 +08:00
Krzysztof Budzynski
50e5549acd
Merge branch 'docs/tcpip_adapter_migration_update' into 'master'
...
Fix a typo error based on DOC-111
See merge request espressif/esp-idf!8323
2020-04-15 22:03:58 +08:00
Andrei Gramakov
283026a761
vfs: semihost driver bugfix
2020-04-15 15:46:47 +02:00
Ivan Grokhotkov
882fd1b880
Merge branch 'bugfix/make_quoting_esptool_port' into 'master'
...
make: Fix quoting when flashing port is set via sdkconfig file
Closes IDFGH-3103 and IDFGH-3083
See merge request espressif/esp-idf!8352
2020-04-15 20:37:20 +08:00
xiehang
5d20610874
esp_wifi: Update esp32s2 phy lib v303
2020-04-15 20:18:42 +08:00
Mahavir Jain
49ce8d3fe5
transport_ssl: reset state on connection closure
...
For url redirection cases (HTTP status 301/302), internal
transport ssl connection state must be reinitialized for
successful (new) connection on updated url.
Closes https://github.com/espressif/esp-idf/issues/4598
2020-04-15 15:22:32 +05:30
Marius Vikhammer
8a3d806798
doc: update CI to build PDF
2020-04-15 17:14:27 +08:00
Marius Vikhammer
407275f681
doc: add latex and PDF generation to build_docs
...
Adds options for generating tex-files and PDFs when building documentation
Closes IDF-1217
Closes IDF-1464
2020-04-15 17:14:22 +08:00
Wang Ning
6d3f35f651
Fix a typo error based on DOC-111
2020-04-15 09:08:43 +00:00
Angus Gratton
b18ce2f686
doc: Add configuration information about INT & Task WDTs
2020-04-15 17:30:05 +10:00
Angus Gratton
100578a9e9
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
...
Significantly speeds up heap initialization at startup when default "Light" heap
poisoning is enabled.
Tip via reddit user LinkeSeitentasche https://www.reddit.com/r/esp32/comments/fnj51a/a_guide_to_improving_esp32_boot_speed/
2020-04-15 07:16:08 +00:00