Commit graph

12321 commits

Author SHA1 Message Date
Marius Vikhammer
947e3e94ed Add ESP certificate bundle feature
Adds the ESP certificate bundle feature that enables users to bundle a
root certificate bundle together with their application.

Default bundle includes all Mozilla root certificates

Closes IDF-296
2020-03-04 10:51:43 +08:00
Angus Gratton
3490c14298 Merge branch 'doc/multi_target_inc_dir' into 'master'
docs: multi target include dir support

Closes IDF-1371

See merge request espressif/esp-idf!7763
2020-03-04 07:35:10 +08:00
Krzysztof Budzynski
61a272ba56 Merge branch 'doc/add-info-manual-boot-to-get-started-guide' into 'master'
Issues with entering Download mode automatically

See merge request espressif/esp-idf!7616
2020-03-04 04:58:30 +08:00
Kirill Chalov
1ead668d77 Issues with entering Download mode automatically
Add description to Getting started guides of possible issues preventing Development boards from entering Firmware Download mode automatically while trying to flash the boards

Closes https://jira.espressif.com:8443/browse/DOC-11
2020-03-04 04:58:29 +08:00
Ivan Grokhotkov
7dacb730db Merge branch 'feature/coredump_update_esp32s2' into 'master'
espcoredump: update for esp32s2

Closes IDF-1378

See merge request espressif/esp-idf!7548
2020-03-03 23:37:45 +08:00
Alex Lisitsyn
3efa8d7a97 core dump: add ESP32-S2 support 2020-03-03 23:37:45 +08:00
Nachiket Kukade
30d6220394 esp_wifi: Support for additional WPA3 testcases
1. Anti-Clogging Token Request support
2. Return correct status from SAE modules for invalid scenarios
3. Add PMK Caching support for WPA3
2020-03-03 19:01:51 +05:30
chaijie
66beaaef7d soc(rtc): modify rtc code in soc for esp32s2 2020-03-03 13:22:52 +00:00
morris
acd4d4a40b unit test using internal signal connection 2020-03-03 20:14:46 +08:00
morris
07088c6446 rmt: disable carrier feature by default 2020-03-03 20:14:46 +08:00
morris
0e4d82bc55 rmt: support REF_TICK as channel clock source
Closes https://github.com/espressif/esp-idf/pull/3952
2020-03-03 20:14:46 +08:00
morris
3c43264f83 rmt: add RMT_CHANNELS_NUM in rmt_caps.h 2020-03-03 20:14:45 +08:00
Jiang Jiang Jian
ebd35a1657 Merge branch 'bugfix/wep_crash' into 'master'
esp-wifi: Fix crash during WEP shared auth

See merge request espressif/esp-idf!7818
2020-03-03 19:18:46 +08:00
Ivan Grokhotkov
b97b9418f8 Merge branch 'bugfix/improve_component_manager_test_output' into 'master'
Improve message for component manager tests

See merge request espressif/esp-idf!7765
2020-03-03 19:02:31 +08:00
Ivan Grokhotkov
39aad6e9f7 Merge branch 'bugfix/cmake_generators' into 'master'
tools: Force the order of cmake generators

Closes IDF-1444

See merge request espressif/esp-idf!7836
2020-03-03 18:33:30 +08:00
Kirill Chalov
b2d38cf324 Review the file api-reference/peripherals/esp_slave_protocol.rst 2020-03-03 18:12:56 +08:00
kapil.gupta
c634de1532 esp-wifi: Fix crash during WEP shared auth
VNC 1181
WIFI Lib: 526
2020-03-03 17:29:03 +08:00
David Čermák
54d7001654 Merge branch 'bugfix/mqtt_cpp_build' into 'master'
MQTT: Fix C++ build issue

Closes IDFGH-2717

See merge request espressif/esp-idf!7722
2020-03-03 17:20:32 +08:00
Renz Bagaporo
7dbd77cefc examples: split source files for one of the ulp examples 2020-03-03 16:56:14 +08:00
Renz Bagaporo
07a71529de ulp: fix ulp external project args
Closes https://github.com/espressif/esp-idf/issues/4713
2020-03-03 16:56:14 +08:00
Marius Vikhammer
9b56892bfe doc: fix broken .. only:: in JTAG guide
Added note about .. only:: limitations to guide
2020-03-03 15:30:37 +08:00
David Cermak
7bf1a1db35 MQTT: Reference latest mqtt addressing c++ build and qos1/2 resend
Closes https://github.com/espressif/esp-idf/issues/4787
2020-03-03 07:07:57 +00:00
David Cermak
6176b5fbe6 MQTT: Add build only test for using mqtt API from C++ 2020-03-03 07:07:57 +00:00
Jiang Jiang Jian
36e292b97d Merge branch 'bugfix/add_hostname_in_discover_packet' into 'master'
lw-ip:add host name in discover packet

Closes WIFI-1702

See merge request espressif/esp-idf!7677
2020-03-03 14:25:19 +08:00
Mahavir Jain
8ae05e6547 esp_wifi: fix occasional test failure due to memory leak indications
Ensure that newly spawned task stack (dynamic) is getting freed up before
test completion and thus preventing false memory leak indication failure.

unit-test-app: add an API test_utils_task_delete

This API ensures that dynamic memory of deleted task gets freed up
before return. This helps for preventing false memory leak detections
in test failures.
2020-03-03 11:11:23 +05:30
xiongyu
b3ae9fa978 bugfix(i2s): Updated ESP32-S2 ADC DAC support
* Delete the relevant codes of ADC DAC of ESP32-S2.
2020-03-03 12:59:30 +08:00
Jiang Jiang Jian
e8ca5e6f21 Merge branch 'bugfix/Add_wifi_stop_check_in_deinit_entry' into 'master'
esp_wifi: Add wifi stop check at wifi deinit entry

Closes WIFI-1671

See merge request espressif/esp-idf!7800
2020-03-03 12:33:05 +08:00
fuzhibo
3ad5138dd8 fix coexist i2s_adc and rtc_adc 2020-03-03 11:58:53 +08:00
xiongyu
faf898b659 bugfix(i2s): fix driver ut i2s
* Add test support for ESP32S2

* Add loop back test

* Support chip internal connection, no external wiring required.

* Delete the relevant codes of PDM of ESP32-S2 ll layer.

* fix dac dma mode issue
2020-03-03 11:58:53 +08:00
Li Shuai
c796e14964 added psram stack check in backtrace 2020-03-03 11:52:29 +08:00
Marius Vikhammer
c26a765a37 doc: remove uncessary .. only:: dirs
Removed some only directives that are no longer needed with include being processed correctly
2020-03-03 11:37:42 +08:00
Marius Vikhammer
dfc95bc78b docs: multi target include dir support
Closes IDF-1371

Added an include directive that allows for the content to be formatted
according to idf target
2020-03-03 11:37:42 +08:00
Angus Gratton
bfc37ab43f Merge branch 'bugfix/spiflash_read_psram' into 'master'
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers

Closes IDFGH-2698

See merge request espressif/esp-idf!7768
2020-03-03 10:20:15 +08:00
Angus Gratton
d638ace47a Merge branch 'bugfix/clean_pcnt_i2s_public_header' into 'master'
clean pcnt i2s public header

See merge request espressif/esp-idf!7827
2020-03-03 10:15:40 +08:00
Angus Gratton
95f7b1985b spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.

Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-03 00:17:27 +00:00
Angus Gratton
fb340940d3 spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
Previously would try allocate buffer of minimum size 16KB not maximum size 16KB, causing
out of memory errors for any large reads, or if less than 16KB contiguous free heap.

Also, if using legacy API and internal allocation failed then implementation would abort()
instead of returning the error to the caller.

Added test for using large buffers in PSRAM.

Closes https://github.com/espressif/esp-idf/issues/4769

Also reported on forum: https://esp32.com/viewtopic.php?f=13&t=14304&p=55972
2020-03-03 00:17:27 +00:00
Roland Dobai
2d97209475 tools: Force the order of cmake generators 2020-03-02 16:15:30 +01:00
Ivan Grokhotkov
4f32a06f87 core dump: don't allow core dumps to Flash if PSRAM is used for stacks
It is not possible to write to Flash when the stack is located in
PSRAM, and it is not possible to write PSRAM buffers into Flash when
malloc can not be used.
2020-03-02 14:43:05 +01:00
morris
580ce8fa4a driver: clean pcnt.h i2s.h 2020-03-02 19:31:29 +08:00
xueyunfei
1dfd4d7c42 add host name in discover packet 2020-03-02 08:18:28 +00:00
Aditya Patwardhan
cc0eec52ff esp_https_server: Fixed a PR which adds support for mutual auth in
https_server
Closes https://github.com/espressif/esp-idf/pull/4184
Closes IDFGH-2004
2020-03-02 12:36:36 +05:30
Maximilian Schmidt
559cd57ea6 Support MutualAuthentication in HTTPsServer 2020-03-02 12:28:30 +05:30
Angus Gratton
6f7be93d53 Merge branch 'bugfix/cmake_convert_whitespace' into 'master'
cmake: Minor convert_to_cmake.py fixes

See merge request espressif/esp-idf!7066
2020-03-02 14:22:37 +08:00
xiehang
299ab1360c eps_wifi: Add wifi stop check at wifi deinit entry 2020-03-02 14:20:28 +08:00
Jiang Jiang Jian
4822e468c4 Merge branch 'bugfix/set_channel_in_NULL_mode' into 'master'
fix the bug for setting channel when Wi-Fi in NULL mode

Closes WIFI-1688, WIFI-1689, and WIFI-1704

See merge request espressif/esp-idf!7700
2020-03-02 14:10:35 +08:00
Angus Gratton
c051eafa6a Merge branch 'feature/test_confgen' into 'master'
Tools: Add tests for confgen.py

Closes IDF-480

See merge request espressif/esp-idf!7774
2020-03-02 12:46:51 +08:00
Angus Gratton
08b0b830a1 Merge branch 'bugfix/idf_size_multichip_support' into 'master'
tools: Fix idf_size.py

See merge request espressif/esp-idf!7814
2020-03-02 12:22:06 +08:00
Angus Gratton
8887f79bef cmake: Add warnings that convert_to_cmake.py doesn't calculate component requirements
Any component which requires another component will need this manually
added to its CMakeLists.txt file.
2020-03-02 14:45:03 +11:00
Angus Gratton
ee8557f69d cmake: convert_to_cmake: Fix possible whitespace issues
As reported on forum:
https://esp32.com/viewtopic.php?f=2&t=13565&p=53476#p53453

split() with no arg will match any whitespace sequence not just
a single space, so takes care of case where two spaces are
inserted in the variable value.
2020-03-02 14:44:16 +11:00
zhangyanjiao
36c726de99 esp_wifi: fix bugs related to espnow and channel set
1. Fix the bug for setting channel when Wi-Fi in NULL mode
2. Fix the espnow crash issue
2020-03-02 11:32:05 +08:00