Commit graph

8529 commits

Author SHA1 Message Date
David Cermak ecb419da2f soc: minor header fix typo and include of sdkconfig 2020-03-13 12:53:52 +01:00
Jiang Jiang Jian 0ae960f2fe Merge branch 'feature/support_esp32s2_mac_addr_offset' into 'master'
Add mac address offset for some esp32s2.

See merge request espressif/esp-idf!7855
2020-03-13 19:47:33 +08:00
Jiang Jiang Jian 57ad4afe7d Merge branch 'bugfix/fix_esp32s2_enable_multi_phy_init_data_bin_err' into 'master'
esp32s2: fix when enable multi phy init data bin compile err.

Closes IDF-1459

See merge request espressif/esp-idf!7936
2020-03-13 19:47:00 +08:00
Jiang Jiang Jian df56535b7a Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled' into 'master'
Bugfix/compiler err when performance optimization enabled

Closes BT-688

See merge request espressif/esp-idf!7958
2020-03-13 19:41:59 +08:00
Marius Vikhammer e21bef3f28 mpi: active hw accel for S2
Actives MPI/RSA hardware acceleratio for ESP32 S2.

Closes IDF-803
2020-03-13 18:33:18 +08:00
Ivan Grokhotkov 6afc116036 nvs: enable address sanitizer in host tests when building with clang 2020-03-13 11:29:39 +01:00
Ivan Grokhotkov d2526e6dda nvs: fix out of bounds array access in host test 2020-03-13 11:29:39 +01:00
Ivan Grokhotkov db34a4d031 nvs: add test for erase cycles distribution 2020-03-13 11:29:39 +01:00
Ivan Grokhotkov 0cbbd948c0 nvs: clean coverage files on rebuild
Fixes errors reported by libgcov related to merging debug information.
2020-03-13 11:28:04 +01:00
Ivan Grokhotkov 64ceab0069 Merge branch 'feature/aes_sha_accel_s2' into 'master'
crypto: SHA and AES accelerator bring up for S2

Closes IDF-1443, IDF-714, and IDF-716

See merge request espressif/esp-idf!7825
2020-03-13 18:21:09 +08:00
Jiang Jiang Jian 0367fe461e Merge branch 'bugfix/ble_mesh_miscellaneous_fix' into 'master'
Bugfix/ble mesh miscellaneous fix

Closes BLEMESH-174

See merge request espressif/esp-idf!7881
2020-03-13 17:50:26 +08:00
xiehang afa4dbae16 esp_wifi: Fix ESP32S2 wifi log not printing 2020-03-13 14:48:18 +08:00
xiehang e4698f8473 esp_wifi: Fix scan get rssi err
Remove software modify rssi
2020-03-13 12:35:49 +08:00
Jiang Jiang Jian ad7dfb77c4 Merge branch 'bugfix/reduce_wifi_bin_size' into 'master'
esp_wifi: Reduce Bin size

Closes WIFI-9

See merge request espressif/esp-idf!7781
2020-03-13 12:20:50 +08:00
Michael (XIAO Xufeng) a3c9a864ab Merge branch 'feat/spi_caps_control_dummy' into 'master'
spi_flash: add caps for dummy output control

See merge request espressif/esp-idf!7534
2020-03-12 22:23:49 +08:00
Mahavir Jain 453b65a608 Merge branch 'feature/upgrade_mbedtls_to_v2.16.4' into 'master'
mbedtls: upgrade to release v2.16.5

Closes IDFGH-2638

See merge request espressif/esp-idf!7607
2020-03-12 18:08:33 +08:00
lly 2ed1724fc2 ble_mesh: Move dev_role to the end of model_pub 2020-03-12 17:48:09 +08:00
lly 5a90ea3048 ble_mesh: Use the right netkey during iv update 2020-03-12 17:43:19 +08:00
lly 37466d957d ble_mesh: Use the right net_idx & app_idx for publish 2020-03-12 17:43:19 +08:00
lly 1795107533 ble_mesh: Check buf->ref before unref the buffer 2020-03-12 17:43:19 +08:00
lly 2b80649a79 ble_mesh: Fix mesh memory use-after-free issue 2020-03-12 17:43:19 +08:00
lly 08080edb1b ble_mesh: Add ble mesh deinit in btc task 2020-03-12 17:43:19 +08:00
lly 9d3ad04667 ble_mesh: Free beacon timer when deinit mesh 2020-03-12 17:43:19 +08:00
lly 13ab2f4015 ble_mesh: Use lock for mesh timer operations 2020-03-12 17:43:19 +08:00
weitianhua 0d2790a429 Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled 2020-03-12 16:20:58 +08:00
weitianhua b86f4d4f00 Fix mem_start uninitialized error when compiler optimization performance enabled 2020-03-12 15:07:03 +08:00
Marius Vikhammer 3351376a11 AES: optimize AES-GCM
HW acceleration for GCM is now enabled by default

Closes IDF-1443
2020-03-12 10:20:24 +08:00
michael 3b1fa7b8f0 spi_flash: add caps for dummy output control 2020-03-11 16:13:39 +00:00
Jiang Jiang Jian 640c7c5107 Merge branch 'bugfix/select_waiting_assert' into 'master'
lw-ip:fix bug for after udp close select_waiting assert

Closes WIFI-1622

See merge request espressif/esp-idf!7400
2020-03-11 21:15:57 +08:00
Mahavir Jain 1cde594460 Merge branch 'bugfix/change_function_pointer_esp_crt_bundle_attach' into 'master'
esp_tls: change argument pointer type to (void *) for esp_crt_bundle_attach

See merge request espressif/esp-idf!7947
2020-03-11 19:39:47 +08:00
Ivan Grokhotkov dbdcd26902 Merge branch 'bugfix/fix_default_console_gpio_on_esp32s2' into 'master'
esp32s2: fix default console GPIO

See merge request espressif/esp-idf!7938
2020-03-11 18:39:17 +08:00
Aditya Patwardhan 874e987a3b esp_tls: change argument pointer type to (void *) for esp_crt_bundle_attach 2020-03-11 15:54:05 +05:30
KonstantinKondrashov 912028273d efuse: Using IDF_ENV_FPGA in UTs 2020-03-11 18:22:07 +08:00
KonstantinKondrashov 4c5d26085f efuse/esp32s2: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug 2020-03-11 18:22:07 +08:00
KonstantinKondrashov ae90d5f39f efuse/esp32: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-03-11 18:22:07 +08:00
xueyunfei e3ff1efe65 fix bug for after udp close select_waiting assert 2020-03-11 10:03:40 +00:00
ChenJianxing 5019419496 esp32s2: fix when enable multi phy init data bin compile err. 2020-03-11 18:03:21 +08:00
Marius Vikhammer 37369a8a57 crypto: SHA and AES accelerator bring up for S2
Brings up, fixes and enables AES and SHA hardware acceleration.

Closes IDF-714
Closes IDF-716
2020-03-11 15:09:45 +08:00
Angus Gratton 59381b60c0 Merge branch 'refactor/hal_function_set_exception_vector_table' into 'master'
soc: add hal api to set exception vector table base address

See merge request espressif/esp-idf!7905
2020-03-11 14:44:42 +08:00
Angus Gratton 694e22b41a Merge branch 'feature/multi_target_performance_test' into 'master'
Add multi-target support for performance tests

Closes IDF-1137 and IDF-1113

See merge request espressif/esp-idf!7831
2020-03-11 14:38:51 +08:00
Angus Gratton f2d310fea7 secure boot: Fix anti-fault value if hash is shorter than curve
(Not actually a problem with SBV1 anti-fault as hash size == curve size in this case.)
2020-03-11 17:17:20 +11:00
Mahavir Jain 02d2903e39 mbedtls: upgrade to release v2.16.5
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released

Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-03-11 05:17:33 +00:00
ChenJianxing a6c27619f2 add mac address offset for some esp32s2. 2020-03-11 13:17:23 +08:00
morris 6cb7d82120 esp32s2: fix default console GPIO
on ESP32-S2, the default GPIO used for UART0 is: TX-43, RX-44
2020-03-11 12:30:29 +08:00
KonstantinKondrashov fc03161f70 app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
Closes: IDF-1342
2020-03-10 20:26:03 +08:00
Renz Bagaporo ee519634a5 esp_system: retain backtrace no space 2020-03-10 19:56:24 +08:00
Renz Bagaporo 7cc8cb68bd esp_system: suppress reason display on software abort panic 2020-03-10 19:56:24 +08:00
Renz Bagaporo 890510aecd esp32, esp32s2: move reset reason source to esp_system 2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo 84e80a3e50 soc: remove sdio slave hal source file duplicate 2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo 29ebfc3f46 esp_system: let panic handler break on debug mode on software abort 2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo af9b1131a3 esp_system: share abort panic with port layer 2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo 2855bb6f0a newlib: move abort to newlib 2020-03-10 19:56:24 +08:00
Renz Christian Bagaporo 2b100789b7 esp32, esp32s2: move panic handling code to new component 2020-03-10 19:56:24 +08:00
Jiang Jiang Jian 06fa9476a5 Merge branch 'bugfix/fix_controller_disable_re_enable_crash' into 'master'
bugfix: fix the crash bug after controller disable and re-enable in ble bt

Closes BCI-91 and BCI-28

See merge request espressif/esp-idf!7775
2020-03-10 18:13:17 +08:00
xiehang 7569e34e89 esp_wifi: Reduce Bin size
1. Disable WiFi API parameter checking log
2. Optimize wifi log
2020-03-10 17:45:06 +08:00
Jiang Jiang Jian a30557ca31 Merge branch 'mesh/feature_chain_topology' into 'master'
Mesh/feature chain topology

Closes WIFI-1726

See merge request espressif/esp-idf!7215
2020-03-10 17:41:11 +08:00
Andrei Gramakov 08543533d8 tinyusb: switch to esp-develop branch 2020-03-09 14:49:29 +01:00
Roland Dobai 15884eccf2 Add multi-target support for performance tests 2020-03-09 13:41:56 +01:00
Ivan Grokhotkov 95c275109b Merge branch 'refactor/add_target_name_for_parttool' into 'master'
parttool: don't print target name

See merge request espressif/esp-idf!7904
2020-03-09 18:57:44 +08:00
gengyuchao df3f2f4cb0 bugfix/fix_controller_disable_re_enable_crash 2020-03-09 17:40:06 +08:00
Michael (XIAO Xufeng) 81daaff050 Merge branch 'feature/usb_component' into 'master'
Feature/usb component

See merge request espressif/esp-idf!6897
2020-03-09 16:53:55 +08:00
morris 46ea7d815d parttool: don't print target name 2020-03-09 15:05:04 +08:00
Andrei Gramakov 9d059be165 usb: added a tinyusb component; ci; soc.
ci: ignore s2-only projects from the cmake-make test
soc: refactored the usb part
2020-03-09 07:55:06 +01:00
xueyunfei f7d2aa96bd fix bug for netconn marked close crash 2020-03-09 06:32:41 +00:00
Angus Gratton c1871437c8 Merge branch 'bugfix/console_repl_build_failure' into 'master'
bugfix reported on GitHub (ethernet, console, i2ctool)

Closes IDFGH-2780, IDFGH-2361, and IDFGH-2829

See merge request espressif/esp-idf!7886
2020-03-09 14:26:39 +08:00
Angus Gratton df9d3c6e43 Merge branch 'refactor/print_app_description_on_startup' into 'master'
esp32s2: print app description on startup

See merge request espressif/esp-idf!7899
2020-03-09 14:05:04 +08:00
qiyuexia 7bd03faa4b mesh: add chain topology 2020-03-09 06:00:42 +00:00
Jiang Jiang Jian c2f2b0e490 Merge branch 'bugfix/Add_tx_packets_size_check' into 'master'
esp_wifi: Add TX packets size check

See merge request espressif/esp-idf!7859
2020-03-09 13:51:57 +08:00
Angus Gratton f21079a06d Merge branch 'bugfix/duplicate_sdio_slave_hal' into 'master'
soc: remove duplicate sdio_slave_hal.c

See merge request espressif/esp-idf!7874
2020-03-09 13:35:58 +08:00
Ivan Grokhotkov 80f50471bf Merge branch 'bugfix/coredump_no_ext_stacks' into 'master'
core dump: don't allow core dumps to Flash if PSRAM is used for stacks

See merge request espressif/esp-idf!7835
2020-03-07 18:07:10 +08:00
Ivan Grokhotkov 8caeb6adfa Merge branch 'bugfix/bootloader_O0_align_error' into 'master'
bootloader_support: force alignment of flash_read argument

See merge request espressif/esp-idf!7860
2020-03-07 18:06:30 +08:00
morris 46a3f3e516 console: make uart param configurable
Closes https://github.com/espressif/esp-idf/issues/4845
2020-03-07 13:23:23 +08:00
morris 0a7ccb8095 ethernet: fix potential null pointer dereference
Closes https://github.com/espressif/esp-idf/issues/4890
2020-03-07 12:12:29 +08:00
morris 8b6c0947c7 soc: add hal api to set exception vector table base address 2020-03-06 20:23:30 +08:00
morris ddcba3d574 bootloader_support: read random from register 2020-03-06 15:32:01 +08:00
xiehang 91bcd5eb63 esp_wifi: Add TX packets size check 2020-03-06 15:27:24 +08:00
morris f735b8891e esp32s2: print app description on startup 2020-03-06 15:24:28 +08:00
Angus Gratton a9854f7085 Merge branch 'feature/rmt_clock_support_ref_tick' into 'master'
rmt: support ref tick && refactor unit test && re-enable unit test on ESP32-S2

Closes IDFGH-1715

See merge request espressif/esp-idf!7614
2020-03-06 15:03:52 +08:00
Angus Gratton 46e6307e07 Merge branch 'bugfix/fix_passing_argument_to_ulp_cmake_script' into 'master'
Fix passing argument to ULP CMake script

See merge request espressif/esp-idf!7845
2020-03-06 14:37:03 +08:00
Angus Gratton 2f1815f74e Merge branch 'bugfix/cmake_issues' into 'master'
CMake bugfixes

See merge request espressif/esp-idf!7605
2020-03-06 14:36:59 +08:00
Angus Gratton 0e0efa28be Merge branch 'test/stdatomic_ut' into 'master'
atomic: support fetch_and, fetch_and and fetch_xor

See merge request espressif/esp-idf!7852
2020-03-06 14:32:02 +08:00
Angus Gratton f393938c22 Merge branch 'bugfix/remove_esp32s2_esp_intr_header' into 'master'
esp32s2: remove esp_intr.h header

See merge request espressif/esp-idf!7883
2020-03-06 14:30:28 +08:00
Angus Gratton b393203b27 Merge branch 'feature/x509_cert_management' into 'master'
X509 certificate management

Closes IDF-296

See merge request espressif/esp-idf!5346
2020-03-06 14:29:53 +08:00
Angus Gratton 86eee73ff0 Merge branch 'bugfix/aligned_alloc_without_poisoning' into 'master'
bugfix/heap: Make aligned alloc and aligned free available to all heap poisoning configurations

See merge request espressif/esp-idf!7822
2020-03-06 14:11:20 +08:00
Angus Gratton 02e9e0621e Merge branch 'bugfix/display_partition_table_info' into 'master'
partition_table: output partition table info for partition_table target

See merge request espressif/esp-idf!7638
2020-03-06 14:09:09 +08:00
Jiang Jiang Jian b184504a84 Merge branch 'feature/support_multiple_phy_init_data_bin' into 'master'
feature: support multiple phy init data

Closes WIFI-648

See merge request espressif/esp-idf!6399
2020-03-06 12:20:43 +08:00
Michael (XIAO Xufeng) 8e348dcdcd Merge branch 'bugfix/fix_driver_ut_i2s' into 'master'
bugfix(i2s): fix driver ut i2s

See merge request espressif/esp-idf!6946
2020-03-06 11:55:07 +08:00
Jiang Jiang Jian b7a14c47e6 Merge branch 'bugfix/customer_baidu_psram_stack_backtrace' into 'master'
added psram stack check in backtrace

See merge request espressif/esp-idf!7834
2020-03-06 11:35:54 +08:00
Prasad Alatkar 48bd2d74b4 NimBLE: Add Host based privacy (RPA) feature support
- This feature removes dependency on controller to use privacy (RPA)
2020-03-06 11:02:18 +08:00
David Cermak ab8cab1c55 mdns: limit the GOT_IP6_EVENT to only known network interfaces 2020-03-05 18:46:48 +00:00
David Cermak eae8eaa55f esp-netif-ppp: support for posting GOT_IP event for IPv6 2020-03-05 18:46:48 +00:00
Francesco Giancane 872272e23a lwip: make IPV6 link-local support over PPP configurable
Make the link local negotiation for IPV6 in PPP optional and
configurable.
This is because some modems do not support the IPV6 negotiation and
sending IPV6CP frames would in some cases break the network
configuration phase, resulting in a timeout during the Phase Network.

Please note that this does not disable the IPV6 support for the outgoing
communication (IPV6 is still enabled even if this option is not
selected) but just for the local link between lwIP and modem.

Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>

Merges https://github.com/espressif/esp-idf/pull/4782
Closes https://github.com/espressif/esp-idf/issues/1065
2020-03-05 18:46:48 +00:00
Felipe Neves d495f175d5 heap: pushed down all the aligned_alloc / free implementation 2020-03-05 11:02:19 -03:00
Renz Bagaporo 71c02394e5 esp32s2: remove esp_intr.h header 2020-03-05 16:15:59 +08:00
ronghulin ffd8c26780 feature: support multiple PHY init data 2020-03-05 16:14:00 +08:00
Jiang Jiang Jian 1e95cf3111 Merge branch 'bugfix/btdm_assert_when_create_connection_cancel' into 'master'
components/bt: Fix assert when create conntion cancel

See merge request espressif/esp-idf!7816
2020-03-05 14:52:36 +08:00
Prasad Alatkar ee1ab95b98 NimBLE: Fix check for static random address & add MSYS_1 in menuconfig
Closes BT-522 & BT-523
2020-03-05 13:53:04 +08:00
Renz Bagaporo 5f3a689a89 soc: remove duplicate sdio_slave_hal.c 2020-03-05 12:47:54 +08:00
Renz Christian Bagaporo 709d139a25 partition_table: output partition table info for partition_table target 2020-03-05 11:04:09 +08:00
Mahavir Jain 582f5dd697 Merge branch 'feature/https_server_mutual_auth_PR' into 'master'
Feature/https_server_mutual_auth

Closes IDFGH-2004

See merge request espressif/esp-idf!7626
2020-03-04 17:41:28 +08:00
Ivan Grokhotkov 22516b256f bootloader_support: force alignment of flash_read argument 2020-03-04 09:56:01 +01:00
Jiang Jiang Jian 5724083510 Merge branch 'bugfix/coex_adjust_scheme_when_bt_is_in_connected_status' into 'master'
coexist: adjust coexist scheme when BT is in connected status

Closes BT-635 and WIFI-1743

See merge request espressif/esp-idf!7752
2020-03-04 15:33:09 +08:00
Michael (XIAO Xufeng) bd7b2261a7 Merge branch 'bugfix/fix_esp32s2_soc_bug' into 'master'
bugfix(soc/rtc): fix soc/rtc code for esp32s2

See merge request espressif/esp-idf!7819
2020-03-04 14:07:41 +08:00
Xia Xiaotian 5aba95a326 coexist: adjust coexist scheme when BT is in connected status 2020-03-04 13:40:11 +08:00
Jiang Jiang Jian 4d0834359f Merge branch 'feature/wpa3_testcases_support' into 'master'
esp_wifi: Support for additional WPA3 testcases

See merge request espressif/esp-idf!7459
2020-03-04 13:33:00 +08:00
Michael (XIAO Xufeng) 9e12586ab7 esp_common: new unit test benchmarking stdatomic operations 2020-03-04 12:20:23 +08:00
Michael (XIAO Xufeng) 8434845050 atomic: support fetch_and, fetch_and and fetch_xor 2020-03-04 11:35:23 +08:00
Mahavir Jain 5f771fb7be Merge branch 'bugfix/esp_wifi_memory_leak_test_failure' into 'master'
esp_wifi: fix occasional test failure due to memory leak indications

See merge request espressif/esp-idf!7823
2020-03-04 11:16:04 +08:00
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
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
kapil.gupta c634de1532 esp-wifi: Fix crash during WEP shared auth
VNC 1181
WIFI Lib: 526
2020-03-03 17:29:03 +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
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
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
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 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
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
xiehang 299ab1360c eps_wifi: Add wifi stop check at wifi deinit entry 2020-03-02 14:20:28 +08: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
Renz Christian Bagaporo eb865008d5 cmake: show error message on encrypted flash targets without proper config 2020-03-02 07:18:22 +05:00
Jiang Jiang Jian 6fd855ab8d Merge branch 'bugfix/IPV6_multicast_adress_error' into 'master'
lw-ip:fix ipv6 bug when input the wrong broadcast

Closes IDF-1226

See merge request espressif/esp-idf!7771
2020-02-29 16:24:19 +08:00
Felipe Neves 98e561b79a heap: added aligned alloc implementation on multi_heap layer 2020-02-28 13:17:34 -03:00
liu zhifu 6fa0ef50d1 esp_wifi: fix S2 WiFi RX filter issue 2020-02-28 21:37:30 +08:00
Jiang Jiang Jian 520ae6543d Merge branch 'bugfix/add_ant_field_for_esp32s2' into 'master'
(S2) WiFi: add ant field for esp32s2 and update phy lib v102 to v202

Closes WIFI-1787 and WIFI-1788

See merge request espressif/esp-idf!7676
2020-02-28 21:17:40 +08:00
baohongde d2aa4a1e50 components/bt: Fix assert when create conntion cancel 2020-02-28 20:13:41 +08:00
ChenJianxing a182c0682e (S2) WiFi: add ant field for esp32s2 and update phy lib from v102 to v202 2020-02-28 17:44:21 +08:00
Jiang Jiang Jian 40baff19f8 Merge branch 'bugfix/btdm_div_by_zero_in_slp_clk_conversion' into 'master'
bugfix/btdm_div_by_zero_in_slp_clk_conversion

See merge request espressif/esp-idf!7785
2020-02-28 17:19:40 +08:00
liu zhifu 940b4786c5 esp_wifi: fix the bug that WiFi stop leads to memory leak 2020-02-28 12:06:26 +08:00
xueyunfei 74e690402c fix ipv6 bug when input the wrong broadcast 2020-02-28 12:00:45 +08:00
Angus Gratton 04ccb84b83 Merge branch 'feature/cpu_abstraction' into 'master'
CPU related operations abstraction

See merge request espressif/esp-idf!7301
2020-02-28 11:54:29 +08:00
wangmengyang 3428a1ad0b component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled 2020-02-28 11:36:48 +08:00
Mahavir Jain 2187948cf0 Merge branch 'bugfix/use_less_ram_for_esp_event_performance_test' into 'master'
esp_event: reduce event bases registered in performance test

See merge request espressif/esp-idf!7807
2020-02-28 11:25:24 +08:00