Michael (XIAO Xufeng)
37423083bb
spi_flash: add config option to override flash size in bootloader header
...
Sometimes the flash size read from bootloader is not correct. This may
forbid SPI Flash driver from reading the the area larger than the size
in bootloader header.
When the new config option is enabled, the latest configured
ESPTOOLPY_FLAHSIZE in the app header will be used to override the value
read from bootloader header.
2020-09-02 00:35:53 +08:00
Michael (XIAO Xufeng)
ea63bd3de4
Merge branch 'feat/extract_hal_from_soc' into 'master'
...
hal: extract hal component from soc component
See merge request espressif/esp-idf!9992
2020-09-01 23:56:15 +08:00
Ivan Grokhotkov
7da6d6c1b5
Merge branch 'bugfix/get_time_in_less_than_microsecond' into 'master'
...
esp_timer: inline is initialized check
See merge request espressif/esp-idf!10080
2020-09-01 23:29:14 +08:00
Ivan Grokhotkov
2ee480163d
Merge branch 'bugfix/disable_failing_ut_for_S2' into 'master'
...
esp_system: Disable UTs for ESP32-S2 linked to sleep mode
See merge request espressif/esp-idf!10235
2020-09-01 23:18:24 +08:00
Michael (XIAO Xufeng)
9d09f739da
Merge branch 'refactor/unit_test_ref_clock' into 'master'
...
unit_test:refactor ref clock to use RMT carrier
See merge request espressif/esp-idf!10045
2020-09-01 22:13:03 +08:00
Jiang Jiang Jian
2e65e3a7d1
Merge branch 'bugfix/fix_softAP_set_channel_bug' into 'master'
...
esp_wifi: fix softAP set channel bug
Closes WIFI-2575 and WIFI-1972
See merge request espressif/esp-idf!10134
2020-09-01 21:20:03 +08:00
KonstantinKondrashov
b1e667cdcc
esp_system: Disable UTs for ESP32-S2 linked to sleep mode
...
- disable source trigger behavior
- light sleep followed by deep sleep
- wake up from light sleep using timer
2020-09-01 17:10:28 +08:00
weitianhua
9b57366908
Change PCM config to the right position
2020-09-01 16:05:01 +08:00
Island
cfd13d8c90
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect' into 'master'
...
component/bt: fix Blufi sends data after disconnecting the seq still increase
See merge request espressif/esp-idf!10217
2020-09-01 15:38:26 +08:00
Mahavir Jain
ae15603c91
Merge branch 'bugfix/ota_documentation' into 'master'
...
Update OTA README, set custom headers in esp_https_ota
Closes IDFGH-3535 and IDFGH-3619
See merge request espressif/esp-idf!10053
2020-09-01 15:36:06 +08:00
Renz Bagaporo
e70f240e12
esp_timer: do init check in timer implementation
2020-09-01 15:01:11 +08:00
zhangyanjiao
f8ea1f0045
esp_wifi:
...
1. get primary channel from HT info
2. fix the bug that set_channel doesn't work for softAP when STA connects
2020-09-01 14:46:50 +08:00
Marius Vikhammer
0ea20bed43
MQTT: add configurable msg expired timeout
2020-09-01 06:40:18 +00:00
Wu Bo Wen
a8b5592762
ci: quick fix for adc-calib failures
2020-09-01 14:01:58 +08:00
Michael (XIAO Xufeng)
5425ef4ee4
hal: extract hal component from soc component
2020-09-01 13:25:32 +08:00
XieWenxiang
e92c2f553b
component/bt: fix Blufi sends data after disconnect the seq still increase
2020-09-01 09:54:14 +08:00
Michael (XIAO Xufeng)
2d440e408a
esp_flash: fix the data type of delay_us
...
unsigned can be 16-bit on some architecture, which doesn't meet the
requirements of delaying for several hundreds of us.
2020-08-31 18:10:32 +00:00
David Čermák
ffd7f39189
Merge branch 'feature/mqtt_sub_update_01594bf1' into 'master'
...
MQTT: Update submodule reference to 01594bf11
Closes IDFGH-3408, IDFGH-3217, IDFGH-3565, IDFGH-3710, IDFGH-3786, IDF-2006, and IDFGH-3748
See merge request espressif/esp-idf!10079
2020-08-31 21:17:09 +08:00
Krzysztof Budzynski
94cc8fc4b3
Merge branch 'doc/tinyusb' into 'master'
...
TinyUSB documentation
See merge request espressif/esp-idf!8862
2020-08-31 20:57:29 +08:00
Jiang Jiang Jian
80969f5a4c
Merge branch 'bugfix/esp_wifi_log_level' into 'master'
...
wifi: Fix esp_wifi log levels
Closes WIFI-2543 and WIFI-2706
See merge request espressif/esp-idf!9830
2020-08-31 18:40:20 +08:00
Jiang Jiang Jian
16e0ff273c
Merge branch 'bugfix/enter_sniff_mode_attr_err' into 'master'
...
bugfix/enter_sniff_mode_attr_err
See merge request espressif/esp-idf!9407
2020-08-31 14:28:57 +08:00
morris
4dd649d533
unit_test:refactor ref clock to use RMT carrier
2020-08-31 14:25:23 +08:00
David Čermák
9bc2773b22
Merge branch 'bugfix/ws_stop_deadlock' into 'master'
...
Websocket client: avoid deadlock if stop called from event handler
See merge request espressif/esp-idf!9963
2020-08-31 14:17:28 +08:00
Michael (XIAO Xufeng)
2b323e7180
Merge branch 'bugfix/fix_dac_driver_ut' into 'master'
...
Driver(dac): fix DAC-DMA driver and unit test
Closes IDF-1407
See merge request espressif/esp-idf!8814
2020-08-31 00:05:34 +08:00
Michael (XIAO Xufeng)
7876d7f5a6
Merge branch 'bugfix/add_adc-dma_for_esp32' into 'master'
...
driver(adc): add adc-dma code for esp32
Closes IDF-1407
See merge request espressif/esp-idf!9139
2020-08-30 23:27:13 +08:00
Shubham Kulkarni
c4d16e9f79
esp_https_ota: Add a feature to set custom headers to esp_https_ota request
...
Closes: https://github.com/espressif/esp-idf/issues/3097
2020-08-29 09:05:52 +00:00
Marius Vikhammer
2d67e37c6f
MQTT: Update submodule reference
...
SSL: add config option for skipping common name check
esp-mqtt commit: 5e8950e681
)
Closes https://github.com/espressif/esp-mqtt/issues/158
SSL: add support for tls with secure element (ATECC608A)
esp-mqtt commit: a7ff9afa3f
)
Closes https://github.com/espressif/esp-mqtt/issues/156
Websocket: Allow the query part of the uri to be a part of the path
esp-mqtt commit: 40b06deb10
)
Closes https://github.com/espressif/esp-mqtt/issues/161
Config: Add check for consistency between config settings
esp-mqtt commit: 8a412c147d
)
Add IDF version check for secure element feature
esp-mqtt commit: db4bce01ab
)
Fix esp_mqtt_client_stop deadlock
esp-mqtt commit: 5e17dcaeb2
)
Closes https://github.com/espressif/esp-mqtt/issues/163
Add dispatch error event for read errors
esp-mqtt commit: d4aaec08ff
Closes https://github.com/espressif/esp-idf/issues/5704
Cleanup expired messages when offline
esp-mqtt commit: bdadd77c6e
Closes https://github.com/espressif/esp-idf/issues/5668
esp_mqtt_client_publish now returns msg id for QoS > 0 when offline
esp-mqtt commit: f7325bfa10
Add support for Digital Signature through ESP-TLS
esp-mqtt commit: 7d8e59de00
2020-08-28 17:04:14 +08:00
aditi_lonkar
a6a8381745
wifi: Fix esp_wifi log levels
...
Closes https://github.com/espressif/esp-idf/issues/5721
2020-08-28 11:59:03 +05:30
Island
eda151992b
Merge branch 'feature/btdm_add_link_role_param_for_gatt_connection_event' into 'master'
...
component/bt: add link role param for gatt connection event
See merge request espressif/esp-idf!10164
2020-08-28 14:16:13 +08:00
xiewenxiang
5979111109
component/bt: add link role param for gatt connection event
2020-08-28 08:47:54 +08:00
Andrei Gramakov
c863b4c777
docs: tinyusb documentation
2020-08-27 13:49:33 +02:00
wangcheng
f8fd58d7f6
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-08-27 14:46:27 +08:00
Sachin Billore
f1dae0d6e1
ESP32 SecureBoot V2: eFuse write operations are updated to use the eFuse Manager APIs
...
Closes IDF-2034
Closes https://github.com/espressif/esp-idf/issues/5771
2020-08-27 04:24:04 +00:00
Jiang Jiang Jian
3eac0ec5be
Merge branch 'bugfix/null_ptr_dereference_mgmt_rx_master' into 'master'
...
esp_wifi: Fix null pointer dereferences in mgmt rx
See merge request espressif/esp-idf!10140
2020-08-27 11:21:54 +08:00
Angus Gratton
46b3a6d88e
Merge branch 'bugfix/secure_boot_v2_key_gen_py3' into 'master'
...
esptool: Update submodule fixing Py3 keygen in Secure boot v2
Closes IDFGH-3887
See merge request espressif/esp-idf!10157
2020-08-27 08:50:01 +08:00
weitianhua
8a9bfd3e92
Add protection for rfcomm close API in SPP
2020-08-26 15:17:28 +08:00
weitianhua
7e772d2195
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-08-26 15:17:28 +08:00
kapil.gupta
e13ab93b98
esp_wifi: Fix null pointer dereferences in mgmt rx
2020-08-26 12:40:46 +05:30
weitianhua
d43f3539ee
Workaround for a hardware bug in Slave sniff mode. Because of Slave dose not start a sniff timeout count when slave send a ACL package.
2020-08-26 15:00:29 +08:00
fuzhibo
0914dfbb6a
dfiver(dac): add dac dma driver and unit test
2020-08-26 06:23:24 +00:00
fuzhibo
bd92e95160
driver(adc): add adc-dma code for esp32
2020-08-26 03:54:02 +00:00
kapil.gupta
06bc7f1d2f
wpa_supplicant: Deinit wpa2 states in wifi deinit
2020-08-26 03:51:37 +00:00
Angus Gratton
cf3be75844
Merge branch 'bugfix/usb_hal_and_clk' into 'master'
...
Fix USB CLK always reset and USB with swapped pins not working through HAL
See merge request espressif/esp-idf!10113
2020-08-26 07:39:03 +08:00
Supreet Deshpande
63161abb76
esptool: Update submodule fixing Py3 keygen in Secure boot v2
2020-08-26 03:25:32 +05:30
me-no-dev
0aa1c13027
Fix USB CLK always reset and USB with swapped pins not working
2020-08-25 10:59:59 +03:00
wangcheng
6a9becd75f
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time, use the information of rx to determine the execution order
2020-08-23 13:42:40 +00:00
Michael (XIAO Xufeng)
8a9dc46b14
Merge branch 'bugfix/spi_master_add_dummy_check' into 'master'
...
spi_master: add dummy check when both mosi and miso are set
Closes IDF-1872 and IDF-266
See merge request espressif/esp-idf!9406
2020-08-23 12:47:18 +08:00
Marius Vikhammer
c2bb0762bb
Websocket client: avoid deadlock if stop called from event handler
2020-08-21 18:57:45 +08:00
David Čermák
a80b25ebbb
Merge branch 'feature/ws_client_close_frame' into 'master'
...
ws_client: Added support for close frame, closing connection gracefully
Closes IDF-1915
See merge request espressif/esp-idf!9677
2020-08-21 14:36:18 +08:00
David Čermák
e2f72f449c
Merge branch 'feature/ethernet_flow_control' into 'master'
...
ethernet: support flow control
Closes IDF-1207, WIFI-2510, WIFI-2290, WIFI-2291, WIFI-2507, WIFI-2508, WIFI-2612, and IDFGH-3465
See merge request espressif/esp-idf!9643
2020-08-21 14:33:30 +08:00
Krzysztof Budzynski
6c17e3a64c
Merge branch 'docs/Specify_two_calls_to_RingbufferReceive_is_required_in_wrap_mode' into 'master'
...
Add a note to specify that two calls to RingbufferReceive are required in wrap mode
Closes IDF-1980
See merge request espressif/esp-idf!9999
2020-08-19 20:00:27 +08:00
Jiang Jiang Jian
9e45dca650
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num' into 'master'
...
lw-ip: fix max ipv6 pkt queue num too large cause no mem issue
Closes WIFI-2527 and WIFI-2350
See merge request espressif/esp-idf!9697
2020-08-19 16:07:14 +08:00
Angus Gratton
7547820393
Merge branch 'refactor/sleep_modes' into 'master'
...
Refactor sleep modes code
Closes IDF-1119
See merge request espressif/esp-idf!8404
2020-08-19 12:51:43 +08:00
David Cermak
5e9f8b52e7
tcp_transport: Added internal API for underlying socket, used for custom select on connection end for WS
...
Internal tcp_transport functions could now use custom socket operations.
This is used for WebSocket transport, when we typically wait for clean
connection closure, i.e. selecting for read/error with expected errno or
recv size=0 while socket readable (=connection terminated by FIN flag)
2020-08-18 06:42:22 +00:00
David Cermak
b213f2c6d3
ws_client: Added support for close frame, closing connection gracefully
2020-08-18 06:42:22 +00:00
Armando
fc6010c959
spi_master: add dummy check when both mosi and miso are set
...
Closes https://github.com/espressif/esp-idf/issues/2715
2020-08-18 10:30:30 +08:00
Jiang Jiang Jian
a768b58aa2
Merge branch 'bugfix/add_rf_test_short_and_long' into 'master'
...
esp_wifi: add rf test 11b plcp preamble support
See merge request espressif/esp-idf!8889
2020-08-17 21:55:23 +08:00
Armando
da9649df53
spi: fix issue with closing DMA before CPU reset
2020-08-17 21:32:20 +08:00
Armando
aa93347972
spi: remove spi4 related macros and codes
2020-08-17 21:32:15 +08:00
Renz Bagaporo
3f6e366f56
esp_system: force RTC_SLEEP_PD_XTAL on ESP32 via get pdflags
...
Based on the original code (`esp32/sleep_modes.c`), `RTC_SLEEP_PD_XTAL`
is always given as an argument to `esp_sleep_start`. Enforce this in
function to get power down flags to avoid redundancy.
2020-08-17 19:09:24 +08:00
Renz Bagaporo
0db3edd490
esp32: move sleep test to esp_system
2020-08-17 19:09:24 +08:00
Renz Bagaporo
fe65bf00b1
esp_system: use ext0, ext1, ulp wakeup prepare hal
2020-08-17 19:09:24 +08:00
Renz Bagaporo
4f5135030f
esp_system: remove register level operations for timer wakeup
2020-08-17 19:09:24 +08:00
Renz Bagaporo
0b6ead74b5
soc: ll and hal for sleep related code
2020-08-17 19:09:24 +08:00
Renz Bagaporo
b30522f701
esp32, esp32s2: move sleep modes code to esp_system
2020-08-17 19:09:23 +08:00
Renz Bagaporo
14902da344
esp32: move disabling rom log to esp_rom
2020-08-17 19:08:56 +08:00
Armando
e58ce2141d
spi_master: rename the hal layer function that calculates clock and timing
2020-08-17 17:04:07 +08:00
Michael (XIAO Xufeng)
dc22501b47
Merge branch 'bugfix/mcpwm_capture_getedge_null_deref' into 'master'
...
Bugfix(MCPWM): Fix dereferencing of a null pointer in function mcpwm_capture_signal_get_edge
See merge request espressif/esp-idf!9255
2020-08-17 15:52:24 +08:00
Jiang Jiang Jian
9c1b2820a1
Merge branch 'feature/btdm_mode_change_event' into 'master'
...
components/bt: Add mode change event
Closes BT-981
See merge request espressif/esp-idf!9720
2020-08-17 14:53:46 +08:00
xiehang
1a39459336
esp_wifi: add rf test long short support
2020-08-17 11:08:19 +08:00
He Yin Ling
f22862f28d
Merge branch 'bugfix/remove_auto_conn_case' into 'master'
...
test: remove auto conn case because we do not support this anymore
See merge request espressif/esp-idf!9938
2020-08-17 09:01:40 +08:00
Angus Gratton
62c4b569ad
Merge branch 'refactor/timekeeping_init' into 'master'
...
Timekeeping refactor
Closes IDF-1864
See merge request espressif/esp-idf!7824
2020-08-17 08:13:44 +08:00
ChenJianxing
bf48acc284
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-08-16 22:08:07 +08:00
liu zhifu
6ed4dd65a4
esp_wifi: optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-08-15 11:35:10 +08:00
Jiang Jiang Jian
8294d5b788
Merge branch 'bugfix/fix_wifi_tx_all' into 'master'
...
esp_wifi: fix wifi tx all
Closes WIFI-1835
See merge request espressif/esp-idf!9147
2020-08-14 15:03:57 +08:00
Michael (XIAO Xufeng)
ceb690886e
Merge branch 'feature/esp32s2_adc_calib_V1' into 'master'
...
driver/adc: support for esp32s2 adc calibration scheme (RTC High Priority)
Closes IDFGH-3500
See merge request espressif/esp-idf!10004
2020-08-14 13:42:39 +08:00
Krzysztof Budzynski
f0d53bd097
Merge branch 'docs/translate_ulp_risc_v' into 'master'
...
docs: translate api-guides/ulp-risc-v from EN to CN
See merge request espressif/esp-idf!9757
2020-08-13 19:44:46 +08:00
He Hui Zi
dfa59e3d22
docs: translate api-guides/ulp-risc-v from EN to CN
2020-08-13 19:44:46 +08:00
Wu Bo Wen
6a0951ecb2
driver/adc: support for esp32s2 adc calibration scheme
...
ESP32 lets the user choose from using Vref, Lookup Table, and Two-Point Calibration. In ESP32S2 only two-point calibration is supported. This commit support these changes in idf.
Closes https://github.com/espressif/esp-idf/issues/5455
2020-08-13 17:27:03 +08:00
Angus Gratton
1a47f025e9
Merge branch 'bugfix/cpu_start_build' into 'master'
...
esp_system: fix bootloader wdt enabled build issue
Closes IDFGH-3717
See merge request espressif/esp-idf!9816
2020-08-13 16:52:31 +08:00
liu zhifu
fa9a5c0be5
esp_wifi: optimize WiFi TX performance
2020-08-13 12:26:21 +08:00
baohongde
060a36352c
components/bt: Add mode change event
2020-08-12 09:20:04 +00:00
ChenJianxing
4949087217
esp_wifi: fix phy v4350 RX throughput low issue.
...
sleep wakeup optimizaion do not cover 480M bbpll configuration,
which cause CPU working in 240M mode RX throughput is low.
2020-08-12 14:16:45 +08:00
Jiang Jiang Jian
0584b3d1d3
Merge branch 'bugfix/fix_unable_update_rssi_of_hidden_ap' into 'master'
...
bugfix: fix connect hidden AP doesn't update information
Closes WIFI-2484, WIFI-2604, and WIFI-2609
See merge request espressif/esp-idf!9600
2020-08-12 12:04:44 +08:00
Michael (XIAO Xufeng)
3b617dd94c
Merge branch 'bugfix/fix_bugs_in_rtcio_unit_test' into 'master'
...
bugfix(ut): fix rtcio pullup/pulldown and rtcio hold unit test
Closes IDFCI-96
See merge request espressif/esp-idf!10015
2020-08-12 11:21:34 +08:00
Jiang Jiang Jian
68ddb64dd7
Merge branch 'bugfix/fix_udp_tx_performance_issue' into 'master'
...
lw-ip: fix udp tx packet loss issue
Closes WIFI-2573
See merge request espressif/esp-idf!9925
2020-08-11 21:22:18 +08:00
ronghulin
087c580c09
bugfix: fix connect hidden AP doesn't update information
...
Closes https://github.com/espressif/esp-idf/issues/5632
2020-08-11 19:41:32 +08:00
Jiang Jiang Jian
63b566eb27
Merge branch 'bugfix/fix_softap_mode_wifi_event_issue' into 'master'
...
bugfix: fix softap mode event issue
Closes WIFI-1861, WIFI-1446, WIFI-2367, WIFI-2042, and WIFI-893
See merge request espressif/esp-idf!7918
2020-08-11 19:34:07 +08:00
Chen Yi Qun
f9b167103f
bugfix(ut): fix rtcio pullup/pulldown and rtcio hold unit test
2020-08-11 18:43:54 +08:00
Renz Bagaporo
c70c227591
esp_system: private system time functions for now
2020-08-11 17:52:36 +08:00
Renz Bagaporo
da88671491
esp_system: link time, not runtime, dependency on esp_timer
2020-08-11 17:52:36 +08:00
Michael (XIAO Xufeng)
593d3ce79a
Merge branch 'bugfix/twai_brp_div_init' into 'master'
...
TWAI: Initialize brp_div field to zero, fix register field name, and remove sdkconfig form caps
See merge request espressif/esp-idf!9924
2020-08-11 17:01:18 +08:00
ronghulin
b006acbb46
bugfix: fix softap mode event issue
...
1. add sta connect again ap sent disconnect event
2. add set/get inactive time api
Closes https://github.com/espressif/esp-idf/issues/4401
Closes https://github.com/espressif/esp-idf/issues/4987
Closes https://github.com/espressif/esp-idf/issues/2375
2020-08-11 10:34:47 +08:00
Michael (XIAO Xufeng)
d06f1f6897
Merge branch 'test/esp_flash_s2_performance_thr' into 'master'
...
flash test: decrease the threshold of performance test on s2
See merge request espressif/esp-idf!9831
2020-08-11 10:10:18 +08:00
Jiang Jiang Jian
933de37074
Merge branch 'bugfix/softAP_power_save_buffer_issue' into 'master'
...
esp_wifi: fix the bug for softAP power save buffer issue
Closes WIFI-2362
See merge request espressif/esp-idf!9826
2020-08-10 23:33:17 +08:00
Jiang Jiang Jian
4d4dee8a52
Merge branch 'bugfix/wifi_stop_crash' into 'master'
...
esp_wifi: fix the crash when wifi stop after deinit
Closes WIFI-2647 and WIFI-2646
See merge request espressif/esp-idf!9931
2020-08-10 19:11:55 +08:00
morris
76fe489c58
ethernet: support power on timeout
...
Closes https://github.com/espressif/esp-idf/issues/5425
2020-08-10 18:54:25 +08:00
morris
a3da67a97a
ethernet: set DMA owner after all descriptors have configured
2020-08-10 18:54:25 +08:00
morris
f4131b9b42
ethernet: handle early rx interrupt
2020-08-10 18:54:25 +08:00
morris
4e38aab1b0
ethernet: support flow control for esp32 emac
2020-08-10 18:54:25 +08:00
Wang Fang
ee135b8e28
Add a note to specify that two calls to RingbufferReceive are required in wrap mode
2020-08-10 18:25:51 +08:00
Michael (XIAO Xufeng)
e97e7281b2
Merge branch 'feature/tinyusb_cdc' into 'master'
...
Feature/tinyusb cdc
See merge request espressif/esp-idf!7212
2020-08-10 18:13:23 +08:00
wubowen
de72ef2c1a
bugfix: Fixed the issue that calling mcpwm_capture_signal_get_edge causes a crash
2020-08-10 09:31:03 +00:00
Darian Leung
fdbda1ce78
TWAI: Simplify caps header
...
This commit simplies the defines made in the _caps.h header. Kconfig
option dependencies were moved into the LL, and the check for a
valid BRP has bee simplified.
2020-08-10 17:01:32 +08:00
Darian Leung
d814a40c1d
TWAI: Fix ESP32-S2 register field name
2020-08-10 17:01:32 +08:00
Darian Leung
6983d1e0bb
TWAI: Fix BRP field initialization onf ESP32 ECO3
...
This commit zero initializes the brp_div field on ESP32 ECO3
to prevent incorrect timing configuration.
2020-08-10 17:01:32 +08:00
Renz Bagaporo
346cf4430d
esp_system: introduce system time functions
...
- Introduce system time function and concept of system time provider.
esp_timer is system time provider when present.
- Set the reference point for system time, g_startup_time.
- Use the system time functions in newlib instead of calling esp_timer
functions directly
2020-08-10 15:12:38 +08:00
Renz Bagaporo
5785e4dfb6
newlib: move some functions to soc, esp32, esp32s2
2020-08-10 15:11:38 +08:00
Renz Bagaporo
a395a00d2c
newlib: separate low-level code in time.c implementation
2020-08-10 15:11:37 +08:00
Michael (XIAO Xufeng)
cda9c595d7
Merge branch 'feature/mcpwm_capture_on_both_edge' into 'master'
...
MCPWM: add an option to do mcpwm capture on both edges
See merge request espressif/esp-idf!9850
2020-08-10 11:48:50 +08:00
Michael (XIAO Xufeng)
37cd6249d8
Merge branch 'bugfix/remove_FILE_from_log_messages' into 'master'
...
bugfix: remove __FILE__ from log messages
Closes IDFGH-3709 and IDFGH-3712
See merge request espressif/esp-idf!9852
2020-08-10 11:43:38 +08:00
Hou Chen Yao
cdf1e8a38b
remove auto conn case because we do not support this anymore
2020-08-10 01:46:26 +00:00
Ivan Grokhotkov
7acda7b8eb
Merge branch 'bugfix/panic_instr_fetch_prohibited' into 'master'
...
panic: don't interrupt the backtrace for InstrFetchProhibited exceptions
See merge request espressif/esp-idf!9851
2020-08-07 21:43:35 +08:00
Michael (XIAO Xufeng)
64f2ac49ce
Merge branch 'feature/esp32s3_hal_driver_placeholder' into 'master'
...
soc: placeholder for esp32s3 HAL driver
See merge request espressif/esp-idf!9897
2020-08-07 17:27:05 +08:00
Jiang Jiang Jian
c27bd40d54
Merge branch 'feature/support_phase2TTLS_algos' into 'master'
...
wpa_supplicant: add support for PAP, MS-CHAP and CHAP as Phase 2 algorithms for TTLS alongside MS-CHAPv2
Closes FCS-361
See merge request espressif/esp-idf!8816
2020-08-07 14:06:12 +08:00
Jiang Jiang Jian
b613f90cb9
Merge branch 'bugfix/eap_client_iot_issue' into 'master'
...
wpa_supplicant: Fix IOT issue with freeradius & internal eap agent
See merge request espressif/esp-idf!9766
2020-08-07 12:22:32 +08:00
morris
edb5ddf63b
soc: placeholder for esp32s3 HAL driver
...
soc rtc
2020-08-07 11:59:00 +08:00
xiehang
49cb6905d4
lwip: fix udp tx packet loss issue
2020-08-07 11:25:06 +08:00
Andrei Gramakov
84aa1c0cc3
usb: cdc support, streams redirection; ci, examples upd
...
tusb: cdc, tasks encapsulation, callbacks api, multiple interfaces
examples: added serial interface and usb console
ci: reimplemented cmake/make test in python with ignore lists
IDF-578
2020-08-06 15:26:08 +02:00
lly
0fcd0bb6b8
ble_mesh: stack: Client model related code clean
2020-08-06 08:45:22 +00:00
lly
e924e5f2f4
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-06 08:45:22 +00:00
lly
36d714ec59
ble_mesh: stack: Check client msg result in common func
2020-08-06 08:45:22 +00:00
lly
02eaaca3d6
ble_mesh: stack: Fix no events for some error conditions
2020-08-06 08:45:22 +00:00
lly
5f6f61f634
ble_mesh: stack: Move client role set to the msg function
2020-08-06 08:45:22 +00:00
lly
ad39479804
ble_mesh: stack: Remove some not used client parameters
2020-08-06 08:45:22 +00:00
lly
1d6f653640
ble_mesh: stack: Remove some not used variables & functions
2020-08-06 08:45:22 +00:00
lly
7542c86d9c
ble_mesh: stack: Update client model msg send
2020-08-06 08:45:22 +00:00
Michael (XIAO Xufeng)
64535528ac
flash test: decrease the threshold of performance test on s2
2020-08-06 13:13:56 +08:00
Michael (XIAO Xufeng)
bfd71ae7ec
Merge branch 'feature/dma_memcpy' into 'master'
...
esp32s2: async memcpy
Closes IDF-1573
See merge request espressif/esp-idf!8436
2020-08-06 11:32:43 +08:00
Jiang Jiang Jian
066361f5aa
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram-least_modification' into 'master'
...
Bugfix/move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
See merge request espressif/esp-idf!9808
2020-08-05 23:51:09 +08:00
Jiang Jiang Jian
97b47f117b
Merge branch 'bugfix/bluedroid_ble_provisioning_gatt_deregister_fix' into 'master'
...
Bluedroid: Fix BLE provisioning failure with bluedroid stack
See merge request espressif/esp-idf!9833
2020-08-05 23:50:14 +08:00
Ivan Grokhotkov
600665a563
Merge branch 'bugfix/esp32s2_o2_op' into 'master'
...
freertos: fix build error at -O2 optimization level
Closes IDFGH-3581
See merge request espressif/esp-idf!9444
2020-08-05 22:03:00 +08:00
Ivan Grokhotkov
4e7e8598f3
freertos: ensure the interrupt stack is aligned
...
CONFIG_FREERTOS_ISR_STACKSIZE was set to 2100 when ELF core dump was
enabled, which resulted in a non-16-byte-aligned interrupt stack
offset. This triggered "is SP corrupted" check in the backtrace,
terminating the backtrace early.
Fix the default value, and make sure that the stack is always aligned,
regardless of the value of CONFIG_FREERTOS_ISR_STACKSIZE.
2020-08-05 12:51:41 +02:00
Ivan Grokhotkov
5ff9cd495e
panic: skip over the first invalid PC in case of InstrFetchProhibited
...
InstrFetchProhibited usually occurs because of a jump to an invalid
pointer. In this case, PC in the exception frame is the address of
the jump destination. 'esp_ptr_executable' check in print_backtrace
function recognizes the first frame as invalid, and the backtrace is
interrupted. This prevents the user from finding the location where
the invalid pointer is dereferenced.
Bypass the 'esp_ptr_executable' check if the exception cause is
InstrFetchProhibited. Update the test case to no longer ignore this
issue.
2020-08-05 12:00:50 +02:00
zhangyanjiao
a5c05e2c94
esp_wifi: fix the bug for softAP power save buffer issue
2020-08-05 14:35:50 +08:00
zhangyanjiao
b47dee59dc
esp_wifi: fix the crash when wifi stop after deinit
2020-08-05 11:50:27 +08:00
Michal Vácha
e4820fc447
Fixed TLS 1.1 still being enables even if disabled via config.
...
Fixed MBEDTLS_SSL_PROTO_TLS1_1 still being defined even ifCONFIG_MBEDTLS_SSL_PROTO_TLS1_1 is not
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5675
2020-08-05 03:38:51 +00:00
dongyou
97ae87df41
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-05 11:04:16 +08:00
Renz Bagaporo
43af455457
esp_system: fix bootloader wdt enabled build issue
...
Closes https://github.com/espressif/esp-idf/issues/5643
2020-08-05 10:39:12 +08:00
Ivan Grokhotkov
b3814a1b5e
Merge branch 'bugfix/soc_reduce_iram' into 'master'
...
soc: move RTC initialization out of IRAM
See merge request espressif/esp-idf!9898
2020-08-04 21:44:50 +08:00
morris
b30bd7a2ef
esp32s2: add CP_DMA driver
2020-08-04 15:28:32 +08:00
Andrei Gramakov
48c4378a70
coredump: temp-files delete fix
2020-08-04 09:15:30 +02:00
kapil.gupta
50b4cf9286
wpa_supplicant: Fix IOT issue with latest freeradius
...
Fix inter operability issue with freeradius version 3.0.21
and openssl 1.1.1f when internal tls client is used which
requires extension elements in client hello.
closes https://github.com/espressif/esp-idf/issues/5273
closes https://github.com/espressif/esp-idf/issues/5627
2020-08-04 04:50:58 +00:00
Jiang Jiang Jian
59347d6a63
Merge branch 'bugfix/fix_fragment_issue' into 'master'
...
esp_wifi: Fix WiFi fragment issue
Closes WIFI-2625
See merge request espressif/esp-idf!9877
2020-08-04 12:09:49 +08:00
Island
313f4a97d6
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested' into 'master'
...
component/bt: fix Blufi sends longer customer data will will lead congested
See merge request espressif/esp-idf!9887
2020-08-03 20:54:23 +08:00
Chen Yi Qun
caaf62bdad
driver, http_client, web_socket, tcp_transport: remove __FILE__ from log messages
...
__FILE__ macro in the error messages adds full paths to the production binarys, remove __FILE__ from the ESP_LOGE.
Closes https://github.com/espressif/esp-idf/issues/5637
Merges https://github.com/espressif/esp-idf/pull/5638
2020-08-03 15:21:36 +08:00
Wu Bo Wen
14a6b1db56
driver/mcpwm: add an option to capture on both edges.
...
However, The functionality of capturing on both edges is alternatively done with passing in the two flags ORed together: MCPWM_NEG_EDGE|MCPWM_POS_EDGE
closes https://github.com/espressif/esp-idf/issues/4446
closes https://github.com/espressif/esp-idf/issues/2943
2020-08-03 14:58:45 +08:00
XieWenxiang
fa729f3805
component/bt: fix Blufi sends longer customer data will will lead congested
2020-08-03 14:55:12 +08:00
Mahavir Jain
79da52f8e1
Merge branch 'feature/upgrade_nghttp2_component' into 'master'
...
nghttp2: upgrade to v1.41.0 release
Closes IDFGH-2821
See merge request espressif/esp-idf!9843
2020-08-03 14:13:22 +08:00
Michael (XIAO Xufeng)
9103343812
Merge branch 'feature/tinyusb_config_cleanup' into 'master'
...
Feature/tinyusb config cleanup
Closes IDFGH-3653
See merge request espressif/esp-idf!9782
2020-08-01 23:58:26 +08:00
Ivan Grokhotkov
0ee714e1fa
soc: move RTC initialization out of IRAM
...
Saves approximately 870 bytes of IRAM.
2020-08-01 00:52:43 +02:00
xiehang
c744c6f30c
esp_wifi: Fix WiFi fragment issue
2020-07-31 20:02:27 +08:00
Jiang Jiang Jian
d1f9a238f3
Merge branch 'bugfix/sys_fix_build_error_about_livelock' into 'master'
...
components/sys: Fix build error about livelock when intwdt is disable
See merge request espressif/esp-idf!9312
2020-07-31 16:43:22 +08:00
Jiang Jiang Jian
2ad8f8c9d2
Merge branch 'bugfix/ADV_UNDERRUN_assert_1024' into 'master'
...
components/bt: Fix ble assert(1024,0), ADV_UNDERRUN error
Closes BT-726
See merge request espressif/esp-idf!9479
2020-07-30 21:18:11 +08:00
Michael (XIAO Xufeng)
c77c4ccf6c
Merge branch 'bugfix/twai_assert_program_logic' into 'master'
...
TWAI: Remove asserts used for program logic
Closes IDFGH-3729
See merge request espressif/esp-idf!9834
2020-07-30 18:09:50 +08:00
Michael (XIAO Xufeng)
570629dcca
Merge branch 'bugfix/twai_msg_cnt_size' into 'master'
...
TWAI: Fix size of RX msg count field on the esp32
See merge request espressif/esp-idf!9870
2020-07-30 18:09:35 +08:00
David Čermák
5bd96db8a1
Merge branch 'bugfix/esp_netif_restart_dhcpc' into 'master'
...
esp_netif: Remove restarting DHCP client/server if it has already been started
Closes IDF-1978
See merge request espressif/esp-idf!9760
2020-07-30 17:16:49 +08:00
Darian Leung
662864f5bc
twai: Fix size of RX msg count field on the esp32
...
This commit fixes the size of the RX message count register field
on the esp32.
2020-07-30 15:45:58 +08:00
Darian Leung
f790e0cc28
TWAI: Remove asserts used for program logic
...
This commit fixes the bug where TWAI driver program logic was being
called in assert(), thus leading to the logic being omitted in
release builds.
2020-07-30 15:25:11 +08:00
Jiang Jiang Jian
cbe7bffcd2
Merge branch 'bugfix/update_esp32_phy_4350' into 'master'
...
esp_wifi: update phy lib
See merge request espressif/esp-idf!9822
2020-07-30 01:58:50 +08:00
David Cermak
1a0e7d81d8
esp_netif tests: Add manual DHCP state transision tests
...
Extended test cases for DHCP server and DHCP client state transitions to include also manual transitions using esp_netif_dhcps_start/stop() esp_netif_dhcpc_start/stop()
2020-07-29 11:50:27 +00:00
David Cermak
8cfeae15fd
esp_netif: Remove restarting DHCP client and server if it has already been started
...
To be in line with previous behaviour in tcpip_adapter, do nothing and return appropriate error if the DHCP client/server has already been started
2020-07-29 11:50:27 +00:00
Ivan Grokhotkov
75a874d4fd
spi_flash: make {get,release}_temp_buffer OS functions optional
...
Fixes a crash when calling a NULL release_temp_buffer pointer throug
esp_flash_noos_functions, when doing a core dump.
2020-07-29 12:42:26 +02:00
morris
c359d9a1f1
fix rom api usage violation
...
replace ets_delay_us with esp_rom_delay_us
2020-07-29 15:57:49 +08:00
Angus Gratton
e7b89e6ddc
Merge branch 'bugfix/esp32s2_panic_handler_iram' into 'master'
...
esp_common: allow placing panic handler into IRAM on ESP32-S2
Closes IDF-1639
See merge request espressif/esp-idf!9749
2020-07-29 13:54:19 +08:00
Angus Gratton
75402afcae
Merge branch 'feature/esp32s3_clk_memory_layout' into 'master'
...
esp32s3: memory layout
See merge request espressif/esp-idf!9753
2020-07-29 13:48:25 +08:00
ChenJianxing
8c982ea738
esp_wifi: update phy lib
...
1. esp32 phy lib v4350
2. esp32s2 phy lib v603
2020-07-29 10:36:02 +08:00
Anton Maklakov
d7db6673f5
Merge branch 'revert-1ba7dc22' into 'master'
...
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
See merge request espressif/esp-idf!9794
2020-07-29 10:32:43 +08:00
sushant.chougule
70eb9abdee
Bluedroid: Fix BLE provisioning failure with bluedroid stack
2020-07-28 21:54:05 +05:30
Ivan Grokhotkov
8ac56e904b
Merge branch 'bugfix/coredump_esp_panic_reason' into 'master'
...
Coredump ESP panic reason
See merge request espressif/esp-idf!9072
2020-07-28 23:49:10 +08:00
Mahavir Jain
2c8fc336e0
nghttp2: upgrade to v1.41.0 release
...
Detailed changelog:
https://github.com/nghttp2/nghttp2/releases/tag/v1.41.0
Closes: https://github.com/espressif/esp-idf/issues/4883
Closes IDFGH-2821
2020-07-28 20:27:27 +05:30
Michael (XIAO Xufeng)
6434c1e2bd
Merge branch 'feat/esp_flash_enable_s2_ut' into 'master'
...
esp_flash: fix several issues and enable unit test for ESP32-S2
Closes IDF-1409
See merge request espressif/esp-idf!8259
2020-07-28 18:15:41 +08:00
Angus Gratton
a2dc60b254
Merge branch 'feature/secure_boot_esp32s2' into 'master'
...
Feature/secure boot esp32s2
See merge request espressif/esp-idf!8254
2020-07-28 16:39:34 +08:00
Ivan Grokhotkov
16c73edc67
Merge branch 'refactor/add_alias_name_for_ets_common_api' into 'master'
...
esp_rom: extract common ets apis into esp_rom_sys.h
See merge request espressif/esp-idf!9701
2020-07-28 15:04:55 +08:00
Angus Gratton
9222f5473f
Merge branch 'bugfix/stack_check_error' into 'master'
...
esp_system: restore deleted no stack check flag
See merge request espressif/esp-idf!9721
2020-07-28 07:43:41 +08:00
Alexey Gerenkov
cae41db8b8
coredump: Fixes core dump private header inclusion guard
2020-07-27 21:38:34 +03:00
Alexey Gerenkov
21091c6b0e
coredump: Fixes ESP-specific panic reasons handling
2020-07-27 21:38:33 +03:00
David Čermák
2f74b4e023
Merge branch 'bugfix/fix_websocket_issue' into 'master'
...
websocket_client : fix some issues for websocket client
See merge request espressif/esp-idf!9674
2020-07-27 22:51:21 +08:00
Michael (XIAO Xufeng)
395a51b441
Merge branch 'bugfix/fix_touch_sensor_api' into 'master'
...
driver(touch): fix touch sensor driver redundancy
Closes IDF-1850
See merge request espressif/esp-idf!9273
2020-07-27 22:20:10 +08:00
Michael (XIAO Xufeng)
cef10fdfef
Merge branch 'feature/uart_error_string_mod' into 'master'
...
uart: Improve error log description in UART rx buffer size
Closes IDFGH-3579
See merge request espressif/esp-idf!9466
2020-07-27 16:35:20 +08:00
Michael (XIAO Xufeng)
1aabab0160
Merge branch 'bugfix/i2c_const_function_signature' into 'master'
...
I2C: add const to signature of master_write function
Closes IDFGH-3324
See merge request espressif/esp-idf!9306
2020-07-27 16:31:20 +08:00
Jiang Jiang Jian
1ec35ba5a7
Merge branch 'bugfix/bt_linkup_fallback_event' into 'master'
...
Bluedroid: Fixes cases having fallback to link up event.
Closes BT-944
See merge request espressif/esp-idf!9671
2020-07-27 16:09:42 +08:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
Michael (XIAO Xufeng)
35007bd443
Merge branch 'bugfix/tinyusb_pins_cfg' into 'master'
...
usb: configure_pins fix for tinyusb
Closes IDFGH-3653
See merge request espressif/esp-idf!9657
2020-07-27 14:57:19 +08:00
Chen Jian Xing
56261ef9a2
Revert "Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'"
...
This reverts merge request !9079
2020-07-27 05:06:28 +00:00
morris
19761e3113
esp32s3: clk, memory layout
2020-07-27 13:05:22 +08:00
Michael (XIAO Xufeng)
9e3b807036
esp_flash: reduce the rd ext performance for s2
2020-07-27 12:27:06 +08:00
Michael (XIAO Xufeng)
8165025320
spi test: replace several SPIRAM_SUPPORT with SPIRAM configs
...
The previous config option is renamed to ESP32_SPIRAM_SUPPORT, which
cannot cover the ESP32-S2 case.
2020-07-27 12:27:05 +08:00
Michael (XIAO Xufeng)
c7b1436485
esp_flash: fix cs_initialize issue on esp32s2
2020-07-27 12:27:05 +08:00
Michael (XIAO Xufeng)
0a65911df2
esp_flash: enable unit tests for ESP32-S2 external flash
2020-07-27 12:27:04 +08:00
Michael (XIAO Xufeng)
30fa716376
spi: fix cs num support for different SPI hosts.
...
For esp32, all SPI hosts have 3 CS pins, however, on ESP32, SPIMEM1 has
two CS pins, FSPI has six, while HSPI has three.
2020-07-27 12:27:03 +08:00
Michael (XIAO Xufeng)
4bad988317
esp_flash: fix slow read on ESP32-S2
2020-07-27 12:20:19 +08:00
wangcheng
43f1e43215
component/bt: Fix ble IFS_UNDERRUN, ADV_UNDERRUN error
2020-07-27 04:09:17 +00:00
fuzhibo
1568b6913d
driver(touch): fix touch sensor driver redundancy
2020-07-27 03:37:29 +00:00
Angus Gratton
a91bd4078f
secure boot: Fixes for ESP32-S2 first boot logic
2020-07-27 00:01:10 +00:00
Angus Gratton
bfc3f85826
bootloader esp32s2: Fix return type of ROM function signature verification
2020-07-27 00:01:10 +00:00
Angus Gratton
abdb657926
bootloader esp32s2: Increase bootloader DRAM & IRAM allowance
...
Bootloader DRAM now ends at 0x3FFEAB00 which is the start of ROM
static RAM (reclaimable after app is running).
IRAM loader segment increased by 8KB.
Available total static RAM for the app is now reduced by 16KB.
2020-07-27 00:01:10 +00:00
Supreet Deshpande
e640e148cf
Secure boot v2 support for ESP32-S2
2020-07-27 00:01:10 +00:00
sushant.chougule
a7d8d2c8da
Bluedroid: Fix gatt clcb allocation and deallocation error
2020-07-25 01:48:48 +00:00
xutao
341e480573
websocket_client : fix some issues for websocket client
...
1. will post twice disconnect event when read error
2. will block `timeout` times when set disable_auto_connect
3. When `esp_websocket_client_stop` before `esp_websocket_client_send*`,
if the `esp_websocket_client_send*` fails, the status will change to
'WEBSOCKET_STATE_WAIT_TIMEOUT', and the next `esp_websocket_client_start` will fail forever
2020-07-24 22:08:37 +08:00