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
Michael (XIAO Xufeng)
6c2b6c9340
esp_flash: decrease performance threshld
...
To reflect the influence of yield during write
2020-11-10 19:05:29 +08:00
Michael (XIAO Xufeng)
7ddfcfb8d2
esp_flash_test: improve unit test
...
From now on, we have two tags for esp_flash tests:
- [esp_flash] for main flash chip only tests
- [esp_flash_3] for tests with external flash chips
To Run all tests, type `[esp_flash`; to run tests for main flash chip
only, type `[esp_flash].
2020-11-10 19:05:28 +08:00
Michael (XIAO Xufeng)
8ae09194ac
esp_flash: refactor to support various type of yield
...
There is a periodically yield in the esp_flash driver, to ensure the
cache will not be disabled for too long on ESP32.
On ESP32-S2 and later, we need to support more different kind of yield:
1. polling conditions, including timeout, SW read request, etc.
2. wait for events, including HW done/error/auto-suspend, timeout
semaphore, etc.
The check_yield() and yield() is separated into two parts, because we
may need to insert suspend, etc. between them.
2020-11-10 19:05:22 +08:00
Nachiket Kukade
89a25e41c8
wpa_supplicant: Increase PMK Lifetime to a very high value
...
For WPA3 connection nearing PMK lifetime expiry, PMK Cache
needs a re-authentication or the cache will expire. After
current expiry of 12 hours Station ends up sending a deauth
to the AP. An SAE re-authentication also cannot occur without
a disconnection with current implementation. So increase the
PMK lifetime to 100 days for now.
2020-11-10 10:17:48 +00:00
Xia Xiaotian
199414cd7e
Wi-Fi: set softap beacon DTIM count according to TSF timer
2020-11-10 09:10:45 +00:00
weitianhua
ed2654bdf3
Remove dummy assert when receive passkey requst
2020-11-10 15:58:24 +08:00
David Čermák
971cbbb7f3
Merge branch 'bugfix/lwip_add_slaac_note' into 'master'
...
lw-IP: Added description to Kconfig option on IPv6 SLAAC
Closes IDFGH-4219 and IDFGH-4217
See merge request espressif/esp-idf!11148
2020-11-10 15:43:38 +08:00
weitianhua
08eace5a26
Fix crash cause by calling a2dp deinit when connected
2020-11-10 07:25:57 +00:00
Jiang Jiang Jian
f1171d9e1b
Merge branch 'bugfix/fix_coex_ble_disconnect_issues_1105' into 'master'
...
bluetooth: Fix ble disconnect issue in coex mode
Closes BT-1134
See merge request espressif/esp-idf!11128
2020-11-10 15:17:06 +08:00
lly
e543dc9a3b
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
2020-11-10 14:05:19 +08:00
gengyuchao
5aecf71021
Fix two bugs:
...
1.Fix supervision timeout in LLC DISC busy statue can not disconnect issue.
2.Solve the problem that the ble terminate ack packet may lose with a high probability in coex mode.
2020-11-10 03:02:57 +00:00
Angus Gratton
479acb2210
esptool: Update to v3.0 release version
2020-11-10 02:36:18 +00:00
nx518
9207c6ca8e
lwip: Added description to Kconfig option on IPv6 SLAAC
...
Closes https://github.com/espressif/esp-idf/issues/6076
Merges https://github.com/espressif/esp-idf/pull/6078
2020-11-09 22:10:32 +00:00
Angus Gratton
0032971311
Merge branch 'bugfix/ulp_wakeup_trigger' into 'master'
...
ulp risc_v: fix bug about bit for wakeup trigger
Closes IDF-2298
See merge request espressif/esp-idf!11106
2020-11-09 14:57:36 +08:00
Michael (XIAO Xufeng)
2e90bf6b15
Merge branch 'bugfix/spi_slave_remove_debug_code' into 'master'
...
spi_slave: remove debug code
Closes IDFGH-4161
See merge request espressif/esp-idf!10975
2020-11-09 12:26:22 +08:00
Angus Gratton
3882c2b8ed
Merge branch 'feature/bringup_esp32s3_fpga_update_rmt_driver' into 'master'
...
rmt: support esp32s3
Closes IDF-1773
See merge request espressif/esp-idf!10292
2020-11-07 07:15:53 +08:00
Felipe Neves
ac6ce5ddbd
docs: added some fast-seek documentation to the fatfs.rst
2020-11-06 13:18:16 -03:00
Axel Lin
db276595cf
MQTT: Restore default MQTT_OUTBOX_EXPIRED_TIMEOUT_MS to 30 sec
...
The OUTBOX_EXPIRED_TIMEOUT_MS was 30*1000 in original esp-mqtt code.
Don't change the default OUTBOX_EXPIRED_TIMEOUT_MS without good reason,
which may has impact on memory usage for existing applications.
Fixes: 0ea20bed43
("MQTT: add configurable msg expired timeout")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-11-06 20:42:38 +08:00
Jiang Jiang Jian
c7a8025d45
Merge branch 'high/fix_ble_scan_irq_by_timer' into 'master'
...
components/bt: fix hci timeout, add timer to monitor scan evt.
See merge request espressif/esp-idf!11105
2020-11-06 17:12:14 +08:00
Angus Gratton
79e68ffaae
esp32s2: Disable ADC calibration routine if running on FPGA
2020-11-06 07:25:35 +00:00
KonstantinKondrashov
48c498bdca
esp32s2/fpga: Fix a clock configure in bootloader
2020-11-06 07:25:35 +00:00
KonstantinKondrashov
f2c9c1e4ab
efuse: Fix the order of writing in batch mode for esp32s2 and s3
2020-11-06 07:25:35 +00:00
Jeroen Domburg
5bbd61d013
Merge branch 'bugfix/fix_crash_psram_not_found' into 'master'
...
Psram: Do not initialize spiram cache if no chip is found
See merge request espressif/esp-idf!11093
2020-11-06 15:11:48 +08:00
KonstantinKondrashov
e0d0200aed
esp_timer: Use Task Notification instead of semaphore
2020-11-06 06:43:22 +00:00
wangcheng
e5af56db41
components/bt: fix hci timeout, add timer to monitor scan evt.
2020-11-06 14:04:17 +08:00
Mahavir Jain
ea57c10a3c
Merge branch 'fix/protocomm_simple_ble' into 'master'
...
Protocomm/simple_ble: Fix gatt table map size to number of handles received
Closes IDF-2250
See merge request espressif/esp-idf!10769
2020-11-06 13:18:50 +08:00
Jiang Jiang Jian
c2ad450e21
Merge branch 'bugfix/fix_TCP_timer_interval' into 'master'
...
lw-ip: fix TCP timer interval
See merge request espressif/esp-idf!11033
2020-11-06 11:04:33 +08:00
Jeroen Domburg
4b444316ab
Psram: Do not initialize spiram cache if no chip is found.
...
Closes https://github.com/espressif/esp-idf/issues/6063
2020-11-06 02:32:39 +00:00
Felipe Neves
93ffc009ef
vfs: restrict the fast seek for read-only files
...
Since the files under fast-seek cannot be expanded with further writes, it does not
make sense to enable fast-seek which may fail in write-mode files
2020-11-05 17:01:50 -03:00
Felipe Neves
32e760adfb
fat_vfs: added fast seek capable file operation
2020-11-05 17:01:50 -03:00
Felipe Neves
8815a3dfa0
fatfs: expose FF_USE_FASTSEEK option
2020-11-05 17:01:50 -03:00
Jiang Jiang Jian
a88989fee8
Merge branch 'bugfix/fix_clkn_overflow_issue' into 'master'
...
Fix BT controller dead issue caused by clk overflow
See merge request espressif/esp-idf!11012
2020-11-05 23:08:46 +08:00
ronghulin
ffd23623b7
bugfix: fix TCP timer interval
2020-11-05 15:00:51 +00:00
Michael (XIAO Xufeng)
d7ce8a537f
Merge branch 'feature/bringup_esp32s3_fpga_rtc_sleep' into 'master'
...
feature (rtc): update rtc related code(rtc_sleep rtc_init) to support esp32s3
See merge request espressif/esp-idf!10404
2020-11-05 19:19:36 +08:00
morris
1be923acb4
rmt: rename always_on to aware_dfs
2020-11-05 19:00:55 +08:00
morris
ff976867b3
rmt: split TX and RX in LL driver
...
Split TX and RX function in LL driver.
Channel number is encoded in driver layer.
Added channel signal list in periph.c
2020-11-05 19:00:55 +08:00
chenjianqiang
9465af0066
rmt: support esp32s3
2020-11-05 19:00:55 +08:00
Prasad Alatkar
13433d10fc
Protocomm/simple_ble: Make gatt table map size equal to number of handles received
...
- Fixes memcpy failure observed while adding 2 or more endpoints in
wifi_provisioning.
Closes IDF-2250
2020-11-05 08:53:13 +00:00
fuzhibo
b29f075660
rtc: compile the regi2c_ctrl.c code to iram
2020-11-05 16:17:12 +08:00
Angus Gratton
99fae0f0b5
Merge branch 'bugfix/lwip_afl_test_build' into 'master'
...
test_compile_fuzzers: Fix include paths for host build
See merge request espressif/esp-idf!11118
2020-11-05 15:58:31 +08:00
Angus Gratton
98a0cc783f
test_compile_fuzzers: Fix include paths for host build
...
Regression in 988be69466
, need to add
esp_hw_support component include dir here.
2020-11-05 16:30:07 +11:00
Jiang Jiang Jian
76a7b76e3d
Merge branch 'feature/wifi_update_wifi_lib_to_support_esp32s3' into 'master'
...
Wi-Fi: update wifi lib to merge esp32s3 code
See merge request espressif/esp-idf!11107
2020-11-05 11:25:58 +08:00
Xia Xiaotian
aca8d9621d
Wi-Fi: update wifi lib to support esp32s3
2020-11-04 21:23:50 +08:00
Island
90472a0a8c
Merge branch 'feat/ble_mesh_node_local_data_func' into 'master'
...
ble_mesh: stack: Add node local netkey/appkey func
Closes BLEMESH-255
See merge request espressif/esp-idf!10334
2020-11-04 19:39:32 +08:00
Anton Maklakov
b5b2738644
Merge branch 'test/ci_fuzzer_precheck' into 'master'
...
CI: Add a test to pre-check fuzzer tests compilation before weekly run
See merge request espressif/esp-idf!10332
2020-11-04 12:22:53 +08:00
lly
549dc2a411
ble_mesh: stack: Add node local netkey/appkey func
2020-11-04 03:25:02 +00:00
Cao Sen Miao
bd2d70ca0b
ulp risc_v: fix bug about bit for wakeup trigger
2020-11-04 10:47:40 +08:00
fuzhibo
93c7cf094e
rtc: update rtc related code(rtc_sleep rtc_init) to support esp32s3
2020-11-04 02:43:41 +00:00
morris
bc8b56cef7
timergroup: refactor unit test to better support future chip
2020-11-03 18:16:50 +08:00
morris
e4c8ec6174
timergroup: move interrupt index into peripheral description file
...
1. Added timer_group_periph.c file, describing module global signals
(e.g. interrupt index)
2. Added more caps in soc_caps.h
2020-11-03 18:16:50 +08:00
israel
24d88fb78c
AP_STAIPASSIGNED now passes the IP through 'event_data'
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
2020-11-02 16:17:12 +08:00
Jiang Jiang Jian
5ad2ec79fd
Merge branch 'bugfix/fix_reject_using_rtc_gpio' into 'master'
...
fix reject lightsleep when using rtc gpio to wakeup
See merge request espressif/esp-idf!11027
2020-11-02 16:13:33 +08:00
Island
a2394dee0a
Merge branch 'bugfix/fix_node_test_func_not_set_role' into 'master'
...
ble_mesh: test: Fix node test function not update role flag
See merge request espressif/esp-idf!11039
2020-10-30 21:05:16 +08:00
Mahavir Jain
46148d1ef3
Merge branch 'bugfix/wifi_provisioning_lock' into 'master'
...
wifi_provisioning: release lock on scan start failure
Closes IDFGH-4157
See merge request espressif/esp-idf!11059
2020-10-30 19:38:44 +08:00
Michael (XIAO Xufeng)
35faecea1d
Merge branch 'feature/support_sigma_delta_on_s3' into 'master'
...
sigma_delta: add periph signal list and support esp32-s3
See merge request espressif/esp-idf!10945
2020-10-30 17:22:02 +08:00
Bruno Binet
adabe5a76e
wifi_provisioning: release lock on scan start failure
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/6019
2020-10-30 13:16:56 +05:30
Michael (XIAO Xufeng)
23584e094f
Merge branch 'feature/esp_flash_32b_addr' into 'master'
...
esp_flash: support high capacity flash chips (32-bit address)
See merge request espressif/esp-idf!9475
2020-10-30 15:22:44 +08:00
Ivan Grokhotkov
754e73b39a
Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources' into 'master'
...
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
Closes IDFGH-4176
See merge request espressif/esp-idf!11011
2020-10-30 03:33:40 +08:00
Michael (XIAO Xufeng)
3c402f83a8
esp_flash_test: decrease some performance threshold by 6%
...
Due to the 32-bit flash feature, some performance value are decreased by 6%
2020-10-30 01:11:43 +08:00
Michael (XIAO Xufeng)
d48c4e1da7
spi_flash_test: workaround for broken ROM API after new API calls.
2020-10-29 18:21:44 +08:00
Michael (XIAO Xufeng)
8337f0afa2
spi_flash: fix LL of esp32s3 and add 32-bit support
2020-10-29 18:21:42 +08:00
Michael (XIAO Xufeng)
b4c3718e39
flash_test: test 32bit address region if chip size meet
2020-10-29 18:21:27 +08:00
Michael (XIAO Xufeng)
3bacf35310
esp_flash: support high capacity flash chips (32-bit address)
2020-10-29 18:20:11 +08:00
lly
1f61b67ec3
ble_mesh: test: Fix node test function not update role flag
2020-10-29 15:48:06 +08:00
morris
17808b3ff8
sigma_delta: add periph signal list and support esp32-s3
2020-10-29 11:06:28 +08:00
weitianhua
1de3b17192
Fix BT controller dead issue caused by clk overflow
2020-10-29 10:49:30 +08:00
ninh
19fd0f5634
fix reject lightsleep when using rtc gpio to wakeup
2020-10-29 02:47:58 +00:00
Angus Gratton
8f3393afdf
Merge branch 'refactor/create_esp_hw_support' into 'master'
...
Create esp_hw_support
Closes IDF-2161
See merge request espressif/esp-idf!10513
2020-10-29 07:51:46 +08:00
Renz Bagaporo
6b0a5af73e
soc: move implementations to esp_hw_support
2020-10-28 22:38:50 +08:00
Jiang Jiang Jian
6bed9ec70c
Merge branch 'bugfix/fix_ag_outging_callback_not_triggered' into 'master'
...
Bugfix/Fix Ag Example Outgoing Callback Not Triggered
Closes BTCI-50
See merge request espressif/esp-idf!10828
2020-10-28 19:57:02 +08:00
KonstantinKondrashov
e9978f7623
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
...
Closes: https://github.com/espressif/esp-idf/issues/6037
2020-10-28 16:25:07 +08:00
wangcheng
6d7c9907c3
components/bt: fixed memory damage caused by bluetooth memory release
2020-10-28 06:59:03 +00:00
wangcheng
8cf0c1c3b8
components/bt: fix assert(10, 9), when the AFPM happens
2020-10-28 06:59:03 +00:00
Jiang Jiang Jian
a54e92f00b
Merge branch 'mesh/bugfix_1023' into 'master'
...
esp_wifi_mesh: update wifi mesh libs
See merge request espressif/esp-idf!10970
2020-10-28 14:22:47 +08:00
Island
0a61f04f3f
Merge branch 'bugfix/bluedroid_gatt_clcb_use_afer_free_issue' into 'master'
...
component/bt: Fix gatt clcb use-after-free issue
See merge request espressif/esp-idf!10989
2020-10-28 14:01:07 +08:00
Michael (XIAO Xufeng)
9cc81f7698
Merge branch 'fix/spi_master_use_data_flag' into 'master'
...
spi_master: fix the error log when use tx/rx_data with larger data
See merge request espressif/esp-idf!11005
2020-10-28 11:13:39 +08:00
shenjun
ea0603897d
esp_wifi_mesh: update wifi mesh libs
...
1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not switch to a parent candidate which has the same layer and assoc as current parent
5. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
6. Fix the new voted root does not reconnect to router if rssi is weak
2020-10-28 02:58:44 +00:00
lly
5f146455f3
component/bt: Fix gatt clcb use-after-free issue
2020-10-28 02:42:28 +00:00
Renz Bagaporo
79887fdc6c
soc: descriptive part occupy whole component
2020-10-28 07:21:29 +08:00
Renz Bagaporo
988be69466
esp_hw_support: create component
2020-10-28 07:21:29 +08:00
Michael (XIAO Xufeng)
12249dcb09
spi_master: fix the error log when use tx/rx_data with larger data
2020-10-27 23:34:03 +08:00
morris
9de6cba434
ci: add more build test for esp32-s3
2020-10-27 17:22:17 +08:00
morris
d084ef4473
gdma: fix wrong m2m mode wrong config
2020-10-27 16:53:19 +08:00
Jiang Jiang Jian
84a312c0a0
Merge branch 'bugfix/update_toolchain_5.2.0_psram_final' into 'master'
...
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5
See merge request espressif/esp-idf!10635
2020-10-27 14:48:23 +08:00
Michael (XIAO Xufeng)
2a329df051
Merge branch 'feat/spi_flash_qio_test' into 'master'
...
spi_flash: add unit tests for qio mode
See merge request espressif/esp-idf!8303
2020-10-27 12:24:05 +08:00
xiehang
f9e490e0dc
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5
2020-10-27 02:57:01 +00:00
David Čermák
97ac37378f
Merge branch 'bugfix/esp_netif_ppp_event_data' into 'master'
...
esp-netif: Fix PPP netif event posting to include esp_netif data
Closes IDFGH-4147
See merge request espressif/esp-idf!10958
2020-10-27 05:27:24 +08:00
David Čermák
25530d2247
Merge branch 'bugfix/slip_input_longer_u8' into 'master'
...
esp_netif: Fixed SLIP input to support size longer than 256
Closes IDFGH-4057
See merge request espressif/esp-idf!10959
2020-10-27 04:03:06 +08:00
Rob Connolly
a92ae03b1e
esp_netif: Fixed SLIP input to support size longer than 256
...
Implement batch processing of incoming slip data.
Merges https://github.com/espressif/esp-idf/pull/5928
2020-10-26 17:53:17 +01:00
Michael (XIAO Xufeng)
9a394e1aa0
Merge branch 'feature/spi_bringup_esp32s3' into 'master'
...
spi: bringup on esp32s3
See merge request espressif/esp-idf!10107
2020-10-27 00:51:42 +08:00
David Cermak
8a143fcf40
esp-netif: Fix PPP netif event posting to include esp_netif data
...
Closes https://github.com/espressif/esp-idf/issues/6009
2020-10-26 16:00:42 +00:00
David Čermák
e1c3350cec
Merge branch 'feature/lwip_tcp_isn_hook' into 'master'
...
lw-ip: enable TCP ISN hook
See merge request espressif/esp-idf!10854
2020-10-26 20:45:16 +08:00
Angus Gratton
f806261964
Merge branch 'bugfix/fix_rtc_io_hal_desc' into 'master'
...
Sleep related minor description fixes
Closes IDFGH-3868
See merge request espressif/esp-idf!10725
2020-10-26 18:48:03 +08:00
Angus Gratton
1688289c06
Merge branch 'bugfix/esp_efuse_mac_get_default_fix_mac_range_for_internal_usage' into 'master'
...
esp_common: Fix range of MACs for interal usage with wrong crc
Closes IDFGH-4066
See merge request espressif/esp-idf!10922
2020-10-26 16:21:56 +08:00
Michael (XIAO Xufeng)
bcb5c3506d
Merge branch 'feature/dedicated_gpio' into 'master'
...
Dedicated GPIO driver on ESP32-S2 and ESP32-S3
Closes IDF-1672
See merge request espressif/esp-idf!8716
2020-10-26 15:33:33 +08:00
Jiang Jiang Jian
090dbc5550
Merge branch 'feature/add_ipv6_ping' into 'master'
...
lw-ip:add feature for ipv6 ping
Closes WIFI-2535
See merge request espressif/esp-idf!9530
2020-10-26 15:16:23 +08:00
Michael (XIAO Xufeng)
8926216723
Merge branch 'bugfix/esp32s2_adc_rng_registers' into 'master'
...
esp32s2: Use regi2c registers to enable bootloader RNG
See merge request espressif/esp-idf!10941
2020-10-26 13:55:05 +08:00
Angus Gratton
6d1d6e736d
Merge branch 'bugfix/wpa_supplicant_link_depth' into 'master'
...
wpa_supplicant: Fix failure to link under some circumstances
Closes IDFGH-3715
See merge request espressif/esp-idf!10822
2020-10-26 12:22:32 +08:00
Jiang Jiang Jian
161bff3b11
Merge branch 'bugfix/tx_prog_dram_crash' into 'master'
...
components/bt: fixed tx_prog insert error(master)
See merge request espressif/esp-idf!10910
2020-10-26 11:33:20 +08:00
Armando
f7e91ef6c1
spi: esp32s3 bringup for spi
2020-10-26 11:28:34 +08:00
Jiang Jiang Jian
286ccb203e
Merge branch 'bugfix/fix_TCP_retransmission_interval' into 'master'
...
fix TCP retransmission interval
Closes WIFI-2861
See merge request espressif/esp-idf!10867
2020-10-26 11:25:14 +08:00
Jiang Jiang Jian
65bee98861
Merge branch 'bugfix/wps_fail_reason_code' into 'master'
...
esp_wifi: Add Failures Reason code in all WPS failure send event
Closes WIFI-2947
See merge request espressif/esp-idf!10924
2020-10-26 11:24:14 +08:00
Angus Gratton
087cacd06a
Merge branch 'bugfix/unneeded_header_files' into 'master'
...
Remove some unneeded header files/deps
See merge request espressif/esp-idf!10237
2020-10-26 11:16:32 +08:00
Armando
5a3cca8f67
spi_slave: remove debug code
...
Closes https://github.com/espressif/esp-idf/pull/6023
2020-10-26 10:59:33 +08:00
He Yin Ling
653fa702b4
Merge branch 'test/move_auto_test_script_to_new_repo' into 'master'
...
ci: move auto_test_script to new repo
See merge request espressif/esp-idf!10471
2020-10-24 09:21:18 +08:00
Chen Yu Dong
f38321a218
test: move auto_test_script to new repo
...
clone repo by https instead of ssh
2020-10-24 09:21:17 +08:00
Island
6af7681008
Merge branch 'optimize/ble_mesh_reduce_code_size' into 'master'
...
ble_mesh: stack: Optimization introduced to reduce code size
Closes BLEMESH-247
See merge request espressif/esp-idf!10863
2020-10-23 19:02:56 +08:00
Aditya Patwardhan
fa42beac97
esp32/esp-tls: remove dependancy of esp_https_client and tcp_transport on mbedtls
2020-10-23 05:16:06 +00:00
Aditya Patwardhan
8d65cee0a9
esp32/esp-tls: Make crypto abstraction layer inside esp-tls
...
Which allows several components to use cryptographic functions from
esp-tls which is the current abstraction layer.
2020-10-23 05:16:06 +00:00
Mahavir Jain
0fc4249dd5
esp_netif: initialize TCP ISN hook if enabled in configuration
2020-10-23 05:11:33 +00:00
Mahavir Jain
58c33f3bdf
lwip: provide configuration option to enable TCP ISN hook
2020-10-23 05:11:33 +00:00
Mahavir Jain
8099dd089d
tcp_isn: use ROM APIs for md5 calculations
2020-10-23 05:11:33 +00:00
Mahavir Jain
b8925ab48b
lwip: add custom TCP ISN hook implementation
...
Source:
https://git.savannah.nongnu.org/cgit/lwip/lwip-contrib.git/
2020-10-23 05:11:33 +00:00
Jiang Jiang Jian
2639dd940c
Merge branch 'bugfix/ipv6_ping_error_when_src_ip_miss' into 'master'
...
lw-ip:bugfix ipv6 ping error when src ip miss
See merge request espressif/esp-idf!10930
2020-10-23 11:27:42 +08:00
lly
fc071c10a6
ble_mesh: stack: Add a Kconfig option to make Health Server model optional
2020-10-23 02:04:21 +00:00
lly
9620a1a568
ble_mesh: stack: Split model Kconfig menu into foundation and others
2020-10-23 02:04:21 +00:00
lly
9176fe996c
ble_mesh: stack: Add Kconfig options to make server models optional
2020-10-23 02:04:21 +00:00
lly
a1f1a6b484
ble_mesh: stack: Use Kconfig option to make client models optional
2020-10-23 02:04:21 +00:00
lly
d13e0635a8
ble_mesh: stack: Make some internal static functions inline
2020-10-23 02:04:21 +00:00
lly
051f02ee80
ble_mesh: stack: Add a Kconfig option to make deinit optional
2020-10-23 02:04:21 +00:00
lly
675c94a9d4
ble_mesh: stack: Introduce a new header file mesh_config.h
2020-10-23 02:04:21 +00:00
Michael (XIAO Xufeng)
b744c14a8a
Merge branch 'bugfix/spi_slave_fix_cs_num_crash' into 'master'
...
spi_slave: fix crash issue when cs is set to -1
Closes IDFGH-3885
See merge request espressif/esp-idf!10414
2020-10-22 22:36:21 +08:00
Renz Bagaporo
21e46d5b3c
ci: use actual esp_system headers for host test
2020-10-22 19:42:34 +08:00
Renz Bagaporo
e7460c1f00
soc: remove unecessary headers in dport_access.h
2020-10-22 19:42:34 +08:00
Renz Bagaporo
b3a7c6e27e
components: remove some unneeded headers from source files
2020-10-22 19:37:10 +08:00
Renz Bagaporo
0aa9ee5b24
esp32s3: delete duplicate esp32s3
2020-10-22 20:01:59 +11:00
Renz Bagaporo
e19f5d8955
hal: fix wrong description on rtc io hal
...
Closes https://github.com/espressif/esp-idf/issues/5770
2020-10-22 20:01:41 +11:00
Angus Gratton
982d4be760
Merge branch 'bugfix/freertos_include_coreid' into 'master'
...
freertos: Fix include coreid regression, add new UT configs
See merge request espressif/esp-idf!10864
2020-10-22 16:58:51 +08:00
Angus Gratton
4df4bd9558
Merge branch 'bugfix/clock_getres_accuracy_resolution' into 'master'
...
newlib: Fix clock_getres() improves accuracy
See merge request espressif/esp-idf!10743
2020-10-22 16:50:29 +08:00
Ivan Grokhotkov
902d630102
Merge branch 'bugfix/delete_duplicate_s3_pm_configs' into 'master'
...
esp32s3: delete duplicate s3 pm configs
See merge request espressif/esp-idf!10715
2020-10-22 16:45:19 +08:00
xueyunfei
79fc027830
lwip:add feature for ipv6 ping
2020-10-22 15:01:59 +08:00
Angus Gratton
57d6026f97
Merge branch 'feature/efuse_support_for_esp32s3' into 'master'
...
efuse: Adds support for esp32-s3 chip
See merge request espressif/esp-idf!10491
2020-10-22 13:53:01 +08:00
Angus Gratton
c51dca618a
Merge branch 'feature/update_key_name_of_secure_boot' into 'master'
...
bootloader: Secure_boot name replaced by secure_boot_v1 & secure_boot_v2
Closes ESPTOOL-55
See merge request espressif/esp-idf!10849
2020-10-22 13:41:13 +08:00
Angus Gratton
75cb8eecf6
Merge branch 'feature/change_factory_reset_pin_range' into 'master'
...
bootloader: Change range of the factory reset pin in Kconfig for ESP32-S2
Closes IDFGH-3537
See merge request espressif/esp-idf!10920
2020-10-22 12:31:08 +08:00
Angus Gratton
cb12365221
Merge branch 'feature/add_inttypes_for_esp_app_format' into 'master'
...
bootloader_support: Add missing inttypes include in esp_app_format.h
Closes IDFGH-3950
See merge request espressif/esp-idf!10921
2020-10-22 12:16:22 +08:00
Angus Gratton
639e97437f
esp32s2: Use regi2c registers to enable bootloader RNG
2020-10-22 14:39:59 +11:00
Jiang Jiang Jian
34e6a17c09
Merge branch 'bugfix/fix_tsf_bug' into 'master'
...
WiFi:fix tsf bug
Closes WIFI-2909, WIFI-2928, and WIFI-2893
See merge request espressif/esp-idf!10909
2020-10-22 11:09:02 +08:00
wangcheng
94fae76de1
components/bt: fixed tx_prog insert error
2020-10-21 20:22:17 +08:00
xueyunfei
9ac6d4a1ce
bugfix ipv6 ping error when src ip miss
2020-10-21 20:10:15 +08:00
kapil.gupta
474c38a5f3
esp_wifi: Add WPS Reason code in all failures
2020-10-21 10:56:19 +05:30
Jiang Jiang Jian
303587103a
Merge branch 'bugfix/btdm_bluedroid_enable_takes_long_time' into 'master'
...
Bugfix/btdm bluedroid enable takes long time
Closes BT-1022
See merge request espressif/esp-idf!10266
2020-10-21 12:32:25 +08:00
Mahavir Jain
199b2cb79d
freertos: add parameter validation checks in xTaskCreateStaticPinnedToCore
...
Regression from commit-id a3c90bf59a
2020-10-21 14:05:01 +11:00
Angus Gratton
c87fe77ef9
freertos: Restore the check that mutex is given by owner
...
Even without this check, if the owner doesn't match then FreeRTOS will still
fail an assertion - but it's not as clear what the root cause is.
2020-10-21 14:04:01 +11:00
Angus Gratton
8a70b1cdc9
ci freertos: Add test configs for some of the optional FreeRTOS 10 configurations
...
Also unit tests for the legacy hook functions.
2020-10-21 14:04:01 +11:00
Ivan Grokhotkov
b6b1d1b49a
Merge branch 'bugfix/pm_dump_format' into 'master'
...
esp_pm: fix formatting issues in esp_pm_dump_locks
See merge request espressif/esp-idf!10842
2020-10-20 22:21:03 +08:00
Ivan Grokhotkov
b98032aae4
Merge branch 'bugfix/pm_uart_garbage' into 'master'
...
esp_pm: fix garbage on UART when CONFIG_PM_ENABLE=y
See merge request espressif/esp-idf!10843
2020-10-20 22:18:00 +08:00
KonstantinKondrashov
99226734e2
esp_common: Fix range of MACs for interal usage with wrong crc
...
Closes: https://github.com/espressif/esp-idf/issues/5937
2020-10-20 22:12:28 +08:00
suren.gabrielyan
637f5c0a68
CI: Add a test to pre-check fuzzer tests compilation before weekly run
2020-10-20 13:57:00 +00:00
sU8U7SfkcwTJVH7PjaVmej7D
092b63f491
bootloader_support: Add missing inttypes include in esp_app_format.h
...
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Closes: https://github.com/espressif/esp-idf/pull/5837
2020-10-20 21:49:07 +08:00
KonstantinKondrashov
5f975a8168
bootloader: Change range of the factory reset pin in Kconfig
...
Closes: https://github.com/espressif/esp-idf/issues/5489
2020-10-20 21:28:37 +08:00
morris
bb1369b922
dedicated gpio: add driver
2020-10-20 21:06:09 +08:00
Jiang Jiang Jian
b3ce1db97a
Merge branch 'bugfix/fix_spp_read_flow_control' into 'master'
...
component_bt/fix spp flow control and vfs write
Closes BT-1011
See merge request espressif/esp-idf!10331
2020-10-20 20:26:19 +08:00
zhangyanjiao
2a5a6a87fd
esp_wifi: fix tsf bug
...
Closes https://github.com/espressif/esp-idf/issues/5915
2020-10-20 16:08:22 +08:00
Angus Gratton
e5f06d7f47
Merge branch 'feature/esp32s3_support_gettimeofday' into 'master'
...
time: Fix gettimeofday for ESP32-S3
See merge request espressif/esp-idf!10871
2020-10-20 14:09:36 +08:00
Konstantin Kondrashov
9386cafbc3
time: Fix gettimeofday for ESP32-S3
2020-10-20 14:09:32 +08:00
Angus Gratton
bb74334830
freertos: Fix regression when xCoreID included in task status TCB
...
Regression when adding FreeRTOS 10 support.
As reported at https://github.com/espressif/esp-idf/issues/1453#issuecomment-709663537
2020-10-20 14:06:28 +11:00
Ivan Grokhotkov
48f27cb5ab
Merge branch 'feature/esp32_ulp_allow_8kb' into 'master'
...
esp32: allow up to 8 kB of ULP program size
Closes IDFGH-1772
See merge request espressif/esp-idf!10727
2020-10-20 04:08:57 +08:00
Ivan Grokhotkov
30754918ee
esp_pm: fix formatting issues in esp_pm_dump_locks
...
- line was truncated because 64 characters were not sufficient
- length passed to snprintf should be full buffer length, not -1
- make the width of lock name field fixed
- fix alignment of lock type column
2020-10-19 18:54:34 +02:00
Island
b62944b6b1
Merge branch 'bugfix/ble_mesh_autorsp_description' into 'master'
...
esp_ble_mesh: api: fixed comment about autoresp
Closes BMCI-116
See merge request espressif/esp-idf!10886
2020-10-19 16:33:28 +08:00
Michael (XIAO Xufeng)
2e681f4cb5
Merge branch 'bugfix/fix_rs485_ut_fail' into 'master'
...
Bugfix/fix RS485 ut fail
See merge request espressif/esp-idf!9448
2020-10-19 16:17:23 +08:00
Alex Lisitsyn
8737584789
Bugfix/fix RS485 ut fail
2020-10-19 16:17:19 +08:00
morris
906dd0ad84
pcnt: replace isr register with isr service in example
2020-10-19 11:56:18 +08:00
morris
153e819e8a
pcnt: add rotary encoder example
2020-10-19 11:56:18 +08:00
morris
74d78148bc
pcnt: add pcnt peripheral signal connections
...
pcnt: fix bug in clear interrupt status
2020-10-19 11:56:18 +08:00
Claudio Jeker
669331d0c4
pcnt: properly clear interrupt status in pcnt_intr_service
...
status is 0 when pcnt_hal_clear_intr_status() is called and so the
interrupt will be triggered immediatly again. Store the original
status and pass this as mask to pcnt_hal_clear_intr_status().
Merges https://github.com/espressif/esp-idf/pull/5929
2020-10-19 11:08:06 +08:00
Angus Gratton
982a4abbb7
Merge branch 'bugfix/adc_dma_test_value' into 'master'
...
adc_test: fix the failure caused by low expected middle value
See merge request espressif/esp-idf!10878
2020-10-19 11:04:14 +08:00
andreachiara
0b9d270804
esp_ble_mesh: api: fixed comment about autoresp
2020-10-19 10:48:57 +08:00
Angus Gratton
4504318a28
Merge branch 'feature/esp32s2_bootloader_random' into 'master'
...
bootloader_support: Enable RNG entropy source for ESP32-S2
Closes IDF-1347
See merge request espressif/esp-idf!8965
2020-10-19 07:12:59 +08:00
Michael (XIAO Xufeng)
c0887582a2
adc_test: fix the failure caused by low expected middle value
2020-10-18 10:32:04 +08:00
Michael (XIAO Xufeng)
1966f00f0b
soc: updates caps usage
...
We should define caps as 1 if true. When use the caps macros, #if and
#if ! should be used instead of #ifdef/#ifndef.
2020-10-17 16:10:17 +08:00
Michael (XIAO Xufeng)
647dea9395
soc: combine xxx_caps.h into one soc_caps.h
...
During HAL layer refactoring and new chip bringup, we have several
caps.h for each part, to reduce the conflicts to minimum. But this is
The capabilities headers will be relataive stable once completely
written (maybe after the featues are supported by drivers).
Now ESP32 and ESP32-S2 drivers are relative stable, making it a good
time to combine all these caps.h into one soc_caps.h
This cleanup also move HAL config and pin config into separated files,
to make the responsibilities of these headers more clear. This is
helpful for the stabilities of soc_caps.h because we want to make it
public some day.
2020-10-17 16:10:15 +08:00
Krzysztof Budzynski
bd7fecd396
Merge branch 'bugfix/ulp_doc_fixes' into 'master'
...
ULP: Update instruction set documentation for Esp32 and Esp32s2.
See merge request espressif/esp-idf!8560
2020-10-17 02:44:47 +08:00
Dmitry Yakovlev
0a8afd13a2
Udate instruction set documentation for Esp32 and Esp32s2.
...
Sleep instruction removed from S2 instruction set.
LDx/STx instructions descritioin fix offset range to 13 bits (11 bits signed 32 bit words offset).
Remove I2C RD/WR operations from S2.
2020-10-17 02:44:47 +08:00
Michael (XIAO Xufeng)
ecca44df93
Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32' into 'master'
...
bugfix(adc): missing ranges of ADC-DMA codes in ESP32
Closes DIG-53
See merge request espressif/esp-idf!10521
2020-10-16 23:02:35 +08:00
Angus Gratton
04ecdd95cf
bootloader_support makefile: Use consistent indentation
2020-10-16 18:48:26 +11:00
Angus Gratton
b35cb43caf
bootloader_support: Add dummy ESP32-S3 RNG support
2020-10-16 18:48:26 +11:00
Angus Gratton
9311b1e7be
esp32s2: Enable 8M clock source for RNG also
...
Either of these options is sufficient to pass dieharder test suite with
bootloader random output, having both enabled is a bonus.
2020-10-16 18:48:26 +11:00
Angus Gratton
699742acc6
esp32s2: Support bootloader_random_enable()
2020-10-16 18:48:26 +11:00
Angus Gratton
a416452657
Merge branch 'feature/skip_sha256_error_on_fpga' into 'master'
...
bootloader: Skip a sha256 error on FPGA
See merge request espressif/esp-idf!10836
2020-10-16 14:43:06 +08:00
Michael (XIAO Xufeng)
465e5050b6
Merge branch 'bugfix/fix_spi_flash_clock_config_error_s2' into 'master'
...
bootloader_support: fix spi flash clock config error
See merge request espressif/esp-idf!10628
2020-10-16 12:04:32 +08:00
ronghulin
d9f7df6f9b
fix TCP retransmission interval
2020-10-16 11:48:43 +08:00
Shubham Kulkarni
bcdc8ac28f
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
2020-10-15 20:09:23 +05:30
KonstantinKondrashov
b19c4739c3
bootloader: Secure_boot name replaced by secure_boot_v1 & secure_boot_v2
...
- espefuse.py burn_key secure_boot is no longer used.
- Secure boot V1: espefuse.py burn_key secure_boot_v1 file.bin
- Secure boot V2: espefuse.py burn_key secure_boot_v2 file.bin
2020-10-15 16:48:23 +08:00
Ivan Grokhotkov
0289d1cc81
Merge branch 'bugfix/gdbstub_threads_and_tests' into 'master'
...
gdbstub: fix thread list generation, add tests
Closes IDF-2246
See merge request espressif/esp-idf!10709
2020-10-15 15:59:32 +08:00
Angus Gratton
f45e8bab35
Merge branch 'feature/jtag_reenable' into 'master'
...
Feature/jtag reenable
Closes IDF-802
See merge request espressif/esp-idf!10524
2020-10-15 14:46:49 +08:00
KonstantinKondrashov
3c57d5e0a1
bootloader: Skip a sha256 error on FPGA
2020-10-15 13:27:54 +08:00
Angus Gratton
67baa8371a
Merge branch 'feature/rename_analog_i2c_files' into 'master'
...
feature(rtc): rename i2c_xxx to regi2c_xxx
See merge request espressif/esp-idf!10672
2020-10-15 11:16:14 +08:00
Angus Gratton
466ad65cf4
Merge branch 'bugfix/usb_console_critical_section' into 'master'
...
esp_system: fix incorrect critical section usage in usb_console
Closes IDF-2049
See merge request espressif/esp-idf!10826
2020-10-15 10:36:57 +08:00
Angus Gratton
9f1d9931a7
Merge branch 'bugfix/bt_hidh_write' into 'master'
...
Fix BT HIDH write allocates 1 byte less and returns ok on failed malloc
Closes IDFGH-3881
See merge request espressif/esp-idf!10144
2020-10-15 06:39:15 +08:00
Angus Gratton
3a959ca3e3
Merge branch 'bugfix/ci_driver_gpio_config_s2' into 'master'
...
driver test: Don't use ESP32-S2 CS1 pin for output test
Closes IDFCI-112
See merge request espressif/esp-idf!10835
2020-10-15 06:28:20 +08:00
Ivan Grokhotkov
50ef2f97d6
esp_pm: fix garbage on UART when CONFIG_PM_ENABLE=y
...
`uart_ll_get_txfifo_len` returns the number of bytes available in the
TX FIFO; The condition we need is "FIFO empty", not "FIFO has free
space". `uart_ll_is_tx_idle` does that, and also ensures that the last
character popped from the TX FIFO has been fully transmitted.
2020-10-14 19:43:53 +02:00
fuzhibo
6773df88f2
feature(rtc): rename i2c_xxx to regi2c_xxx
2020-10-14 21:15:24 +08:00
baohongde
3b82670a50
components/bt: Fix waking up fail while sleeping
2020-10-14 20:20:57 +08:00
Michael (XIAO Xufeng)
b1ace5808d
Merge branch 'bugfix/tusb_console_strlen' into 'master'
...
Fix a strncpy-related warning caused by a wrong argument
See merge request espressif/esp-idf!10685
2020-10-14 17:42:10 +08:00
KonstantinKondrashov
66b9b589cb
efuse: Adds support for esp32-s2 chip
2020-10-14 16:26:51 +08:00
Angus Gratton
ba3a6f68b4
driver test: Don't use ESP32-S2 CS1 pin for output test
...
On a ESP32-S2 with PSRAM attached, this may cause a crash
2020-10-14 16:18:55 +11:00
Angus Gratton
bf85348034
tlsf: Enable asserts
2020-10-14 16:11:49 +11:00
Angus Gratton
1224ae9a42
freertos: Use configured idle task stack size not minimum task stack size for idle tasks
2020-10-14 16:11:49 +11:00
Angus Gratton
30b5aab77a
freertos: Fix some edge cases around un-pinned tasks migrating cores
2020-10-14 16:11:49 +11:00
Felipe Neves
dfa2d547a7
freertos: pin timer task in core 0 plus fixed in SMP race conditions
...
freertos: replace the freertos regular malloc to the specific malloc from xtensa port for tcb and stack allocations
freertos: avoid the cpu1 to unwind pended ticks when xTaskResumeAll is called insed of an ISR
freertos: protected the xPortGetCoreID functions with missing critical sections
tests: re-eanble the ignored tests that was failling before race-condition fixes
2020-10-14 16:11:49 +11:00
Felipe Neves
3057b76a7e
tests: re-add all disabled tests and all disabled configurations
2020-10-14 16:11:49 +11:00
Felipe Neves
206540909e
freertos: readd task checking for stack overflow macros
2020-10-14 16:11:49 +11:00
Felipe Neves
656b706ea4
freertos: added core-ID member to task status structure aloowing its tracing.
...
Closes https://github.com/espressif/esp-idf/issues/5763
2020-10-14 16:11:39 +11:00
liqigan
743c1c1f20
fix ag example outgoing callback not triggered
...
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-14 09:47:16 +08:00
Felipe Neves
f3783ba258
app_trace/sysview: fixed freertos tracing calling plus sync apptrace component with the master branch version
...
docs: remove reference to backported features in freertos 10 api-reference.
2020-10-13 23:52:03 +00:00
Felipe Neves
d8ed9be1d4
freertos/timer: fix the static timer creation
...
Removes the not used spinlock field inside timer object which was causing assertion fail
2020-10-13 23:52:03 +00:00
Felipe Neves
bd9b921713
heap_tlsf: added implementation of TLSF allocator
...
heap: ported tlsf allocator into multi heap
heap_host_tests: added tlsf allocator into host test
heap_host_test: update freebytes after using free
heap_tests: tlsf now passing on host tests without poisoning
multi_heap: added support for memalign using tlsf implementation
heap_caps: removed heap_caps_aligned_free
heap/test: fixed broken aligned alloc test build
heap: added poisoning pattern when blocks are being merged
heap/tests: added timing tests for memory allocation
heap: reduced tlsf structure overhead
heap/tlsf: made all short functions inside of tlsf module as inline to improve timings
heap: moved tlsf heap routines outside of flash memory
newlib: linked multiheap memalign with newlib memalign function
heap: moved block member functions to a separate file so multi_heap can use the functions
heap/test: improved the tlsf timing test
heap/test: added memalign on aligned alloc tests
heap: moved tlsf configuration constants to a separated file
heap: added random allocations test with timings
heap: modified the calculation of heap free bytes
heap: make aligned free true deprecated functions and update their documentation
heap: add extra assert after successive mallocs on small allocation host test
heap: remove legacy aligned alloc implementation.
performance: added malloc and free time performance default values
2020-10-13 23:52:03 +00:00
Felipe Neves
a3c90bf59a
freertos: merged freertos 10 kernel files into IDF
...
freertos/port: update the port files and split into xtensa and riscv ports
freertos: separated cpu files from rest of the kernel sources
freertos/port_xtensa: separated private include files into a folder
freertos/tasks: added task create pinned to core function do not break current IDF API
freertos/tasks: mimiced task create pinned function into tasks.c to do not break the IDF API.
freertos: freertos component now compiling
freertos: freertos component now building
freertos: moved critical sections outside from FR kernel section to portable section
portmacro_xtensa: add void indentifier on functions that take no arguments
freertos: fix critical sections implementation to match with their function prototype
freertos: add cmake changes of freertos into make
freertos: remove portDONT_DISCARD attribute from switch context function, it was breaking the docs building.
freertos: fix conflicitng types of vApplicationSleep function
license: update the license of freertos
freertos: Doxygen comments refactored to render them correctly on docs
freertos: added new functions of freertos into the documentation
freertos: added message buffers and stream buffers to documentation
sysview: update freertos system view to the compatible with version 10
freertos: fixed event group documentation rendering
freertos: update static task structure to match the actual tcb size
freertos: removed backported test functions
freertos/smp: brought SMP code to FreeRTOS 10 port
freertos/portmacro: added missing crosscore interrupt for yielding tasks
freertos: replaced soft-critical sections with hard-critical sections used by SMP
freertos: placed muxes inside of kernel objects
freertos: replaced original FR critical sections with SMP enabled spinlocks critical sections
freertos: moved xtensa port files to a separated folder
freertos: added multiple instance of global variables required to SMP
freertos: added SMP modifications on specific tasks module functions
freertos: added TLS deletion function to task module
freertos/tls: initialize TLS deletion callback to avoid crashing when calling task delete
freertos: modified vTaskDelete to do not erase current task that runs on other core
freertos: reverted taskhandle and timerhandle as void* type
freertos: fixed de-referencing void pointer to get run time counter
freertos: fix system view trace enter macro arguments
freertos: Replaced soft critical sections with spinlocks on event_groups
freertos: fixed tick function to avoid calling tick hooks twice
freertos: Nofity give checking per CPU if schedule is suspended
freertos: added mpu release on TCB deletion
freertos: Added SMP changes when deleting a TCB on idle task
freertos/license: update freertos license in COPYRIGHT.rst
freertos: unicore configurations can use task create pinned to core, it will be always pinned to core 0
freertos/portmacro: added cpu_hal_get_core_id() function instead of inline assembly
freertos/xtensa: update xtensa specific files used in master branch
newlib/locks: revert the preemption checking in lock acquisition and release
ref_clock: fix initial state of ref_clock interrupt handler
freertos: added missing critical sections and yielding checkings
freertos: remove magic numbers in vTaskDelete
freertos: added missing critical section in prvIsQueueEmpty
2020-10-13 23:52:03 +00:00
Ivan Grokhotkov
51d86081b8
gdbstub: fix thread list generation
...
This commit fixes an issue with gdbstub, where it would list threads
with TIDs 1 to N in qfThreadInfo/qsThreadInfo responses, and then
would tell GDB that the current TID is 0 in the qC response. This
caused an assertion failure in GDB, because it couldn't find the
thread structure corresponding to TID 0:
src/gdb/gdb/thread.c:93: internal-error: thread_info* inferior_thread(): Assertion `tp' failed.
The issue was caused by the logic of qfThreadInfo/qsThreadInfo.
If the "paniced" task index was 1, the code would report it in the
response to qfThreadInfo, and then mistakenly skip task with index 0
in qsThreadInfo, due to the use of pre-increment instead of a
post-increment.
With that issue fixed, GDB assertion doesn't happen anymore. However
the code contained a deeper problem, which manifested itself in the
fact that GDB would incorrectly show task index 0 as the current task,
after the above fix.
Previous version of the code assumed that when GDB requests the thread
list, it uses the first thread returned by the target as the "default"
thread, and subsequently shows the user that the program is stopped
in that thread. This assumption was incorrect. In fact, after
connecting to a remote target, GDB obtains information about the
"default" or "current" thread from two sources:
1. the 'thread' special register indicated in the status response
($T00thread;00000001#ee)
2. if the target has only sent the plain stop response ($T00#ee), GDB
would ask for the current thread using a qC packet.
With that in mind, it is not necessary to report the paniced task as
the first task in qfThreadInfo response. We can simply returns the
tasks in their natural order, and then indicate the current task in
the qS packet response.
However even that change does not fully resolve the issues with task
list. The previous version of this code also incorrectly interpreted
the meaning of GDB TIDs -1 and 0. When GDB sends an "Hg0" command
early in the connection process, it doesn't expect the server to set
task 0 as the current task, as the code assumed. Rather, it tells the
server to "set any (arbitrary) task as the current one", and the most
logical thing to do for the server that is already in "stopped" state
is to keep the current task selection.
Since TID 0 has a special meaning in GDB remote protocol, gdbstub code
is now modified to map task indices (which start from 0) to GDB TIDs.
GDB TIDs are arbitrary, and for simplicity we keep the same order and
start counting them from 1.
The summary of all the above changes is:
1. Use "task index + 1" as the TID reported to GDB
2. Report the tasks in natural order; don't complicate the code to
make the paniced task first in the list.
3. Centralize modification of 'current_task_index' and 'regfile'
in the new 'set_active_task' function, to improve encapsulation.
2020-10-13 18:09:22 +02:00
Ivan Grokhotkov
4dc1195ca5
esp_system: fix incorrect critical section usage in usb_console
...
spinlock_acquire does not disable interrupts, whereas
portENTER_CRITICAL does.
Closes IDF-2049
2020-10-13 17:39:31 +02:00
baohongde
3f97f1d67a
components/bt: Make sleep avaliable in hli(for future use)
2020-10-13 19:45:03 +08:00
me-no-dev
d535b8c458
Fix BT HIDH write allocates 1 byte less and returns ok on failed malloc
...
Fixes: https://github.com/espressif/esp-idf/issues/5781
2020-10-13 14:30:12 +03:00
Angus Gratton
bc1cca2bf8
wpa_supplicant: Fix failure to link under some circumstances
...
Depending on CMake internals, the wpa_supplicant library may need to be repeated
multiple times in the linker command line.
Closes https://github.com/espressif/esp-idf/issues/5641
2020-10-13 18:25:29 +11:00
Jiang Jiang Jian
f10f27c01a
Merge branch 'bugfix/ipv6_address_get_fail_after_wifi_disconnect' into 'master'
...
lw-ip:ipv6 address get fail after wifi disconnect
Closes ESPCS-442
See merge request espressif/esp-idf!9438
2020-10-13 12:14:46 +08:00
Jiang Jiang Jian
138f036b55
Merge branch 'bugfix/pmf_softap_coex_issue' into 'master'
...
Fix issues related to PMF and WPA2-Enterprise
Closes WIFI-2852, WIFI-2704, and WIFI-2863
See merge request espressif/esp-idf!10523
2020-10-13 11:43:41 +08:00
Angus Gratton
af57f5f520
Merge branch 'bugfix/secure_boot_v2_ota_verification' into 'master'
...
Secure Boot V2: Fixes the OTA regression with secure boot in ESP32-V3
Closes IDFGH-4032
See merge request espressif/esp-idf!10600
2020-10-13 07:09:44 +08:00
Angus Gratton
ff8d05466e
Merge branch 'bugfix/deep_sleep_stub_heap_rtc_fast_mem' into 'master'
...
deep sleep: Calculate RTC CRC without using any stack or other RTC heap memory
Closes IDF-2242
See merge request espressif/esp-idf!10741
2020-10-13 06:17:50 +08:00
Mahavir Jain
0b71a0a46d
Merge branch 'bugfix/esp_https_ota_error_codes' into 'master'
...
esp_https_ota: fix error code formatting
See merge request espressif/esp-idf!10809
2020-10-12 22:39:31 +08:00
Michael (XIAO Xufeng)
fc7433d610
Merge branch 'feature/twai_isr_runs_with_cache_disabled' into 'master'
...
TWAI: ISR runs when cache is disabled
See merge request espressif/esp-idf!9920
2020-10-12 20:18:36 +08:00
Ivan Grokhotkov
85f919a428
esp_https_ota: fix error code formatting
2020-10-12 13:46:15 +02:00
Michael (XIAO Xufeng)
f5e4638c54
Merge branch 'feature/tusb_cdc_without_timer' into 'master'
...
Update `tinyusb_cdcacm_write_flush` to using ticks counting instead of the FreeRTOS timer
See merge request espressif/esp-idf!10738
2020-10-12 19:45:57 +08:00
Andrei Gramakov
ab33f55e1b
tinyusb: Fix a strncpy-related warning caused by a wrong argument
...
The issue was in using with `strncpy` a size of source array instead of using a size of destination array.
2020-10-12 12:30:42 +02:00
Jiang Jiang Jian
b8d26ca389
Merge branch 'bugfix/assert_no_IRAM_ATTR' into 'master'
...
components/bt: btdm fix cache disable crash
See merge request espressif/esp-idf!10778
2020-10-12 16:58:26 +08:00
Michael (XIAO Xufeng)
b821025312
Merge branch 'bugfix/uart_test_debug' into 'master'
...
driver: add diagnostic information into UART test, enable flow control
See merge request espressif/esp-idf!10627
2020-10-12 15:50:33 +08:00
fuzhibo
9cd5e6f8c9
bugfix(adc): missing ranges of ADC codes in ESP32
2020-10-12 07:41:03 +00:00
Angus Gratton
ff4d82c7d2
Merge branch 'feature/sha_hal' into 'master'
...
SHA: add HAL layer and refactor
See merge request espressif/esp-idf!10065
2020-10-12 15:15:28 +08:00
Supreet Deshpande
2356be7c7a
Secure Boot V2: Fixes the OTA regression with secure boot in ESP32-V3
...
Closes https://github.com/espressif/esp-idf/issues/5905
2020-10-12 07:15:16 +00:00
Island
64fa998c0f
Merge branch 'optimize/ble_mesh_make_buf_config_invisible' into 'master'
...
ble_mesh: stack: Make mesh buf debug option invisible
See merge request espressif/esp-idf!10777
2020-10-12 14:14:50 +08:00
Michael (XIAO Xufeng)
3c167497ad
Merge branch 'bugfix/esp_flash_erase_timeout' into 'master'
...
esp_flash: change timeout threshold and can close timeout
Closes IDF-2023
See merge request espressif/esp-idf!10138
2020-10-12 12:49:36 +08:00
Cao Sen Miao
b9f6efd99a
esp_flash: change timeout threshold and can close timeout
2020-10-12 10:43:25 +08:00
xueyunfei
91fd587fb7
lwip/ipv6:ipv6 address get fail after wifi disconnect
2020-10-12 10:40:22 +08:00
lly
0d3c724281
ble_mesh: stack: Make mesh buf debug option invisible
2020-10-12 02:26:47 +00:00
Island
2b374ab7b8
Merge branch 'feat/ble_mesh_device_properties_v2' into 'master'
...
ble_mesh: Update mesh device property to v2
See merge request espressif/esp-idf!10754
2020-10-12 10:13:27 +08:00
Michael (XIAO Xufeng)
47e5dfb120
Merge branch 'feature/test_for_ext_flash_HSPI_on_esp32s2' into 'master'
...
spi_flash: add unit tests for HSPI on esp32s2
See merge request espressif/esp-idf!10040
2020-10-12 10:06:49 +08:00
lly
d3aa32c2ec
ble_mesh: stack: Add mesh device properties v2 definitions
...
Also fixes wrong characteristic value length of some device
properties.
2020-10-12 00:39:58 +00:00
lly
0b57cdf85b
ble_mesh: stack: Move device property to model common part
2020-10-12 00:39:58 +00:00
Angus Gratton
562ab01046
deep sleep: Calculate RTC CRC immediately before deep sleep, without using RAM
...
Fix for issues where RTC FAST memory is updated as part of going into deep
sleep. Very high risk if heaps are in RTC memory - in particular task stacks
may be in RTC memory, but also other variables.
Also fixes potential concurrency problems as RTC FAST memory is not accessible
by CPU during the CRC calculation itself.
Method:
- Disable interrupts (currently for single core only, will need update for S3)
- Load all registers before calculating CRC or going to sleep
2020-10-12 11:19:56 +11:00
Angus Gratton
bb480b72d0
Merge branch 'bugfix/parttool_init' into 'master'
...
parttool: make part_list an optional argument
See merge request espressif/esp-idf!10776
2020-10-12 06:36:48 +08:00
Anton Maklakov
c8d45f11b3
Merge branch 'ci/fast_template_app_s3' into 'master'
...
ci: add esp32s3 into template app build
See merge request espressif/esp-idf!10598
2020-10-11 19:00:48 +08:00
wangcheng
49a52cda6e
components/bt: btdm fix cache disable crash
2020-10-11 15:14:34 +08:00
Island
cbb9aca23a
Merge branch 'bugfix/ble_mesh_proxy_cfg_replay' into 'master'
...
Bugfix/ble mesh proxy cfg replay
See merge request espressif/esp-idf!10699
2020-10-10 21:07:42 +08:00
Nachiket Kukade
6ae4b3ef48
esp_wifi: Update wifi lib
...
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache with mismatching AP config
2020-10-10 09:03:55 +00:00
Darian Leung
4c57f50fe4
TWAI: ISR runs when cache is disabled
...
This commit adds the feature where the TWAI ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_TWAI_ISR_IN_IRAM option.
2020-10-10 14:19:32 +08:00
Marius Vikhammer
b3e7b58d04
parttool: make part_list an optional argument
...
Previous versions of PartitionType only required type and subtype as
arguments for the constructor. Make the new part_list argument optional to
keep backwards compatibilty
2020-10-10 09:46:51 +08:00
Cao Sen Miao
98cb2e5af3
spi_flash: add a unit test for HSPI on esp32s2
2020-10-09 20:57:00 +08:00
Ivan Grokhotkov
eb83878323
Merge branch 'bugfix/coredump_thread_info_failure' into 'master'
...
espcoredump: fix exception when -thread-info fails
See merge request espressif/esp-idf!10720
2020-10-09 19:36:36 +08:00
Michael (XIAO Xufeng)
953c046550
esp32s3/bootloader: extend IRAM usage to 0x6000
...
The bootloader cannot fit in the size of iram_loader_seg when built under -O0. Extend the IRAM size to fix this.
2020-10-09 17:50:17 +08:00
lly
68a6ccba76
ble_mesh: stack: Store kr phase after value changed [Zephyr]
2020-10-09 08:52:01 +00:00
lly
e286cd845f
ble_mesh: stack: Fix rpl not check by proxy cfg [Zephyr]
2020-10-09 08:52:01 +00:00
Marius Vikhammer
949fb8e63a
SHA: add HAL layer and refactor driver
...
Add a LL and HAL layer for SHA.
2020-10-09 08:24:08 +00:00
Ivan Grokhotkov
a587cd1774
Merge branch 'bugfix/esp32s3_build' into 'master'
...
esp32s3: sync memprot header from esp32s2, fixing compilation error
See merge request espressif/esp-idf!10753
2020-10-09 15:58:11 +08:00
Angus Gratton
d6f8e9dfa8
Merge branch 'bugfix/delete_unneeded_cpu_h' into 'master'
...
esp32s2, esp32s3: delete unneeded cpu.h
See merge request espressif/esp-idf!10716
2020-10-09 13:54:56 +08:00
Angus Gratton
8aa73aea86
esp32s2/3: Add missing stdlib includes
...
All three of these headers refer to stdint types, memprot uses stdbool
2020-10-09 15:05:41 +11:00
Island
646599f6f8
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check' into 'master'
...
NimBLE: host_rcv_pkt event buf size check.
Closes BT-1015
See merge request espressif/esp-idf!10108
2020-10-09 09:16:09 +08:00
Ivan Grokhotkov
aa489dba07
esp32s3: sync memprot header from esp32s2, fixing compilation error
...
Since 497b730e8f
, panic_handler.c calls
esp_memprot_get_active_intr_memtype instead of
esp_memprot_is_assoc_intr_any.
2020-10-08 22:20:39 +02:00
Andrei Gramakov
3164116abd
Update tinyusb_cdcacm_write_flush
to using ticks counting instead of the FreeRTOS timer
2020-10-08 09:42:44 +02:00
Mahavir Jain
c1bfaf7334
Merge branch 'bugfix/protocomm_mem_failure' into 'master'
...
protocomm_console.c: Check if memory is allocated to buf and if not then...
See merge request espressif/esp-idf!10733
2020-10-08 15:30:23 +08:00
Angus Gratton
4289ca3e0e
Merge branch 'feature/freertos_timer_task_optional' into 'master'
...
freertos: save up to 4 kB of RAM if timer functionality is not used by the app
See merge request espressif/esp-idf!10721
2020-10-08 11:26:13 +08:00
Martin Vychodil
497b730e8f
* memprot support for RTC_SLOW
...
* API upgrade
JIRA IDF-1636
2020-10-08 11:19:23 +08:00
Angus Gratton
e28cd68839
esp_system: Add test case for using deep sleep wake stub when stack is in RTC memory
...
This test currently fails on ESP32 & ESP32-S2, fix will be in next commit.
2020-10-08 11:17:27 +11:00
KonstantinKondrashov
7ae7adf16a
newlib: Fix clock_getres() improves accuracy
...
Returns not rounded value of resolution for WITH_RTC and !WITH_FRC
2020-10-07 18:01:35 +08:00
kewal shah
9a16b551ef
protocomm_console.c: Check if memory is allocated to buf and if not then return ESP_ERR_NO_MEM error
2020-10-06 10:13:40 +05:30
Angus Gratton
26a0df0423
Merge branch 'bugfix/bootloader_anti_rollback_mmap' into 'master'
...
bootloader_support: fix issue in memory mapping for getting app descriptor
Closes IDFGH-4038
See merge request espressif/esp-idf!10679
2020-10-06 07:44:37 +08:00
Angus Gratton
4b36da3f33
Merge branch 'feature/parttool_add_options_to_info_cmd' into 'master'
...
partition_table: Extend the get_partition_info command
See merge request espressif/esp-idf!10537
2020-10-06 07:35:32 +08:00
Chinmay Chhajed
3c0f06adb2
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-05 12:14:47 +00:00
KonstantinKondrashov
55dc1524ee
partition_table: Extend the get_partition_info command
...
A manufactory tool needs to retrieve info about partitions. With a new flag - "--part_list" we can get a list of partitions with the same type/subtype and easily iterate by it.
- name and flag arguments
- added flag "--part_list" to get a list of partitions with the same type/subtype
- save prev behavior of the get_partition_info command (return the only first item)
- added host test
2020-10-05 17:56:43 +08:00
Ivan Grokhotkov
ef10c2576f
esp32: allow up to 8 kB of ULP program size
...
The remaining 4 kB had been reserved for storing RF calibration and
BT stack state since 4e092be6
. However, these features never got
implemented. If we ever need to place RF related data into RTC slow
memory, we can do this by creating a variable with RTC_NOINIT_ATTR
instead.
Closes https://github.com/espressif/esp-idf/issues/3993
2020-10-05 11:41:39 +02:00
David Čermák
28d2b7a9b3
Merge branch 'bugfix/esp_netif_non_lwip' into 'master'
...
esp-netif: Enable use of the ESP-IDF with a non-LWIP (and non-BSD-style) IP stack.
Closes IDFGH-3971
See merge request espressif/esp-idf!10472
2020-10-05 16:16:11 +08:00
David Čermák
f1eb4b827e
Merge branch 'bugfix/lwip_netdb_cpp_guards' into 'master'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code
Closes IDFGH-4027
See merge request espressif/esp-idf!10681
2020-10-05 15:51:00 +08:00
David Čermák
39b9e46273
Merge branch 'bugfix/optionally_set_smi_gpio' into 'master'
...
esp_eth_mac_esp32: optionally setup SMI GPIO's
Closes IDFGH-4030
See merge request espressif/esp-idf!10589
2020-10-05 15:24:11 +08:00
Angus Gratton
1eefe6494c
Merge branch 'feature/rsa_caps' into 'master'
...
RSA: add max RSA bit len as a soc caps
See merge request espressif/esp-idf!10594
2020-10-05 12:56:28 +08:00
Michael (XIAO Xufeng)
637ca4b15d
bootloader_support: fix fix spi flash clock config error
...
Relates to: https://github.com/espressif/esp-idf/issues/5099
2020-10-03 04:37:52 +00:00
Michael (XIAO Xufeng)
a263d9a8e4
Merge branch 'fix/esp_flash_idle_logic' into 'master'
...
esp_flash: fix the incorrect check_idle logic in LL and chip_driver
See merge request espressif/esp-idf!10530
2020-10-03 09:18:41 +08:00
Ivan Grokhotkov
654124adf0
freertos: don't create timer task if timer APIs are not used
...
Saves 2496 bytes of heap for the hello-world app on the ESP32,
and 4080 bytes of heap on the ESP32-S2 (due to IRAM savings).
2020-10-02 17:58:36 +02:00
Ivan Grokhotkov
8c246fd4f3
driver: add diagnostic information into UART test, enable flow control
2020-10-02 17:33:35 +02:00
Ivan Grokhotkov
5eebdd1de2
espcoredump: fix exception when -thread-info fails
...
GDB "-thread-info N" command (for a specific thread N) may fail if
GDB can not perform a backtrace. At the same time, "-thread-info"
command succeeds in this situation, returning information for all
threads.
Replace repeated calls to "-thread-info N" with a single call to
"-thread-info", also reducing the total execution time.
2020-10-02 16:54:32 +02:00
Angus Gratton
001a6be9b1
Merge branch 'bugfix/esp_pm_ignore_failing_test' into 'master'
...
esp_pm: temporarily disable failing test
See merge request espressif/esp-idf!10683
2020-10-02 14:01:28 +08:00
Michael (XIAO Xufeng)
fe37db3271
esp_flash: fix the incorrect check_idle logic in LL and chip_driver
2020-10-02 05:34:36 +00:00
Mahavir Jain
92b72aa6c8
Merge branch 'bugfix/http_digest_auth' into 'master'
...
esp_http_client: Include port in host field, fix return type in API declaration
Closes IDFGH-1344
See merge request espressif/esp-idf!10590
2020-10-01 16:47:26 +08:00
Mahavir Jain
b9c14aa65d
Merge branch 'bugfix/esp_coredump_fixes_for_s2' into 'master'
...
esp_coredump: rename all config options to have generic `ESP` prefix
See merge request espressif/esp-idf!10697
2020-10-01 16:40:13 +08:00
Renz Bagaporo
e820e014b3
esp32s3: remove duplicate pm configs
2020-10-01 16:08:30 +08:00
Ivan Grokhotkov
db09f9815b
Merge branch 'bugfix/apptrace_opt2_build' into 'master'
...
apptrace: Fixes multiple defs of '__esp_apptrace_trax_eri_updated' for O2 builds
See merge request espressif/esp-idf!10690
2020-09-30 22:57:46 +08:00
Mahavir Jain
20af94ff53
Coredump config option rename throughout IDF
2020-09-30 20:22:27 +05:30
Mahavir Jain
bd19088125
esp_system: initialize coredump for ESP32-S2
...
This was regression introduced in recent refactoring changes
from startup code.
2020-09-30 20:22:27 +05:30
Mahavir Jain
237087a5ca
espcoredump: remove ESP32 prefix from config options
...
- This component is applicable for ESP32 and ESP32-S2, hence the change
- Backward compatibility is maintained using `sdkconfig.rename` file
2020-09-30 20:22:27 +05:30
Shubham Kulkarni
b06035443f
esp_http_client: Include port in host field
...
Closes: https://github.com/espressif/esp-idf/issues/3628
2020-09-30 15:39:42 +05:30
Renz Bagaporo
72176e275d
esp32s2, esp32s3: delete unneeded cpu.h
2020-09-30 17:58:00 +08:00
Shubham Kulkarni
661c18c578
esp_http_client.h: Fix return type in declaration of esp_http_client_flush_response.
...
Closes: https://github.com/espressif/esp-idf/pull/5845
2020-09-30 11:25:07 +05:30
Mahavir Jain
ab988ab5ca
bootloader_support: move anti rollback API to common loader section
...
API `bootloader_common_get_partition_description` is required for
anti-rollback feature and should be part of common loader code.
2020-09-30 11:13:13 +05:30
Mahavir Jain
5b344610c9
bootloader_support: fix issue in memory mapping for getting app descriptor
...
For getting secure_version field in anti rollback case, bootloader tries
to map whole firmware partition but fails for cases where partition size
is beyond available MMU free pages capacity.
Fix here insures to map only required length upto application descriptor
size in firmware partition.
Closes https://github.com/espressif/esp-idf/issues/5911
2020-09-30 11:13:13 +05:30
Armando
1393520e78
spi_slave: fix crash issue caused by setting cs to -1
...
Setting cs num to -1 means cs pin is not connected. But passing the value -1 to the
spicommon_cs_initialize() will lead to program crash caused by "array index out
of bounds". We expect the driver to execute well but the driver should not be in
charge of users' behaviour, so this commit prevents the crash.
https://github.com/espressif/esp-idf/issues/5784
2020-09-30 11:40:52 +08:00
Jiang Jiang Jian
c34c961910
Merge branch 'bugfix/coex_some_bugfix_about_ble_dyn_prio' into 'master'
...
components/coex: Some bugfix about ble dynamic prio
Closes BT-1025
See merge request espressif/esp-idf!10189
2020-09-30 10:48:12 +08:00
Angus Gratton
83a7891f84
Merge branch 'feature/intr_alloc' into 'master'
...
feature/intr_alloc: moved interrupt allocator to the esp-system and refactored it moving all platform specific code to its place
Closes IDF-1913
See merge request espressif/esp-idf!10267
2020-09-30 07:44:12 +08:00
Felipe Neves
2e826b7a8f
intr_alloc: split interrupt allocator into common-code and platform-code
...
esp_system: removed repeated interrupt allocator code and moved common code to esp_system
xtens: moved xtensa specific code from freertos to the xtensa component
hal/interrupt_controller: added interrupt controller hal and ll files
docs: update the doxyfile with new location of esp_itr_alloc.h file
xtensa: fixed dangerous relocation problem after moving xtensa interrupt files out of freertos
docs: removed Xtensa reference from intr_allocator api-reference
xtensa: pushed the interrupt function that manages non iram interrupts to the xtensa layer
esp_system/test: fixed platform dependent setting for intr_allocator tests
hal: rename the functions used to manage non iram interrupt mask.
2020-09-30 07:44:12 +08:00
Alexey Gerenkov
1850941550
apptrace: Fixes multiple defs of '__esp_apptrace_trax_eri_updated' for O2 builds
2020-09-29 18:19:34 +03:00
baohongde
628655b6be
components/coex: Some bugfix about ble dynamic prio
...
Rewrite ble dynamic prio to fix ble disconn in conn_param_update/channel_map_update
Rewrite ble dynamic prio in connection establishment
Fix ble dynamic prio with latency
Fix status bit set error when conn fail
2020-09-29 21:08:13 +08:00
Jiang Jiang Jian
07499cc898
Merge branch 'feature/8021x_sha256_akm_support' into 'master'
...
esp_wifi: Add support for 802.1x sha256 auth key mode
Closes WIFI-2773
See merge request espressif/esp-idf!10412
2020-09-29 20:45:12 +08:00
Renz Bagaporo
04c67e83f3
esp_pm: temporarily disable failing test
2020-09-29 18:35:47 +08:00
kapil.gupta
ebc0b42c75
esp_wifi: Add support for 802.1x sha256 auth key mode
...
Closes https://github.com/espressif/esp-idf/issues/5805
2020-09-29 15:23:39 +05:30
mathiasbredholt
8a102926f8
lwip: Changed to C linkage for fixing bug when using mixed C/C++ code
...
Merges https://github.com/espressif/esp-idf/pull/5900
2020-09-29 11:47:32 +02:00
liqigan
93ba9ba15c
replace list and ringbuffer with fixed queue
...
use eventgroup to sync spp_vfs_write
each connection has a switch_delay_timer not sharing a one
revert functions like spp_find_slot_by_xxx
fix vfs read bug when peer close
2020-09-29 17:19:29 +08:00
liqigan
14f48d35bd
move flow control to btc layer
...
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
2020-09-29 17:15:11 +08:00
liqigan
eff892933c
add event when calling spp API failed
2020-09-29 17:15:11 +08:00
Jiang Jiang Jian
96d59ff3e9
Merge branch 'bugfix/fix_bredr_read_rssi_delta' into 'master'
...
Bugfix/Fix Read Rssi Delta Bug in Bredr
Closes IDFGH-3739
See merge request espressif/esp-idf!10574
2020-09-29 16:47:43 +08:00
Michael (XIAO Xufeng)
f4aacbef9b
Merge branch 'feature/support_access_internal_i2c_register' into 'master'
...
feature(rtc): add new APIs support access internal i2c register
See merge request espressif/esp-idf!10039
2020-09-29 08:08:51 +08:00
Sachin Billore
e34204c9c1
HMAC: adds test case for downstream JTAG Re-enable support
...
Closes IDF-802
2020-09-28 23:41:52 +05:30
Sachin Billore
0e5cf0f34d
HMAC: adding downstream JTAG Re-enable support
...
Closes IDF-802
2020-09-28 23:40:59 +05:30
Island
a46ab4ae84
Merge branch 'bugfix/channel_map_send_time' into 'master'
...
component/bt: Insert the llcp packet to the top of the tx_preg linked list.
Closes BT-993
See merge request espressif/esp-idf!10170
2020-09-28 21:49:48 +08:00
Mahavir Jain
79f52a0658
Merge branch 'fix/mbedtls_target_library_link' into 'master'
...
mbedtls: Fixed target library linking when using the DS peripheral
See merge request espressif/esp-idf!10650
2020-09-28 20:35:30 +08:00
Michael (XIAO Xufeng)
c449a0efe2
Merge branch 'bugfix/gdma_ll_tx_fifo' into 'master'
...
gdma: fix incorrect calculation of tx fifo size
See merge request espressif/esp-idf!10610
2020-09-28 15:51:25 +08:00
Jiang Jiang Jian
1dc850b95b
Merge branch 'bugfix/update_esp32_phy_v4500' into 'master'
...
esp_wifi: update esp32 phy v4500
See merge request espressif/esp-idf!10621
2020-09-28 15:44:47 +08:00
Michael (XIAO Xufeng)
4e781d1263
Merge branch 'bugfix/flash_clear_WEL_rom_patch' into 'master'
...
spi_flash: ROM patch for clearing WEL bit for unlock
See merge request espressif/esp-idf!10540
2020-09-28 15:36:19 +08:00
Aditya Patwardhan
db3cbf91f9
mbedtls: Fixed target library linking when using the DS peripheral
2020-09-28 12:58:54 +05:30
Jiang Jiang Jian
caba103d51
Merge branch 'bugfix/add_clear_bond_complete_evt' into 'master'
...
componenet_bt/bugfix: add remove bond device complete event
Closes BT-1013
See merge request espressif/esp-idf!10342
2020-09-28 14:39:40 +08:00
Cao Sen Miao
f448e97fea
flash:patch for clearing WEL in ROM
2020-09-28 12:53:06 +08:00
ChenJianxing
f3813c9062
esp_wifi: update esp32 phy v4500
...
improve frequence offset feature.
2020-09-28 11:42:05 +08:00
Michael (XIAO Xufeng)
c7264f04c6
Merge branch 'bugfix/fix_incorrect_i2s_pdm_clk_issue' into 'master'
...
Bugfix(I2S): Fix I2S PDM clock incorrect issue when using APLL.
Closes IDFGH-3423 and IDFGH-3106
See merge request espressif/esp-idf!9101
2020-09-28 11:35:31 +08:00
Michael (XIAO Xufeng)
60fb1a6ef3
Merge branch 'bugfix/spi_add_flash' into 'master'
...
spi_flash: fix a logic bug in checking ex_flash and psram
Closes IDFGH-2230
See merge request espressif/esp-idf!10009
2020-09-28 10:47:07 +08:00
Jiang Jiang Jian
b963dd3b32
Merge branch 'bugfix/no_event_for_connect' into 'master'
...
esp_wifi: fix the bug that no event when run connect twice
Closes WIFI-2390
See merge request espressif/esp-idf!10515
2020-09-27 23:16:49 +08:00
Jiang Jiang Jian
07f7ae7df0
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect' into 'master'
...
component_bt/bugfix: fix a2dp test case dummy and disconnect
Closes BT-706
See merge request espressif/esp-idf!10184
2020-09-27 21:15:43 +08:00
baohongde
acce9e5fea
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-09-27 19:55:12 +08:00
baohongde
dac798afbb
components/bt: Fix crash in BTM_SetPowerMode after disconnect
...
Introduced by commit 0583a049
2020-09-27 19:55:12 +08:00
baohongde
ecd75ec652
components/bt: Fix clear bond fail when connected without ble included
2020-09-27 19:55:12 +08:00
xiongweichao
4e4c86b267
add remove bond device complete event
2020-09-27 19:55:12 +08:00
Jiang Jiang Jian
0739cab478
Merge branch 'feature/add_tx_done_cb_api' into 'master'
...
wifi: Add support to register tx_done callback
Closes WIFI-2599
See merge request espressif/esp-idf!9727
2020-09-27 12:44:35 +08:00
fuzhibo
247789bb2e
rtc: support access internal i2c register
2020-09-27 12:12:17 +08:00
liqigan
ba51da8c91
1. fix read rssi delta bug in bredr
...
2. modify read rssi related function names
Closes https://github.com/espressif/esp-idf/issues/5660
2020-09-27 10:44:18 +08:00
Angus Gratton
e95c8c1d66
Merge branch 'feature/esptool_allow_no_stub' into 'master'
...
Allow esptool's download stub to be disabled by other options and applications
See merge request espressif/esp-idf!10114
2020-09-26 01:25:53 +08:00
Yorick van Pelt
65707cfb41
esp_eth_mac_esp32: optionally setup SMI GPIO's
...
This enables passing smi_mdio_gpio_num = -1 to disable that signal
Merges https://github.com/espressif/esp-idf/pull/5903
2020-09-25 19:59:41 +08:00
wangcheng
8ddbadafe7
component/bt: Insert the llcp packet to the top of the tx_preg linked list.
2020-09-25 18:27:10 +08:00
Marius Vikhammer
4d57a5c2c7
gdma: fix incorrect calculation of tx fifo size
2020-09-25 16:15:56 +08:00
Renz Bagaporo
17b2d7864e
esp32s3: move s3 pm to esp_pm
2020-09-25 05:24:10 +00:00
Renz Bagaporo
fb749440fd
esp_pm: create pm init function
2020-09-25 05:24:10 +00:00
Renz Bagaporo
f33f49331f
ci: update configs to include/exclude esp_pm in unit test
2020-09-25 05:24:10 +00:00
Renz Bagaporo
6462f9bfe1
esp32, esp32s2: create esp_pm component
2020-09-25 05:24:10 +00:00
Island
87bc33f7df
Merge branch 'optimize/ble_mesh_provisioner_delete_dev' into 'master'
...
ble_mesh: stack: Optimize Provisioner delete device function
See merge request espressif/esp-idf!10557
2020-09-25 11:52:31 +08:00
xiongweichao
b0c4988d69
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-25 11:14:24 +08:00
xiongweichao
84cacaba51
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-25 10:54:13 +08:00
Cao Sen Miao
4ce8b59016
spi_flash: fix initialization failure when ex_flash with psram on
...
non-SPI1 bus.
Close https://github.com/espressif/esp-idf/issues/4379
2020-09-25 10:22:24 +08:00
Hrudaynath Dhabe
8746d3726b
wifi: Add IDF specific changes to add support for registering tx_done callback
2020-09-24 18:39:04 +05:30
Marius Vikhammer
3c14900a95
RSA: add max RSA bit len as a soc caps
2020-09-24 16:52:50 +08:00
Krzysztof Budzynski
b07a60c0b8
Merge branch 'docs/update_rtc_clock_source_description_in_api_references' into 'master'
...
docs: update the description for RTC Clock Sources for esp32 and esp32s2
Closes DOC-530
See merge request espressif/esp-idf!10577
2020-09-24 15:31:53 +08:00
zhangyanjiao
7b10cbfaaa
esp_wifi: fix the bug that no event when run connect twice
2020-09-24 14:40:41 +08:00
lly
2607662054
ble_mesh: stack: Optimize Provisioner delete device function
...
Since we have provided separate functions for deleting node
information with node's unicast address, device uuid, etc.
So we update the behavior of this function, which will only
be used to delete device information which is not provisioned
or just under provisioning.
2020-09-24 06:29:22 +00:00
Jiang Jiang Jian
e093eb064c
Merge branch 'feature/run_esp32c3_code_on_esp32_and_esp32s2' into 'master'
...
Feature/run esp32c3 code on esp32 and esp32s2
See merge request espressif/esp-idf!10213
2020-09-24 13:27:47 +08:00
Armando
1e1beb69aa
spi: fix build fail issue when target is esp32s3
2020-09-24 10:51:23 +08:00
Xia Xiaotian
bdbe74693f
esp_wifi: refactor wifi code in order to adapter to new chips
2020-09-24 10:15:50 +08:00
Ivan Grokhotkov
4f6fe91c3d
Merge branch 'bugfix/nvs_correct_namespaces' into 'master'
...
NVS: put wild functions into namespace
See merge request espressif/esp-idf!10514
2020-09-23 22:11:36 +08:00
Jiang Jiang Jian
b626e306da
Merge branch 'bugfix/can_mmap_after_get_enough_free_mmu_pages' into 'master'
...
flash_mmap: can mmap after get enough free MMU pages
Closes IDFCI-49 and IDFCI-84
See merge request espressif/esp-idf!9728
2020-09-23 21:03:53 +08:00
Mahavir Jain
4a3b5b73a8
Merge branch 'feature/esp_ds_sw_support' into 'master'
...
Added support for RSA sign using DS peripheral (only for ESP32-S2)
Closes IDF-1626
See merge request espressif/esp-idf!9477
2020-09-23 20:39:04 +08:00
Wang Fang
a50966cf7a
docs: update the description for RTC Clock Sources for esp32 and esp32s2
2020-09-23 17:13:19 +08:00
Michael (XIAO Xufeng)
4b95f7efa8
Merge branch 'feature/spi_dma_hal_ll_refactor' into 'master'
...
spi: refactor DMA ll layer functions
Closes IDFGH-3538 and IDFGH-2555
See merge request espressif/esp-idf!9929
2020-09-23 15:32:41 +08:00
Michael (XIAO Xufeng)
3c2f2aaffe
Merge branch 'docs/spi_flash_readme_update' into 'master'
...
hal: Update readme aftering extracting hal document from soc document
See merge request espressif/esp-idf!10453
2020-09-23 13:33:08 +08:00
Cao Sen Miao
5baf124219
docs: update readme aftering extracting hal document from soc document
2020-09-23 11:47:23 +08:00
Renz Bagaporo
6d7606aee5
soc: remove unecessary compile line include dir orderding control
2020-09-23 02:53:03 +00:00
Renz Bagaporo
7f5893d53c
soc: move dac_hal to hal
2020-09-23 02:53:03 +00:00
Renz Bagaporo
01d9aa8070
soc: move mpu_hal test to hal component
2020-09-23 02:53:03 +00:00
Renz Bagaporo
2bcf99527c
soc: move out rtc_hal to hal component
2020-09-23 02:53:03 +00:00
Aditya Patwardhan
91b88acaec
tcp_transport: Added required API to support Digital Signature for SSL
2020-09-22 18:31:31 +05:30
Aditya Patwardhan
47f7c6a991
esp32s2/esp_ds: Digital Signature software support
...
1)Added support for alt rsa sign implementation with DS peripheral (
through ESP-TLS - mbedTLS SSL/TLS stack)
2020-09-22 18:31:31 +05:30
morris
0bb21281ca
esp32s3: select esp32s3 beta version in menuconfig
2020-09-22 15:15:03 +08:00
morris
9fa06719fa
global: enable build uinit test for esp32-s3
2020-09-22 15:15:03 +08:00
Marius Vikhammer
bff0016eb8
crypto accelerator support on esp32s3
...
SHA: passing unit tests
RSA: pass tests
AES: tests passing
2020-09-22 15:15:03 +08:00
morris
cc66334014
esp_timer: initial support on esp32-s3
2020-09-22 15:15:03 +08:00
morris
75a372a9f0
unit_test: support reference clock, test delay function
2020-09-22 15:15:03 +08:00
morris
e90dbe29cb
esp32s3: run on chip
2020-09-22 15:15:03 +08:00
jiangguangming
28145e0894
support flash instr and rodata copy to SPIRAM
2020-09-22 15:15:03 +08:00
morris
61f89b97c6
bringup esp32-s3 on FPGA
2020-09-22 15:15:03 +08:00
Cao Sen Miao
d7e50c6457
spi_flash:bringup some flash supports for esp32s3
2020-09-22 15:15:03 +08:00
chenjianqiang
f19cabb7e4
psram: support psram for esp32s3
2020-09-22 15:15:03 +08:00
morris
6225932201
bootloader_support: add esp32-s3 initial support
2020-09-22 15:15:03 +08:00
Xia Xiaotian
2e0c60461c
esp_wifi: refactor PHY access
...
- Simplify PHY access API
- Move coexist initializing and deinitializing out from PHY API
to Wi-Fi and Bluetooth
- Remove coexist pause and resume for they are no longer needed.
2020-09-22 15:00:05 +08:00
Jiang Jiang Jian
b845bb5787
Merge branch 'bugfix/ipv6_send_data_error_when_src_ip_miss' into 'master'
...
lw-ip:ipv6 send multicast data fail when src address is null
Closes WIFI-2489
See merge request espressif/esp-idf!9716
2020-09-22 14:19:31 +08:00
Jiang Jiang Jian
cfc4be0f06
Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj' into 'master'
...
component_bt/bugfix: Confirmed bugfix from Baidu project
See merge request espressif/esp-idf!10450
2020-09-22 11:38:29 +08:00
Jiang Jiang Jian
c2c6c24e35
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM' into 'master'
...
wifi: Fix spin lock allocation in PSRAM bug
See merge request espressif/esp-idf!10449
2020-09-22 11:36:54 +08:00
Island
0ba0c3a01d
Merge branch 'bugfix/ble_mesh_node_deinit' into 'master'
...
ble_mesh: stack: Persistent storage misc fixes
See merge request espressif/esp-idf!9467
2020-09-22 10:08:03 +08:00
Ivan Grokhotkov
58ab54979c
Merge branch 'bugfix/efuse_test_stackoverflow' into 'master'
...
CI: Increase stack size for efuse unit test
See merge request espressif/esp-idf!10531
2020-09-21 21:58:15 +08:00
Armando
59e350b195
spi: seperate the pointer for the TX and RX DMA
2020-09-21 20:33:56 +08:00
Armando
27a6f2666a
spi_master: refactor hal context structures
...
This commit seperates the hal context into different configuration
structures based on their members' definitions. Through refactoring
spi_master.c, the device related configuration should be passed in and
set each time before a new transaction. The transaction related
configuration now is a local variable in case of the fact that error
occurs without any notice when user forgets to pass new transaction
configuration in (which means the old driver will use the trans_config
that is saved from last transaction).
Besides, via above refactor, this commit fixs a bug which leads to
wrong cs polarity setting.
Closes https://github.com/espressif/esp-idf/pull/5490
Moreover, via above refactor, this commit also fixs a bug about duplex
mode switching when multiple devices are added to the bus.
Closes https://github.com/espressif/esp-idf/issues/4641
2020-09-21 20:32:41 +08:00
lly
e14868ff30
ble_mesh: stack: Persistent storage misc fixes
...
* Fix the issue that deinit node with "erase_flash"
set to true, but info is not erased from nvs
* Reuse bt_mesh_cfg_reset() when deinit node
* Optimize Provisioner related erase operations
* No store pending timeout will be used when Node
is not provisioned OR Provisioner is disabled
and erase operation is performed
* Change the default timeout for settings operation
to 0, and rpl store rate to 0
2020-09-21 11:46:52 +00:00
Ivan Grokhotkov
396dea51ba
Merge branch 'bugfix/core_dump_regression' into 'master'
...
bugfix/esp_system: fix core_dump on flash regression by placing esp_system_abort back to IRAM
See merge request espressif/esp-idf!10522
2020-09-21 16:11:22 +08:00
Angus Gratton
033f49f974
Merge branch 'bugfix/cpp_header_rom_secure_boot' into 'master'
...
Secure Boot: Fixes the cpp macro in esp32 secure boot rom functions.
Closes IDFGH-3998
See merge request espressif/esp-idf!10528
2020-09-21 15:51:03 +08:00
jiangguangming
052f88f1d1
flash_mmap: restore interrupt and cache before err return
2020-09-21 07:37:50 +00:00
jiangguangming
61e341e791
flash_mmap: can mmap after get enough free MMU pages
2020-09-21 07:37:50 +00:00
Angus Gratton
5004812dd6
Merge branch 'bugfix/spiram_reserve_size_pr5373' into 'master'
...
SPIRAM reserved memory size fixes
Closes IDFGH-3407 and IDFGH-3931
See merge request espressif/esp-idf!9185
2020-09-21 12:27:00 +08:00
Marius Vikhammer
ae0931be06
CI: Increase stack size for efuse unit test
...
"Batch mode is thread-safe" case would occasionally cause a stackoverflow.
Increased stack size.
2020-09-21 12:23:14 +08:00
Angus Gratton
a381ecca6f
Merge branch 'bugfix/cxx_exception_crash_test' into 'master'
...
Temporarily remove cxx exception frequent intr unit test
See merge request espressif/esp-idf!10426
2020-09-21 10:31:27 +08:00
Michael (XIAO Xufeng)
ea1eb495a5
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_master' into 'master'
...
spi_master: correctly set cs polarity
See merge request espressif/esp-idf!10265
2020-09-21 10:17:38 +08:00
Angus Gratton
95177d5f07
esp32s2 spiram: Fix unused variable warnings
2020-09-21 11:43:55 +10:00
Angus Gratton
d1b86720f1
esp32s2: Reduce calls to esp_spiram_get_size() when initializing PSRAM
2020-09-21 11:43:55 +10:00
Angus Gratton
3f034a5005
spiram: Add soc macro for SPIRAM address space size, use it where applicable
...
Reference https://github.com/espressif/esp-idf/pull/5373
2020-09-21 11:43:55 +10:00
negativekelvin
5eb5bb5f72
Fix reserved psram region
...
Closes https://github.com/espressif/esp-idf/pull/5373
Closes https://github.com/espressif/esp-idf/issues/5821
2020-09-21 11:39:54 +10:00
Jakob Hasse
6292d359f8
Removed C++ unit test
...
* Removed cxx exception frequent intr unit test
It sometimes stalled by too frequent interrupts
in some configurations, causing CI trouble.
* Opened Jira IDF-2144 for further investiation
2020-09-21 01:32:23 +00:00
Supreet Deshpande
0e940c80d4
Secure Boot: Fixes the cpp macro in esp32 secure boot rom functions.
...
Closes https://github.com/espressif/esp-idf/issues/5878
2020-09-20 22:50:44 +05:30
Michael (XIAO Xufeng)
4e287a09fe
spi_flash: add unit tests for qio mode
2020-09-20 01:57:14 +08:00
Michael (XIAO Xufeng)
3b2e8648eb
bootloader: create public bootloader_flash.h header
...
Move non-public functions into bootloader_flash_priv.h header
2020-09-19 10:52:02 +08:00
Michael (XIAO Xufeng)
fefdee1349
bootloader: fix the WRSR format for ISSI flash chips
...
1. The 2nd bootloader always call `rom_spiflash_unlock()`, but never help to clear the WEL bit when exit. This may cause system unstability.
This commit helps to clear WEL when flash configuration is done.
**RISK:** When the app starts, it didn't have to clear the WEL before it actually write/erase. But now the very first write/erase operation should be done after a WEL clear. Though the risk is little (all the following write/erase also need to clear the WEL), we still have to test this carefully, especially for those functions used by the OTA.
2. The `rom_spiflash_unlock()` function in the patch of ESP32 may (1) trigger the QPI, (2) clear the QE or (3) fail to unlock the ISSI chips.
Status register bitmap of ISSI chip and GD chip:
| SR | ISSI | GD25LQ32C |
| -- | ---- | --------- |
| 0 | WIP | WIP |
| 1 | WEL | WEL |
| 2 | BP0 | BP0 |
| 3 | BP1 | BP1 |
| 4 | BP2 | BP2 |
| 5 | BP3 | BP3 |
| 6 | QE | BP4 |
| 7 | SRWD | SRP0 |
| 8 | | SRP1 |
| 9 | | QE |
| 10 | | SUS2 |
| 11 | | LB1 |
| 12 | | LB2 |
| 13 | | LB3 |
| 14 | | CMP |
| 15 | | SUS1 |
QE bit of other chips are at the bit 9 of the status register (i.e. bit 1 of SR2), which should be read by RDSR2 command.
However, the RDSR2 (35H, Read Status 2) command for chip of other vendors happens to be the QIOEN (Enter QPI mode) command of ISSI chips. When the `rom_spiflash_unlock()` function trys to read SR2, it may trigger the QPI of ISSI chips.
Moreover, when `rom_spiflash_unlock()` try to clear the BP4 bit in the status register, QE (bit 6) of ISSI chip may be cleared by accident. Or if the ISSI chip doesn't accept WRSR command with argument of two bytes (since it only have status register of one byte), it may fail to clear the other protect bits (BP0~BP3) as expected.
This commit makes the `rom_spiflash_unlock()` check whether the vendor is issi. if so, `rom_spiflash_unlock()` only send RDSR to read the status register, send WRSR with only 1 byte argument, and also avoid clearing the QE bit (bit 6).
3. `rom_spiflash_unlock()` always send WRSR command to clear protection bits even when there is no protection bit active. And the execution of clearing status registers, which takes about 700us, will also happen even when there's no bits cleared.
This commit skips the clearing of status register if there is no protection bits active.
Also move the execute_flash_command to be a bootloader API; move
implementation of spi_flash_wrap_set to the bootloader
2020-09-19 10:51:51 +08:00
Felipe Neves
e8a276d641
esp_system: revert the esp_system_abort to the IRAM section
2020-09-18 22:18:30 -03:00
cnlohr
507c08251e
esp_netif: Enable use of the ESP-IDF with a non-LWIP (and non-BSD-style) IP stack.
...
Note: besides the esp-netif component, this commit also disables
net_sockets.c from mbedtls, which is one of the base components and uses BSD API (not specifically lwIP). This might be refactored to use CONFIG_SUPPORT_BSD_API instead of CONFIG_ESP_NETIF_TCPIP_LWIP
in the future.
It also disables smartconfig_ack.c and wifi_init.c from esp_wifi
component for referencing some lwIP config options (smartconfig_ack.c changes might be also
updated to check CONFIG_SUPPORT_BSD_API)
Merges https://github.com/espressif/esp-idf/pull/5856
2020-09-18 15:10:55 +02:00
Jakob Hasse
0e118c6070
NVS: put wild functions into namespace
2020-09-18 15:38:40 +08:00
xueyunfei
8feadde2fa
ipv6 send multicast data fail when src address is null
2020-09-18 14:24:14 +08:00
Jiang Jiang Jian
65c94dfb4c
Merge branch 'bugfix/add_disconn_req_action_when_no_link' into 'master'
...
component_bt/bugfix: add_disconn_req_action_when_no_link
See merge request espressif/esp-idf!9751
2020-09-18 12:21:50 +08:00
Ivan Grokhotkov
3af24d2f36
Merge branch 'bugfix/fix_wrong_nvs_api_doc' into 'master'
...
nvs: fix api doc regarding to maximum key length
See merge request espressif/esp-idf!10439
2020-09-18 01:01:45 +08:00
Ivan Grokhotkov
d7f846d1b3
Merge branch 'bugfix/log-error-run-esptool' into 'master'
...
parttool.py: Add file stream parameter and log stdout and stderr to same stream
Closes IDF-2075
See merge request espressif/esp-idf!10465
2020-09-18 01:00:05 +08:00
Wielebny666
db6fbba73e
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
Partly solve this problem: https://github.com/espressif/esp-idf/pull/5490
2020-09-17 12:05:57 +00:00
martin.gano
da5b582dee
add file stream parameter and log stdout and stderr to same stream
2020-09-17 12:54:18 +02:00
Angus Gratton
0fe231d2b3
Merge branch 'feature/pkg_ver_uses_4_bits' into 'master'
...
efuse/esp32: Expands PKG_VER from 3 bit to 4 bits
Closes IDF-1919
See merge request espressif/esp-idf!9949
2020-09-17 18:21:08 +08:00
Mahavir Jain
d82b9275b5
Merge branch 'bugfix/provisioning_example_warning_with_O2_optimization' into 'master'
...
provisioning: use memcpy instead of strncpy for copying SSID
Closes IDFGH-3983
See merge request espressif/esp-idf!10467
2020-09-17 17:56:37 +08:00
Michael (XIAO Xufeng)
3c283b490a
Merge branch 'feature/async_memcpy' into 'master'
...
async_mcp: support async memory copy on esp32s2 and esp32s3
See merge request espressif/esp-idf!10242
2020-09-17 16:54:28 +08:00
KonstantinKondrashov
2373f115fc
efuse/esp32: Expands PKG_VER from 3 bit to 4 bits
...
Closes: IDF-1919
2020-09-17 07:44:37 +00:00
Mahavir Jain
6a3d50c952
provisioning: use memcpy instead of strncpy for copying SSID
...
Per WiFi library requirement, SSID can be non-null terminated string
if its length goes to 32 bytes (maximum). Use of strncpy in this case,
along with compiler optimization level -O2 results in some warnings
for potential use of non-null terminated strings.
Fix here ensures use of memcpy to copy SSID string upto appropriate
desired length. This helps to avoid compiler specific workaround
flags added earlier.
Closes https://github.com/espressif/esp-idf/issues/5866
Closes IDFGH-3983
2020-09-17 12:59:22 +05:30
morris
e52c93a514
nvs: fix api doc regarding to maximum key length
...
Thanks to feed back from https://esp32.com/viewtopic.php?f=25&t=17323
2020-09-17 12:37:28 +08:00
Island
83ffba024a
Merge branch 'bugfix/ble_mesh_check_stack_init' into 'master'
...
ble_mesh: stack: Check if mesh stack initialized before init vendor client
See merge request espressif/esp-idf!10468
2020-09-17 11:21:25 +08:00
Ivan Grokhotkov
b62d149b82
Merge branch 'feature/freertos_port_code_out_iram' into 'master'
...
feature/esp_system: move startup and freertos port once-time code out of IRAM when possible
Closes IDF-1975
See merge request espressif/esp-idf!9976
2020-09-17 06:58:08 +08:00
Ivan Grokhotkov
f4296b947e
Merge branch 'bugfix/fatfs_alloc_extram_first' into 'master'
...
fatfs: fix SPIRAM allocation not used due to Kconfig option name error
Closes IDFGH-3850
See merge request espressif/esp-idf!10381
2020-09-17 03:41:34 +08:00
morris
a3cc43485f
async memcpy: support async memcopy on esp32s2/s3
...
Added async memory copy API:
on esp32-s2, the implementation is based on CP_DMA
on esp32-s3, the implementation is based on GDMA
2020-09-16 21:30:54 +08:00
Jiang Jiang Jian
78ee03b100
Merge branch 'bugfix/update_esp32_phy_4390' into 'master'
...
esp_wifi: update esp32 phy v4390
See merge request espressif/esp-idf!10397
2020-09-16 11:57:32 +08:00
dongyou
29592e3e83
wifi: Fix spin lock allocation in PSRAM bug
...
Closes https://github.com/espressif/esp-idf/issues/5629
2020-09-16 11:38:15 +08:00
me-no-dev
b64fd872bc
Allow esptool's download stub to be disabled by other options and applications
...
Currently USB CDC Download requires the `--no-stub` option of `esptool`. This change inverts the Kconfig option to negative, so that it can be `selected` by other options or enabled in applications through `sdkconfig.defaults`.
2020-09-16 03:25:53 +00:00
lly
cf1f5fe5ad
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-16 02:41:49 +00:00
Felipe Neves
e67162a7ea
startup: namespaced start_app and start_app_other_core to avoid user code collision
2020-09-15 16:05:19 -03:00
Felipe Neves
a1e5dd58b2
startup: moved init core functions out of iram memory
2020-09-15 16:02:12 -03:00
Felipe Neves
d59e8b50d2
freertos: move startup code out of iram memory
2020-09-15 16:02:12 -03:00
Ivan Grokhotkov
96db25c861
Merge branch 'feature/nvs_encryption_s2' into 'master'
...
NVS: using esp_partition API
Closes IDF-1340 and IDF-858
See merge request espressif/esp-idf!8683
2020-09-16 02:12:54 +08:00
Ivan Grokhotkov
8bc19ba893
Merge branch 'feature/free_components_iram' into 'master'
...
freertos: free IRAM space moving task functions into flash memory
See merge request espressif/esp-idf!5648
2020-09-15 23:14:31 +08:00
Alex Lisitsyn
eaa892bebf
freertos: optionally place selected freertos functions into flash memory instead of IRAM
...
correct generation.py script to be silent when file: function is not in the object list (just ignore placement)
correct linker.lf to place task functions into flash if CONFIG_FREERTOS_TASK_FUNCTIONS_INTO_FLASH is active otherwise into IRAM
update kconfig option to place functions into IRAM
update linker file after tests
fix spi_device_polling_end crash when xTaskGetTickCount() in flash
disable "yield from lower priority task, other CPU" test case when placing rtos functions into flash
upadate ut app config freertos_flash
combine spi_flash driver and freertos ut configs into one file
remove TEST_EXCLUDE_COMPONENTS
ci: fix ut job
remove functions that are called from ISR funcs
add port module functions to place into Flash
place snapshot funcs into Flash when ESP_PANIC_HANDLER_IRAM is not set
ci: add job with tags UT_T1_GPIO,ESP32_IDF
2020-09-15 23:14:31 +08:00
weitianhua
c598b816ba
Confirmed bugfix from Baidu project
2020-09-15 19:36:20 +08:00
Angus Gratton
4535fa03b0
Merge branch 'feature/freertos_dual_portYIELD_support' into 'master'
...
feature/freertos: enable support for portYIELD_FROM_ISR that takes an argument or not
Closes IDF-1962
See merge request espressif/esp-idf!9927
2020-09-15 19:06:58 +08:00
Island
ee7a7ffe55
Merge branch 'bugfix/ble_mesh_settings_fix' into 'master'
...
Bugfix/ble mesh settings fix
Closes BLEMESH-217
See merge request espressif/esp-idf!8920
2020-09-15 11:08:51 +08:00
Ivan Grokhotkov
0efad5951b
Merge branch 'bugfix/ulp_doc_typo' into 'master'
...
ulp: typo fix (Github PR)
Closes IDFGH-1899
See merge request espressif/esp-idf!10382
2020-09-15 01:11:25 +08:00
Ivan Grokhotkov
4fe7a58a60
Merge branch 'bugfix/config_pm_use_rtc_timer_ref' into 'master'
...
esp_timer: fix CONFIG_PM_USE_RTC_TIMER_REF option usage
Closes IDFGH-2958
See merge request espressif/esp-idf!8399
2020-09-15 00:41:16 +08:00
Ivan Grokhotkov
c330def25a
fatfs: fix SPIRAM allocation not used due to Kconfig option name error
...
Closes https://github.com/espressif/esp-idf/issues/5756
2020-09-14 18:30:31 +02:00
Felipe Neves
c471cce26c
freertos/tests: added isr latency test with no parameter and parameter based yield from ISR
2020-09-14 16:12:38 +00:00
Felipe Neves
36b2737bb1
freertos/xtensa: make vportYIELD_FROM_ISR compatible with version that both takes argument or not
2020-09-14 16:12:38 +00:00
Michael (XIAO Xufeng)
1a1e1911f9
Merge branch 'bugfix/spi_dma_close_before_cpu_reset' into 'master'
...
spi: fix issue with closing DMA before CPU reset
Closes FCS-484
See merge request espressif/esp-idf!9844
2020-09-14 23:02:05 +08:00
Michael (XIAO Xufeng)
286ccc600e
Merge branch 'bugfix/spi_slave_hd_callback_judge' into 'master'
...
spi_slave_hd: Prevent NULL callback from being called
See merge request espressif/esp-idf!9998
2020-09-14 22:43:33 +08:00
weitianhua
31df07c5d7
Redesign separating AVRC & A2DP
...
1. Add g_av_with_rc to avrc_tg_init function
2. Remove g_av_open_fail
3. Add comment in API files
4. Add a2dp init & deinit state variable to inidcate a2dp statement
2020-09-14 17:22:41 +08:00
lly
b453c1268a
ble_mesh: stack: Use settings_core_erase when deinit
2020-09-14 08:40:12 +00:00
lly
825ceb726d
ble_mesh: stack: Fix storing next net_idx and app_idx
2020-09-14 08:40:12 +00:00
lly
f34c7df26d
ble_mesh: stack: Continue restore even if failure happens
...
Previously we have used this solution for node info
restore. Here use the same solution for other mesh
information restore.
2020-09-14 08:40:12 +00:00
lly
e18ea178b8
ble_mesh: stack: Split model settings store and clear
2020-09-14 08:40:12 +00:00
lly
f8c3818182
ble_mesh: stack: Erase netkey and appkey with key index
2020-09-14 08:40:12 +00:00
lly
80b16c58bb
ble_mesh: stack: Add clear hb_pub in settings
2020-09-14 08:40:12 +00:00
lly
88cc07b6ca
ble_mesh: stack: Transport rx reset settings update
...
When reset the rx info of transport layer, the
rpl list will always cleared, and rpl stored
in the nvs will only be erased when erase flag
is true and BLE_MESH_SETTINGS is enabled.
Compared with the previous solution, it should
be more clear.
2020-09-14 08:40:12 +00:00
lly
f010c36366
ble_mesh: stack: Use erase settings functions
2020-09-14 08:40:12 +00:00
lly
5ad4166d41
ble_mesh: stack: Use mutex for settings operation
...
Also expose the settings functions with the parameter
bt_mesh_nvs_handle_t, which will be used for further
updates.
2020-09-14 08:40:12 +00:00
lly
2bb65fac60
ble_mesh: stack: Add role check before enabling device
2020-09-14 08:40:12 +00:00
lly
ace471c266
ble_mesh: stack: Define a type for mesh nvs handle
2020-09-14 08:40:12 +00:00
Ivan Grokhotkov
767235ba6d
Merge branch 'bugfix/coredump_temp_files_del' into 'master'
...
coredump: temp-files delete fix
See merge request espressif/esp-idf!9511
2020-09-14 16:05:28 +08:00
Michael (XIAO Xufeng)
b65fd25458
Merge branch 'bugfix/update_link_hal_readme' into 'master'
...
hal: update link to HAL readme.md
See merge request espressif/esp-idf!10424
2020-09-14 13:26:30 +08:00
Michael (XIAO Xufeng)
b65d3e51aa
Merge branch 'bugfix/add_return_in_uart_wait_tx_done' into 'master'
...
bugfix(UART): Add return in uart_wait_tx_done
See merge request espressif/esp-idf!10193
2020-09-14 10:37:17 +08:00
Jakob Hasse
aca9ec28b3
NVS: using esp_partition API
...
* partition api changed from spi_flash* API to
esp_partition* API and is abstracted as a C++
interface.
* The old nvs encryption is still possible
* changed default unit test app partition table
* Partitions coming from esp_partition API are
checked for generic flash encryption. If yes,
an error is returned since generic flash
encryption isn't compatible with nvs
encryption
* esp32, esp32s2 tests don't require nvs_flash
but mbedtls now
Closes IDF-1340
Closes IDF-858
2020-09-14 10:34:34 +08:00
Mahavir Jain
b18d8f1863
Merge branch 'bugfix/http_client_empty_headers' into 'master'
...
esp_http_client: Fix issue when response headers have empty value
Closes IDFGH-3613, IDFGH-3921, and IDFGH-3959
See merge request espressif/esp-idf!10035
2020-09-11 23:47:32 +08:00
Mahavir Jain
ac7f7084bc
Merge branch 'bugfix/returns_correct_flash_encryption_mode' into 'master'
...
bootloader: Fix esp_get_flash_encryption_mode()
Closes IDFGH-3841
See merge request espressif/esp-idf!10142
2020-09-11 18:37:33 +08:00
boarchuz
bf942a60f3
esp_http_client: add flush response
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/5845
Closes: https://github.com/espressif/esp-idf/issues/5814
2020-09-11 15:25:24 +05:30
Mahavir Jain
34d5b64a34
Merge branch 'task/nvs_util_file_handling' into 'master'
...
nvs_util: Update file I/O handling for error handling across various OS
See merge request espressif/esp-idf!10051
2020-09-11 17:52:02 +08:00
Ivan Grokhotkov
00072fe2e2
Merge branch 'ci/standalone_unit_test_app' into 'master'
...
CI: add standalone unit test app for esp_netif
See merge request espressif/esp-idf!10102
2020-09-11 15:50:54 +08:00
Marius Vikhammer
b2f390df01
hal: update link to HAL readme.md
...
The HAL readme was moved during refactoring, but links were not updated.
2020-09-11 15:48:08 +08:00
Shivani Tipnis
d1f00e7c36
nvs_util: Update file I/O handling for error handling across various OS
2020-09-11 06:35:01 +00:00
weitianhua
57b695be10
Add global header and change declaration position
2020-09-11 14:31:18 +08:00
weitianhua
04a7771f33
Remove uneccessary macro
...
Separate AVRC from A2DP when AVRC not Initialized
2020-09-11 14:31:18 +08:00
weitianhua
af52df8b83
Rewrite a2dp clean_up function
2020-09-11 14:31:18 +08:00
weitianhua
87bf47bd90
Add bda_addr for esp_bt_a2dp_disconn_req API
...
1. Add reaction for a2dp snk & src disconn req when no link up
2. Change state machine set before EVT upto APP layer in some cases
3. Add bool open_fail to choose whether post disconnection evt to app layer
2020-09-11 14:31:18 +08:00
Shubham Kulkarni
bb8981903e
esp_http_client: Fix issue when response headers have empty value
...
Closes: https://github.com/espressif/esp-idf/issues/5553
2020-09-11 11:48:36 +05:30
KonstantinKondrashov
09af4a9fad
bootloader: Fix esp_get_flash_encryption_mode(). RELEASE = (CRYPT_CNT == max) or (CRYPT_CNT.write_protect == true)
...
If the CRYPT_CNT efuse is max it means the same as a write protection bit for this efuse.
Closes: https://github.com/espressif/esp-idf/issues/5747
2020-09-11 04:20:23 +00:00
Island
9ac8b8739b
Merge branch 'bugfix/ble_mesh_prov_iv_index' into 'master'
...
ble_mesh: stack: Using the latest iv_index for provisioning
See merge request espressif/esp-idf!10074
2020-09-11 10:51:45 +08:00
lly
1037736300
ble_mesh: stack: Using the latest iv_index for provisioning
...
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 00:47:43 +00:00
suren.gabrielyan
a43c06a592
mdns, dns, dhcp, dhcps: update fuzzer test to work in CI
...
Closes: IDF-1861 and IDF-1990
2020-09-10 18:17:30 +00:00
Ivan Grokhotkov
5a8e2c1f52
Merge branch 'bugfix/esp32_light_sleep_duration' into 'master'
...
sleep: fix esp32 light sleep duration
See merge request espressif/esp-idf!10377
2020-09-10 18:08:57 +08:00
Michael (XIAO Xufeng)
1cab54ff8d
Merge branch 'test/esp_flash_performance_thr_s2' into 'master'
...
esp_flash: decrease performance threshold of ESP32-S2
See merge request espressif/esp-idf!10367
2020-09-10 17:56:20 +08:00
Michael (XIAO Xufeng)
37e3f20252
Merge branch 'bugfix/esp_flash_write_temp_buffer_lifetime' into 'master'
...
esp_flash: fix write issue using buffer on stack out of lifetime
See merge request espressif/esp-idf!9932
2020-09-10 17:49:04 +08:00
Jiang Jiang Jian
74e932c73f
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory' into 'master'
...
components/bt: Fix SPP using NULL point with dynamic memory
Closes BT-1024
See merge request espressif/esp-idf!10188
2020-09-10 17:38:53 +08:00
Ivan Grokhotkov
b6467257b9
Merge branch 'feature/cmock_component' into 'master'
...
cmock as component replacing unity
See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
ChenJianxing
200139cd86
esp_wifi: update esp32 phy v4390
...
fix rf signal test RX -20~-40 dBm pkts loss rate beyond 5% issue.
2020-09-10 15:41:21 +08:00
Michael (XIAO Xufeng)
baab55e230
esp_flash: decrease performance threshold of ESP32-S2
...
The data is based on 95% of minimal performance value from CI failure in the past 30 days.
2020-09-10 12:25:40 +08:00
Michael (XIAO Xufeng)
233b4720b4
esp_flash: fix write issue using buffer on stack out of lifetime
2020-09-10 03:17:39 +00:00
boarchuz
137bc6658c
ulp: typo fix
...
rd_reg comment references incorrect OPCODE ("OPCODE_WR_REG"); amended to "OPCODE_RD_REG".
Merges https://github.com/espressif/esp-idf/pull/4098
2020-09-10 01:33:50 +02:00
Ivan Grokhotkov
77afbd51ae
sleep: fix esp32 light sleep duration
...
Commit aa43ed8
was fixing the light sleep overhead calculation for
ESP32-S2. However it also changed the overhead values for ESP32,
resulting in incorrect light sleep time. This caused regression in
light sleep example test.
Revert the original values for the ESP32, keep different set of values
for each chip.
2020-09-09 23:34:54 +02:00
Ivan Grokhotkov
3e6d1804a3
Merge branch 'bugfix/ulp_as_version' into 'master'
...
ulp: fix ULP assembler version detection for localized systems
See merge request espressif/esp-idf!10366
2020-09-10 04:24:51 +08:00
Ivan Grokhotkov
287bfeb7fd
Merge branch 'bugfix/parttool_example_test_fail' into 'master'
...
fix multiple example test failures
Closes IDFCI-39 and IDFCI-124
See merge request espressif/esp-idf!10350
2020-09-10 00:27:07 +08:00
Roland Dobai
edd7c1a2ee
ulp: fix ULP assembler version detection for localized systems
2020-09-09 16:56:15 +02:00
David Čermák
e6f0087448
Merge branch 'bugfix/httpd_ws_sock_type' into 'master'
...
https_server: Added WSS server example and some http(s)+ws updates
Closes IDFGH-3822, IDFGH-3668, IDFGH-3766, and IDFGH-3444
See merge request espressif/esp-idf!10262
2020-09-09 20:57:11 +08:00
David Čermák
13d265e4d3
Merge branch 'bugfix/wifi_create_and_start_ap' into 'master'
...
Set default AP handlers in wifi_create_and_start_ap()
See merge request espressif/esp-idf!10343
2020-09-09 20:51:05 +08:00
Jiang Jiang Jian
b5e9047e47
Merge branch 'bugfix/lightsleep_reslove_crash' into 'master'
...
Fix reboot or crash when enable lightsleep on esp32s2
Closes WIFI-2248
See merge request espressif/esp-idf!10327
2020-09-09 18:39:42 +08:00
Ivan Grokhotkov
26016534d8
bootloader: move rtc_retain_mem functions back into .iram_loader.text
...
Introduced 66a32c17
when bootloader_common was moved out of the loader
section.
Also add a test for this configuration.
2020-09-09 10:35:29 +02:00
David Cermak
6f3fa81863
http_server: Simplified httpd_get_client_list() to return clients in int array
2020-09-09 08:00:20 +02:00
David Cermak
5e1e5f8be9
http_server: Add a flag to enable using control frames in user handlers
2020-09-09 08:00:20 +02:00
David Cermak
fe862f413f
https_server: Fix use of open_fn from application level
...
https-server uses the open_fn() callback and potentially overwrites user defined callback. This commit adds the user defined open_fn() to https-server's context and calls it upon openning a session
2020-09-09 08:00:20 +02:00
David Cermak
fbf2680427
esp_http_server: Add Websocket API to return list of active clients
...
Closes https://github.com/espressif/esp-idf/issues/5406
2020-09-09 08:00:20 +02:00
Ivan Grokhotkov
5db977c512
Merge branch 'bugfix/cxx_flag_operators' into 'master'
...
esp_eth: moved extern "C" after includes
See merge request espressif/esp-idf!10345
2020-09-08 23:42:55 +08:00
Ivan Grokhotkov
fa8e0438b4
Merge branch 'bugfix/deepsleep_flush_uarts_correct' into 'master'
...
esp32s2/soc: Fix periph_ll_periph_enabled
See merge request espressif/esp-idf!10083
2020-09-08 23:21:43 +08:00
Jakob Hasse
f7f46905ec
esp_eth: moved extern "C" after includes
2020-09-08 17:44:57 +08:00
Hrishikesh Dhayagude
edb8b91efc
Set default AP handlers in wifi_create_and_start_ap()
2020-09-08 11:36:07 +05:30
Chen Yi Qun
b9a0d509a2
UART: Add return in uart_wait_tx_done
...
uart_wait_tx_done quit due to timeout but without return ESP_ERR_TIMEOUT.
2020-09-08 02:45:14 +00:00
lly
8a3ccd855f
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-09-08 00:47:42 +00:00
Ivan Grokhotkov
3a51584fbb
Merge branch 'bugfix/uart_read_o2' into 'master'
...
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
Closes IDFCI-97
See merge request espressif/esp-idf!10263
2020-09-08 00:01:48 +08:00
Island
122874bf86
Merge branch 'bugfix/ble_mesh_remove_assert' into 'master'
...
ble_mesh: stack: Avoid unnecessary assert in mesh stack
See merge request espressif/esp-idf!10118
2020-09-07 21:45:27 +08:00
Anton Maklakov
2b7e02c9ed
Merge branch 'revert-983220e2' into 'master'
...
ci: enable RS485 related tests again
See merge request espressif/esp-idf!10277
2020-09-07 20:47:04 +08:00
KonstantinKondrashov
0319eb5984
esp32s2/soc: Fix periph_ll_periph_enabled
...
Logs, before to go the deepsleep, were not completely flushed.
2020-09-07 08:32:18 +00:00
Zhang Hu
6a5faa0fd7
Driver(I2S): Fix I2S PDM clock incorrect issue when using APLL.
...
closes https://github.com/espressif/esp-idf/issues/5127
closes https://github.com/espressif/esp-idf/issues/5386
2020-09-07 08:08:22 +00:00
baohongde
898baf20f8
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:41:30 +08:00
ninh
aa43ed8bb8
fix reboot or crash when enable lightsleep on esp32s2
2020-09-07 15:38:00 +08:00
David Čermák
8ff8a05334
Merge branch 'bugfix/switch_icmp_unit_test_from_baidu_to_taobao' into 'master'
...
unit_test: increase icmp unit test timeout configuration
See merge request espressif/esp-idf!10284
2020-09-07 14:54:01 +08:00
Jiang Jiang Jian
472c40f84e
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd' into 'master'
...
Bugfix/l2cap link timeout llcp prog btu wtd
Closes BT-941 and BT-973
See merge request espressif/esp-idf!10119
2020-09-07 14:10:46 +08:00
Fu Hanxi
edc7cc9c00
add component_ut in assign-test and target-test stage.
...
Add one template_test python file to get test case
2020-09-07 12:12:11 +08:00
morris
31aa16bbe6
unit_test: switch icmp test server to taobao
2020-09-06 09:42:44 +08:00
Jiang Jiang Jian
b89d1a47f0
Merge branch 'bugfix/change_pcm_config_position' into 'master'
...
bugfix/ Change PCM config to the right position
See merge request espressif/esp-idf!10185
2020-09-05 13:48:04 +08:00
Ivan Grokhotkov
0acf94f10f
esp_timer: fix CONFIG_PM_USE_RTC_TIMER_REF option usage
...
Also remove PM_USE_RTC_TIMER_REF in esp32s2, since this option is only
used in FRC implementation of esp_timer.
Closes https://github.com/espressif/esp-idf/issues/4991
2020-09-04 19:19:26 +00:00
Mahavir Jain
228adfa6b1
Merge branch 'feature/ota_incremental_erase_during_write' into 'master'
...
Feature/ota incremental erase during write
See merge request espressif/esp-idf!9726
2020-09-04 20:00:07 +08:00
David Čermák
ddd8ca6671
Merge branch 'bugfix/fix_transport_ssl_blocking' into 'master'
...
transport: fix transport ssl blocking
See merge request espressif/esp-idf!10120
2020-09-04 17:47:14 +08:00
Jakob Hasse
40d80b981a
Fixed unity fixture for ESP32/S2
...
* Created compile switch for UNITY_MAIN
since it was using exit() syscall leading to
abort() on ESP
2020-09-04 17:37:47 +08:00
Ivan Grokhotkov
f789380e19
WIP/PoC: esp_netif UT as a test app
2020-09-04 17:37:47 +08:00
wangcheng
d635320871
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:21:40 +08:00
Mahavir Jain
70ddae41a8
Merge branch 'bugfix/empty_algorithm_header' into 'master'
...
esp_http_client: Adds http_auth empty algorithm header check
Closes IDFGH-3569
See merge request espressif/esp-idf!10047
2020-09-04 16:03:24 +08:00
Mahavir Jain
33d0024034
esp_https_ota: change erase to incremental during flash write
2020-09-04 12:05:06 +05:30
Peter Hoddie
3a768f51c3
app_update: add support for incremental flash erase
...
This patch modifies the OTA implementation to incremental erase flash sectors
as they are written, rather than bulk erasing them all at once when OTA begins.
This solves several problems:
- The bulk flash erase can take so long that it triggers the watchdog timer.
Disabling the watchdog is an undesirable risk.
- The bulk erase interferes with the responsiveness of the system to user input.
- Incremental erasing eliminates the need to pass the firmware image size to
esp_ota_begin to avoid erasing more flash sectors than required.
- When installing an OTA received via HTTP, the size of the firmware image is
known when the content-length header is received. Calling esp_ota_begin at that
time causes a long delay to do the bulk erase which causes the TCP transfer
speed to be measurably slowed when the transfer resumes after the erase.
Incremental erasing eliminates this TCP slowdown.
Update:
Rework so erase optimization is only applied when image_size is set to
OTA_WITH_SEQUENTIAL_WRITES #5246
Merges https://github.com/espressif/esp-idf/pull/5246
2020-09-04 12:05:02 +05:30
Ivan Grokhotkov
9d3add538b
Merge branch 'feature/toolchain_2020r3' into 'master'
...
Update toolchain to esp-2020r3
See merge request espressif/esp-idf!10250
2020-09-04 14:07:24 +08:00
David Čermák
fdd40b0d9e
Merge branch 'bugfix/slip_ipv6_fix' into 'master'
...
esp-netif: Fix SLIP interface to start with correct IPv6 addr
Closes IDFGH-2952
See merge request espressif/esp-idf!10116
2020-09-04 13:55:32 +08:00
Michael (XIAO Xufeng)
4941cf58d0
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2020-09-04 12:57:08 +08:00
Mahavir Jain
cec605f74d
Merge branch 'bugfix/espcommon_reqs_cmake' into 'master'
...
esp_common: Add required missing components to CMakelists
Closes IDFGH-3373
See merge request espressif/esp-idf!10122
2020-09-04 12:54:47 +08:00
Ivan Grokhotkov
ab0fc70104
Merge branch 'feature/check_section_references' into 'master'
...
ci: add script to check section references
See merge request espressif/esp-idf!9513
2020-09-04 06:19:13 +08:00
David Cermak
d3801be6d9
esp_http_server: Add httpd_ws_get_fd_info() API to check active WS clients
...
Added a new API to WebSocket server to test provided socket descriptor if it belongs to active clients for this server and if websocket handshake has been performed
Closes https://github.com/espressif/esp-idf/issues/5602
2020-09-03 20:40:11 +02:00
David Cermak
5dae28069f
esp-netif: Fix SLIP interface to start with correct IPv6 addr
...
Merges https://github.com/espressif/esp-idf/pull/4985
2020-09-03 18:11:09 +00:00
Ivan Grokhotkov
52d935615c
Merge branch 'bugfix/window_spill_a0_corruption' into 'master'
...
freertos: don't clobber a4 while spilling register windows
Closes IDFGH-3852 and IDF-1935
See merge request espressif/esp-idf!10252
2020-09-04 00:23:43 +08:00
Ivan Grokhotkov
7a9d2c3fb4
bootloader: fix section placement of wdt_hal
...
Regression from moving HAL and LL code into the new "hal" component.
2020-09-03 18:14:17 +02:00
Ivan Grokhotkov
66a32c1707
bootloader: fix section placement issues found by the check script
...
Summary of changes:
- bootloader_clock split into *_clock_init and *_clock_loader.
Only esp_clk_apb_freq is in *_clock_loader.
- bootloader_common moved out of loader; functions needed in loader
(or, referenced from bootloader_utility) were moved into
bootloader_common_loader.c.
- assert and abort moved into bootloader_panic, made part of the
loader
- rtc_clk and rtc_time made part of loader
2020-09-03 18:14:17 +02:00
Michael (XIAO Xufeng)
91af5eaf4f
Merge branch 'refactor/twai_hal_state' into 'master'
...
Refactor TWAI HAL to store state information
Closes IDF-1633
See merge request espressif/esp-idf!9789
2020-09-03 23:22:30 +08:00
Ivan Grokhotkov
c3008e8ae1
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
2020-09-03 12:13:11 +02:00
Shivani Tipnis
8963ebf2e2
esp_common: Add required missing components to CMakelists
2020-09-03 09:46:37 +00:00
lly
d6947d0699
ble_mesh: stack: Avoid using assert in mesh stack
2020-09-03 07:17:50 +00:00
David Čermák
9e8f4e51b2
Merge branch 'bugfix/mdns_query_id' into 'master'
...
mdns: Responding: Fix query ID, add questions if not strict mode
Closes IDFGH-3639 and IDFGH-3577
See merge request espressif/esp-idf!9795
2020-09-03 14:57:47 +08:00
Anton Maklakov
f63bbc169e
toolchain: fix the C++ exception workaround for new toolchains that don't have such hook
2020-09-03 13:50:54 +07:00
Island
bc6d239681
Merge branch 'feat/ble_mesh_use_model_cb' into 'master'
...
ble_mesh: stack: Use model callback for operations [Zephyr]
See merge request espressif/esp-idf!9505
2020-09-03 14:48:13 +08:00
Krzysztof Budzynski
6211d5297d
Merge branch 'doc/warn_doxygen_ver' into 'master'
...
docs: add warning for doxygen version
See merge request espressif/esp-idf!10219
2020-09-03 13:48:40 +08:00
Marius Vikhammer
9b552ce004
docs: add warning for doxygen version
...
Running with a newer doxygen version than what's
used in CI may raise warnings locally that are not
present when built by CI
2020-09-03 13:48:40 +08:00
Mahavir Jain
7f5b6d1843
Merge branch 'bugfix/time_spinlock' into 'master'
...
newlib: revert back from spinlocks to using newlib locks for time.h
Closes IDFGH-3858
See merge request espressif/esp-idf!10130
2020-09-03 12:34:29 +08:00
Shubham Kulkarni
58b386bca3
Fix issue when algotithm header is not present
2020-09-03 04:32:45 +00:00
lly
043abf5750
ble_mesh: stack: Use model callback for operations [Zephyr]
...
- Previously when a model is initialized or deinitialized, in the
access layer, we need to check the model id with the ids in the
table in order to find the proper model operation function.
- Currently all the operation functions of each model will be set
during the mesh initialization. When the model is found, we can
directly use the corresponding callback for different operations.
- Currently only init/deinit operations are registered, later we
will add more operations.
2020-09-03 02:02:33 +00:00
Marius Vikhammer
6fb996b1ac
newlib: revert back from spinlocks to using newlib locks for time.h
...
Spinlocks from spinlock.h do not disable the scheduler and thus cannot safely
be directly used as a locking mechanism. A task holding the lock can get
pre-empted, and at that point the new running task will also be allowed to
take the spinlock and access whatever it was protecting.
Another issue is that the task holding a spinlock could migrate to a different
core which in turn would cause the application to fail asserts. The current
implementation assumes the core that takes the lock is also the core that
releases it.
Closes https://github.com/espressif/esp-idf/issues/5762
2020-09-03 09:56:02 +08:00
Krzysztof Budzynski
cc33c1db91
Merge branch 'doc/adc_grammar_stuff' into 'master'
...
Bugfix(doc): minor modifications in the adc section
Closes DOC-436
See merge request espressif/esp-idf!9620
2020-09-03 04:29:24 +08:00
Michael (XIAO Xufeng)
9e7eda9770
Merge branch 'feat/spi_flash_override_size' into 'master'
...
spi_flash: add config option to override flash size in bootloader header
See merge request espressif/esp-idf!10131
2020-09-03 02:57:31 +08:00
Ivan Grokhotkov
52cc05108e
Revert "CXX: removed exception windowspill test"
...
This reverts commit f3e180de72
.
2020-09-02 15:44:18 +02:00
Ivan Grokhotkov
04b95f3567
freertos: don't clobber a4 while spilling register windows
...
Commit 891eb3b0
was fixing an issue with PS and EPC1 not being
preserved after the window spill procedure. It did so by saving PS in
a2 and EPC1 in a4. However the a4 register may be a live register of
another window in the call stack, and if it is overwritten and then
spilled to the stack, then the corresponding register value will end
up being corrupted. In practice the problem would show up as an
IllegalInstruction exception, when trying to return from a function
when a0 value was 0x40020.
Fix by using a0 register instead of a4 as scratch. Also fix a comment
about xthal_save_extra_nw, as this function in fact doesn't clobber
a4 or a5 because XCHAL_NCP_NUM_ATMPS is defined as 1.
Closes https://github.com/espressif/esp-idf/issues/5758
2020-09-02 15:40:41 +02:00
David Čermák
40f3cc4a34
Merge branch 'feature/mqtt_outbox_expired_config' into 'master'
...
MQTT: add configurable msg expired timeout
See merge request espressif/esp-idf!9997
2020-09-02 20:40:45 +08:00
Wu Bo Wen
658b56a690
doc/adc: modifications in the adc documentation and adc headers
2020-09-02 11:30:48 +00:00
David Cermak
bcfa36db8f
mdns: Support queries in responses in mDNS non-strict mode
...
By default adds original queries to responses in order to be resolved by some resolvers, such as lwIP mdns library. This functionality however is discouraged by the RFC6762, so it could be disabled in menuconfig if MDNS_STRICT_MODE configured
Closes https://github.com/espressif/esp-idf/issues/5521
2020-09-02 11:12:08 +02:00
David Cermak
f62e321d87
mdns: Fix include query ID in reponses
...
Closes https://github.com/espressif/esp-idf/issues/5574
2020-09-02 11:12:08 +02:00
Jakob Hasse
20c068ef3b
cmock: added cmock as component
...
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2020-09-02 16:38:37 +08:00
xutao
bd2daccb22
transport: fix transport ssl blocking
...
In SSL mode, if `esp_transport_poll_read` function is used, the cache data in mebdtls will be blocked
2020-09-02 07:01:01 +00:00
Jiang Jiang Jian
685d6af004
Merge branch 'feature/pmf_espnow_coexistance' into 'master'
...
espnow/pmf: Implement ESPNOW + PMF Co-existance
Closes WIFI-2712, WIFI-2774, WIFI-2775, and WIFI-2778
See merge request espressif/esp-idf!9885
2020-09-02 14:35:15 +08:00
Darian Leung
7398390049
TWAI: Track HW state in HAL
...
This commit refactors the TWAI HAL such that it
now tracks harwdare state instead of the driver
layer. Some HAL and LL cleanup was also done.
2020-09-02 13:03:41 +08:00
Jiang Jiang Jian
36720504f9
Merge branch 'bugfix/add_protection_for_spp_api' into 'master'
...
componnet_bt:/ Add protection for btc and some comment correction
Closes BT-899 and BTCI-78
See merge request espressif/esp-idf!9329
2020-09-02 12:01:34 +08:00
Nachiket Kukade
3308ede898
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com>
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com>
2020-09-02 09:26:39 +05:30
Armando
d3d4dd9357
spi_slave_hd: fix issue with adding callback calling judgement
2020-09-02 03:20:42 +00:00
Ivan Grokhotkov
fdba279970
Merge branch 'ci/adc_calib_test_failures' into 'master'
...
bugfix/CI: fix for adc-calib test failures
See merge request espressif/esp-idf!10215
2020-09-02 03:05:27 +08:00
Michael (XIAO Xufeng)
c15c6a2803
Merge branch 'fix/esp_flash_delay_type' into 'master'
...
esp_flash: fix the data type of delay_us
See merge request espressif/esp-idf!10115
2020-09-02 01:21:12 +08:00
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
Andrei Gramakov
a2b42b37f6
usb: removes non-integrated features
2020-07-24 12:10:10 +02:00
Andrei Gramakov
20cec420ad
usb: configure_pins fix for tinyusb
...
Closes https://github.com/espressif/esp-idf/issues/5588
2020-07-24 12:10:10 +02:00
Angus Gratton
a62689a351
Merge branch 'bugfix/mbedtls_mpi_exp_mod' into 'master'
...
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init
Closes IDF-1870
See merge request espressif/esp-idf!9496
2020-07-24 00:02:13 +08:00
Hrudaynath Dhabe
d7ccad371a
wpa_supplicant: add support for PAP, MS-CHAP and CHAP as Phase 2 algorithms for TTLS alongside MS-CHAPv2
2020-07-23 11:07:14 +00:00
Andrei Gramakov
7e4cdc140a
usb: configure_pins fix for tinyusb
...
Closes https://github.com/espressif/esp-idf/issues/5588
2020-07-23 11:49:00 +02:00
Angus Gratton
c871c349f2
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition' into 'master'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition(), can handle a long image
Closes IDFGH-3594
See merge request espressif/esp-idf!9509
2020-07-23 13:27:48 +08:00
Angus Gratton
49907bddff
Merge branch 'bugfix/pm_uart_rate' into 'master'
...
common: UART console settings fixes & improvements
See merge request espressif/esp-idf!9297
2020-07-23 13:13:11 +08:00
baohongde
acb835d86f
components/sys: Fix build error about livelock when intwdt is disable
2020-07-23 02:21:32 +00:00
Jiang Jiang Jian
803cf064d2
Merge branch 'bugfix/eap_client_crash' into 'master'
...
wpa_supplicant: Fix null pointer deference and memleak
Closes IDFGH-3699
See merge request espressif/esp-idf!9690
2020-07-23 10:16:05 +08:00
Jiang Jiang Jian
730db68fe9
Merge branch 'nimble/nrpa_support' into 'master'
...
NimBLE: Add Non-Resolvable private address support and misc fixes
See merge request espressif/esp-idf!9184
2020-07-23 10:03:57 +08:00
Jiang Jiang Jian
bdca464da6
Merge branch 'bugfix/wpa3_to_wpa2_transition_fix' into 'master'
...
Fix WPA3 and WPA2 transition related failures
Closes WIFI-2555
See merge request espressif/esp-idf!9533
2020-07-23 09:51:05 +08:00
Ivan Grokhotkov
e4e553efeb
Merge branch 'bugfix/vfs_zero_length_base_path' into 'master'
...
vfs: fix invalid dereference for zero-length base_path
Closes IDFGH-3567
See merge request espressif/esp-idf!9561
2020-07-23 04:06:48 +08:00
Ivan Grokhotkov
24e9d6b26a
esp_common: allow placing panic handler into IRAM on ESP32-S2
2020-07-22 21:57:58 +02:00
Prasad Alatkar
0b56a27e4a
NimBLE: Add Non-Resolvable private address support and misc bug fixes
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-22 14:10:01 +05:30
Angus Gratton
862e2da51f
Merge branch 'refactor/common_rom_md5_apis' into 'master'
...
esp_rom: extract common MD5 hash apis into esp_rom_md5.h
See merge request espressif/esp-idf!9254
2020-07-22 12:39:37 +08:00
Renz Bagaporo
837052c86f
esp_system: restore deleted no stack check flag
...
Restores the change of startup refactor changes removed the no stack
check protection flag when compiling the source file that contains
execution of constructors - which contains function to setup stack
guard. Restore that and update the source file, since this is in the 2nd
stage of the startup now.
Closes https://github.com/espressif/esp-idf/issues/5617
2020-07-22 11:57:18 +08:00
Mahavir Jain
19711855e2
Merge branch 'bugfix/convert-string-to-bytes' into 'master'
...
bugfix: convert string to bytes to fix TypeError
Closes IDF-1922
See merge request espressif/esp-idf!9636
2020-07-22 02:47:36 +08:00
Ivan Grokhotkov
ba874ccb04
Merge branch 'feature/freemodbus_add_tcp_master_slave' into 'master'
...
freemodbus: add tcp master and slave support
Closes IDFGH-1147 and IDF-452
See merge request espressif/esp-idf!7506
2020-07-22 00:34:06 +08:00
Alex Lisitsyn
d0b9829eef
examples: freemodbus add tcp support for common master/slave iface
...
Add TCP port files to provide Modbus TCP interface for communication
Add freemodbus add tcp support for common master/slave iface and tcp example based on socket API
The communication between master and slave checked for each example serial_master, serial_slave (use ModbusPoll TCP)
update tcp example according netif changes, fix ci issues
update TCP slave implementation
update example_test.py to to set IP through stdin
update API documentation
event bit instead of semahore to lock communication resource
update default options and master/slave port files
Closes https://github.com/espressif/esp-idf/issues/858
Closes IDF-452
2020-07-22 00:34:04 +08:00
Angus Gratton
650e2cb47f
Merge branch 'ci/workaround_multiple_ci_failures' into 'master'
...
CI: workaround multiple ci failures
See merge request espressif/esp-idf!9658
2020-07-21 18:03:41 +08:00
Jiang Jiang Jian
1ba7dc22cb
Merge branch 'bugfix/resume_esp32s2_wifi_unit_test' into 'master'
...
Bugfix/resume esp32s2 wifi unit test
See merge request espressif/esp-idf!9079
2020-07-21 17:39:57 +08:00
morris
ab0537c079
esp_rom: extract common MD5 hash apis into esp_rom_md5.h
2020-07-21 17:01:28 +08:00
martin.gano
cb0bdb8bba
components: convert string to bytes to fix TypeError There is a string passed as an argument for function, but a format of a string seemingly refers to bytes therefore it needs to be converted to bytes Solves https://esp32.com/viewtopic.php?f=13&t=16529
2020-07-21 10:18:53 +02:00
Ivan Grokhotkov
8739282a1d
Merge branch 'feature/size_info_artifacts_for_apps' into 'master'
...
CI: add size info for binaries
Closes IDF-1709
See merge request espressif/esp-idf!8962
2020-07-21 16:00:07 +08:00
Fu Hanxi
6885421976
CI: add size info for binaries
2020-07-21 16:00:05 +08:00
Angus Gratton
442736c5d6
Merge branch 'refactor/common_rom_uart_apis' into 'master'
...
esp_rom: extract common uart apis into esp_rom_uart.h
See merge request espressif/esp-idf!9313
2020-07-21 15:24:21 +08:00
Angus Gratton
3755fb6597
Merge branch 'feature/add_esp32s3_bootloader_ld_file' into 'master'
...
move part of esp32-s3 codes to master (bootloader linker, esp32s3 empty componnet)
See merge request espressif/esp-idf!9608
2020-07-21 14:51:04 +08:00
Mahavir Jain
ab3ec0dcad
Merge branch 'feature/upgrade_mbedtls_to_v2.16.7' into 'master'
...
mbedtls: update to mbedtls release v2.16.7
See merge request espressif/esp-idf!9470
2020-07-21 13:31:43 +08:00
Angus Gratton
5c58564f90
Merge branch 'feature/support_for_esp32_pico_v3_02' into 'master'
...
psram: support for esp32-pico-v3-02
See merge request espressif/esp-idf!9405
2020-07-21 13:28:26 +08:00
Jiang Jiang Jian
135650d21c
Merge branch 'bugfix/fix_softap_mode_wpa_memory_leak_issue' into 'master'
...
bugfix: fix softap mode wpa memory leak
Closes WIFI-2474
See merge request espressif/esp-idf!9599
2020-07-21 12:09:39 +08:00
kapil.gupta
5502a553a7
wpa_supplicant: Fix invalid pointer deference and memleak
...
Add following changes as part of this:
1. EAP client will crash during validation of key size when CA
certs and keys not present. Add changes to validate it first.
2. Free memory allocated in TLS context
2020-07-20 19:56:06 +05:30
KonstantinKondrashov
d95c89a1eb
bootloader_support: Fix bootloader_common_get_sha256_of_partition, can handle a long image
...
Closes: IDFGH-3594
2020-07-20 10:55:41 +00:00
Mahavir Jain
603e0883a1
mbedtls: update to mbedtls release v2.16.7
...
For detailed release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.7
2020-07-20 15:50:20 +05:30
Marius Vikhammer
a392e4e57b
websocket: add configurable ws_transport buffer size
...
Closes IDFGH-3566
Closes https://github.com/espressif/esp-idf/issues/5513
2020-07-20 10:02:31 +00:00
Angus Gratton
35c145f5c9
Merge branch 'feature/update_esptool' into 'master'
...
esptool: Update esptool
Closes ESPTOOL-44
See merge request espressif/esp-idf!9609
2020-07-20 15:27:19 +08:00
Mahavir Jain
592063d492
Merge branch 'fix/prov_ble_read_offset' into 'master'
...
BLE provisioning: Add check for valid ble read offset
See merge request espressif/esp-idf!9115
2020-07-20 15:11:55 +08:00
Angus Gratton
eb77e1b11a
Merge branch 'bugfix/startup_secure_options' into 'master'
...
esp_system: fix compilation error when security features are enabled
See merge request espressif/esp-idf!9678
2020-07-20 15:08:17 +08:00
Angus Gratton
a2eed7cba6
esp32s2: Always use eFuse config for WP pin
...
No reason to override just this pin in software.
2020-07-20 14:08:49 +08:00
Angus Gratton
c09fdc0b09
esp32: Use package identifier to look up SPI flash/PSRAM WP Pin, unless overridden
...
Allows booting in QIO/QOUT mode or with PSRAM on ESP32-PICO-V3 and
ESP32-PICO-V3-O2 without any config changes.
Custom WP pins (needed for fully custom circuit boards) should still be compatible.
2020-07-20 14:08:49 +08:00
chenjianqiang
e9dd4f283a
feat(esp32): support for esp32-pico-v3-02
2020-07-20 12:21:32 +08:00
chenjianqiang
9de04b9f5f
feat(psram): support 16Mbit PSRAM for esp32
2020-07-20 12:21:32 +08:00
chenjianqiang
bff6b5b70e
bugfix(psram): configure MMU after PSRAM initialization
2020-07-20 12:21:32 +08:00
morris
d066c3ab2c
esp_system: add panic high interrupt handler for esp32s3
2020-07-20 11:15:24 +08:00
morris
6316e6eba2
esp_system: add CONFIG_ESP_SYSTEM_RTC_EXT_CRYS
2020-07-20 11:15:24 +08:00
morris
204cb341b1
esp32s3: initial empty component
2020-07-20 10:51:05 +08:00
morris
3a8f5e45f0
bootloader: add linker script for esp32s3
2020-07-20 10:51:05 +08:00
morris
b587428e5d
bootloader: make bootloader offset address in flash configurable
2020-07-20 10:51:05 +08:00
Angus Gratton
6798ab3a08
Merge branch 'bugfix/shared_stack_not_switching_correctly' into 'master'
...
bugfix/shared_stack: Fix task stack not being replaced by shared stack correctly
See merge request espressif/esp-idf!7956
2020-07-20 08:32:37 +08:00
Angus Gratton
f83a61e2c8
Merge branch 'feature/ulp_riscv' into 'master'
...
feature/components: Initial support for ULP-RISC-V Coprocessor on esp32s2
Closes IDF-521
See merge request espressif/esp-idf!8781
2020-07-20 08:27:20 +08:00
He Yin Ling
ff6ef11603
CI: do not run cases likely to fail
2020-07-19 06:32:12 +00:00
He Yin Ling
cd478edeae
CI: disable cases with test env SSC_T5_1
2020-07-19 06:32:12 +00:00
He Yin Ling
b7ae8d0670
CI: remove incorrect MTU related cases
2020-07-19 06:32:12 +00:00
Ivan Grokhotkov
eff6a1eaab
bootloader: fix SECURE_TARGET_HAS_SECURE_ROM_DL_MODE enabled for esp32
2020-07-17 21:04:08 +02:00
Ivan Grokhotkov
c943516c96
esp_system: fix compilation error when security features are enabled
...
affects CONFIG_SECURE_DISABLE_ROM_DL_MODE, CONFIG_SECURE_ENABLE_SECURE_ROM_DL_MODE
2020-07-17 21:04:08 +02:00
Chinmay Chhajed
4a0c137188
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-07-17 17:11:33 +05:30
Island
7a86681578
Merge branch 'bugfix/ble_mesh_health_current_status_recv' into 'master'
...
ble_mesh: stack: Fix recv health current status incorrectly
See merge request espressif/esp-idf!9653
2020-07-17 16:16:30 +08:00
morris
345606e7f3
esp_rom: extract common uart apis into esp_rom_uart.h
2020-07-17 16:00:59 +08:00
Angus Gratton
e04eacbe3f
Merge branch 'refactor/common_rom_efuse_apis' into 'master'
...
esp_rom: extract common efuse apis into esp_rom_efuse.h
See merge request espressif/esp-idf!9267
2020-07-17 15:57:28 +08:00
lly
4be5563fdb
ble_mesh: stack: Fix recv health current status incorrectly
2020-07-17 02:53:40 +00:00
David Čermák
e9bce145cf
Merge branch 'feature/netif_slip' into 'master'
...
esp-netif: SLIP interface introduction
Closes IDFGH-2952
See merge request espressif/esp-idf!9183
2020-07-17 00:07:14 +08:00
Michael (XIAO Xufeng)
79a5b0b5af
Merge branch 'feat/esp_flash_data_slicer' into 'master'
...
esp_flash: refactor to be compatible with the latest ROM
Closes IDF-1664 and IDFGH-2074
See merge request espressif/esp-idf!8565
2020-07-16 16:07:32 +08:00
ronghulin
5f76927d96
bugfix: fix softap mode wpa memory leak
2020-07-16 07:26:19 +00:00
KonstantinKondrashov
76fd504cc8
esptool: Update esptool
...
Closes: ESPTOOL-44
2020-07-16 13:24:09 +08:00
Felipe Neves
b6dba84323
ulp: added support to building code for riscv ULP coprocessor
2020-07-15 15:28:49 -03:00
Jiang Jiang Jian
84aebc6a78
Merge branch 'feature/bluedroid_link_based_dynamic_allocation' into 'master'
...
Bluedroid stack dynamic allocation changes to optimise DRAM usage
See merge request espressif/esp-idf!9461
2020-07-16 00:06:10 +08:00
David Cermak
bb9a7356ac
esp-netif: removing SLIP related events as the slip-modem set state synchronously
2020-07-15 15:46:46 +02:00
David Cermak
1a41545c3e
esp-netif: SLIP interface refactor to isolate interface from drivers
2020-07-15 15:46:46 +02:00
David Cermak
13de11fb32
lwip: Added debug config options to enable lwIP low level debugging
2020-07-15 15:46:46 +02:00
ryan
266be00254
esp-netif: Added esp_netif slip support, slip_modem component and example
...
Merges https://github.com/espressif/esp-idf/pull/4985
2020-07-15 15:46:46 +02:00
Ivan Grokhotkov
39bdbd7e33
freertos: fix compilation warning at -O2 level
...
Closes https://github.com/espressif/esp-idf/issues/5525
2020-07-15 12:50:51 +00:00
Nachiket Kukade
df14475c5b
wpa_supplicant: Fix WPA3 and WPA2 transition related failures
...
1. If Device is connected to AP in WPA3-PSK mode, AP switching
security to WPA2-PSK causes connection failures even after reset.
Fix is to not store WPA3's PMK in NVS for caching.
2. AP switching back to WPA3 causes even more connection failures.
This is due to device not clearing Supplicant level PMK Cache when
it is no longer valid. Fix is to clear the Cache when 4-way handshake
fails and to check Key Mgmt of Cache before using.
3. When AP switches from WPA3 to WPA2, device's PMF config in
Supplicant remains enabled. This may cause failures during
4-way handshake. So clear PMF config in when PMF is no longer used.
2020-07-15 12:20:16 +00:00
David Čermák
fa9f025e4a
Merge branch 'feature/asio_ssl_support' into 'master'
...
asio: basic support of SSL/TLS transport
Closes IDFGH-1085 and IDFGH-2138
See merge request espressif/esp-idf!8797
2020-07-15 19:51:47 +08:00
Anton Maklakov
1c4d4752b3
Merge branch 'bugfix/remove_exception_windowspill_test' into 'master'
...
CXX: remove exception windowspill test
See merge request espressif/esp-idf!9612
2020-07-15 18:33:42 +08:00
sushant.chougule
0583a04969
Bluedroid stack dynamic allocation changes to optimise DRAM usage
...
Structures allocated dynamically:
tACL_CONN, tBTM_PM_MCB, tBTM_SEC_DEV_REC, tGATT_TCB, tGATT_CLCB, tL2C_LCB, tL2C_CCB, tSDP_RECORD
Total dynamic allocation size ~19KB.
Peak dram usage reduced by ~12KB when in BT classic + BLE scenario(1 a2dp sink + 1 BLE gatt server)
2020-07-15 14:44:10 +05:30
Jiang Jiang Jian
d65af31309
Merge branch 'bugfix/fix_hci_max_page_num' into 'master'
...
bugfix/Support for more Bluetooth HID devices
Closes IDFGH-3515
See merge request espressif/esp-idf!9621
2020-07-15 15:51:00 +08:00
Jiang Jiang Jian
170b4c9eff
Merge branch 'bugfix/fix_get_bond_device_list' into 'master'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug
Closes BT-852 and BTCI-88
See merge request espressif/esp-idf!9542
2020-07-15 15:50:32 +08:00
Jiang Jiang Jian
b99266f0c4
Merge branch 'feature/esp_spp_stop_srv' into 'master'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP
Closes BT-850, BT-853, BT-854, BT-889, BT-902, BT-899, BTCI-89, and BTCI-90
See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
Li Qi Gan
f6f2d9780b
add API esp_spp_stop_srv() and fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
Jiang Jiang Jian
9c151dfce3
Merge branch 'fixbug/select_waiting_assert' into 'master'
...
lw-ip:fix bug for select waiting assert
Closes IDFGH-3019
See merge request espressif/esp-idf!9363
2020-07-15 15:49:01 +08:00
Angus Gratton
eb43872361
version: Update to v4.3.0
...
v4.3.0-dev is tagged where the branches diverged, catching up with the
remaining metadata here.
2020-07-15 13:56:05 +10:00
DerfJagged
5705c786e3
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-15 11:54:26 +08:00
Jiang Jiang Jian
0376b23c7c
Merge branch 'component/seperate_bta_jv_l2c' into 'master'
...
component_bt:/ separate BTA_JV_L2CAP for less bin size
See merge request espressif/esp-idf!9158
2020-07-15 11:38:16 +08:00
Jiang Jiang Jian
907e427641
Merge branch 'feature/enable_pcm_config' into 'master'
...
feature/ Enable PCM config
Closes BTCI-25
See merge request espressif/esp-idf!8996
2020-07-15 11:38:07 +08:00
xueyunfei
2b298cb895
lwip:fix bug for select waiting assert
...
Closes https://github.com/espressif/esp-lwip/issues/13
Official patch:http://git.savannah.nongnu.org/cgit/lwip.git/commit/?id=8d7e436a9d24a2a1ee35aac72a7055e80330e994
2020-07-15 11:35:18 +08:00
morris
458b14a8ea
esp_rom: extract common efuse apis into esp_rom_efuse.h
2020-07-15 10:40:50 +08:00
Angus Gratton
24e49cc21d
Merge branch 'refactor/panic_handler_follow_ups' into 'master'
...
Panic handler follow ups
See merge request espressif/esp-idf!7732
2020-07-15 08:21:09 +08:00
David Čermák
f8b649baaf
Merge branch 'bugfix/ws_server_async_send_fin' into 'master'
...
http_server example: WebSocket server to set final flag in async messages
Closes IDFGH-3443
See merge request espressif/esp-idf!9251
2020-07-15 05:31:02 +08:00
Prasad Alatkar
457d4f36a6
BLE provisioning: Add check for valid ble read offset
2020-07-14 13:14:53 +00:00
Felipe Neves
11f6addc61
expression_with_stack: added a tweak on TCB stackpointers to avoid false trigger of stack overflow
2020-07-14 12:56:02 +00:00
Felipe Neves
a700035a85
test/shared_stack_printf: improved printf with shared stack function test
2020-07-14 12:56:02 +00:00
Felipe Neves
938a73756c
esp_common/shared_stack: modifed the stack switch procedure to a simpler way
...
esp_common/shared_stack: refactored the implemenation of shared stack function (still not working properly)
esp_expression_with_stack: refactored the shared stack function calling mechanism and updated the documentation
2020-07-14 12:56:02 +00:00
Jiang Jiang Jian
1fa7454f5e
Merge branch 'feature/wifi_get_tsf_time_api' into 'master'
...
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time on esp32.
Closes WIFI-2532
See merge request espressif/esp-idf!9535
2020-07-14 19:53:52 +08:00
David Cermak
0f72c05d78
openssl: made verification mode conversion to mbetls modes more strict
2020-07-14 10:42:17 +00:00
David Cermak
1c8171c3e8
asio: option to use wolfSSL as TLS stack for ASIO
...
Plus other minor update, make openssl aware of current modes (SSL_set_mode)
Update coding style in examples and tests, including copyright notices
2020-07-14 10:42:17 +00:00
David Cermak
9459c0dd43
asio: Basic SSL/TLS support in asio port for ESP platform
...
This port employs IDF port of OpenSSL for most common features, others
are discouraged or not supported. The port also introduces several stubs
for OpenSSL functions which ASIO needs to get compiled and linked.
Upstream ASIO supports WolfSSL as SSL/TLS stack, as well, which is
another option for SSL support in ASIO on ESP platform.
2020-07-14 10:42:17 +00:00
David Cermak
bd1e9b5ea7
openssl: basic support for errors and bio objects
...
Closes https://github.com/espressif/esp-idf/issues/3406
2020-07-14 10:42:17 +00:00
Jakob Hasse
f3e180de72
CXX: removed exception windowspill test
...
This test randomly fails in CI. Hence the
removal until further investigation.
The original issue the test was addressing
has been fixed in our gcc; it has also been
confirmed and fixed in the upstream gcc.
This test only crashes at the end of the test
function so it is reasonable to assume that
it should be safe removing it so far, ie., the
test doesn't reveal a problem with the original
fix but a different one.
Opening an Jira issue IDFCI-76 for the further
investigation
2020-07-14 18:40:44 +08:00
Angus Gratton
4a0a331122
Merge branch 'bugfix/esp32s2_return_use_fixed_static_ram_size_option' into 'master'
...
esp32s2: Add USE_FIXED_STATIC_RAM_SIZE feature
Closes IDF-1800
See merge request espressif/esp-idf!9033
2020-07-14 13:14:07 +08:00
Mahavir Jain
7727f1612e
Merge branch 'task/httpd_strlen' into 'master'
...
httpd_resp_send: use `HTTPD_RESP_USE_STRLEN` when possible
Closes IDFGH-3268
See merge request espressif/esp-idf!8957
2020-07-14 12:11:52 +08:00
Michael (XIAO Xufeng)
f8f2f7c297
Merge branch 'bugfix/touch_sensor_denoise_ci_for_esp32s2' into 'master'
...
ut: fix touch sensor denoise ci fail
Closes IDFCI-46
See merge request espressif/esp-idf!9571
2020-07-14 11:04:06 +08:00
weitianhua
8f84930c5c
Redesign Kconfig.in BT components
2020-07-14 11:01:02 +08:00
weitianhua
4167fc3438
Enable pcm config
2020-07-14 10:25:13 +08:00
Angus Gratton
2c4e2825ad
Merge branch 'feature/use_prebuilt_util_for_wifi_component' into 'master'
...
esp_wifi: use prebuilt CMake util to add wifi libs
See merge request espressif/esp-idf!9574
2020-07-14 07:57:11 +08:00
KonstantinKondrashov
11844a54f4
mbedtls: Fix a case for mpi_montgomery_exp_calc() when Z is not init
...
Closes: IDF-1870
2020-07-13 22:46:05 +08:00
David Cermak
005f21accc
http_server: WebSocket server to set flag in transmitted messages by default
...
Add logic to set `FIN` flag automatically for transmitted WS frames, but
if `fragmented` option set indicating an expert/manual mode, then the
`FIN` flag is set according to the `final` option.
2020-07-13 14:39:22 +00:00
David Čermák
6edf0fed2b
Merge branch 'feature/support_ksz8041' into 'master'
...
support ksz8041
Closes IDFGH-3495 and IDFGH-3584
See merge request espressif/esp-idf!9558
2020-07-13 22:30:58 +08:00
Hrudaynath Dhabe
7bc2fae323
esp_wifi: Add esp_wifi_get_tsf_time() API to get the tsf time of
...
specified interface.
Closes https://github.com/espressif/esp-idf/issues/5533
2020-07-13 17:04:11 +05:30
Island
b6b4d41044
Merge branch 'bugfix/tx_rx_data_length' into 'master'
...
components/bt: Change the default value of conn_max_tx_octets to 251.
See merge request espressif/esp-idf!9409
2020-07-13 19:17:08 +08:00
Angus Gratton
0df0dad532
Merge branch 'bugfix/secure_boot_v2_sign_cmake_copy' into 'master'
...
Add platform independent CMake copy during signing
Closes IDFGH-3617
See merge request espressif/esp-idf!9543
2020-07-13 15:59:15 +08:00
Ivan Grokhotkov
b62e4e6f85
Merge branch 'feature/vfs_uart_set_line_ending' into 'master'
...
feature: support vfs uart set line endings with specified uart number
See merge request espressif/esp-idf!9112
2020-07-13 15:51:42 +08:00
Ivan Grokhotkov
562edb3a5e
Merge branch 'bugfix/sdmmc_spi_highspeed' into 'master'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
See merge request espressif/esp-idf!9418
2020-07-13 15:50:30 +08:00
sU8U7SfkcwTJVH7PjaVmej7D
6673407f98
httpd_resp_send: use HTTPD_RESP_USE_STRLEN
when possible
2020-07-13 05:34:56 +00:00
Jiang Jiang Jian
f29370b02c
Merge branch 'bugfix/ipv6_fragment' into 'master'
...
lw-ip:fix bug for ipv6 fragment
Closes WIFI-2304
See merge request espressif/esp-idf!8578
2020-07-13 12:09:56 +08:00
Michael (XIAO Xufeng)
c796bd5e63
esp_flash: refactor to make host driver function a const table
...
This is also part of ESP32-S3 ROM changes
2020-07-13 03:10:00 +08:00
Jiang Jiang Jian
64673b45e5
Merge branch 'bugfix/esp32s2_cache_unsupport_config' into 'master'
...
esp32s2: remove unsupported cache option
Closes IDFGH-3414
See merge request espressif/esp-idf!9300
2020-07-12 21:33:56 +08:00
Wang Lei
6b12ac0968
esp32s2: remove unsupported cache option
2020-07-12 21:33:55 +08:00
Jiang Jiang Jian
583f6e5e16
Merge branch 'docs/fix_event_typo' into 'master'
...
docs/fix event typo
Closes IDFGH-3488
See merge request espressif/esp-idf!9376
2020-07-12 21:23:50 +08:00
Jiang Jiang Jian
92d4bb6ed0
Merge branch 'bugfix/wps_multiple_ap_creds' into 'master'
...
Fix handling of multiple AP credentials in WPS
Closes FCS-356
See merge request espressif/esp-idf!9137
2020-07-12 20:26:08 +08:00
Michael (XIAO Xufeng)
f99ba33920
esp_flash: improve unit test to detect over boundary issue
2020-07-12 02:09:46 +08:00
Michael (XIAO Xufeng)
a9c8895bb2
esp_flash: refactor to be compatible with the latest ROM
...
Including:
1. Change the write bytes/read bytes parameter in the host driver into slicers to meet the requirements of complicated cases.
2. Refactor the esp_flash_api code a bit so that we can use the code in the ROM laster
3. Provide get_temp_buffer and release_temp_buffer in the os_functions when the buffer passed by application cannot be used directly.
4. Make timeout of operations configurable in the chip_driver.
5. Make dummy number configurable.
2020-07-12 02:09:45 +08:00
Michael (XIAO Xufeng)
f6dd63d03d
spi_slave_hd: new driver for spi slave in half duplex mode
2020-07-11 00:00:50 +08:00
Michael (XIAO Xufeng)
a50ea8ad55
spi: allow force pins being configured throug GPIO matrix
2020-07-11 00:00:47 +08:00
Island
9a71a74d2d
Merge branch 'bugfix/ble_mesh_misc_updates' into 'master'
...
Bugfix/ble mesh misc updates
Closes BLEMESH-223
See merge request espressif/esp-idf!9492
2020-07-10 21:50:16 +08:00
Mahavir Jain
992fd03f81
Merge branch 'bugfix/issues_with_vanilla_freertos' into 'master'
...
Fix build issues with Vanilla FreeRTOS
See merge request espressif/esp-idf!9536
2020-07-10 20:28:14 +08:00
wangcheng
b60c496296
components/bt: Change the default value of conn_max_tx_octets to 251.
2020-07-10 19:48:32 +08:00
Jiang Jiang Jian
0ca62e4f16
Merge branch 'bugfix/fix_ag_return_result' into 'master'
...
bugfix/Fix error of AG API return line
Closes BTCI-102
See merge request espressif/esp-idf!9565
2020-07-10 16:51:32 +08:00
Shubham Kulkarni
d4ce5de16e
Include header file soc/cpu.h in memprot.c and system_api.c
...
This fixes build issues with Vanilla FreeRTOS
2020-07-10 13:56:42 +05:30
Jiang Jiang Jian
7639f20fa5
Merge branch 'bugfix/buff_semaphore_not_free' into 'master'
...
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
See merge request espressif/esp-idf!9507
2020-07-10 16:18:55 +08:00
fuzhibo
75212b5055
ut: fix touch sensor denoise ci fail
2020-07-10 15:10:18 +08:00