Commit graph

13798 commits

Author SHA1 Message Date
Michael (XIAO Xufeng) a21d3441cc Merge branch 'feature/twai_support_esp32s2' into 'master'
TWAI: Add ESP32-S2 support

Closes IDF-1455

See merge request espressif/esp-idf!8973
2020-06-30 19:19:47 +08:00
Darian Leung 97721d469c TWAI: Add ESP32-S2 support
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:

- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-06-30 16:56:03 +08:00
Angus Gratton 8912462d95 Merge branch 'bugfix/adjtime_return_outdelta_before_new_delta_set' into 'master'
newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment

Closes IDFGH-3192 and IDFGH-3187

See merge request espressif/esp-idf!9105
2020-06-30 13:15:23 +08:00
Jiang Jiang Jian f84ddd983d Merge branch 'feature/bt_secure_conn_downgrade_check' into 'master'
Bluedroid: Authentication fixes in Legacy and Secure Connection.

Closes BLE-60

See merge request espressif/esp-idf!8541
2020-06-30 11:24:55 +08:00
Jiang Jiang Jian ce1f1ea000 Merge branch 'bugfix/fix_ping_specify_length_issue' into 'master'
bugfix: fix ICMP specify length issue

Closes WIFI-2497

See merge request espressif/esp-idf!9280
2020-06-29 21:12:12 +08:00
Angus Gratton 8800fe5241 Merge branch 'bugfix/prov_retry_failures' into 'master'
ci: Add retries for all provisioning methods, some refactors

See merge request espressif/esp-idf!9343
2020-06-29 16:29:26 +08:00
Ivan Grokhotkov 84833bf0df Merge branch 'feature/light_sleep_reject' into 'master'
sleep: enable sleep reject when entering light sleep

Closes IDF-1678 and WIFI-1185

See merge request espressif/esp-idf!9242
2020-06-29 15:57:49 +08:00
Krzysztof Budzynski eff2aa8094 Merge branch 'doc/restore_missing_zh_eth_guide' into 'master'
docs: restore chinese get-started-ethernet-kit guide

See merge request espressif/esp-idf!9368
2020-06-29 13:38:35 +08:00
Marius Vikhammer e690b778a7 docs: restore chinese get-started-ethernet-kit guide
The chinese translation of get-started-ethernet-kit guide were erroneously
removed in commit 1a90470f02
2020-06-29 09:40:31 +08:00
Angus Gratton 002a13a71a ci provisioning: Add some experiments to check the runner's STA state
Not clear why sometimes it associates without negotiating a new DHCP lease.
2020-06-28 22:52:45 +00:00
Angus Gratton ab55bea55a esp_prov: Extend the timeout for HTTP connection to SoftAP 2020-06-28 22:52:45 +00:00
Angus Gratton 7934df3a6f ci wifi_tools: Log the wpa_supplicant interface state when trying to connect
Trigger reconnection if wpa_supplicant seems to have dropped the connection.
2020-06-28 22:52:45 +00:00
Angus Gratton 2e8d607b21 legacy provisioning: Always try to reconnect when disconnected
Some APs may fail authentication temporarily if they have too many
associated stations, for example.
2020-06-28 22:52:45 +00:00
Angus Gratton 5bdecb3db2 esp_prov: Refactor to use new 'wait_wifi_connected' function
Means all provisioning examples will have the same retry behaviour.
2020-06-28 22:52:45 +00:00
Angus Gratton e969a5e5ff ci provisioning: Use strings instead of "magic numbers" for connection state 2020-06-28 22:52:45 +00:00
Angus Gratton 05ef08b1d5 ci: Wait up to 60 seconds for client to connect to DUT in provisioning test 2020-06-28 22:52:45 +00:00
Ivan Grokhotkov 45fff86e05 Merge branch 'feature/usb_console_ig' into 'master'
add USB CDC as a console option

Closes IDF-1620

See merge request espressif/esp-idf!8459
2020-06-29 05:16:15 +08:00
ronghulin 9230e0d26d bugfix: fix ICMP specify length issue 2020-06-28 10:46:43 +08:00
Ivan Grokhotkov 3e7506ccda examples/console: error out if built with USB CDC enabled 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov b767e6191d examples/console: add check for CONFIG_ESP_CONSOLE_UART_NUM 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov f07a7805a6 esptool: update for CDC stub support 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov 5985c07ab7 docs: add section about USB CDC console 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov 9548aea3e4 examples: add console_usb example for USB CDC 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov e94848556b esp32, esp32s2: update console initialization 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov fc8cd4048d vfs: add vfs_cdcacm driver (aka USB CDC) 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov 34f441249b esp32s2: add internal usb_console API 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov 6dfb2d83a7 bootloader: combine console code for ESP32 and S2, add USB support 2020-06-26 15:38:49 +02:00
Ivan Grokhotkov 5ee75165f2 esp_common: add "USB CDC" option for console output 2020-06-26 15:38:49 +02:00
Mahavir Jain 7c5a5617a8 Merge branch 'bugfix/http_server_lru' into 'master'
esp_http_server: Update LRU counter on accepting a new connection

Closes IDFGH-1594

See merge request espressif/esp-idf!9345
2020-06-26 14:48:04 +08:00
Angus Gratton d02edc2bd1 Merge branch 'bugfix/esp32_encrypted_flash_write' into 'master'
spi_flash: esp32: fix regression in encrypted flash write

See merge request espressif/esp-idf!9286
2020-06-26 14:35:43 +08:00
Shubham Kulkarni 0ec5096742 esp_http_server: Update LRU counter on accepting a new connection
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 05:29:00 +00:00
Anton Maklakov 398b6a5b69 Merge branch 'bugfix/ut_job_count' into 'master'
ci: increase the number of unit test jobs

See merge request espressif/esp-idf!9346
2020-06-26 12:47:42 +08:00
Ivan Grokhotkov 81ba01b9c5 ci: increase the number of unit test jobs 2020-06-25 19:24:46 +02:00
Chinmay Chhajed e3350e7861 Bluedroid: Authentication fixes in Legacy and Secure Connection.
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:

- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.

- Doing a mutual authentication during Legacy Authentication.

Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-25 15:37:01 +05:30
Ivan Grokhotkov 0f3aa8f520 Merge branch 'feature/idfpy_serial_ext_formatting' into 'master'
Tools: Update formatting at serial_ext.py

See merge request espressif/esp-idf!8954
2020-06-25 17:40:06 +08:00
Ivan Grokhotkov ebe62ee6d0 Merge branch 'bugfix/exception_crash_workaround' into 'master'
toolchain: C++ exception workarounds

Closes IDF-1128, IDF-1301, and IDF-1804

See merge request espressif/esp-idf!8967
2020-06-25 17:39:20 +08:00
Angus Gratton 22d9ff5b05 Merge branch 'feature/block_sha_fallback' into 'master'
esp32s2 SHA: fallback to hashing block by block for non DMA memory

Closes IDF-1529

See merge request espressif/esp-idf!8293
2020-06-25 09:30:39 +08:00
Angus Gratton 40d7ea68af Merge branch 'bugfix/ci_softap_example_test' into 'master'
Set sleep time to allow wlan0 to connect to softap

See merge request espressif/esp-idf!9258
2020-06-25 09:06:55 +08:00
Shivani Tipnis 76232fd263 ci: Set sleep time to allow wlan0 to connect to softap 2020-06-24 23:07:46 +05:30
Ivan Grokhotkov 4e30e8801c sleep: enable sleep reject when entering light sleep 2020-06-24 15:45:42 +00:00
Ivan Grokhotkov 4f8c42ca73 esp_rom: add patch to set USB device serial descriptor to MAC address 2020-06-24 15:50:51 +02:00
Ivan Grokhotkov 4901917ea3 esp_rom: add USB related headers from the ROM code 2020-06-24 15:50:51 +02:00
Ivan Grokhotkov dafc6676ae examples/console: allow not registering sleep related commands 2020-06-24 15:50:51 +02:00
Ivan Grokhotkov 002c50540b vfs: move line ending definitions into esp_vfs_common 2020-06-24 15:50:51 +02:00
Ivan Grokhotkov 012f9702ad driver: make sure UART is idle before starting the test 2020-06-24 15:50:51 +02:00
Ivan Grokhotkov 0620890028 bootloader, rtc: don't disable PLL if it is already enabled 2020-06-24 15:50:51 +02:00
Ivan Grokhotkov 19c73192ba ble_mesh_coex_test: fix deprecated Kconfig option name 2020-06-24 15:50:51 +02:00
Ivan Grokhotkov f54d771cd3 linenoise: actively flush the output stream, in case it is buffered 2020-06-24 15:50:51 +02:00
Angus Gratton 440574d13b Merge branch 'ci/http_client_remove_httpbin_redirect' into 'master'
ci: Temporarily remove the esp_http_client httpbin redirect tests

See merge request espressif/esp-idf!9298
2020-06-24 21:03:04 +08:00
Krzysztof Budzynski 09de90eda3 Merge branch 'doc/fix_formatting_issues_described_in_DOC_257' into 'master'
fix the formatting issues described in DOC-257

See merge request espressif/esp-idf!9285
2020-06-24 18:16:12 +08:00