Wykres commitów

10529 Commity (f13ace5253bab503d783cccf985f1b600690581f)

Autor SHA1 Wiadomość Data
Aditya Patwardhan 95d9533294 esp-tls : (Fix) update tls->sockfd value after socket is freed internally
Closes https://github.com/espressif/esp-idf/issues/6163
2020-12-02 03:47:15 +00:00
xiewenxiang 7e5e0ba7de component/bt: refactor ble random address setting 2020-12-02 09:08:31 +08:00
XieWenxiang e840191a0c component/bt: support BLE Application Layer Encryption key size check 2020-12-02 09:08:03 +08:00
XieWenxiang 366b036ba5 component/bt: support BLE Authorization 2020-12-02 09:07:24 +08:00
xiewenxiang 3d8eb26fe1 component/bt: fix incorrect encryption flag setting 2020-12-02 09:06:44 +08:00
Omar Chebib f4ac8433c1 coredump: Core dump is encrypted if the partition itself is encrypted
Core dump can now be written in plain text if the partition itself is encrypted.
So it is important to modify the partition table if the user wants an encrypted
core dump partition as by default, it is not.
Added some functions in core_dump_port.c to abstract the checksum implementation
from core_dump_flash.c file.

Closes IDF-458
2020-12-01 16:58:45 +08:00
Angus Gratton 38116853f4 Merge branch 'feature/esp32c3_small_changes' into 'master'
esp32c3: Merge small target support changes

Closes IDF-2361

See merge request espressif/esp-idf!11381
2020-12-01 13:46:57 +08:00
Angus Gratton 493ffe0f46 Merge branch 'feature/esp32c3_soc' into 'master'
esp32c3: Add initial soc, hal, esp_rom, esp_hw_support

Closes IDF-2360

See merge request espressif/esp-idf!11253
2020-12-01 13:27:39 +08:00
Angus Gratton 337985de04 driver: Simplify spi dma peripheral enable/disable logic 2020-12-01 10:58:50 +11:00
Angus Gratton beb75b13f2 driver test: Use regular target guards for single-target test files 2020-12-01 10:58:50 +11:00
Angus Gratton 5228d9f9ce esp32c3: Apply one-liner/small changes for ESP32-C3 2020-12-01 10:58:50 +11:00
Ivan Grokhotkov 499f3e1540 Merge branch 'bugfix/parttool_miss_arg' into 'master'
partition_table: Fix missing argument not present for all parsers

See merge request espressif/esp-idf!11373
2020-12-01 07:30:42 +08:00
Ivan Grokhotkov e241884cfd Merge branch 'bugfix/plain_coredump_encrypted_flash' into 'master'
coredump: fix plain coredump written on an encrypted flash

Closes IDF-458

See merge request espressif/esp-idf!11166
2020-12-01 07:29:36 +08:00
Armando f80bcb733a uart: modify s3 ll functions of reading/writing fifo 2020-11-30 15:23:15 +11:00
Armando d393699ab6 uart: bringup on esp32c3 2020-11-30 15:23:15 +11:00
Angus Gratton 076be2b480 esp_rom: Refactor ROM CMakeLists.txt file
Reduce duplication and use a utility function for the "add ROM linker script"
pattern, move to a simple file structure of "one if block per target"
2020-11-30 15:23:15 +11:00
Angus Gratton b696d2917e esp_hw_support: Add initial ESP32-C3 support
From internal commit 7761d6e8
2020-11-30 15:23:15 +11:00
Angus Gratton 7c08be5771 hal: Add initial ESP32-C3 support
From internal commit 7761d6e8
2020-11-30 15:23:15 +11:00
Angus Gratton b68094199f esp_rom: Add initial ESP32-C3 support
From internal commit 7761d6e8
2020-11-30 11:12:56 +11:00
Angus Gratton c29d93986d soc: Add initial ESP32-C3 support
From internal commit 7761d6e8
2020-11-30 11:12:56 +11:00
Artem Godlevskyi 3caa9699ae Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/5825
2020-11-27 11:50:03 +00:00
Prasad Alatkar 922a994896 NimBLE: Fix misc coverity issues in NimBLE host
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-11-27 11:50:03 +00:00
Jakob Hasse 09d2c5daa6 nvs_flash: fixed deinit other partition's handles
* When deinitializing or erasing a partition,
  nvs used to close all handles instead of only
  the current partition's handles.
  This is fixed now
* Added a unit test for that case

Closes FCS-533
2020-11-27 18:51:05 +08:00
Jiang Jiang Jian 079247b42a Merge branch 'bugfix/blufi_config_potential_double_free' into 'master'
Bugfix/blufi config potential double free

Closes BCI-249, BCI-241, BCI-244, and BT-1174

See merge request espressif/esp-idf!9980
2020-11-27 13:44:37 +08:00
Jiang Jiang Jian 4985310b29 Merge branch 'bugfix/fix_crash_of_divide_zero' into 'master'
Fix crash caused by dividing zero

Closes AUD-2450

See merge request espressif/esp-idf!11100
2020-11-27 12:01:13 +08:00
Jiang Jiang Jian 5196976dbd Merge branch 'docs/fix_some_typos_in_wifi.h' into 'master'
fixed some typos

See merge request espressif/esp-idf!11076
2020-11-27 11:28:28 +08:00
dongyou 070eaea67e Add description for esp_wifi_set_inactive_time()
Add documentation to avoid using WiFi modem sleep for WiFi/BT coexistence
Remove description of unusable API esp_wifi_restart()
Update esp_now_fetch_peer discription
Update table format prblm for esp_wifi_set_max_tx_power()
Update description for ssid and password

Closes https://github.com/espressif/esp-idf/issues/6049
Closes https://github.com/espressif/esp-idf/issues/5759
Closes https://github.com/espressif/esp-idf/issues/5719
Closes https://github.com/espressif/esp-idf/issues/3762
2020-11-26 20:52:36 +08:00
Paweł pidpawel Kozubal cf60ec0ffc lwip: Added support for configurable LwIP hooks
Added lwIP hooks which could be optionally overwritten in the
application code. These three options are provided in Kconfig:
* NONE: No hook support
* DEFAULT: Default implementation is provided. If IDF doesn't
have a specific hook implementation, an empty stub is provided, which
could be overwritten by strong implementation in application code.
* CUSTOM: Hooks are declared only to be implemented in application code.

Merges https://github.com/espressif/esp-idf/pull/6034
2020-11-26 12:02:00 +00:00
Jiang Jiang Jian fc08ff8162 Merge branch 'bugfix/pmf_tx_rx_routine' into 'master'
esp_wifi: Always register pmf tx/rx routines

Closes WIFI-2958

See merge request espressif/esp-idf!11045
2020-11-26 19:23:39 +08:00
Michael (XIAO Xufeng) a3b59aeeb5 Merge branch 'bugfix/clk_allocator' into 'master'
I2C: Fix logic issue on i2c clk allocator

See merge request espressif/esp-idf!11343
2020-11-26 18:18:52 +08:00
Omar Chebib a56a0921aa espcoredump: fix plain coredump written on an encrypted flash
The coredump is now encrypted when saved on an encrypted flash.
The cache used for saving the file onto the flash is bigger,
making the proccess more efficient.

Relates to IDF-458
Closes https://github.com/espressif/esp-idf/issues/2932
2020-11-26 16:28:32 +08:00
Anton Maklakov 01d8782393 Merge branch 'bugfix/pppos_app_test_python3' into 'master'
CI: Fix python3 issue on PPPoS app test

Closes IDFCI-251

See merge request espressif/esp-idf!11344
2020-11-26 11:12:11 +08:00
Michael (XIAO Xufeng) 665c7f05d2 Merge branch 'feature/uart_bringup_on_esp32s3' into 'master'
uart: bringup on esp32s3

Closes IDF-1768

See merge request espressif/esp-idf!11298
2020-11-26 10:45:17 +08:00
Island bebdd08e08 Merge branch 'optimize/ble_mesh_provision_dev_uuid_check' into 'master'
ble_mesh: stack: Need uuid when adding device for provisioning

See merge request espressif/esp-idf!11299
2020-11-26 10:36:10 +08:00
Omar Chebib ccaee8ce88 buildsystem: flash binary to a named partition
Add support for CMake version less than 3.8. These versions don't
provide a way to have ternary expressions in expressions generator.
2020-11-26 10:04:34 +08:00
Omar Chebib 956538e364 buildsystem: flash binary to a named partition
- Add the function esptool_py_flash_to_partition to flash a binary
image to a named partition. If encryption is enabled, this function
will also determine if the partition needs to be encrypted or not
according the its type, subtype and flag in the CSV file (if any).
- Use idf.py encrypted-flash will now flash both encrypted and
non-encrypted file if any (spiffs for example) using esptool.py's
--encrypt-files option.

Closes IDF-2387
Relates to IDF-723
Relates to IDF-2231
2020-11-26 10:04:34 +08:00
Roland Dobai 075d3a57ac partition_table: Fix missing argument not present for all parsers 2020-11-25 23:33:57 +01:00
David Cermak 8bd758b72a ci: Removed remaining binary size checks in app-tests
Also removes unused references to http-request app size in idf_performance.h
2020-11-25 21:22:18 +01:00
Mahavir Jain 0a933f66e3 Merge branch 'fix/https_server_mem_leak_for_error_ret' into 'master'
Fix/https server mem leak for error ret

Closes IDFGH-4300

See merge request espressif/esp-idf!11369
2020-11-26 00:11:58 +08:00
lly 992ceca71b ble_mesh: stack: Need uuid when adding device for provisioning 2020-11-25 20:51:23 +08:00
Anton Maklakov bf10c537e4 Merge branch 'bugfix/ci_espcoredump' into 'master'
tools: Fix non-existing key in espcoredump's GDMI payload and increase internal GDB delay for CI tests

Closes IDFCI-74 and IDFCI-226

See merge request espressif/esp-idf!11221
2020-11-25 19:16:24 +08:00
Michael (XIAO Xufeng) 5b97f4ab5b Merge branch 'feature/esp_flash_32b_addr_doc' into 'master'
spi_flash: add a block of flash chip supports in the document

See merge request espressif/esp-idf!9895
2020-11-25 17:01:12 +08:00
Aditya Patwardhan c707d0d323 Fixed ssl_ctx not being freed at the time of error.
Closes https://github.com/espressif/esp-idf/issues/6143
2020-11-25 13:47:38 +05:30
Cao Sen Miao 31afe8109f i2c: Fix bug on i2c clk allocator 2020-11-25 14:26:37 +08:00
Armando 05a4a8d864 uart: seperate sclk and baudrate setting 2020-11-24 19:12:52 +08:00
Armando fb8b905539 uart: add uart support on esp32s3 2020-11-24 19:12:51 +08:00
kapil.gupta 447eb894c0 esp_wifi: Always register pmf tx/rx routines
Fixes the issue when PMF packets are not sent after mode change.
2020-11-24 15:56:42 +05:30
Michael (XIAO Xufeng) af992c26bc Merge branch 'bugfix/fix_x32k_startup_slow_bug' into 'master'
bugfix: Fix xtal 32k not oscillate or oscillate too slowly issue for esp32

See merge request espressif/esp-idf!10519
2020-11-24 17:37:29 +08:00
Cao Sen Miao a610b3ac42 spi_flash: add a block of flash chip supports in the document 2020-11-24 15:46:53 +08:00
Angus Gratton 7446988959 Merge branch 'bugfix/secure_boot_v2_manual_enablement' into 'master'
Secure Boot V2: Fix an issue leading to manual enablement of Secure Boot v2.

See merge request espressif/esp-idf!11161
2020-11-24 15:39:00 +08:00
Michael (XIAO Xufeng) 10fd0c26d4 Merge branch 'bugfix/spi_fix_spi_ll_func_name' into 'master'
spi: fix rx_eof and out_eof related function names in spi_ll.h

See merge request espressif/esp-idf!11007
2020-11-24 12:25:04 +08:00
wangcheng d1bf93e055 component/bt: Add a macro to control the compilation of blufi. 2020-11-24 10:43:18 +08:00
wangcheng 714d88e426 component/bt: Fix a potential double free error. 2020-11-24 10:22:40 +08:00
wangcheng 709ad66d44 blufi: fix an error caused by incorrect conn_id parameters. 2020-11-24 10:22:32 +08:00
Island 58f11c0c33 Merge branch 'feat/ble_mesh_provisioner_recv_hb_support' into 'master'
ble_mesh: stack: Provisioner supports receiving heartbeat

Closes BLEMESH-259

See merge request espressif/esp-idf!11244
2020-11-23 20:02:33 +08:00
Jiang Jiang Jian e130d27fb7 Merge branch 'bugfix/control_wpa3_code_with_flag' into 'master'
Use WPA3 flag to reduce code size

Closes WIFI-2910 and IDFGH-4103

See merge request espressif/esp-idf!10963
2020-11-23 19:52:38 +08:00
chaijie a48b5246cc ESP32: Fix xtal 32k not oscillate or oscillate too slowly issue
ESP32 in revision0 and revision1 uses touchpad to provide
current to oscillate xtal 32k. But revision2 and revision3
do not need to do that.
Note: touchpad can not work and toupad/ULP wakeup sources
are not available when toupad provides current to xtal 32k
2020-11-23 19:38:11 +08:00
Angus Gratton d6bdd1cb32 Merge branch 'bugfix/small_cleanups' into 'master'
Small cleanups

See merge request espressif/esp-idf!11141
2020-11-23 17:23:53 +08:00
Supreet Deshpande 73d1be4281 Secure Boot V2: Fix an issue leading to manual enablement of Secure Boot v2.
Fixes https://github.com/espressif/esp-idf/issues/6050
2020-11-23 06:52:44 +00:00
Michael (XIAO Xufeng) 698ccb7604 Merge branch 'bugfix/remove_log_from_adc_set_init_code' into 'master'
Driver(ADC): remove ESP_LOGD from adc_set_init_code

Closes IDFGH-4233

See merge request espressif/esp-idf!11306
2020-11-23 14:46:16 +08:00
zhangyanjiao c0f4fdfd4d wpa_supplicant: Use WPA3 flag to reduce code size
Flag ESP32_WIFI_ENABLE_WPA3_SAE from Menuconfig is used to
control the stack size required by WPA3. Use the same flag
to compile out the WPA3 code and control the code size.
With this flag disabled code footprint reduces by about 7.7kB
in libwpa_supplicant.a
Update WiFi libs with added checks to cleanly handle disabling
of WPA3 callbacks.

Closes https://github.com/espressif/esp-idf/issues/5971
2020-11-23 14:28:12 +08:00
lly db4b87a771 ble_mesh: stack: Provisioner supports receiving heartbeat 2020-11-23 01:28:28 +00:00
David Cermak 916d2f6f4c esp_netif: Added test for failing to set hostname 2020-11-20 10:06:53 +00:00
David Cermak 7c4d3fbf8b esp_netif: Fixed possible use of hostname pointer after its freed
When setting hostname using esp_netif_set_hostname_api() failed for some reason, the netif pointer might be freed while lwip pointer stil point to that location and could be used. Fixed by moving the freeing and string duplication to the block where lwip hostname is set.

Closes https://github.com/espressif/esp-idf/issues/6048
2020-11-20 10:06:53 +00:00
Chen Yi Qun 579b842fd6 Driver(ADC): remove ESP_LOGD from adc_set_init_code
ESP_LOGD is called from adc_set_init_code, which is invoked from a critical section.

Closes: https://github.com/espressif/esp-idf/issues/6091
2020-11-20 07:10:09 +00:00
David Cermak 467e4d997b MQTT: Update submodule reference: config, error handle, minor fixes
Updates esp-mqtt reference to include fixes below related mainly to:
* configuration update (disable keepalive, network timeout)
* minor fixes (size_t for all sizes, unbalanced lock, api for
  outbox-size)
* extended error handle to include socket's errno

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

Config: Added config value to disable keepalive mechanism
esp-mqtt commit: 8562437c8a
Related https://github.com/espressif/esp-mqtt/issues/179

Added esp_mqtt_client_get_outbox_size API
esp-mqtt commit: 0a1d9d0300
Related https://github.com/espressif/esp-mqtt/pull/178

mqtt_outbox: Removed unused retry_count field from outbox_item_t
esp-mqtt commit: 673086e13a

config: Fixed typo for configuring OUTBOX_EXPIRED_TIMEOUT_MS
esp-mqtt commit: 259baaec96

Fixed missing MQTT_API_UNLOCK in esp_mqtt_client_stop error path
esp-mqtt commit: 845c2a3a1e
Related https://github.com/espressif/esp-mqtt/issues/173
Related https://github.com/espressif/esp-mqtt/pull/174

Extended mqtt error handle to capture transport's socket errno (IDF
v4.3+)
esp-mqtt commit: 23c8e1ecf5

Config: Added configuration value to set network timeout
esp-mqtt commit: a03228ac46
Related https://github.com/espressif/esp-mqtt/pull/166

Used size_t for all lengths to allow for other architectures
esp-mqtt commit: b9db8d9020
2020-11-19 17:17:40 +01:00
Mahavir Jain a1c2141f82 Merge branch 'bugfix/fix_mbedtls_dynamic_resource_memory_leak' into 'master'
fix(mbedtls): fix mbedtls dynamic resource memory leaks

Closes IDFGH-4251

See merge request espressif/esp-idf!9874
2020-11-19 22:18:54 +08:00
Armando 9c507982aa spi: fix spi_ll.h func name
On esp32 and esp32s2:
``spi_ll_dma_set_out_eof_generation`` is modified to
``spi_ll_dma_set_rx_eof_generation``.

``spi_dma_ll_set_rx_eof_generation`` is modified to
``spi_dma_ll_set_out_eof_generation``.

Because on ESP32S3, this bit ``out_eof_mode`` is moved to DMA related
registers.
2020-11-19 19:33:02 +08:00
Mahavir Jain 30bc5dec1a Merge branch 'bugfix/redirection' into 'master'
esp_http_client: Skip check for redirection counter if status code is success, fix issue with digest auth, configurable user agent string.

Closes IDFGH-4009 and IDFGH-4184

See merge request espressif/esp-idf!10707
2020-11-19 19:09:48 +08:00
Scott Shell 8c09fbf6f1 Make the UserAgent string in esp-http-client configurable
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6044
2020-11-19 14:43:14 +05:30
Shubham Kulkarni aceb38c326 http_auth.c: Fix crash when opaque field is not present in challenge string
Closes: https://github.com/espressif/esp-idf/issues/5888
2020-11-19 14:43:14 +05:30
Shubham Kulkarni 83f4ebf852 esp_http_client: Skip check for redirection counter if status code is success.
Set disable_auto_redirect in esp_http_client example to validate this condition in CI
2020-11-19 14:43:14 +05:30
David Čermák 4f0428a811 Merge branch 'feature/ws_server_subprotocols' into 'master'
http_server: adds support for setting websocket subprotocol

See merge request espressif/esp-idf!10783
2020-11-19 16:29:19 +08:00
Dong Heng 1c9592efc4 fix(mbedtls): fix mbedtls dynamic resource memory leaks and RSA cert drop earlier
RX process caches the session information in "ssl->in_ctr" not in "ssl->in_buf".
So when freeing the SSL, can't free the "ssl->in_ctr", because the "ssl->in_buf"
is empty.

Make the RX process like TX process, and cache the session information in
"ssl->in_buf", so that the cache buffer can be freed when freeing the SSL.

Closes https://github.com/espressif/esp-idf/issues/6104
2020-11-19 07:31:50 +00:00
xueyunfei 3b6014f5a0 fix bug for tcp recv assert 2020-11-19 12:16:49 +08:00
weitianhua 56f0978caa Add protection for interval_min when it comes to zero 2020-11-19 11:05:40 +08:00
Angus Gratton 2558830339 Merge branch 'bugfix/sha_lldesc_scop' into 'master'
SHA: fix dma lldesc going out of scope issue

See merge request espressif/esp-idf!11272
2020-11-19 10:07:31 +08:00
Roland Dobai 2ecf66eba3 tools: Wait and dump the initial messages during gdbmi initialization 2020-11-18 19:08:16 +01:00
Roland Dobai 82ee1d4683 tools: Increase the internal GDB response delay for espcoredump CI tests 2020-11-18 18:56:30 +01:00
Roland Dobai 646f3fb801 tools: Fix non-existing key in espcoredump's GDMI payload 2020-11-18 18:56:30 +01:00
Jiang Jiang Jian a139bceb0a Merge branch 'feature/11kv_roaming' into 'master'
esp_wifi: 11kv support for network assisted roaming

Closes WIFI-2471

See merge request espressif/esp-idf!9474
2020-11-18 20:40:36 +08:00
Michael (XIAO Xufeng) 9277306aef Merge branch 'bugfix/fix_rtc_wdt_in_light_sleep_process' into 'master'
RTC(bugfix): compile the regi2c_ctrl.c code to iram

See merge request espressif/esp-idf!10931
2020-11-18 20:30:25 +08:00
Michael (XIAO Xufeng) 6dbf72acf9 Merge branch 'bugfix/fix_driver_dac_ci_fail' into 'master'
Driver(DAC): fix testcase fail for DAC of esp32s2

See merge request espressif/esp-idf!10905
2020-11-18 20:30:03 +08:00
Island 2c11c029bb Merge branch 'optimize/ble_mesh_gattc_conn_param' into 'master'
ble_mesh: stack: Update connection parameters used by Central

See merge request espressif/esp-idf!11243
2020-11-18 14:38:40 +08:00
Marius Vikhammer 09e1d104ba SHA: fix dma lldesc going out of scope issue
DMA process didnt wait for idle before returning.
This meant that there was a potential for the dma
descriptors which were on the stack to be reclaimed
before the DMA operation finished.
2020-11-18 06:04:31 +00:00
Piyush Shah 85cb1e8ca3 protocomm_httpd: Change an info print to debug print as it isn't really required in the logs 2020-11-18 04:12:47 +00:00
Angus Gratton b798158b4c mbedtls: Avoid malloc in esp_sha() function 2020-11-17 22:51:32 +00:00
Angus Gratton 61f4be45ec fatfs: Make host sdkconfig compatible 2020-11-17 22:51:07 +00:00
Angus Gratton a4fb6c0173 mbedtls: Add missing sha_caps includes 2020-11-17 22:51:07 +00:00
Angus Gratton 6a19590132 esp_wifi: Remove redundant comment 2020-11-17 22:51:07 +00:00
Angus Gratton b8ebb86352 esp_common: Add JIRA link to esp_efuse_mac_get_custom() 2020-11-17 22:51:07 +00:00
Angus Gratton c842b7e5d9 Merge branch 'bugfix/add_dma_caps_to_memroy_used_by_async_mcp' into 'master'
async_mcp: add DMA capability to allocated memory

Closes IDFCI-234

See merge request espressif/esp-idf!11254
2020-11-18 06:49:50 +08:00
Angus Gratton bed20c84d7 Merge branch 'bugfix/esp32s2_embedded_flash' into 'master'
esp32s2: Fix embedded flash feature flag for ESP32-S2FH16, ESP32-S2FH32

Closes IDFGH-3872

See merge request espressif/esp-idf!11237
2020-11-18 06:27:14 +08:00
fuzhibo 9162f23c2e bugfix(dac): fix testcase fail for dac 2020-11-17 12:23:12 +00:00
morris 115069386b async_mcp: add DMA capability to allocated memory 2020-11-17 20:09:14 +08:00
lly 2e13e618b5 ble_mesh: stack: Update connection interval to 15ms 2020-11-17 11:58:23 +00:00
lly 6169636769 ble_mesh: stack: Update connection parameters used by Central 2020-11-17 11:58:23 +00:00
kapil.gupta 27101f9454 wpa_supplicant: Add initial roaming support
This commit adds different features from 802.11k and 802.11v
specifications to make the device ready for network assisted
roaming. It also adds initial framework for device to detect
whether it needs to move to a better AP.

Followings are added as part of this.

1. Support for sending neighbor report request and provide
   the report back to the APP.
2. Support for beacon measurement report.
3. Support for link measurement report.
4. Support for sending bss transition management query frame
   (triggered by the APP).
5. Support for bss transition management request and move
   to the candidate based on that.
6. Sending the bss transition management response.
2020-11-17 17:15:26 +05:30
Angus Gratton 19bf4aea74 esp32s2: Fix embedded flash feature flag for ESP32-S2FH16, ESP32-S2FH32
Corrects the output printed by the hello_world example.

Closes https://github.com/espressif/esp-idf/issues/5774
2020-11-17 18:16:25 +11:00
Angus Gratton 202e6c8984 Merge branch 'bugfix/fix_pthread_priority_inheritance' into 'master'
pthread: fix the priority inheritance

See merge request espressif/esp-idf!10094
2020-11-17 09:01:58 +08:00
Angus Gratton 6ce34a227e Merge branch 'feature/fatfs_fast_seek' into 'master'
feature/fatfs: enable the usage of fast-seek algorithm

See merge request espressif/esp-idf!9916
2020-11-17 07:17:31 +08:00
Angus Gratton 42a6b61132 Merge branch 'feature/console_repl_on_usb_cdc' into 'master'
console repl over usb cdc

Closes IDF-1644

See merge request espressif/esp-idf!8969
2020-11-17 07:14:16 +08:00
David Čermák ac477ad6b9 Merge branch 'feature/support_w5500_raw_mac' into 'master'
eth: support W5500 MAC RAW mode

Closes IDF-1749

See merge request espressif/esp-idf!11050
2020-11-16 19:35:00 +08:00
Jiang Jiang Jian 7abb2f0cbd Merge branch 'optimization/AP_STAIPASSIGNED_passes_IP_send_through_event_data' into 'master'
esp-event:AP_STAIPASSIGNED now passes the IP through 'event_data'

Closes IDFGH-1315

See merge request espressif/esp-idf!11072
2020-11-16 19:13:10 +08:00
morris b7ecccd901 test: fix several test build error 2020-11-16 13:30:49 +08:00
morris 1e905acacf eth: support W5500 MAC RAW mode
W5500 features an Ethernet MAC+PHY, plus a HW SOCKET implementation.
But in IDF, we only use software TCP/IP stack, which means we have
to bypass the HW TCP/IP stack in W5500.
So we enables the MAC RAW mode in W5500.
2020-11-16 13:30:49 +08:00
morris c5fe158929 doc: fix wrong register description regarding to ethernet SMI 2020-11-16 13:30:49 +08:00
Anton Maklakov 5475a19e13 Merge branch 'bugfix/component_ut_binary_file_path_invalid' into 'master'
CI: component_ut: fix esp_netif test path unmatch issue

Closes IDFCI-229

See merge request espressif/esp-idf!11213
2020-11-16 12:08:31 +08:00
Michael (XIAO Xufeng) 14944b181e Merge branch 'fix/soc_caps_spi_dummy_output_esp32' into 'master'
soc_caps.h: remove spi cap that is defined to 0

See merge request espressif/esp-idf!11203
2020-11-16 10:39:27 +08:00
Marius Vikhammer dcb09bac6a http_server: adds support for setting websocket subprotocol
Adds support for setting support subprotocol per websocket URI
2020-11-13 06:40:51 +00:00
xutao 28ca70cce5 pthread: fix the priority inheritance
When `pthread_mutex_destroy` is used to release mutex, `pthread_mutex_lock_internal` is used,
 which results in the increase of `uxmutexehold` and no recovery base priority
2020-11-13 06:30:11 +00:00
Michael (XIAO Xufeng) db0fec51e8 Merge branch 'feat/esp_flash_freq_using_divider' into 'master'
esp_flash: use divider rather than hard-coded freq in init code

See merge request espressif/esp-idf!10993
2020-11-13 11:43:22 +08:00
Michael (XIAO Xufeng) 7df8e06aff Merge branch 'bugfix/esp_flash_clear_WLE' into 'master'
esp_flash:fix bug about clearing WEL automatically after actions

Closes IDF-2187 and IDF-2188

See merge request espressif/esp-idf!10511
2020-11-13 11:19:44 +08:00
Michael (XIAO Xufeng) 099fca515d Merge branch 'bugfix/move_crypto_caps' into 'master'
SHA/RSA: moved all caps to soc_caps.h

Closes IDF-2300

See merge request espressif/esp-idf!11032
2020-11-13 11:06:44 +08:00
morris e039a28821 console: support create REPL over USB CDC 2020-11-13 10:51:40 +08:00
Angus Gratton 935e4b4d62 Merge branch 'feature/riscv_arch' into 'master'
Add RISC-V support

Closes IDF-2359

See merge request espressif/esp-idf!11140
2020-11-13 07:50:31 +08:00
Angus Gratton 8472f0a6bf Merge branch 'bugfix/heap_tlsf_overhead_tune' into 'master'
heap: reduce the per-pool overhead by tunning TLSF control structure

Closes IDF-2282

See merge request espressif/esp-idf!10907
2020-11-13 04:51:05 +08:00
Renz Bagaporo 4cc6b5571b esp_system: support riscv panic 2020-11-13 07:49:11 +11:00
Angus Gratton 420aef1ffe Updates for riscv support
* Target components pull in xtensa component directly
* Use CPU HAL where applicable
* Remove unnecessary xtensa headers
* Compilation changes necessary to support non-xtensa gcc types (ie int32_t/uint32_t is no
  longer signed/unsigned int).

Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
Angus Gratton 87e13baaf1 freertos: Add RISC-V port
Changes come from internal branch commit a6723fc
2020-11-13 07:49:11 +11:00
David Čermák d9ee120860 Merge branch 'feature/tcp_transport_error_handle' into 'master'
tcp transport: Added error handle to capture common errno

See merge request espressif/esp-idf!9737
2020-11-13 04:36:57 +08:00
Michael (XIAO Xufeng) caf83b88ba Merge branch 'feature/bringup_i2c_for_s3' into 'master'
I2C:  Add support for esp32s3 and add source clock allocator

Closes IDF-2011

See merge request espressif/esp-idf!10923
2020-11-12 22:12:58 +08:00
Michael (XIAO Xufeng) e7b97fe086 Merge branch 'bugfix/fix_wrong_rmt_channel_signal' into 'master'
Bugfix/fix wrong rmt channel signal

See merge request espressif/esp-idf!11194
2020-11-12 21:56:56 +08:00
David Cermak ce519ee783 tcp_transport: Extend transport error storage for socket error
Everytime we report error and log errno, we also capture the actual
errno to an internal storage so that user application can retrieve
its value.
2020-11-12 12:46:22 +00:00
Cao Sen Miao 11188d2143 esp_flash:fix bug about clearing WLE automatically after actions 2020-11-12 16:44:29 +08:00
Angus Gratton 1a35b5ac9b Merge branch 'feat/esp_flash_yield_refactor' into 'master'
esp_flash: refactor to support various type of yield

See merge request espressif/esp-idf!10425
2020-11-12 16:23:02 +08:00
Fu Hanxi ed6a30a9de CI: component_ut: fix esp_netif test path unmatch issue 2020-11-12 15:12:56 +08:00
Cao Sen Miao 6eee601cf6 i2c: Add supports on esp32s3 2020-11-12 11:32:45 +08:00
morris dc227c78e1 rmt: fix wrong signal assign on esp32 2020-11-12 10:31:38 +08:00
morris deea402cf4 timer: pooling update bit before reading count value 2020-11-12 10:31:38 +08:00
Michael (XIAO Xufeng) 5b6c965e99 soc_caps.h: remove spi cap that is defined to 0
According to the caps rule, for unsupported feature we don't define anything. 

Remove the define 0 that violates this rule.
2020-11-12 10:29:42 +08:00
Marius Vikhammer 488f46acf5 SHA/RSA: moved all caps to soc_caps.h 2020-11-12 02:15:46 +00:00
Felipe Neves 35ef4ffa99 heap: add tlsf config specific to the host test 2020-11-12 11:07:46 +11:00
Felipe Neves 60f79705a3 heap: tune the tlsf control structure to reduce per-pool overhead 2020-11-12 11:06:29 +11:00
Angus Gratton fccab8f4ef riscv: Add new arch-level component
Changes come from internal branch commit a6723fc
2020-11-12 09:33:18 +11:00
David Čermák fa1899b071 Merge branch 'bugfix/mdns_src_addr_cpy' into 'master'
mdns: Fix wrong mdns source address if lwIP IPv6 zoning disabled

Closes IDFGH-4196

See merge request espressif/esp-idf!11145
2020-11-12 00:15:41 +08:00
David Čermák 807a9b111d Merge branch 'bugfix/mqtt_outbox_timeout_default' into 'master'
MQTT: Restore default MQTT_OUTBOX_EXPIRED_TIMEOUT_MS to 30 sec

Closes IDFGH-4221

See merge request espressif/esp-idf!11181
2020-11-12 00:09:09 +08:00
David Cermak 7ac97616c1 mdns: Fix wrong mdns source address if lwIP IPv6 zones disabled
The struct definition of ip6_addr_t in lwip and esp_ip6_addr_t
differs since zone could be possibly disabled in lwip. Using memcpy to copy the
address will cause wrong source address. Copy the entries manually
instead.

Merges https://github.com/espressif/esp-idf/pull/6055
2020-11-11 11:56:44 +00:00
Angus Gratton 66fb5a29bb Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Angus Gratton e82eac4354 cmake: Apply cmakelint fixes 2020-11-11 07:36:35 +00:00
Angus Gratton a7ae0ee1fa nvs_partition_generator: Strip trailing whitespace in "hex2bin" input files 2020-11-11 07:36:35 +00:00
Angus Gratton 60ba7e4ae2 test_nvs_host: Fail on any non-zero exit code when running external tools
Check for != -1 was not picking up Python errors as WEXITSTATUS evaluates to 254 (at least on Linux)
2020-11-11 07:36:35 +00:00
Angus Gratton ad4a10d7c1 Merge branch 'bugfix/efuse_change_burn_order_for_s2_s3' into 'master'
efuse: Fix the order of writing in batch mode

See merge request espressif/esp-idf!11067
2020-11-11 14:49:20 +08:00
Jiang Jiang Jian 5f49ad24a9 Merge branch 'bugfix/fix_assert_in_passkey_reply' into 'master'
Bugfix/fix assert in passkey reply

Closes BT-1090

See merge request espressif/esp-idf!10962
2020-11-11 11:35:35 +08:00
Jiang Jiang Jian b9ca112d56 Merge branch 'bugfix/fix_crash_caused_by_calling_deinit_directly' into 'master'
Fix crash caused by calling a2dp_deinit directly

Closes BT-1129

See merge request espressif/esp-idf!11129
2020-11-11 11:35:03 +08:00
Jiang Jiang Jian 48a9b685e5 Merge branch 'bugfix/wpa3_pmkcache_expiry_workaround' into 'master'
wpa_supplicant: Increase PMK Lifetime to a very high value

See merge request espressif/esp-idf!11168
2020-11-11 11:29:29 +08:00
Jiang Jiang Jian 37a262f209 Merge branch 'bugfix/wifi_fix_beacon_dtim_count_error' into 'master'
Wi-Fi: set softap beacon DTIM count according to TSF timer

See merge request espressif/esp-idf!11172
2020-11-11 11:27:00 +08:00
Island a885a13582 Merge branch 'bugfix/ble_mesh_wrong_func_declaration' into 'master'
ble_mesh: stack: Fix wrong declaration of node bind AppKey func

See merge request espressif/esp-idf!11175
2020-11-11 10:59:57 +08:00
Angus Gratton 8c8634d683 Merge branch 'feature/esp_timer_task_uses_freertos_notification' into 'master'
esp_timer: Use Task Notification instead of semaphore

See merge request espressif/esp-idf!10991
2020-11-11 10:50:20 +08:00
Michael (XIAO Xufeng) ee40f02afc esp_flash: use divider rather than hard-coded freq in init code 2020-11-10 19:09:17 +08:00