Jiacheng Guo
7bbb72d865
mdns: fix empty address change announce packets
2021-06-04 10:44:36 +08:00
Jiacheng Guo
d2a5d25984
mdns: fix mdns probe/reply behavior
...
* send correct hostnames when probing.
* add test for mdns host delegation.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2d34352f3d
mdns: make delegate host address a list
...
Also adds unit test and doc string for new apis.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2174693096
mdns: add remove delegate host api
2021-06-04 10:44:36 +08:00
Jiacheng Guo
401ff56cc1
mdns: add mdns delegation
...
This allows publishing mdns services for other devices.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
5f244c86f2
mdns: fix memory free issue when repeating the query in reply
...
The repeated query will be copied in the next event loop while the
memory is freed instantly. Delay the free to fix this issue.
2021-06-04 10:44:36 +08:00
Angus Gratton
2aa48c9558
Merge branch 'doc/performance_guide' into 'master'
...
doc: Add performance guides for execution speed, binary size, RAM usage
Closes IDF-1136, IDF-486, IDF-487, IDF-485, IDFGH-5238, IDFGH-4923, IDFGH-1516, and IDFGH-408
See merge request espressif/esp-idf!13564
2021-06-04 02:17:26 +00:00
Marius Vikhammer
1ddaef7fc3
system: regenerate esp_err_to_name.c
2021-06-04 10:07:38 +08:00
Shu Chen
246e006aab
esp_phy: update esp-phy-lib and esp32-wifi-lib submodules
2021-06-03 19:08:04 +08:00
Michael (XIAO Xufeng)
b5d2e9478b
Merge branch 'bugfix/spi_ll_intr_bits' into 'master'
...
spi: Fix wrong target register for interrupt disable
See merge request espressif/esp-idf!13646
2021-06-03 10:22:25 +00:00
Shu Chen
6061a547e5
esp_phy: decouple esp_phy component from esp_wifi and bt
...
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
David Čermák
72f1c47554
Merge branch 'bugfix/mdns_interface_del_crash' into 'master'
...
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
See merge request espressif/esp-idf!13613
2021-06-03 07:31:36 +00:00
Shu Chen
480fcfd7a6
Merge branch 'feature/uprev-openthread-210603' into 'master'
...
openthread: update openthread version
See merge request espressif/esp-idf!13839
2021-06-03 07:25:29 +00:00
Mahavir Jain
d0a8ff12ec
Merge branch 'bugfix/esp_https_ota' into 'master'
...
esp_https_ota: Add check for HTTP error codes and documentation updates
Closes IDFGH-5285 and IDFGH-5298
See merge request espressif/esp-idf!13660
2021-06-03 05:54:49 +00:00
Angus Gratton
f19d6df8eb
Merge branch 'update_copyright_notice_bootloader' into 'master'
...
bootloader: update copyright notice, part 1
See merge request espressif/esp-idf!13494
2021-06-03 04:22:51 +00:00
Jiacheng Guo
84cc1b8e96
openthread: update openthread version
...
Uprev OpenThread to check in TCP message leak fix.
2021-06-03 12:02:17 +08:00
Angus Gratton
1281895785
lwip: Add a note that enabling debug increases the binary size
2021-06-03 13:55:34 +10:00
Angus Gratton
dc6b950257
doc: Add performance guides for execuion speed, binary size, RAM usage
...
Closes https://github.com/espressif/esp-idf/issues/7007
Closes https://github.com/espressif/esp-idf/issues/6715
Closes https://github.com/espressif/esp-idf/issues/3781
Closes https://github.com/espressif/esp-idf/issues/2566
2021-06-03 13:55:34 +10:00
Shu Chen
e470e7c4c3
Merge branch 'feature/ot-lwip-interface' into 'master'
...
openthread: add lwIP network interface
See merge request espressif/esp-idf!13188
2021-06-03 01:46:17 +00:00
Suren Gabrielyan
03de74a728
mdns: Fix of crash when wifi interface get deleted and mdns receives the packets
...
Closes https://github.com/espressif/esp-idf/issues/6973
2021-06-02 13:43:54 +00:00
Jan Brudný
dffe49f305
bootloader: update copyright notice
2021-06-02 14:22:09 +02:00
Shubham Kulkarni
3064487c20
esp_https_ota: Add check for HTTP error codes and corresponding error logs
...
Closes: https://github.com/espressif/esp-idf/issues/7058
2021-06-02 11:19:30 +00:00
Michael (XIAO Xufeng)
e25e02e06d
Merge branch 'feature/usb_esp32s3_add_host_support' into 'master'
...
usb/hal/soc: add USB Host support on ESP32-S3
Closes IDF-2713
See merge request espressif/esp-idf!13522
2021-06-02 09:57:58 +00:00
Alex Lisitsyn
46020fe13a
usb/hal/soc: initial copy of usbh support from esp32s2
...
copy required usbh driver files from esp32s2
check usb host functionality using unit tests on esp32s3
2021-06-02 17:57:50 +08:00
Angus Gratton
a69e6a1a37
Merge branch 'bugfix/rtc_retain_mem_addr' into 'master'
...
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
See merge request espressif/esp-idf!13811
2021-06-02 09:12:19 +00:00
Jiacheng Guo
52a68cb7fe
openthread: integrate OpenThread network interface with esp_netif
2021-06-02 17:03:54 +08:00
Andrey Starodubtsev
8488055711
Fix typo in include/hal/uart_ll.h
...
s/final state machine/finite-state machine/g
Signed-off-by: bizhuangyang <bizhuangyang@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7076
2021-06-02 15:37:30 +08:00
David Čermák
4b7a7e559a
Merge branch 'bugfix/esp_netif_list_match_improvement' into 'master'
...
esp-netif: Improve netif list operations (GitHub PR)
Closes IDFGH-5289
See merge request espressif/esp-idf!13636
2021-06-01 12:47:18 +00:00
David Čermák
a660594e71
Merge branch 'bugfix/esp_netif_ppp_set_auth_fail' into 'master'
...
esp_netif: Fix failing ppp_set_auth() due to wrong arg check
Closes IDFGH-5284
See merge request espressif/esp-idf!13602
2021-06-01 11:30:29 +00:00
Angus Gratton
f486736cbf
bootloader: Fix "skip validate in deep sleep" on ESP32 & ESP32-S2
...
Regression in 83bf2e1ac1
, this memory region was shifted from fast to slow RTC
memory (no change on ESP32-C3 as no RTC fast memory on this chip.)
2021-06-01 18:58:55 +10:00
Jiang Jiang Jian
2a27e46cd9
Merge branch 'bugfix_fix_ble_ANON_ADV_addr_err' into 'master'
...
Fixed BLE ANON_ADV address error
Closes BT-1706
See merge request espressif/esp-idf!13789
2021-06-01 08:44:54 +00:00
Cao Sen Miao
08f1bbe0c7
spi_flash: fix cs line setup to make the flash driver more stable
2021-06-01 16:41:41 +08:00
Omar Chebib
b911951cad
console: fix a bug preventing us from starting a CLI on non-default UART
...
It is now possible to start a REPL CLI on another UART than the default
one.
Closes https://github.com/espressif/esp-idf/issues/6897
2021-06-01 15:50:15 +08:00
Angus Gratton
fe94de0310
Merge branch 'update_copyright_notice_efuse' into 'master'
...
efuse: update copyright notice
See merge request espressif/esp-idf!13782
2021-06-01 06:54:49 +00:00
Angus Gratton
c49c915bcc
Merge branch 'feature/allow_efuses_be_nested_in_efuse_table' into 'master'
...
efuse: Adds support describe structures of efuses in efuse_table
Closes IDF-3200
See merge request espressif/esp-idf!13643
2021-06-01 06:31:20 +00:00
David Cermak
8ae19ed332
esp_netif: Fix failing ppp_set_auth() due to wrong arg check
...
Closes https://github.com/espressif/esp-idf/issues/7047
2021-06-01 05:32:39 +00:00
zhiweijian
a85890dd9d
Fixed ANON_ADV address error
2021-06-01 11:43:40 +08:00
Martin Vychodil
1e58eb6928
system/security: Memprot bypassing mitigation
...
Check Memprot lock bit(s) during the system startup, abort/reset on any Memprot parts found locked during this phase.
There is no legal reason to disallow the Memprot configuration by the system, so it's either a critical bug in the
application or an malicious attempt to bypass the system security.
Error message is printed before digital system reset.
Closes IDF-2700
2021-06-01 00:07:09 +02:00
Ivan Grokhotkov
5f0ec8c9b7
Merge branch 'feature/log_linux' into 'master'
...
[log]: Normal log works on Linux
Closes IDF-3245
See merge request espressif/esp-idf!13610
2021-05-31 17:16:43 +00:00
Gustavo Henrique Nihei
c1b3d77dcf
spi: Fix wrong target register for interrupt disable
2021-05-31 11:25:32 -03:00
Mahavir Jain
863c3ae12f
Merge branch 'update_copyright_notice_esp_tls_http_server_client' into 'master'
...
esp-tls, esp_http_client and esp_http_server: update copyright notice
See merge request espressif/esp-idf!13781
2021-05-31 12:06:15 +00:00
Jan Brudny
967e057906
esp-tls, esp_http_client and esp_http_server: update copyright notice
2021-05-31 20:06:09 +08:00
KonstantinKondrashov
4d35b1fc5b
efuse: Updates common_efuse_table for all chips
2021-05-31 08:42:57 +00:00
KonstantinKondrashov
29f853633d
efuse: Adds support structure of efuses in efuse_table
...
Supported a new format of efuse description using '.' in the name.
It means that RD_DIS.KEYx belongs to the range of the RD_DIS name.
RD_DIS, EFUSE_BLK0, 32, 7, Read protection
RD_DIS.KEY0, EFUSE_BLK0, 32, 1, Read protection for EFUSE_BLK4.
RD_DIS.KEY1, EFUSE_BLK0, 33, 1, Read protection for EFUSE_BLK5.
2021-05-31 08:42:57 +00:00
Michael (XIAO Xufeng)
ff29aded19
Merge branch 'bugfix/i2s_apll_disable_issue' into 'master'
...
i2s: fix driver uninstall issue
Closes IDF-3129
See merge request espressif/esp-idf!13238
2021-05-31 08:16:21 +00:00
Mahavir Jain
64f9bc06ac
Merge branch 'esp32c3/coredump_bt_summary' into 'master'
...
coredump: Parse backtrace info for RISCV
See merge request espressif/esp-idf!13455
2021-05-31 08:12:46 +00:00
Michael (XIAO Xufeng)
aecf85e74b
Merge branch 'update_copyright_notice_driver_part_2' into 'master'
...
driver: update copyright notice, part 2
See merge request espressif/esp-idf!13650
2021-05-31 07:52:19 +00:00
Michael (XIAO Xufeng)
4fac9668c8
Merge branch 'update_copyright_notice_driver_part_3' into 'master'
...
driver: update copyright notice, part 3
See merge request espressif/esp-idf!13651
2021-05-31 07:50:31 +00:00
Michael (XIAO Xufeng)
dd47340d0e
Merge branch 'update_copyright_notice_driver_part_4' into 'master'
...
driver: update copyright notice, part 4
See merge request espressif/esp-idf!13652
2021-05-31 07:37:19 +00:00
Michael (XIAO Xufeng)
23d2d2768a
Merge branch 'refactor/apply_general_check_to_timer' into 'master'
...
driver/timer: apply genral check
See merge request espressif/esp-idf!13746
2021-05-31 07:22:03 +00:00
Angus Gratton
164ccef52c
Merge branch 'docs/fix_allow_external_stack_mem_config_description' into 'master'
...
Freertos: Fix CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY description
See merge request espressif/esp-idf!13739
2021-05-31 05:55:52 +00:00
Jan Brudný
1bac0d1e42
efuse: update copyright notice
2021-05-31 06:43:23 +02:00
Island
cf44d2f6ef
Merge branch 'bugfix/bt_impersonation_passkey_fix' into 'master'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
See merge request espressif/esp-idf!13754
2021-05-28 13:43:14 +00:00
Michael (XIAO Xufeng)
fe7993ead4
Merge branch 'feature/usb_hcd_intr_and_isoc_support' into 'master'
...
USB HCD: Add support for interrupt and isochronous pipes
Closes IDF-3110
See merge request espressif/esp-idf!12807
2021-05-28 10:14:46 +00:00
Chinmay Chhajed
b75e034b3c
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-05-28 14:28:54 +05:30
Wang Meng Yang
3a7dc7a595
Merge branch 'bugfix/ble_fix_reconnect_failed_when_using_rpa_public_address' into 'master'
...
Bugfix/ble fix reconnect failed when using rpa public address
Closes BT-1680
See merge request espressif/esp-idf!13741
2021-05-28 08:03:18 +00:00
Michael (XIAO Xufeng)
dd0c1c7d95
Merge branch 'bugfix/delete_i2c_cmd_mux_semaphore_more_cleanly' into 'master'
...
dreiver/i2c: delete i2c cmd_mux semaphore more cleanly
Closes IDFGH-5062
See merge request espressif/esp-idf!13399
2021-05-28 07:56:34 +00:00
Angus Gratton
b9911e01b3
Merge branch 'bugfix/stub_log_level' into 'master'
...
host stubs: Fix log level, add copyright & "this is a stub" notices
Closes IDFGH-5232
See merge request espressif/esp-idf!13637
2021-05-28 05:21:52 +00:00
Angus Gratton
d96e55f5d4
Merge branch 'bugfix/image_load_refactoring' into 'master'
...
bootloader: Fix a wrong offset in image_load after refactoring
See merge request espressif/esp-idf!13736
2021-05-28 05:02:26 +00:00
Jakob Hasse
ef2dba3921
Integrated linux log into fatfs and spiffs host tests
2021-05-28 11:05:55 +08:00
Jakob Hasse
0ea20caa71
[log]: Normal log works on Linux now
...
* also removed strlcpy dependency from log
* added Kconfig option for linux target
Closes IDF-3245
2021-05-28 11:05:22 +08:00
Angus Gratton
928e6c4d1c
host tests: Add copyright notices and "This is a stub" notices to all stub files
2021-05-27 23:57:22 +00:00
Angus Gratton
da1f055e26
host tests: Fix log level in stub header
...
Reported on forum https://www.esp32.com/viewtopic.php?f=14&t=20838&p=76246
2021-05-27 23:57:22 +00:00
laokaiyao
3a6043900d
driver/timer: apply genral check
2021-05-27 15:52:19 +08:00
Hrudaynath Dhabe
a260a1bafa
wpa_supplicant: Fix supplicant debug logs errors.
2021-05-27 13:02:38 +05:30
zwj
8919322c76
Fixed BLE reconnect failed when using rpa public address
2021-05-27 14:08:47 +08:00
laokaiyao
b807f2a666
driver/i2c: add notes to i2c deleteing function
2021-05-27 12:43:22 +08:00
Michael (XIAO Xufeng)
62e1c8ec03
Merge branch 'bugfix/touch_ll_get_sleep_time' into 'master'
...
Fixed error in "touch_ll_get_sleep_time" function for ESP32
Closes IDFGH-5111
See merge request espressif/esp-idf!13272
2021-05-26 17:12:09 +00:00
Darian Leung
7f42104893
HCD: Add support for interrupt and isochronous pipes
...
This commit adds support for interrupt and isochronous pipes to the HCD:
- HCD now internally uses double buffering
- Added test cases for interrupt and isochronous transfers
- Reorganized test cases for each transfer type
- Updated API comments and maintainer's notes
Some minor bugs were also fixed
2021-05-26 22:55:12 +08:00
David Čermák
5b8bcec333
Merge branch 'bugfix/tls_limit_esp_tls_structure_usage' into 'master'
...
esp_tls/tcp_transport: Transport to use esp_tcp_connect directly for plain TCP
Closes IDF-3005 and IDFGH-5162
See merge request espressif/esp-idf!13418
2021-05-26 14:26:13 +00:00
Darian Leung
787873b86b
freertos: Fix CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY description
...
This commit fixes the ambiguity in the description of the
SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configuration option.
2021-05-26 21:04:28 +08:00
KonstantinKondrashov
071e00a088
bootloader: Fix a wrong offset in image_load after refactoring
2021-05-26 18:06:11 +08:00
Sergey Gorban
850de61e34
Fixed error in "touch_ll_get_sleep_time" function for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/6895
2021-05-26 16:23:18 +08:00
Michael (XIAO Xufeng)
cd5f4ad4c2
Merge branch 'refactor/apply_general_check_to_ledc' into 'master'
...
ledc: apply general check macro
See merge request espressif/esp-idf!13499
2021-05-26 07:21:50 +00:00
Andrey Starodubtsev
614f1c175a
Fix couple of UART issues
...
- there was a small race in `uart_pattern_link_free`:
`rx_pattern_pos.data` was accessed for reading outside spinlock
- `uart_flush_input` enabled
`UART_INTR_RXFIFO_FULL|UART_INTR_RXFIFO_TOUT` intr mask on exit even
if these flags weren't set when function was called
Closes https://github.com/espressif/esp-idf/pull/7023
2021-05-26 15:07:00 +08:00
Michael (XIAO Xufeng)
41cc998856
Merge branch 'update_copyright_notice_driver_part_1' into 'master'
...
driver: update copyright notice, part 1
See merge request espressif/esp-idf!13649
2021-05-26 06:58:15 +00:00
Jan Brudný
690974e32f
driver: update copyright notice
2021-05-25 17:43:57 +02:00
Jiang Jiang Jian
4c0ed8844d
Merge branch 'bugfix/wifi_mac_sleep_issue' into 'master'
...
fix wifi mac sleep bug when wifi is initialized multiple times
Closes WIFI-3678
See merge request espressif/esp-idf!13591
2021-05-25 14:31:20 +00:00
Jiang Jiang Jian
bf71f494a1
Merge branch 'bugfix/attack_crash_for_release' into 'master'
...
bugfix/Fix crash when lmp flooding
Closes ESPCS-565
See merge request espressif/esp-idf!13327
2021-05-25 14:26:21 +00:00
Jiang Jiang Jian
6fd403b5e3
Merge branch 'bugfix/phy_calib_data_to_nvs_for_c3_s3' into 'master'
...
esp_wifi: support phy calibration data to nvs for s2 c3 & s3
See merge request espressif/esp-idf!13624
2021-05-25 14:19:43 +00:00
Krzysztof Budzynski
99e7aa1700
Merge branch 'docs/update_chip_comparsion_table' into 'master'
...
docs:translate chip series comparison table and update adc_types.h
Closes DOC-1278
See merge request espressif/esp-idf!13596
2021-05-25 10:44:01 +00:00
David Cermak
f68d7d7023
esp_tls: Renamed public API to indicate the Plain TCP connection
...
Also added parameter checks if used from as a public API
and updated the `is_plein_tcp` description that it's possible to connect
directly using plain tcp transport with the new API.
2021-05-25 10:55:50 +02:00
David Cermak
38fd2ed10b
tcp_transport: Rename common tcp/ssl internals to base-transport
...
Also uses INVALID_SOCKET macro instead of magic number (-1)
2021-05-25 10:55:45 +02:00
David Čermák
c90ee0a7d0
Merge branch 'bugfix/eth_w5500_io_intr_missed' into 'master'
...
esp_eth: w5500: Improve GPIO interrupt processing
See merge request espressif/esp-idf!13101
2021-05-25 07:36:24 +00:00
Angus Gratton
93d07d1f36
Merge branch 'update_copyright_notice_console_cxx' into 'master'
...
console, cxx: update copyright notice
See merge request espressif/esp-idf!13559
2021-05-25 07:26:52 +00:00
David Cermak
6cf077169e
tcp_transport: Rework test to split test code and use fixtures
2021-05-25 07:04:02 +02:00
David Cermak
f249ddd9ae
esp_transport: Use tcp_connect from esp_tls for plain TCP
...
so we don't have to allocate esp_tls structure (~2KB) to save heap when using plain TCP connection
Closes https://github.com/espressif/esp-idf/issues/6940
2021-05-25 07:04:02 +02:00
Jiri Schiebel
c01e259a98
esp_tls: esp_tls_connect: Reduce input params to err_handle
...
Pass only the error_handle instead of instead of the full config structure
2021-05-25 07:04:02 +02:00
David Cermak
45846f06cf
esp_eth: Improve GPIO interrupt processing in w5500 driver
...
Increase the interrupt reassert level timing so the chances of missing
two consecutive events are minimal.
Enable only SIR_RECV interrupt event, so the SEND events are not used
for GPIO signal.
2021-05-25 04:52:46 +00:00
David Cermak
0cd021adb1
esp_eth: Recover the w5500 driver from missed io interrupt
...
If the GPIO interrupt is re-asserted too quickly it could be missed. If this happens the driver goes silent and never receives any data. Recover by periodic checks of the IO signal level
2021-05-25 04:52:46 +00:00
David Čermák
557b1e9fe0
Merge branch 'docs/lwip_fuzzer_tests_document' into 'master'
...
Docs: Added README.md for lwip fuzzer tests
Closes IDFCI-540
See merge request espressif/esp-idf!13186
2021-05-25 04:12:10 +00:00
David Čermák
fbf68044b2
Merge branch 'bugfix/fix_disable_ipv6_build_fail' into 'master'
...
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail
Closes IDFGH-5157
See merge request espressif/esp-idf!13339
2021-05-25 04:11:38 +00:00
Mahavir Jain
f7e07fc4a5
Merge branch 'feature/update_esp_cryptoauthlib' into 'master'
...
secure_element: Update esp-cryptoauthlib submodule latest version.
See merge request espressif/esp-idf!13563
2021-05-25 04:10:01 +00:00
David Čermák
36e6938920
Merge branch 'feature/lwip_ipv6_automatic_coap_asio' into 'master'
...
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
Closes IDF-2832
See merge request espressif/esp-idf!13616
2021-05-24 12:39:37 +00:00
David Čermák
5801712caf
Merge branch 'bugfix/start_emac_after_phy_reset' into 'master'
...
esp_eth: speed up Ethernet start up process
Closes WIFI-3563, WIFI-3564, WIFI-3687, and IDFGH-5269
See merge request espressif/esp-idf!13461
2021-05-24 09:30:14 +00:00
Aditya Patwardhan
1abdfee3b7
secure_element: Update esp-cryptoauthlib submodule latest version.
...
*This updates the cryptoauthlib version in the esp-cryptoauthlib to cryptoauthlib-v3.3.1
2021-05-24 07:28:20 +00:00
liaowenhao
6bd7f30199
bugfix/fix crash when lmp flooding
2021-05-24 12:08:03 +08:00
Jiang Jiang Jian
da988bed0f
Merge branch 'bugfix/btdm_delete_adv_priority_high' into 'master'
...
components/bt: Delete BLE ADV priority high
Closes BT-1573
See merge request espressif/esp-idf!13054
2021-05-24 03:58:32 +00:00
Jan Brudný
a93daccabe
driver: update copyright notice
2021-05-24 02:02:15 +02:00
Jan Brudný
6667c5dc2a
driver: update copyright notice
2021-05-24 01:53:34 +02:00
Jan Brudný
58f79e6b00
driver: update copyright notice
2021-05-24 01:06:17 +02:00
David Cermak
c991af7ac5
esp_netif: Update the test to exercise netif list matching APIs
2021-05-21 09:44:08 +02:00
Angus Gratton
49ab5a61e7
Merge branch 'update_copyright_notice_security' into 'master'
...
asio, libsodium: update copyright notice
See merge request espressif/esp-idf!13558
2021-05-20 23:33:27 +00:00
chenjianxing
41882082f7
esp_wifi: re-enable phy calibration data to nvs for esp32c3 & esp32s3
2021-05-20 21:55:59 +08:00
Angus Gratton
e305f29382
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
...
- Removes need to manually exclude these components as shown at
https://github.com/espressif/esp-idf/issues/3781#issuecomment-825742378
- Hide the config for these components if IPV6 is disabled
- The components are still included in the build, but with no source
files
2021-05-20 19:53:00 +10:00
yuanjm
7256cfe5a4
ppp: Fix disable IPv6 will make esp_netif_lwip_ppp build fail
...
Closes https://github.com/espressif/esp-idf/issues/6935
2021-05-20 09:45:17 +00:00
Angus Gratton
e928d57663
Merge branch 'doc/include_bootloader_random' into 'master'
...
docs: Add RNG functions to API reference
See merge request espressif/esp-idf!13519
2021-05-20 09:14:55 +00:00
Angus Gratton
535e9ea594
Merge branch 'bugfix/partition_remove_strlcpy' into 'master'
...
partition: Replace strlcpy() with strncpy()
See merge request espressif/esp-idf!13603
2021-05-20 07:14:11 +00:00
Angus Gratton
5c812742c6
docs: Add description for Linux getrandom() function
2021-05-20 17:08:17 +10:00
Axel Lin
5209af379a
esp-netif: Improve esp_netif_is_netif_listed and esp_netif_get_handle_from_ifkey
...
Each esp_netif_next_unsafe() call needs to iterate the s_head list.
It is inefficient with a do-while loop + esp_netif_next_unsafe() call.
Use SLIST_FOREACH instead to simplify the code and speed-up the matching.
While at it, also fix returning NULL from esp_netif_is_netif_listed().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-05-20 13:51:22 +08:00
Michael (XIAO Xufeng)
2e4d3ad880
Merge branch 'feature/bringup_esp32s3beta_cmake_sdmmc' into 'master'
...
esp32s3: add sdmmc support
Closes IDF-1569
See merge request espressif/esp-idf!8304
2021-05-20 04:22:11 +00:00
Angus Gratton
eecf70efd0
partition: Replace strlcpy() with strncpy()
...
Regression in ede477ea65
for host tests only - ESP-IDF supports
strlcpy() but strlcpy & strlcat are currently no-ops in the host
tests (to avoid libbsd dependency).
2021-05-20 09:51:29 +10:00
Michael (XIAO Xufeng)
d6680b689b
Merge branch 'feature/s3beta3_crypto_bringup' into 'master'
...
crypto: initial S3 Beta 3 bringup and testing for SHA/AES/RSA/flash enc
Closes IDF-3004
See merge request espressif/esp-idf!12960
2021-05-19 11:22:05 +00:00
daiziyan
611ecc619b
docs:translate chip series comparison table and update adc_types.h
2021-05-19 16:25:27 +08:00
Angus Gratton
9f149a647d
Merge branch 'bugfix/fix_mbedtls_cmake_warning' into 'master'
...
mbedtls: fixed CMake build warning
Closes IDFGH-4975
See merge request espressif/esp-idf!13568
2021-05-19 00:43:50 +00:00
Angus Gratton
e886aa1da4
Merge branch 'update_copyright_notice_bootloader_support' into 'master'
...
bootloader: update copyright notice, part 2
See merge request espressif/esp-idf!13495
2021-05-19 00:26:35 +00:00
Ivan Grokhotkov
38d902f544
Merge branch 'feature/gdbstubs_rt' into 'master'
...
Extension of GDBStub component for handling GDB by serial port at runtime.
See merge request espressif/esp-idf!10312
2021-05-18 17:14:51 +00:00
Suren Gabrielyan
53c18a85db
Docs: Added README.md for lwip fuzzer tests
...
Closes IDFCI-540
2021-05-18 17:52:07 +04:00
Li Shuai
2bacd7abe2
fix wifi mac sleep bug when wifi is initialized multiple times
2021-05-18 20:03:09 +08:00
Angus Gratton
7c11d95af3
Merge branch 'bugfix/partition_table_integrity_check' into 'master'
...
paritition_table: Verify the partition table md5sum when loading in the app
Closes IDF-2411
See merge request espressif/esp-idf!12252
2021-05-18 08:40:32 +00:00
Angus Gratton
8d7599cc3d
Merge branch 'bugfix/pthread_destructor_sequencing' into 'master'
...
pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific
Closes IDFGH-4842
See merge request espressif/esp-idf!13567
2021-05-18 08:26:38 +00:00
Angus Gratton
0fc9253ed9
lwip: Update public port-layer headers with c++ guards, sdkconfig include
...
This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
2021-05-18 16:09:17 +10:00
Angus Gratton
e14edecf5f
docs: Add random number generation to the API Reference System section
2021-05-18 16:05:42 +10:00
Marius Vikhammer
9b4ba3d707
crypto: initial S3 Beta 3 bringup and testing for SHA/AES/RSA/flash enc
2021-05-18 11:25:41 +08:00
morris
0c25793b06
esp_eth: restart negotiation in esp_eth_start
2021-05-18 11:16:32 +08:00
morris
83f2d802ce
esp_eth: fix default PHY reset gpio
...
Closes https://github.com/espressif/esp-idf/issues/7034
2021-05-18 11:16:05 +08:00
Angus Gratton
9235754d4c
esp_rom: Allow passing any type of data pointer to md5, remove unchecked size on digest pointer
2021-05-18 01:32:59 +00:00
Angus Gratton
ede477ea65
paritition_table: Verify the partition table md5sum when loading the app
...
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).
The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-05-18 01:32:59 +00:00
Angus Gratton
6713291dad
pthread: Fix behaviour when pthread destructor calls pthread_getspecific/pthread_setspecific
...
Update as per specification at https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_key_create.html
Specifically:
- Before a destructor is called then the value for the corresponding key is
already set to NULL.
- If a destructor calls pthread_setspecific() to assign a non-NULL value then
this destructor is called again, after all existing non-NULL values have been
called.
Adds a test for this relatively complex behaviour.
Closes https://github.com/espressif/esp-idf/issues/6643
2021-05-18 10:21:34 +10:00
Mahavir Jain
f1caa2971d
Merge branch 'feature/extmem_alloc_for_s2' into 'master'
...
External memory allocation policy support for ESP32-S2 (GitHub PR)
Closes IDFGH-5226
See merge request espressif/esp-idf!13492
2021-05-17 16:39:25 +00:00
Ivan Grokhotkov
8e66e554cb
Merge branch 'feature/partition_type_any' into 'master'
...
esp_partition: add ESP_PARTITION_TYPE_ANY for iterating over all partition types (Github PR)
Closes IDFGH-4783
See merge request espressif/esp-idf!13434
2021-05-17 16:19:41 +00:00
Michael (XIAO Xufeng)
6265759ca3
Merge branch 'bugfix/usb_serial_write_failed' into 'master'
...
usb_serial_jtag: fix the bug that cannot write with usb_jtag
See merge request espressif/esp-idf!13540
2021-05-17 12:10:59 +00:00
Mahavir Jain
f339506324
bt: use generic SPIRAM config option for memory alloc policy
2021-05-17 10:43:42 +00:00
Marcel Kottmann
cf4b9ef854
mbedtls: Allow external mem alloc for ESP32-S2
...
Closes https://github.com/espressif/esp-idf/pull/6998
Closes IDFGH-5226
2021-05-17 10:43:42 +00:00
Jiacheng Guo
71be904cf1
openthread: add lwIP network interface
...
This allows the applications to use the socket and raw api in lwIP to
send packets via OpenThread.
2021-05-17 17:18:20 +08:00
Marius Vikhammer
01664923f6
mbedtls: fixed CMake build warning
...
Building mbedtls with CMake would warn that:
"A private source from a directory other than that of target "mbedcrypto
has a relative path"
This happened due to some of the CMake variables listing sources could be empty.
Changed to only use target_sources in the code-path where we set the sources,
so we only call target_sources will non-empty variables.
Closes https://github.com/espressif/esp-idf/issues/6767
2021-05-17 17:15:38 +08:00
baohongde
721a0c3415
components/bt: Delete BLE ADV priority high
2021-05-17 17:07:14 +08:00
Angus Gratton
262ab9f4c2
Merge branch 'feature/esp32_pico_v3' into 'master'
...
esp32/psram: ESP32-PICO-V3 does not have PSRAM and does not support external PSRAM
Closes IDF-1845
See merge request espressif/esp-idf!13419
2021-05-17 09:01:45 +00:00
Angus Gratton
190063a6b3
Merge branch 'bugfix/revert_freertos_min_stack_size' into 'master'
...
freertos: revert default stack size of idle tasks (from 2304 to 1536)
Closes IDF-2540
See merge request espressif/esp-idf!13553
2021-05-17 08:42:26 +00:00
Ivan Grokhotkov
1ca2afd982
Merge branch 'bugfix/add-MAXNAMLEN-definition' into 'master'
...
[newlib]add the definition of MAXNAMLEN in sys/dirent.h
Closes IDF-3219
See merge request espressif/esp-idf!13535
2021-05-17 08:03:35 +00:00
Sachin Parekh
46dc36233a
coredump: Parse backtrace info for RISCV
...
For RISCV, backtrace generation on device is not possible without
including and parsing DWARF sections. We extract the crash task stack
and let the host generate the backtrace
2021-05-17 11:43:25 +05:30
Mahavir Jain
fe02ef0fed
Merge branch 'feature/ota_image_size' into 'master'
...
esp_https_ota: Added esp_https_ota_get_image_size() to retrieve total size of OTA update
Closes IDFGH-5096
See merge request espressif/esp-idf!13496
2021-05-17 05:31:58 +00:00
Michael (XIAO Xufeng)
12f42f84e7
Merge branch 'bugfix/s3_i2c_fifo_access' into 'master'
...
bugfix ll_hal: Access ESP32-S3 I2C FIFO using 32bits
See merge request espressif/esp-idf!13538
2021-05-17 02:49:43 +00:00
Jan Brudný
71170dd5bc
cxx: update copyright notice
2021-05-17 03:43:02 +02:00
Jan Brudný
28a94328d4
console: update copyright notice
2021-05-17 03:41:32 +02:00
Jan Brudný
e20826cc7f
libsodium: update copyright notice
2021-05-17 02:58:32 +02:00
Jan Brudný
2d0895e9a9
asio: update copyright notice
2021-05-17 02:56:33 +02:00
Michael (XIAO Xufeng)
8409485b22
Merge branch 'doc/fix_misleading_of_mcpwm_capture_enable_doc' into 'master'
...
driver/mcpwm: fix the misleading of mcpwm_capture_enable parameters
Closes IDFGH-3000
See merge request espressif/esp-idf!13497
2021-05-16 15:15:26 +00:00
Michael (XIAO Xufeng)
2c1cc506bf
Merge branch 'feature/tinyusb_error_check' into 'master'
...
tinyusb: use the generic error check macros
Closes IDF-3033
See merge request espressif/esp-idf!13015
2021-05-16 14:11:21 +00:00
Michael (XIAO Xufeng)
050b1660b5
Merge branch 'feature/regi2c_add_lock' into 'master'
...
regi2c: add a spinlock for accessing (reg)I2C devices
Closes IDF-2978
See merge request espressif/esp-idf!12957
2021-05-16 14:04:55 +00:00
Andrey Starodubtsev
6e343c1f8b
Fix typo
...
s/\bUnknow\b/Unknown/g
2021-05-14 18:26:22 +03:00
Omar Chebib
dda7001c25
freertos: revert minimum stack size from 2304 to 1536
2021-05-14 11:12:28 +08:00
Angus Gratton
b7ad39f694
Merge branch 'bugfix/pthread_docs' into 'master'
...
Fix and improve pthread docs, create pthread example
Closes IDF-731 and IDFGH-5085
See merge request espressif/esp-idf!13314
2021-05-14 01:19:02 +00:00
Angus Gratton
c6b2191643
pthread: Cleanups for attr init/destroy
...
* Zero all fields of the attr structure when initializing
* Can implement pthread_attr_destroy() by calling pthread_attr_init()
2021-05-14 10:03:11 +10:00
Angus Gratton
a6dea64106
pthread: Add support for PTHREAD_COND_INITIALIZER
...
Includes unit test for condition variables in C (previous test was C++ only)
2021-05-14 10:03:11 +10:00
Jiang Jiang Jian
73b95248b4
Merge branch 'bugfix/addba_pmf_issue_fix' into 'master'
...
Fix aggregation issue in PMF connection and validate FTM config params
Closes WIFI-3205
See merge request espressif/esp-idf!13242
2021-05-13 16:30:06 +00:00
Nachiket Kukade
701484667a
esp_wifi: Update wifi lib
...
Update wifi library with below fixes -
1. Fix Block Ack setup issue in PMF scenario
2. Validate FTM Initiator config parameters and propagate status
2021-05-13 20:56:54 +05:30
Prasad Alatkar
03634ea64b
NimBLE: Update NimBLE submodule to reattempt conn and to fix vulnerability
...
* Add workaround to overcome connection establishment failure error.
* Fix vulnerability during public key exchange in secure connection
2021-05-13 19:10:19 +05:30
Jiang Jiang Jian
fb872f68ec
Merge branch 'bugfix/wifi_modem_sleep_percentage_optimize' into 'master'
...
optimize wifi station modem sleep percentage
Closes WIFI-3056
See merge request espressif/esp-idf!13534
2021-05-13 12:21:50 +00:00
Dmitry
00a7ecb5a3
Code cleanup. Bugfix after rebase with master. Formating.
2021-05-13 15:03:40 +03:00
Jiang Jiang Jian
95dfdf7680
Merge branch 'nimble/fix_broadcaster_role' into 'master'
...
NimBLE: Add custom logging support, fix build error for broadcaster role, NVS peer_dev_records fix
See merge request espressif/esp-idf!13204
2021-05-13 10:01:12 +00:00
Prasad Alatkar
3dfcaee9bd
NimBLE: Add custom logging support and fix build error for broadcaster role
...
* Fix bug in nvs deletion of `ble_dev_record`.
2021-05-13 18:01:01 +08:00
Darian Leung
3bb5f86a53
Fix incorrect D- pulldown and cleanup USB device struct
...
This commit fixes the incorrect setting of the D- pulldown resistor in the USB LL.
The usb_struct.h used by USB device mode has also been cleaned up.
2021-05-13 17:18:35 +08:00
Jiang Jiang Jian
71325aaa46
Merge branch 'bugfix/invalid_feat_page_exec' into 'master'
...
bt controller: Fixed handling for invalid feature page.
See merge request espressif/esp-idf!13292
2021-05-13 09:02:42 +00:00
bizhuangyang
31cdeb538d
ledc: apply general check macro
...
Standardize LEDC_CHECK() and LEDC_ARG_CHECK() in ledc.c to ESP_RETURN_ON_FALSE() in esp_check.h.
2021-05-13 16:57:16 +08:00
me-no-dev
c31ba2b21b
Change i2c_struct to force 32bit access
2021-05-13 11:26:14 +03:00
Jiang Jiang Jian
7b2f2c2a86
Merge branch 'bugfix/ag_use_dynamic_memory_error' into 'master'
...
Fix ag use dynamic memory error
Closes BT-1574
See merge request espressif/esp-idf!13094
2021-05-13 07:56:45 +00:00
Michael (XIAO Xufeng)
9bee350a39
Merge branch 'bugfix/sdio_slave_ret_check' into 'master'
...
SDIO slave: fix ignored callback return value (Github PR)
Closes IDFGH-4976
See merge request espressif/esp-idf!13436
2021-05-13 06:32:40 +00:00
Cao Sen Miao
8c5819dccb
usb_serial_jtag: fix the bug that cannot write with usb_jtag
2021-05-13 13:40:01 +08:00
Michael (XIAO Xufeng)
e941bc838c
Merge branch 'feature/lcd_driver' into 'master'
...
esp_lcd component panel driver
Closes IDF-2933 and IDF-2934
See merge request espressif/esp-idf!12813
2021-05-13 04:29:07 +00:00
laokaiyao
e66f25caf2
driver/mcpwm: fix the misleading of mcpwm_capture_enable parameters
...
closes https://github.com/espressif/esp-idf/issues/5032
2021-05-13 12:23:19 +08:00
Mahavir Jain
20f53bb6c5
Merge branch 'bugfix/set_password' into 'master'
...
esp_http_client: const corrections for esp_http_client_set_password() (GitHub PR)
Closes IDFGH-5163
See merge request espressif/esp-idf!13498
2021-05-13 04:05:34 +00:00
WangQixiang
65ec83a456
change MAXNAMLEN to 255
2021-05-13 11:56:52 +08:00
Michael (XIAO Xufeng)
b722b8e4ec
Merge branch 'feature/LEDC_support_invert_channel_output' into 'master'
...
LEDC: Support invert channel output
Closes IDF-2869
See merge request espressif/esp-idf!13310
2021-05-13 03:55:50 +00:00
Omar Chebib
dd8843fec3
regi2c: add a spinlock for accessing (reg)I2C devices
...
When not compiling bootloader, a spinlock will be used for reading or writing
I2C internal devices/registers.
When compiling for bootloader, no need to use any lock.
2021-05-13 11:55:41 +08:00
Jiang Jiang Jian
3c30e688c4
Merge branch 'feature/support_auto_adjust_voltage_storingInEfuse_openGlitchRst' into 'master'
...
ESP32C3: auto adjust voltage dbias storing in efuse and open glitch reset for ECO3
See merge request espressif/esp-idf!13395
2021-05-13 03:49:59 +00:00
Angus Gratton
3ce98690e6
Merge branch 'bugfix/stdatomic_64bit' into 'master'
...
newlib: define 64-bit stdatomic operations on 32-bit SMP SoCs
Closes IDFGH-703
See merge request espressif/esp-idf!13463
2021-05-12 23:44:11 +00:00
Ivan Grokhotkov
67b0e0389f
Merge branch 'bugfix/hid_stack_size' into 'master'
...
esp_hid: allow setting stack size for the event task, increase stack size in the example (Github PR)
Closes IDFGH-4568 and IDFGH-4563
See merge request espressif/esp-idf!13438
2021-05-12 18:52:42 +00:00
me-no-dev
0d0e2851f3
Access ESP32-S3 I2C FIFO using 32bits
...
I2C FIFO on ESP32-S3 (and others) MUST be read/written 32bits at a time.
2021-05-12 20:12:23 +03:00
Jiang Jiang Jian
7986c970b6
Merge branch 'bugfix/concurrent_mode_sae_crash_fix' into 'master'
...
esp_wifi: Add station based check for auth frame formation
See merge request espressif/esp-idf!13525
2021-05-12 14:24:15 +00:00
morris
e10202a608
lcd: add esp_lcd component
...
* Support intel 8080 LCD panel IO on ESP32-S3
* Support RGB LCD panel on ESP32-S3
* Support SPI && I2C LCD panel IO on all esp chips
2021-05-12 17:53:32 +08:00
morris
270ed70f3e
gdma: support reset dma fifo at runtime
2021-05-12 17:10:37 +08:00
morris
a20a51316c
async_memcpy: test copy with same buffer address
2021-05-12 17:10:37 +08:00
Li Shuai
7fbf7a0d17
modem sleep: optimize wifi station modem sleep percentage
2021-05-12 17:00:01 +08:00
WangQixiang
c9c8633cba
add the definition of MAXNAMLEN in sys/dirent.h
2021-05-12 16:07:19 +08:00
Jiang Jiang Jian
266a5e48f7
Merge branch 'bugfix/fix_c3_s3_ble_multi_con_failed_when_dev_act_master_and_slave' into 'master'
...
Fixed C3/S3 BLE multi-connection failed when device acts as master and slave
Closes BT-1630
See merge request espressif/esp-idf!13506
2021-05-12 03:32:43 +00:00
Dmitry
f8197c2446
Fix problem with panic handler with gdbstubs.
2021-05-11 16:09:32 +03:00
Dmitry
7bb91f912c
gdbstub component
2021-05-11 15:55:39 +03:00
Kapil Gupta
f3c55dbecd
esp_wifi: Add station based check for auth frame formation
2021-05-11 16:35:42 +05:30
Chinmay Chhajed
ce4743d9d3
bt controller: Fixed handling for invalid feature page.
2021-05-11 09:00:37 +00:00
Mahavir Jain
aefaf9b7cf
Merge branch 'bugfix/protocomm_out_of_bound_read' into 'master'
...
protocomm_console.c: Fix out of bound read in protocomm_console_task and define line_buf size
See merge request espressif/esp-idf!13344
2021-05-11 07:54:00 +00:00
David Čermák
af2881fc0d
Merge branch 'bugfix/tcp_transport_NULL_dereference' into 'master'
...
tcp_transport: Fix NULL pointer dereference if esp_transport_init returns NULL
Closes IDFGH-5201
See merge request espressif/esp-idf!13457
2021-05-11 04:58:46 +00:00
0xFEEDC0DE64
c73a17cc27
esp_https_ota: Added esp_https_ota_get_image_size() to retrieve total size of OTA update
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Closes: https://github.com/espressif/esp-idf/pull/6880
2021-05-11 10:13:02 +05:30
kewal shah
b8dfb27141
protocomm_console.c: Fix out of bound read in protocomm_console_task and define line_buf size
2021-05-11 04:00:47 +00:00
laokaiyao
48c848a895
driver/ledc: support invert channel output
2021-05-11 11:54:16 +08:00
Angus Gratton
3f0851a22c
Merge branch 'doc/esp_random' into 'master'
...
esp_hw_support: Clarify the documentation about hardware RNG entropy
Closes IDF-73
See merge request espressif/esp-idf!13454
2021-05-11 01:37:37 +00:00
Angus Gratton
3193f08b2f
Merge branch 'feature/esp32s3_efuse_update' into 'master'
...
efuse/esp32s3: Update efuse table
Closes IDF-3080
See merge request espressif/esp-idf!13420
2021-05-11 01:34:46 +00:00
Ivan Grokhotkov
2c8f413059
driver: sdmmc: add esp32s3 support
...
* Extend sdmmc_slot_config_t with GPIO pin numbers for all SD bus
signals. These new fields are available if SOC_SDMMC_USE_GPIO_MATRIX
is set.
* Add shorter "sd" and "wp" aliases for "gpio_sd" and "gpio_wp" field
names in sdmmc_slot_config_t.
* Deprecate sdmmc_host_pullup_en, prefer to enable this feature using
SDMMC_SLOT_FLAG_INTERNAL_PULLUP instead.
2021-05-10 23:21:27 +02:00
Ivan Grokhotkov
17c65dad27
soc: add esp32s3 sdmmc support
...
* sync the latest struct header file from ESP32
* add soc_caps.h macros to distinguish between IO MUX and GPIO Matrix
support in SDMMC on different chips.
* store GPIO matrix signal numbers in sdmmc_slot_info_t
2021-05-10 23:21:27 +02:00
Ivan Grokhotkov
bd3a6dda87
soc: esp32s2: remove SDMMC header files
...
no SDMMC peripheral in this chip
2021-05-10 23:21:27 +02:00
Ivan Grokhotkov
6f8e0d9d55
test: add test app for stdatomic functions
2021-05-10 18:13:36 +02:00
Ivan Grokhotkov
742102079a
newlib: stdatomic: emulate 64-bit atomics on 32-bit SMP SoCs
...
Closes https://github.com/espressif/esp-idf/issues/3163
2021-05-10 18:13:36 +02:00
Ivan Grokhotkov
32fcd4f02a
newlib: stdatomic: fix prototypes, don't disable compiler warnings
2021-05-10 18:13:35 +02:00
Ivan Grokhotkov
1fb58684a2
unity: add UNITY_MAIN_FUNC helper macro to run multiple test groups
2021-05-10 18:13:35 +02:00
Ivan Grokhotkov
71f711976d
unity: add option to enable 64-bit formatting support
...
This option is not enabled by default because many existing tests
use integer assertions to check the pointers:
TEST_ASSERT_EQUAL(NULL, pointer)
This causes a "cast from pointer to integer of different size"
(-Wpointer-to-int-cast) warning to be generated, as Unity converts
every argument to UNITY_UINT first, and with 64-bit support enabled,
UNITY_UINT becomes a 64-bit unsigned type.
2021-05-10 18:13:35 +02:00
zwj
22f429f5bc
fix C3/S3 ble multi-connection failed when device acts as master and slave
2021-05-10 21:06:44 +08:00
Mahavir Jain
fae335dc68
Merge branch 'update_copyright_notice_app_update' into 'master'
...
app_update: update copyright notice
See merge request espressif/esp-idf!13493
2021-05-10 08:13:40 +00:00
0xFEEDC0DE64
0f3ad80a99
const corrections for esp_http_client_set_password()
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Closes: https://github.com/espressif/esp-idf/pull/6941
2021-05-10 13:03:09 +05:30
David Čermák
2e4d5d8765
Merge branch 'feature/add_eth_lost_ip_event' into 'master'
...
event: Add IP_EVENT_ETH_LOST_IP event
Closes IDFGH-5198
See merge request espressif/esp-idf!13466
2021-05-10 07:27:16 +00:00
xiongweichao
d38a91ee95
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-10 11:11:02 +08:00
Jan Brudný
a2686dc4eb
bootloader: update copyright notice
2021-05-10 04:58:34 +02:00
xiongweichao
be6b25b9d9
fix ag use dynamic memory error
2021-05-10 10:56:46 +08:00
Jan Brudný
b3e37696ba
app_update: update copyright notice
2021-05-10 03:48:25 +02:00
chaijie
eea76d14bb
ESP32C3: auto adjust voltage dbias storing in efuse and open glitch reset for ECO3
...
1. add some efuse api to get rtc & digital voltage
2. set dig_rtc voltage to a fix value storing in efuse no mater which cpu frequency
3. modify hardware code in bootloader to fit all c3 ECO3 version
2021-05-08 17:56:54 +08:00
Jiang Jiang Jian
9afd57057d
Merge branch 'bugfix/add_sniffer_fcs_filter' into 'master'
...
example: Add sniffer FCSFAIL filter
Closes IDFGH-4661
See merge request espressif/esp-idf!12249
2021-05-08 07:31:51 +00:00
Kang Zuoling
8887133d0c
touch_sensor: fix esp32s2 touch sensor default power source
2021-05-08 11:09:17 +08:00
Angus Gratton
84f2f2932d
Merge branch 'bugfix/esp_partition_get_sha256' into 'master'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition when CHECK_SIGNATURE is on
Closes IDFGH-5089
See merge request espressif/esp-idf!12795
2021-05-07 23:34:56 +00:00
David Čermák
b1b7910715
Merge branch 'bugfix/lwip_config_dhcp_client_id' into 'master'
...
lw-ip: Add config for DHCP client id; Fix DNS server idx assert issue
Closes IDFGH-5139
See merge request espressif/esp-idf!13430
2021-05-07 19:24:32 +00:00
David Čermák
c798906f4a
Merge branch 'feature/esp_netif_destroy_default_wifi' into 'master'
...
esp_netif/wifi: Add API to destroy default wifi-netif for sta/ap
See merge request espressif/esp-idf!12307
2021-05-07 16:49:03 +00:00
Island
d2669c373b
Merge branch 'bugfix/generate_value_0_when_prov_auth' into 'master'
...
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
Closes IDFGH-5079
See merge request espressif/esp-idf!13237
2021-05-07 13:45:11 +00:00
David Cermak
49022e99f5
lwip: Add config for DHCP client id; Fix DNS server idx assert issue
...
This commit brings two esp-lwip fixes to IDF:
1) Add configuration to disable DHCP client identification
2195f7416f
This config could be used to disable option 61 in DHCP packets, so that
clients will be identified by their chaddr only.
(This is the lwip upstream original behaviour)
2) Fix server_idx increasing to DNS_MAX_SERVERS and trigger the LWIP_ASSERT
5a567d52f7
When lwip doesn't have DNS server and resolve a domain address, the server_idx
will increase to DNS_MAX_SERVERS, which will trigger the LWIP_ASSERT and make device crash.
Closes https://github.com/espressif/esp-idf/issues/6878
2021-05-07 14:11:51 +02:00
David Cermak
c4870f4d9e
esp_netif/wifi: Add API to destroy default wifi-netif for sta/ap
...
Partially addresses https://github.com/espressif/esp-idf/issues/6950
2021-05-07 11:56:41 +00:00
Melissa LeBlanc-Williams
33e8d1e0b0
dreiver/i2c: delete i2c cmd_mux semaphore more cleanly
...
Merges https://github.com/espressif/esp-idf/pull/6848
2021-05-07 18:03:38 +08:00
Angus Gratton
42c7dfadad
Merge branch 'bugfix/riscv_ulp_linker_script_reset_vector' into 'master'
...
Fix RISC-V ULP failure to start
See merge request espressif/esp-idf!13431
2021-05-07 08:18:24 +00:00
Mahavir Jain
5aa6e4196c
Merge branch 'feature/support_api_set_http_timeout' into 'master'
...
esp_http_client: Add API to set http client timeout value
Closes IDFGH-5211
See merge request espressif/esp-idf!13446
2021-05-07 04:46:40 +00:00
Jiang Jiang Jian
424d1f6813
Merge branch 'feature/crypto_porting' into 'master'
...
wpa_supplicant: Rewrite Crypto APIs based on MbedTLS
Closes WIFI-1393 and WIFI-1555
See merge request espressif/esp-idf!10473
2021-05-07 03:46:24 +00:00
yuanjm
922992b519
event: Add IP_EVENT_ETH_LOST_IP event
...
Closes https://github.com/espressif/esp-idf/issues/6971
2021-05-07 11:36:13 +08:00
Michael (XIAO Xufeng)
3d7211e2a0
Merge branch 'bugfix/freemodbus_change_max_task_prio' into 'master'
...
freemodbus: increase max priority of modbus tasks
See merge request espressif/esp-idf!11246
2021-05-06 16:54:32 +00:00
Michael (XIAO Xufeng)
758238a8a1
Merge branch 'bugfix/separate_gdma_tx_rx_interrupt' into 'master'
...
gdma: separate tx/rx channel interrupt
Closes IDF-3181
See merge request espressif/esp-idf!13367
2021-05-06 16:38:44 +00:00
Ivan Grokhotkov
f67f7d6774
Merge branch 'bugfix/adc_channel_comment_typo' into 'master'
...
adc: fix typos in comments (Github PR)
Closes IDFGH-4774
See merge request espressif/esp-idf!13437
2021-05-06 11:49:58 +00:00
Ivan Grokhotkov
acd06daf39
Merge branch 'bugfix/spiram_h_header_guards' into 'master'
...
add missing header guards to {esp32,esp32s3}/spiram.h (Github PR)
Closes IDFGH-4861
See merge request espressif/esp-idf!13435
2021-05-06 11:49:39 +00:00
Ivan Grokhotkov
3717a318f6
Merge branch 'bugfix/gpio_isr_doc' into 'master'
...
gpio_isr_register(): Correct order of arguments in docs (Github PR)
Closes IDFGH-1780
See merge request espressif/esp-idf!13439
2021-05-06 11:49:34 +00:00
Michael (XIAO Xufeng)
3f2f80effc
Merge branch 'feature/support_esp32s3_tinyusb_driver' into 'master'
...
soc/hal/tinyusb: add tinyusb support esp32s3
Closes IDF-2692
See merge request espressif/esp-idf!12668
2021-05-06 08:21:01 +00:00
Alex Lisitsyn
ea6710ce98
soc/hal: add tinyusb support esp32s3
...
add usb hal/soc, usb_ll files and esp32s3 target for usb
move usb_hal.h into soc common folder
soc/hal: fix soc and periph for usb
tinyusb: fix tinyusb io header
hal: usb_ll fix pull up/down config for esp32s3
soc/hal: fix peripheral addresses
2021-05-06 16:20:54 +08:00
Angus Gratton
61c941781c
Merge branch 'bugfix/pthread_join_debug_log' into 'master'
...
pthread: Fix possible deadlock when using pthread_join() and Debug log level
Closes IDF-2861
See merge request espressif/esp-idf!13429
2021-05-06 07:10:32 +00:00
morris
6e981af406
gdma: separate tx/rx channel interrupt
2021-05-06 15:06:37 +08:00
Angus Gratton
4d4e094d81
esp_hw_support: Clarify the documentation about hardware RNG entropy
2021-05-06 16:59:02 +10:00
wangjialiang
a5e12d9b63
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-06 06:49:04 +00:00
aleks
59935e44c0
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-05-06 14:32:40 +08:00
Armando
b2409b1d34
essl: remove chip related comments in essl.h
2021-05-06 14:03:05 +08:00
Michael (XIAO Xufeng)
58490418ad
Merge branch 'feature/merge_c3_caps' into 'master'
...
soc: merge C3 caps into a single soc_caps.h
See merge request espressif/esp-idf!13337
2021-05-06 05:56:42 +00:00
yuanjm
754ec7b278
esp_http_client: Add API to set http client timeout value
...
Closes https://github.com/espressif/esp-idf/issues/6984
2021-05-06 13:55:12 +08:00
Angus Gratton
52b555e1e0
esp32s2 riscv ulp: Make re-linking depend on linker script file
2021-05-06 09:25:32 +10:00
Angus Gratton
3ee4370578
esp32s2 riscv ulp: Ensure reset vector is always at offset 0x0
...
Previous linker script relied on nothing else using the .text section
As reported at https://esp32.com/viewtopic.php?f=2&t=20734&p=75997
2021-05-06 09:25:32 +10:00
Ivan Grokhotkov
d7f219686f
Merge branch 'feature/spiffsgen_py_esp8266_compat' into 'master'
...
spiffsgen.py: esp8266 compatibility options, performance improvement, type annotations
Closes IDFGH-4925
See merge request espressif/esp-idf!12839
2021-05-05 15:04:19 +00:00
Martin Thierer
75e0c6aaf5
gpio_isr_register(): Correct order of arguments in docs
...
Make documentation order consistent with function signature.
Merges https://github.com/espressif/esp-idf/pull/3999
2021-05-05 15:56:26 +02:00
Layne Bernardo
d1c8c268d4
Add event_stack_size option to esp_hidh_config_t
...
Merges https://github.com/espressif/esp-idf/pull/6385
2021-05-05 15:45:54 +02:00
Christian Winkler
13abf1ed2e
Fix adc-channel typo
...
Merges https://github.com/espressif/esp-idf/pull/6577
2021-05-05 15:40:35 +02:00
Dániel Buga
c8b697a114
Fix ignored return value.
...
sdio_ringbuf_send ignores the return value of the callback.
Merges https://github.com/espressif/esp-idf/pull/6768
2021-05-05 15:34:24 +02:00
Ivan Grokhotkov
2887c88f56
spiram: add header guards to esp32s3/spiram.h and remove the exception
2021-05-05 15:27:19 +02:00
Takao Akaki
897496dd73
Can't use spiram.h functions when building with cpp.
...
Merges https://github.com/espressif/esp-idf/pull/6658
2021-05-05 15:23:35 +02:00
Ivan Grokhotkov
f92e1c45ae
esp_partition: add test, docs for ESP_PARTITION_TYPE_ANY
2021-05-05 15:11:29 +02:00
0xFEEDC0DE64
1f419bd983
Allow to find any partition type (app and data) with iterator
...
Merges https://github.com/espressif/esp-idf/pull/6586
2021-05-05 14:54:07 +02:00
KonstantinKondrashov
ca481e18e1
bootloader_support: Used esp_image_get_metadata() instead of esp_image_verify()
...
- bootloader_common_get_sha256_of_partition will not do any unnecessery verifies.
- Used esp_image_get_metadata() instead of esp_image_verify().
2021-05-05 11:53:57 +00:00
KonstantinKondrashov
d9be32629e
bootloader: Fixed a case when signed OTA updates fail when debugger is attached due to the wrong image_len.
...
And it fixed another case for bootloader_common_get_sha256_of_partition() when CHECK_SIGNATURE is on
- If RSA signature check is on in Kconfig then sha256 was 0xFFFFF...
because image_load gave image_len which pointed to the end of sign blocks.
And image_digest was filled from a wrong position.
Closes https://github.com/espressif/esp-idf/issues/6873
2021-05-05 11:53:57 +00:00
Angus Gratton
bf1a6eb770
pthread: Fix possible deadlock when using pthread_join() and Debug log level
...
Possible for a joined task to be deleted at the moment it is logging,
meaning it might hold the stdout lock. In that case the lock isn't
released and the next task to try and take it (i.e. call printf)
will block indefinitely.
2021-05-05 14:12:13 +10:00
kapil.gupta
ad7cb5f5c1
wpa_supplicant: Write Crypto API based on mbedtls
...
This commit add following crypto changes
1. Update current crypto code with upstream supplicant code
2. Add a proper porting layer to use mbedtls APIs for all the crypto
operations used by supplicant.
Internal crypto will be used when USE_MBEDLTS flag is disabled
in supplicant's menuconfig.
This commit also removes the clutter in crypto files due to partial
porting of some APIs to mbedtls, all the code from those files have
been removed and rewritten in a generic way, this is inspired from
current upstream code.
This also reduces the lib size significantly, supplicant's lib
size reduces around ~567kb after this change(NB: lib size doesn't
indicate reduction in final bin size).
2021-05-04 10:54:57 +00:00
Angus Gratton
e02439f2de
freertos: Add addition overflow check for stream buffer
...
Patch from upstream commit d05b9c123f2bf9090bce386a244fc934ae44db5b
2021-05-04 16:55:40 +10:00
Angus Gratton
b41d4b0a9c
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 16:55:20 +10:00
KonstantinKondrashov
9490d78f49
efuse/esp32s3: Update efuse table
2021-05-04 14:40:15 +08:00
David Čermák
94f08291ee
Merge branch 'bugfix/esp_eth_mac_openeth_c' into 'master'
...
esp_eth_mac_openeth.c: Fix issue created by generic check macros update
Closes IDFGH-5158
See merge request espressif/esp-idf!13343
2021-05-04 04:56:46 +00:00
KonstantinKondrashov
f35356f69d
esp32/psram: ESP32-PICO-V3 does not have PSRAM and does not support external PSRAM
2021-05-04 10:49:25 +08:00
Ivan Grokhotkov
da59a29be6
Merge branch 'update_copyright_notice_app_trace' into 'master'
...
app_trace: update copyright notice
See merge request espressif/esp-idf!13415
2021-05-03 12:00:53 +00:00
Ivan Grokhotkov
0bd9f6fe12
tools: spiffsgen: fix length error, add test case
2021-05-03 11:37:42 +02:00
Ivan Grokhotkov
952c9a2d05
Merge branch 'feature/esptool_wrapper' into 'master'
...
tools: Support external Esptool wrappers
Closes IDFGH-5095
See merge request espressif/esp-idf!13389
2021-05-03 09:32:46 +00:00
Ivan Grokhotkov
c88287851d
Merge branch 'feature/raise_log_level' into 'master'
...
feature: Set maximum log level, add startup time example
Closes IDFGH-3599 and IDFGH-333
See merge request espressif/esp-idf!12714
2021-05-03 08:52:27 +00:00
Axel Lin
aa333d4ab9
tcp_transport: Fix NULL pointer dereference if esp_transport_init returns NULL
...
Add missing NULL test for esp_transport_init() call.
Otherwise, it will hit NULL pointer dereference when assign t->_get_socket.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-05-03 15:46:59 +08:00
Wang Meng Yang
f471fc2262
Merge branch 'feature/add_esp32c3_hci_uart_example' into 'master'
...
Bluetooth: add hci uart example to ESP32-C3
See merge request espressif/esp-idf!13302
2021-05-03 02:46:54 +00:00
Jan Brudný
2a3c570abd
app_trace: update copyright notice
2021-05-03 04:39:23 +02:00
Michael (XIAO Xufeng)
1f95403596
Merge branch 'feature/emmc_doc_ut_4bit_sdr' into 'master'
...
sdmmc_host: add unit tests and improve documents about using eMMC in 4-line SDR mode
See merge request espressif/esp-idf!13334
2021-05-02 13:58:13 +00:00
Ivan Grokhotkov
9af485307e
tools: spiffsgen.py: minor lint fixes
...
Not squashing these since they should have gone into the commit before
adding type hints.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
a9b81341ca
tools: spiffsgen.py: make default arguments meaningful
...
Without this, defaults of inverse options (--no-magic-len) were based
on the 'dest' value. In this case, dest='use_magic_len’, and the
default value is True. Which is confusing, because both
—use-magic-len and --no-magic-len show the same default value.
This adds a custom help formatter class which doesn’t add default
to the option help text if the help string already includes it.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
9f20eeb1c0
tools: spiffsgen.py: add type annotations
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
930ee51b8f
tools: spiffsgen.py: avoid reallocating byte array for each new block
...
On large filesystems (~15 MB), this reduces execution time from
11s to 0.3s.
2021-04-30 18:07:48 +02:00
Ivan Grokhotkov
ad1606ae1d
tools: spiffsgen.py: esp8266 compatibility options
...
1. Implement --aligned-obj-ix-tables which is used by default on the
ESP8266 in NodeMCU and Arduino.
2. Introduce --no-magic and --no-magic-len to allow disabling options
--use-magic-len and --use-magic. As these have been declared with
default=True and action='store_true', they couldn't be disabled
otherwise.
Closes https://github.com/espressif/esp-idf/issues/6717
2021-04-30 18:07:48 +02:00
wangmengyang
59c0825ed8
Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport
2021-04-30 15:25:10 +00:00
Jiang Jiang Jian
73adacb7d4
Merge branch 'bugfix/fix_nolightsleep_after_wifi_init' into 'master'
...
esp_wifi: fix nolightsleep after wifi init
See merge request espressif/esp-idf!13404
2021-04-30 04:52:39 +00:00
Jiang Jiang Jian
efb9f87951
Merge branch 'bugfix/fix_728_series_reboot_failure' into 'master'
...
[system]: Fix two (re)boot failure issues on ESP32S3Beta
Closes WIFI-3548, WIFI-3559, and IDF-3170
See merge request espressif/esp-idf!13268
2021-04-30 03:20:47 +00:00
Ivan Grokhotkov
4faba8aecf
Merge branch 'bugfix/monitor_args' into 'master'
...
tools: Fix Cmake arguments for IDF Monitor
Closes IDFGH-5169
See merge request espressif/esp-idf!13383
2021-04-29 15:30:32 +00:00
Jiang Jiang Jian
97136cc512
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt' into 'master'
...
optimize deep sleep current in wifi softap mode
Closes WIFI-3594
See merge request espressif/esp-idf!13349
2021-04-29 14:49:45 +00:00
ninh
f1ee8aa14f
esp_wifi: fix nolightsleep after wifi init
2021-04-29 18:50:28 +08:00
ninh
91dbae3eb5
esp_pm: allow dfs to swith down alltime if no lightsleep
2021-04-29 18:41:00 +08:00
Ivan Grokhotkov
0a0234193f
Merge branch 'bugfix/place_xt_int_fns_into_iram' into 'master'
...
[system]: Place xtensa_intr_asm into IRAM
See merge request espressif/esp-idf!13330
2021-04-29 08:52:30 +00:00
Martin Babutzka
6faf4941cc
tools: Support external Esptool wrappers
...
Implements https://github.com/jimparis/esptool-ftdi/issues/3
Closes https://github.com/espressif/esp-idf/pull/6879
2021-04-29 08:27:57 +02:00
Michael (XIAO Xufeng)
76fbb689fd
Merge branch 'bugfix/remove_uart2_c3' into 'master'
...
uart: remove misleading ld files and soc defs for UART2
See merge request espressif/esp-idf!13340
2021-04-29 05:18:25 +00:00
Jiang Jiang Jian
6dc36d09df
Merge branch 'bugfix/interrupt_watchdog_on_reset' into 'master'
...
Bugfix/interrupt watchdog on reset
See merge request espressif/esp-idf!13384
2021-04-29 04:35:08 +00:00
Michael (XIAO Xufeng)
859f7e3664
Merge branch 'feature/support_eon_flash_qaud_mode_esp_flash' into 'master'
...
esp_flash: support override default chip driver list
Closes IDF-2907
See merge request espressif/esp-idf!12565
2021-04-29 04:03:56 +00:00
wuzhenghui
fa8389da00
remove othercore cache disable
2021-04-29 03:10:47 +00:00
wuzhenghui
57d43d1bc5
fix 728 series reboot failure
2021-04-29 03:10:47 +00:00
Li Shuai
344ec80fad
optimize deep sleep current in wifi softap mode
2021-04-28 14:03:02 +00:00
wangmengyang
666a73d79c
components/bt: bug-fixes in BLE controller and BLE baseband
...
1. Removed the interrupt lock operation during controller enable/disable/reset, to avoid trigger interrupt watchdog time-out due to use of mutex/semaphore in coex_st_set
2. update libbtbb.a to fix the Rx performance issue for CODED PHY, especially in coexistence scenario
2021-04-28 12:05:49 +00:00
wangmengyang
d2324c162a
components/bt: Minor fix for the range of GATTC number of reconnections.
2021-04-28 12:05:49 +00:00
Nachiket Kukade
15499e3cc1
esp_wifi: Update wifi lib
...
Forward Mgmt frames with skipping CCMP headers to fix parsing
issues in Application for ESP32C3
2021-04-28 16:31:05 +05:30
Roland Dobai
3a948c1455
tools: Fix Cmake arguments for IDF Monitor
...
SERIAL_TOOL_ARGS is post-processed with the spaces2list cmake function.
Therefore, it should be a list of arguments because spaces are replaced
with semicolons.
Regression of b77addea2f
and
c425ac7bed
.
Closes https://github.com/espressif/esp-idf/issues/6946
2021-04-28 12:07:40 +02:00
Jeroen Domburg
644f430a31
Merge branch 'feature/esp32c3_usbjtagserial_console' into 'master'
...
USB serial/jtag controller: Add vfs (logging/printf), panic handler, gdb support.
See merge request espressif/esp-idf!12925
2021-04-28 08:38:31 +00:00
Jeroen Domburg
2c75f63f89
* ets_delay_us(1) has too much overhead; change logic
...
* Fix MR comments
2021-04-28 16:38:24 +08:00
Michael (XIAO Xufeng)
41937a9f97
Merge branch 'feature/support_spi_on_727' into 'master'
...
spi: support spi on 727
Closes IDF-3178
See merge request espressif/esp-idf!13346
2021-04-28 08:16:15 +00:00
Marius Vikhammer
504a1e6102
soc: merge C3 caps into a single soc_caps.h
2021-04-28 14:42:35 +08:00
shenjun
8b3e090533
esp_wifi_mesh: update wifi mesh libs
...
1. Fix mesh deinit blocking issue
2. Fix root has no eb for deauth frames during the networking
3. Add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-04-28 02:46:34 +08:00
Jiang Jiang Jian
184b977707
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop' into 'master'
...
esp_wifi: Fix setting channel error after WiFi stop
Closes WIFI-3634
See merge request espressif/esp-idf!13253
2021-04-27 15:42:30 +00:00
Michael (XIAO Xufeng)
3ed5d97771
Merge branch 'bugfix/fix_touch_sensor_measure_start_wait_time' into 'master'
...
Bugfix(Touch): fix the touch sensor wait cycle after wakeup from sleep
See merge request espressif/esp-idf!13116
2021-04-27 12:50:06 +00:00
xiehang
adb15e4a5d
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-04-27 20:06:42 +08:00
Jakob Hasse
31bba67491
[driver]: removed redundant code in CMakeLists.txt
2021-04-27 18:07:44 +08:00
Michael (XIAO Xufeng)
a0d13a31ec
uart: fix misleading files for UART2
...
Includes: header files, ld files and clk.c
ESP32-C3 only have UART0 and UART1.
2021-04-27 17:40:19 +08:00
Ivan Grokhotkov
f86a6db1f2
Merge branch 'feature/espcoredump_py_riscv_support' into 'master'
...
feature: espcoredump py riscv support
Closes IDF-2638 and IDF-2715
See merge request espressif/esp-idf!12259
2021-04-27 09:26:52 +00:00
Ivan Grokhotkov
9d34a1cd42
Merge branch 'bugfix/optimise_esp_timer_get_time' into 'master'
...
systimer: optimise esp_timer_get_time
See merge request espressif/esp-idf!13335
2021-04-27 08:52:09 +00:00
Shu Chen
85565b8274
Merge branch 'feature/openthread_support_microsecond_timer' into 'master'
...
openthread: support microsecond timer
See merge request espressif/esp-idf!13353
2021-04-27 08:08:19 +00:00
Ivan Grokhotkov
86b19d60d3
Merge branch 'newlib/no_atomic_support' into 'master'
...
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
Closes IDFGH-4649
See merge request espressif/esp-idf!13294
2021-04-27 07:59:01 +00:00
zhangwenxu
ea836abe50
openthread: support microsecond timer
2021-04-27 11:52:36 +08:00
Armando
831b6127d7
spi: update interrupt set in spi_ll.h
2021-04-27 11:11:00 +08:00
Armando
b53a68bf70
spi: update spi_struct and spi_reg to 727
2021-04-27 11:11:00 +08:00
Michael (XIAO Xufeng)
fb1fd26caf
Merge branch 'refactor/gdma_check_macro' into 'master'
...
gdma: replaced DMA_CHECK by ESP_GOTO_ON_FALSE
Closes IDF-3131
See merge request espressif/esp-idf!13208
2021-04-27 03:07:01 +00:00
Fu Hanxi
b972631658
feat(coredump): add esp32s2 and esp32c3 support
2021-04-26 20:44:23 +08:00
Fu Hanxi
d94423c1cf
fix(coredump): pr_status pid padding should be uint16
2021-04-26 20:44:23 +08:00
Jiang Jiang Jian
eccdf88712
Merge branch 'bugfix/gtk_reinstallation_fix_1' into 'master'
...
wpa_supplicant: Clean gtk after disconnect
See merge request espressif/esp-idf!13285
2021-04-26 11:35:25 +00:00
Jon Shallow
154ad2e0e1
esp_eth_mac_openeth.c: Fix issue created by generic check macros update
...
Merges https://github.com/espressif/esp-idf/pull/6936
2021-04-26 08:40:07 +00:00
Michael (XIAO Xufeng)
26585b4b4b
esp_flash: support override default chip driver list
2021-04-26 16:05:42 +08:00
Ivan Grokhotkov
e77a91df7f
Merge branch 'doc/ulp_st_bits' into 'master'
...
ulp: update ST instruction description (Github PR)
Closes IDFGH-3224
See merge request espressif/esp-idf!13159
2021-04-26 07:15:15 +00:00
Michael (XIAO Xufeng)
7defd291a4
Merge branch 'feature/refactoring_flash_encryption_to_new_api' into 'master'
...
spi_flash: refactoring flash encryption implementations into new api
Closes IDFGH-4493, IDFGH-4423, and IDF-657
See merge request espressif/esp-idf!12569
2021-04-26 06:34:48 +00:00
Michael (XIAO Xufeng)
546be98e0f
Merge branch 'ci/add_flash_performance_info' into 'master'
...
ci: Add more information for flash performance test
Closes IDF-2739
See merge request espressif/esp-idf!12912
2021-04-26 06:22:12 +00:00
Jiang Jiang Jian
1312815be2
Merge branch 'bugfix/fix_c3_ble_disconnect_due_to_con_param_update' into 'master'
...
fix esp32c3 and esp32s3 ble disconnect due to connection paramters update
See merge request espressif/esp-idf!13324
2021-04-26 04:43:55 +00:00
Jakob Hasse
be55a5eb2b
[system]: put xtensa_intr_asm into IRAM
2021-04-26 12:11:20 +08:00
Michael (XIAO Xufeng)
835a652a63
Merge branch 'feature/usb_hcd_uses_irp_directly' into 'master'
...
USB HCD uses IRPs directly
Closes IDF-2937
See merge request espressif/esp-idf!12646
2021-04-26 03:57:23 +00:00
morris
988c88a6b1
systimer: optimise esp_timer_get_time
2021-04-26 11:54:02 +08:00
xiehang
ce5a25abac
esp_wifi: Fix setting channel error after WiFi stop
2021-04-26 11:32:59 +08:00
Michael (XIAO Xufeng)
cfa4beb661
test_sd: merge emmc SDR/DDR test cases of 4-bit mode
2021-04-26 09:55:39 +08:00
Darian Leung
738af3fd38
USB HCD uses IRPs directly for transfer
...
This commit updates the HCD so that transfer requests are no longer used.
The USB IRP object is updated so that the it can be directly passed to the HCD
to start a transfer. HCD API, tests, and documentation updated accordingly.
2021-04-25 21:52:07 +08:00
Jiang Jiang Jian
3f7b637a15
Merge branch 'bugfix/update_esp32c3_phy_init_data' into 'master'
...
esp_wifi: update esp32c3 phy init data
See merge request espressif/esp-idf!13282
2021-04-25 13:23:13 +00:00
zwj
3c06fea8a1
fix esp32c3 and esp32s3 ble disconnect due to connection paramters update
2021-04-25 20:18:21 +08:00
Michael (XIAO Xufeng)
02970813b8
sdmmc_host: add unit tests and improve documents about using eMMC in 4-line SDR mode
2021-04-25 18:34:37 +08:00
Cao Sen Miao
2059990c94
ci: Add more information for flash performance test
2021-04-25 17:59:10 +08:00
Cao Sen Miao
0d81edb174
spi_flash: refactoring flash encryption into new api
2021-04-25 17:09:25 +08:00
Shu Chen
00a66083c7
Merge branch 'roll-openthread-210416' into 'master'
...
openthread: update openthread submodule
See merge request espressif/esp-idf!13166
2021-04-25 02:18:03 +00:00
Angus Gratton
f2d193a7c3
Merge branch 'bugfix/esp32c3_eco3_efuse_programming' into 'master'
...
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
See merge request espressif/esp-idf!13295
2021-04-23 22:30:41 +00:00
David Čermák
4dc024422c
Merge branch 'feature/lwip-route-hook' into 'master'
...
lw-ip: add config options and hooks for Thread IPv6 border routing
See merge request espressif/esp-idf!13099
2021-04-23 18:41:11 +00:00
Angus Gratton
69309c88a0
Merge branch 'bugfix/fix_c3_typos' into 'master'
...
esp32c3: fix typos of c3 path
See merge request espressif/esp-idf!13318
2021-04-23 13:05:09 +00:00
Michael (XIAO Xufeng)
5997fcd45d
Merge branch 'feature/update_adc_programming_guide_on_c3' into 'master'
...
adc: update esp32c3 programming guide
Closes IDF-2333
See merge request espressif/esp-idf!12563
2021-04-23 12:52:07 +00:00
Michael (XIAO Xufeng)
bea022ce1c
Merge branch 'refactor/usb_common_and_hal_types' into 'master'
...
Separate USB HAL and common USB types
Closes IDF-2931
See merge request espressif/esp-idf!12642
2021-04-23 12:50:35 +00:00
Ivan Grokhotkov
83e68ee19e
Merge branch 'bugfix/replace_setjmp_rom' into 'master'
...
[system]: Made longjmp save for context switch
Closes IDFGH-3232
See merge request espressif/esp-idf!13119
2021-04-23 12:39:29 +00:00
Angus Gratton
65fc657339
Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots' into 'master'
...
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
Closes IDFGH-4983
See merge request espressif/esp-idf!12900
2021-04-23 12:37:13 +00:00
Angus Gratton
2f70a76572
Merge branch 'bugfix/mac_addr_target_support' into 'master'
...
system: Restructure MAC address support documentation
See merge request espressif/esp-idf!13298
2021-04-23 10:56:42 +00:00
Shu Chen
ff3320ca8a
esp32c3: fix typos of c3 path
2021-04-23 18:11:39 +08:00
Ivan Grokhotkov
ea7d020f20
Merge branch 'feature/ubsan' into 'master'
...
system: add option to enable undefined behavior sanitizer (UBSAN)
Closes IDF-166 and IDF-1824
See merge request espressif/esp-idf!11318
2021-04-23 09:27:42 +00:00
Ivan Grokhotkov
9522034144
Merge branch 'doc/linux_host_testing' into 'master'
...
Doc: Linux host test documentation
See merge request espressif/esp-idf!11857
2021-04-23 09:08:42 +00:00
Angus Gratton
88829d68fc
log: Document that normally logging APIs don't work in critical sections
...
Closes https://github.com/espressif/esp-idf/issues/6600
2021-04-23 18:27:20 +10:00
Angus Gratton
9dc0bd16a3
docs: Update the main log document with recent API changes
2021-04-23 18:27:20 +10:00
Angus Gratton
29348270e7
log: Cause ESP_EARLY_LOGx in the app to use the default runtime log level
...
Tag filtering still doesn't work for this log type, but it will use the
default '*' log level instead of only the runtime level.
* Closes https://github.com/espressif/esp-idf/issues/2285
* Related to https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Angus Gratton
6bd9580137
log: Allow setting maximum log level higher than default
...
Main change is possibility the log cache locking functions will
be called before the scheduler has started.
This change doesn't change the behaviour of ESP_EARLY_LOGx, this is
done in the following commit.
Closes https://github.com/espressif/esp-idf/issues/5542
2021-04-23 18:25:41 +10:00
Kapil Gupta
20bb0c3b02
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-04-23 13:44:02 +05:30
Angus Gratton
6e80811ca2
log: Remove redundant definition of LOG_LOCAL_LEVEL
...
After adding a maximum setting, the default value of LOG_LOCAL_LEVEL
will be CONFIG_LOG_MAXIMUM_LEVEL not CONFIG_LOG_DEFAULT_LEVEL
2021-04-23 18:13:04 +10:00
Jakob Hasse
fc22e3c645
[system]: Made longjmp save for context switch
...
* Patched longjmp to be context-switch safe
longjmp modifies the windowbase and windowstart
registers, which isn't safe if a context switch
occurs during the modification. After a context
switch, windowstart and windowbase will be
different, leading to a wrongly set windowstart
bit due to longjmp writing it based on the
windowbase before the context switch. This
corrupts the registers at the next window
overflow reaching that wrongly set bit.
The solution is to disable interrupts during
this code. It is only 6 instructions long,
the impact shouldn't be significant.
The fix is implemented as a wrapper which
replaces the original first instructions of
longjmp which are buggy. Then, it jumps back
to execute the rest of the original longjmp
function.
Added a comparably reliable test to the
test apps.
2021-04-23 15:55:31 +08:00
Angus Gratton
0be81903cc
Merge branch 'bugfix/hal_duplicated_interrupt_functions' into 'master'
...
[hal]: merged duplicated HAL layer functions
Closes IDF-2308
See merge request espressif/esp-idf!12444
2021-04-23 07:47:51 +00:00
Angus Gratton
96c2acd9a8
Merge branch 'refactor/strip_systimer_hal_layer' into 'master'
...
refactor HAL driver of systimer to a common systimer_hal
Closes IDF-2996
See merge request espressif/esp-idf!13027
2021-04-23 07:45:31 +00:00
Wang Meng Yang
85841922a1
Merge branch 'refactor/bt_lib_submodules' into 'master'
...
Refactor/bt lib submodules
See merge request espressif/esp-idf!13247
2021-04-23 07:19:18 +00:00
laokaiyao
e0004dc443
gdma: replaced DMA_CHECK with ESP_GOTO_ON_FALSE and ESP_GOTO_ON_ERROR
2021-04-23 14:49:30 +08:00
Sachin Parekh
b1eacc24f2
stdatomic: Implemented legacy __sync APIs and __atomic_exchange_n
...
These APIs are used when the architecture doesn't have atomic
instruction support
Closes https://github.com/espressif/esp-idf/issues/6463
2021-04-23 11:18:58 +05:30
David Čermák
0d6482b8ee
Merge branch 'feature/esp_eth_ksz8851snl' into 'master'
...
Add a KSZ8851SNL SPI Ethernet driver
Closes IDFGH-4736 and IDFGH-4837
See merge request espressif/esp-idf!12574
2021-04-23 05:14:16 +00:00
Angus Gratton
64a96ca96d
Merge branch 'bugfix/RTC_CLK_CAL_CYCLES' into 'master'
...
esp32xx: Fix the Number of cycles for RTC_SLOW_CLK calibration
See merge request espressif/esp-idf!13202
2021-04-23 04:55:28 +00:00
KonstantinKondrashov
d1befe83ef
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
...
Closes: https://github.com/espressif/esp-idf/issues/6773
2021-04-23 04:55:06 +00:00
Angus Gratton
7bb5c8cc82
esp32c3 espefuse: Fix efuse programming timing on ESP32-C3 ECO3
...
Without this timing change, efuse programming occasionally appears to fail
(although the efuse is programmed correctly).
2021-04-23 13:42:23 +10:00
Michael (XIAO Xufeng)
fdb8736a95
Merge branch 'feature/spi_slave_hd_segment_example' into 'master'
...
spi_slave_halfduplex: add an example for segment mode
Closes IDF-1699
See merge request espressif/esp-idf!10043
2021-04-23 03:23:25 +00:00
fuzhibo
928c5b6ce3
Driver(Touch sensor): fix the touch sensor wait cycle after wakeup from sleep
2021-04-23 02:59:58 +00:00
morris
d928cdd0b1
i2s: fix driver uninstall issue
2021-04-23 10:34:13 +08:00
Michael (XIAO Xufeng)
dfdc337e27
Merge branch 'bugfix/twai_caps_naming_and_tidy_up' into 'master'
...
Fix TWAI caps
Closes IDF-2456
See merge request espressif/esp-idf!13172
2021-04-23 02:21:47 +00:00
Jakob Hasse
68393c41c4
doc: linux host test documentation
2021-04-23 09:27:35 +08:00
Ivan Grokhotkov
e449728b7d
hal: fix planted break instruction for Xtensa targets
...
On Xtensa, "break 0, 0" encodes a software breakpoint which is placed
into the program by the debug monitor. Planted breakpoints (added in
the code to trap into debugger) should be encoded as "break 1, 15".
See table "Breakpoint Instruction Operand Conventions" in the ISA
Reference manual.
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
da90775d98
hal: mpu: fix signed overflow error
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
4e73cff729
esp_netif: enable UBSAN in component test app
2021-04-22 23:33:47 +02:00
Ivan Grokhotkov
9069f70db3
system: add option to enable undefined behavior sanitizer (UBSAN)
...
Closes https://github.com/espressif/esp-idf/issues/1574
2021-04-22 23:33:45 +02:00
Ivan Grokhotkov
cfdfeed973
freertos: linker.lf rules fixes
...
1. Add conditions based on Kconfig options for functions which are
compiled based on those options.
2. Static allocation is always enabled, move corresponding functions
into the common list.
2021-04-22 17:14:46 +02:00
David Cermak
1e674f1d20
esp_eth: Update KSZ8851SNL driver to use global error checkers
...
Also updated KSZ8851SNL per internal code review:
* Removed Link status change interrupt as it's handled with polling
* Added auto negotiation timeout
* Updated typedefs, moved types to appropriate source, updated
components/esp_eth/src/ksz8851.h to use only inherent device types
* Applied IDF code formatting
* Updated header file order to include first the most generic to more
specific
2021-04-22 13:55:51 +00:00
Vladimir Chistyakov
c4f131e6ee
esp_eth: Add a KSZ8851SNL SPI Ethernet driver
...
Implement the PHY and MAC layers in the driver similar to
the W5500 driver.
Update Kconfig, CMakeLists.txt, and component.mk to incorporate
the changes.
Resolves : #6542
Merges https://github.com/espressif/esp-idf/pull/6636
Closes https://github.com/espressif/esp-idf/issues/6542
2021-04-22 13:55:51 +00:00
morris
ec898b771e
systimer: strip hal driver
2021-04-22 21:08:39 +08:00
morris
7c1e1c9e2d
systimer: update soc data
2021-04-22 21:07:35 +08:00
morris
7eb9ecb4f6
esp_ds: move timeout mechanism to driver layer
2021-04-22 21:07:35 +08:00
Mahavir Jain
812d61295d
Merge branch 'bugfix/log_arg_in_bootloader_support' into 'master'
...
bootloader_support: Fix min size of OTA partition in error log
See merge request espressif/esp-idf!13288
2021-04-22 12:31:56 +00:00
Darian Leung
2906a25988
Separate USB HAL and common USB types
...
This commit separates out the common USB types used throughout most of the stack into its
own header file inside the USB component. The types used in the USB HAL are now exclusive
to the HAL.
2021-04-22 19:24:48 +08:00
chenjianxing
372d8c6003
esp_wifi: update esp32c3 phy init data
2021-04-22 19:17:20 +08:00
yuanjm
93604b1a11
mbedtls: Fix mbedtls_ssl_send_alert_message crash due to ssl->out_iv is NULL
2021-04-22 09:33:59 +00:00
Shubham Patil
c2b0db75e8
bootloader_support: Fix min size of OTA partition in error log
2021-04-22 14:00:42 +05:30
Jiacheng Guo
fd3553b66d
lwip: add config options for Thread IPv6 border routing
2021-04-22 06:13:47 +00:00
Angus Gratton
7cb83c8787
system doc: Re-structure description of MAC addresses, especially on newer chip targets
...
Includes a note about calculating the Ethernet MAC on platforms with no built-in
Ethernet, and removes documentation for esp_efuse_mac_get_custom() on targets
other than ESP32
2021-04-22 16:08:55 +10:00
David Čermák
7f34657013
Merge branch 'feature/ethernet_link_check_esp_timer' into 'master'
...
esp_eth: using esp_timer to check link status
Closes IDFGH-4953
See merge request espressif/esp-idf!13155
2021-04-22 06:08:00 +00:00
Angus Gratton
eb38eb670c
system: Return ESP_ERR_NOT_SUPPORTED for esp_read_mac(ESP_MAC_BT, ...) on ESP32-S2
...
Previously this function returned ESP_OK but no MAC was set.
2021-04-22 12:22:46 +10:00
Angus Gratton
c8cb803378
system: Simplify esp_derive_local_mac() function
...
Previously this function included a loop but would never run more
than one iteration of it.
2021-04-22 12:22:46 +10:00
Mahavir Jain
a82466674a
Merge branch 'bugfix/esp_http_client_read' into 'master'
...
Fix esp_http_client_read for file size aligned to 289 bytes
Closes IDFGH-4981
See merge request espressif/esp-idf!13193
2021-04-22 01:48:00 +00:00
wangmengyang
d703424ef7
component/bt: add another bt-lib submodule and refactor the directories
2021-04-22 07:41:46 +08:00
Angus Gratton
f91d6c7a69
Merge branch 'bugfix/tls_threadptr_calculation' into 'master'
...
freertos: fix TLS run-time address calculation
See merge request espressif/esp-idf!13271
2021-04-21 23:13:13 +00:00
Shubham Kulkarni
b148433fbd
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-21 17:28:54 +05:30
wangmengyang
b81c687327
remove original esp32-bt-lib submodule
2021-04-21 19:51:32 +08:00
Ivan Grokhotkov
0535195983
freertos: fix TLS run-time address calculation
...
Since dd849ffc
, _rodata_start label has been moved to a different
linker output section from where the TLS templates (.tdata, .tbss)
are located. Since link-time addresses of thread-local variables are
calculated relative to the section start address, this resulted in
incorrect calculation of THREADPTR/$tp registers.
Fix by introducing new linker label, _flash_rodata_start, which points
to the .flash.rodata output section where TLS variables are located,
and use it when calculating THREADPTR/$tp.
Also remove the hardcoded rodata section alignment for Xtensa targets.
Alignment of rodata can be affected by the user application, which is
the issue dd849ffc
was fixing. To accommodate any possible alignment,
save it in a linker label (_flash_rodata_align) and then use when
calculating THREADPTR. Note that this is not required on RISC-V, since
this target doesn't use TPOFF.
2021-04-21 13:45:21 +02:00
Ivan Grokhotkov
d4e8987a39
Merge branch 'feature/prevent_unwind_code_linking' into 'master'
...
prevent unwind code linking
Closes IDF-2577, IDFGH-3394, IDFGH-3417, and IDFGH-3153
See merge request espressif/esp-idf!12328
2021-04-21 10:04:15 +00:00
Wang Meng Yang
81723243cf
Merge branch 'bugfix/ble_timeout_disconnected_no_report' into 'master'
...
Fix the controller do not report the disconnect event to host
See merge request espressif/esp-idf!13261
2021-04-21 09:43:33 +00:00
“YangZhao”
1def09cc99
bugfix: Fix the issue that the controller do not report the timeout
...
disconnect event. This issue is caused by modem sleep.The sleep interrupt
will come the second time before the CLKN interrupt. If we disable the sleep
interrupt when it comes in the first time, the CLKN will never come.
2021-04-21 14:49:44 +08:00
morris
0733adab5e
esp_eth: using esp_timer to check link status
2021-04-21 13:08:07 +08:00
morris
537617aec7
esp_eth: support user customized PHY io function
...
Closes https://www.github.com/espressif/esp-idf/issues/6745
2021-04-21 13:08:07 +08:00
morris
c833ec5533
global: remove esp_ssc.h
2021-04-21 13:08:07 +08:00
Mahavir Jain
104830107a
Merge branch 'fix/esp_https_client_compile_warning' into 'master'
...
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
Closes IDFGH-5098
See merge request espressif/esp-idf!13192
2021-04-21 04:57:49 +00:00
Mahavir Jain
c22805e94b
Merge branch 'bugfix/bootloader_min_revision_c3' into 'master'
...
Fix bootloader minimum revision check and print for ESP32-C3
Closes IDFGH-5106
See merge request espressif/esp-idf!13248
2021-04-21 04:41:47 +00:00
Armando
3177130256
adc: add adc programming guide on c3
2021-04-21 10:40:55 +08:00
Angus Gratton
15575346f5
Merge branch 'bugfix/freertos_current_tcb_unpinned' into 'master'
...
freertos: Fix race condition returning incorrect TCB on unpinned tasks
Closes WIFI-3125
See merge request espressif/esp-idf!13189
2021-04-21 01:03:32 +00:00
Ivan Grokhotkov
d34421dd7b
Merge branch 'feature/build_nvs_host_test_ci' into 'master'
...
Add nvs page host test to CI
Closes IDF-2425
See merge request espressif/esp-idf!12417
2021-04-20 23:32:01 +00:00
Ivan Grokhotkov
c248dcc724
Merge branch 'bugfix/flash_rodata_any_alignement' into 'master'
...
build: (Custom) App version info is now on a dedicated section
Closes IDFGH-4927
See merge request espressif/esp-idf!12786
2021-04-20 23:30:03 +00:00
Jiang Jiang Jian
9b73403efd
Merge branch 'bugfix/ftm_fixes_logging_change' into 'master'
...
wifi/ftm: Move FTM report logging into application and general Bugfixes
Closes WIFI-3294
See merge request espressif/esp-idf!13009
2021-04-20 15:26:49 +00:00
Wang Meng Yang
c94916de8f
Merge branch 'bugfix/optimize_c3_multi_con_and_add_connection_retry' into 'master'
...
optimize c3 multi con and add connection retry
See merge request espressif/esp-idf!12983
2021-04-20 14:48:11 +00:00
Mahavir Jain
4f71805255
Merge branch 'bugfix/update_tinycbor_for_static_analysis_fix' into 'master'
...
Update tinycbor for static analysis fix
Closes IDF-2792
See merge request espressif/esp-idf!13190
2021-04-20 14:40:05 +00:00
Aditya Patwardhan
31445c1566
esp_https_ota: Warn users when CONFIG_OTA_ALLOW_HTTP is set
2021-04-20 20:06:41 +05:30
Island
3e05abe7bb
Merge branch 'bugfix/endianness_in_output_or_input_oob' into 'master'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number
See merge request espressif/esp-idf!13160
2021-04-20 13:09:01 +00:00
Jiacheng Guo
64c498a584
openthread: update openthread submodule
...
Roll OpenThread submodule and rename OpenThread config macros and api
calls accordingly.
2021-04-20 20:26:19 +08:00
Armando
44fafd4991
spi_slave_hd: add polling api to read/write buf to essl_spi
2021-04-20 20:08:30 +08:00
Armando
85e29dace7
spi_slave_hd: add callback after data is loaded to the DMA for segment mode
2021-04-20 20:08:29 +08:00
Wang Meng Yang
b05ac11456
Merge branch 'nimble/add_c3_config_max_conn' into 'master'
...
NimBLE: Add max connection config option for C3
See merge request espressif/esp-idf!12226
2021-04-20 09:49:11 +00:00
Axel Lin
39792bd7cc
esp_https_ota: Fix build warning when CONFIG_OTA_ALLOW_HTTP is set
...
Fix below build warning when CONFIG_OTA_ALLOW_HTTP is set:
esp_https_ota.c:165:13: warning: 'is_server_verification_enabled' defined but not used [-Wunused-function]
While at it, also simplify the is_server_verification_enabled logic.
Fixes: 48987ad9df
("esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Closes https://github.com/espressif/esp-idf/pull/6882
Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2021-04-20 14:48:44 +05:30
Mahavir Jain
a4f38db53d
bootloader_support: fix min. revision error print for < C3-ECO3 revisions
2021-04-20 14:22:14 +05:30
Mahavir Jain
f9699e2412
bootloader: fix print related to min. chip revision
...
Closes https://github.com/espressif/esp-idf/issues/6890
Closes IDFGH-5106
2021-04-20 14:19:17 +05:30
Jakob Hasse
2fb5b42eb1
[nvs] add nvs page host test to CI
...
Closes IDF-2425
2021-04-20 14:40:16 +08:00
KonstantinKondrashov
8e1256ca88
esp32xx: Fix the Number of cycles for RTC_SLOW_CLK calibration
2021-04-20 06:29:42 +00:00
Jakob Hasse
2552c7ba0f
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-04-20 14:27:58 +08:00
wangjialiang
dd0fbb2f5e
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-04-20 06:25:52 +00:00
Angus Gratton
79ae7a7bd9
freertos: test: Add stress test for thread local storage
...
(Fails without the fix applied in parent commit.)
2021-04-20 14:46:49 +10:00
Angus Gratton
c7328f1cc0
freertos: Fix race condition returning incorrect TCB on unpinned tasks
...
Noted as a problem with thread local storage returning a different task's
pointers, but some other were APIs also accessing current task unsafely.
Regression in FreeRTOS 10 update a3c90bf59a
2021-04-20 14:46:49 +10:00
Mahavir Jain
6a06be002e
tinycbor: update to latest upstream commit-id
...
Relevant: https://github.com/espressif/esp-idf/issues/6440
Closes IDF-2792
2021-04-20 03:59:44 +00:00
Angus Gratton
2554d8956a
Merge branch 'feature/parametrize_core_dump_check' into 'master'
...
coredump: core dump data check can now be parametrized
Closes IDFGH-4821
See merge request espressif/esp-idf!12605
2021-04-20 03:58:58 +00:00
Angus Gratton
dfbcacd246
Merge branch 'update_copyright_notice_log' into 'master'
...
log: Update copyright notice
See merge request espressif/esp-idf!13108
2021-04-20 03:54:49 +00:00
Nachiket Kukade
c93907fb27
wifi/ftm: Move FTM report logging into application and some bugfixes
...
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 03:44:51 +00:00
Prasad Alatkar
7d4cfb6d53
NimBLE: Add max connection config option for ESP32C3
2021-04-20 02:41:58 +00:00
zwj
58cd231895
optimize C3 and s3 multi-connection
2021-04-20 02:41:14 +00:00
zwj
077722696a
add option to enable multi-connection
2021-04-20 02:41:14 +00:00
zwj
6fff69390e
update con state when getting connection cancle complete
2021-04-20 02:41:14 +00:00
zwj
85b73337a3
fix ble 5.0 SMP failed
2021-04-20 02:41:14 +00:00
zwj
e652e264c7
add BLE connection establishment retry
2021-04-20 02:41:14 +00:00
Jiang Jiang Jian
ae853eb177
Merge branch 'bugfix/gtk_reinstallation_fix' into 'master'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key
See merge request espressif/esp-idf!13036
2021-04-19 09:51:21 +00:00
Michael (XIAO Xufeng)
06ec13e422
Merge branch 'bugfix/fix_co-cpu_riscv_ulp_ld_for_esp32s2' into 'master'
...
bugfix: add .rodata section for riscv ulp for esp32s2
See merge request espressif/esp-idf!13109
2021-04-19 07:49:58 +00:00
Michael (XIAO Xufeng)
2f298aa02a
Merge branch 'bugfix/timer_spinlock_iram' into 'master'
...
timer: add IRAM_ATTR to spinlock give/take API
Closes IDFGH-5038
See merge request espressif/esp-idf!13107
2021-04-19 07:41:59 +00:00
Angus Gratton
209a6cc855
Merge branch 'bugfix/check_partitions_fit' into 'master'
...
cmake partition_table: Check binaries fit in partition spaces at build time
Closes IDF-1539 and IDFGH-2503
See merge request espressif/esp-idf!9330
2021-04-19 07:33:36 +00:00
Jiang Jiang Jian
920b3a0929
Merge branch 'feature/configure_max_server_profiles_count' into 'master'
...
esp32: Added an option in menuconfig to configure maximum gatt services
Closes BT-1508
See merge request espressif/esp-idf!12769
2021-04-19 06:31:09 +00:00
Omar Chebib
837629814f
coredump: core dump data check can now be parametrized
...
Core dump integrity check can now be parametrized through menuconfig.
It can be performed on boot or ignored. When core dump is activated
in the menuconfig, the user can still check the core dump at any time
with the function `esp_core_dump_image_check()`.
Fix a bug where `esp_core_dump_image_get()` was not accessible
when core dump was disabled.
Closes https://github.com/espressif/esp-idf/issues/6620
2021-04-19 13:05:32 +08:00
Omar Chebib
dd849ffc26
build: (Custom) App version info is now on a dedicated section, independent of the rodata alignment
...
It is now possible to have any alignment restriction on rodata in the user
applicaiton. It will not affect the first section which must be aligned
on a 16-byte bound.
Closes https://github.com/espressif/esp-idf/issues/6719
2021-04-19 12:53:08 +08:00
Kapil Gupta
035909872b
wpa_supplicant: Prevent reinstallation of an already in-use group key
2021-04-19 04:17:20 +00:00
Jan Brudný
1e896e5def
log: update copyright year
2021-04-18 23:53:48 +02:00
Jiang Jiang Jian
44e68b2636
Merge branch 'bugfix/update_esp32s2_phylib_v1800' into 'master'
...
esp_wifi: Update libphy.a to V1800 20210413_e7ef680 for esp32s2
Closes WIFI-3526
See merge request espressif/esp-idf!13146
2021-04-16 14:32:33 +00:00
Darian Leung
54eb152a96
TWAI: Simply caps and remove unused caps
2021-04-16 18:36:18 +08:00
Ivan Grokhotkov
fa72ef6bd8
Merge branch 'feature/add-eventfd' into 'master'
...
vfs: add eventfd support
See merge request espressif/esp-idf!12573
2021-04-16 10:33:06 +00:00
Mahavir Jain
d5e7bf0ee5
Merge branch 'feature/mbedtls_md5' into 'master'
...
mbedtls: Add CONFIG_MBEDTLS_ROM_MD to enable ROM MD acceleration
Closes IDF-255
See merge request espressif/esp-idf!13030
2021-04-16 10:24:21 +00:00
Darian Leung
44bc5411b7
TWAI: Fix incorrect CAP name
...
Fixes a bug where SOC_TWAI_BRP_DIV_SUPPORTED was mistyped preventing
slower bit rates from being enabled on ESP32 revision 2 and 3 chips
2021-04-16 18:18:37 +08:00
Michael (XIAO Xufeng)
58758486b2
Merge branch 'ci/enable_flash_suspend_test' into 'master'
...
spi_flash: enable unit-test for flash suspend
Closes IDF-3081
See merge request espressif/esp-idf!13115
2021-04-16 10:16:25 +00:00
Anton Maklakov
e55f2936fd
Merge branch 'bugfix/build_failure_in_espcoredump' into 'master'
...
espcoredump: Fix string truncation build failure
See merge request espressif/esp-idf!13135
2021-04-16 07:01:44 +00:00
Angus Gratton
920edd4e73
partition_table: Add a "single factory app (large)" option for 1.5MB app size
...
Needed to build some examples in their default configurations (especially
ESP32-C3). Wasn't noticed until the CI checks for partition size were added.
2021-04-16 16:40:47 +10:00
Angus Gratton
b45b817e6f
partition_table: Fix pylint issues in gen_esp32part.py
2021-04-16 16:40:47 +10:00
Angus Gratton
6f6b4c3983
cmake partition_table: Check binaries fit in partition spaces at build time
...
- Bootloader is checked not to overlap partition table
- Apps are checked not to overlap any app partition regions
Supported for CMake build system only.
Closes https://github.com/espressif/esp-idf/pull/612
Closes https://github.com/espressif/esp-idf/issues/5043
Probable fix for https://github.com/espressif/esp-idf/issues/5456
2021-04-16 16:40:47 +10:00
xiehang
9f27aa7db8
esp_wifi: Update libphy.a to V1800 20210413_e7ef680 for esp32s2
2021-04-16 11:21:07 +08:00
Jiang Jiang Jian
db67047eb9
Merge branch 'feature/support_esp32s3_beta3_wifi' into 'master'
...
esp_wifi: support esp32s3 beta3 wifi
Closes WIFI-3550
See merge request espressif/esp-idf!12863
2021-04-16 03:09:19 +00:00
Ivan Grokhotkov
e6fd582fdf
Merge branch 'bugfix/panic_handler_not_in_iram' into 'master'
...
panic: handlers can now be placed in flash
Closes IDF-2851
See merge request espressif/esp-idf!12874
2021-04-16 02:47:05 +00:00
Angus Gratton
bc3d45026c
Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master'
...
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled
See merge request espressif/esp-idf!12032
2021-04-15 23:56:39 +00:00
Roland Dobai
c425ac7bed
tools: Don't use revision argument for IDF Monitor if it is not defined
2021-04-15 19:56:39 +02:00
ChenJianxing
dd14e97375
esp_wifi: support esp32s3 beta3 wifi
2021-04-16 00:38:20 +08:00
boarchuz
7e7c044afa
update ulp st doc
...
Merges https://github.com/espressif/esp-idf/pull/5222
2021-04-15 16:16:11 +02:00
wangmengyang
ae8f66889b
fix bit definition for SYSTEM_WIFI_CLK_WIFI_EN, sync with ESP32-C3
2021-04-15 22:03:36 +08:00
zwj
764a778be1
phy reinit error due to i2c high
2021-04-15 22:03:25 +08:00
zwj
facadc86d8
support 727 esp32s3 BLE
2021-04-15 22:02:58 +08:00
Jiacheng Guo
bbb0e7a573
vfs: fix build & ci errors
2021-04-15 15:19:00 +08:00
Jiacheng Guo
0d986de363
vfs: add default initializer for vfs_eventfd
2021-04-15 15:19:00 +08:00
Jiacheng Guo
40035edcac
vfs: add doc links
2021-04-15 15:19:00 +08:00
Jiacheng Guo
7c64d1530a
vfs: modify copyright header
2021-04-15 15:18:59 +08:00
Jiacheng Guo
37a992bbde
vfs: add example for eventfd
2021-04-15 15:18:59 +08:00
Jiacheng Guo
7b911e4641
vfs: add support for mutiple selects in eventfd
2021-04-15 15:18:59 +08:00
Jiacheng Guo
30e9345bc7
vfs: add unit tests for eventfd
2021-04-15 15:18:59 +08:00
Jiacheng Guo
f6fd2eb164
vfs: add eventfd support
...
eventfd imitates the behavior of POSIX api `man(2) eventfd`. This api
can be used to pass events to a select based message loop.
2021-04-15 15:18:59 +08:00
Angus Gratton
bfa9ec70f2
esp32s3: Add support for reusing RTC memory as heap
2021-04-15 16:24:44 +10:00
Angus Gratton
32c924b5cd
esp32s3: Reserve RTC memory in bootloader in the app linker script
2021-04-15 16:20:58 +10:00
Angus Gratton
111098568a
esp32c3: Reserve RTC memory from bootloader in the app linker script
2021-04-15 16:20:58 +10:00
Angus Gratton
83bf2e1ac1
bootloader: Fix "skip validate on exit deep sleep" when "Use RTC fast memory as heap" is enabled
...
RTC region used to store boot partition needs to remain reserved in the app.
2021-04-15 16:20:58 +10:00
Cao Sen Miao
ed16e9b5d6
spi_flash: enable unit-test for flash suspend
2021-04-15 12:05:40 +08:00
Omar Chebib
bb9aa806f7
panic: handlers can now be placed in flash
...
By unchecking "Place panic handler code in IRAM" in the menuconfig,
the panic handlers will be placed in flash. Of course, flash cache must
be activated when entering panic handlers.
2021-04-15 11:58:46 +08:00
Krzysztof Budzynski
d14661eaa3
Merge branch 'docs/programming_guide_c3_update_twai' into 'master'
...
Update TWAI driver docs and registers for esp32c3
Closes IDF-2349
See merge request espressif/esp-idf!12935
2021-04-15 02:35:28 +00:00
Marius Vikhammer
826b976ba5
timer: add IRAM_ATTR to spinlock give/take API
...
Closes https://github.com/espressif/esp-idf/issues/6824
2021-04-15 09:50:06 +08:00
Jiang Jiang Jian
a6f33a9d36
Merge branch 'bugfix/e8192_and_assert_param_master' into 'master'
...
Modify E8192 ELx200 ELx40 log level to LOGD
See merge request espressif/esp-idf!13008
2021-04-14 15:54:48 +00:00
Jiang Jiang Jian
98eeb8f61d
Merge branch 'bugfix/fix_wifi_issue_for_pm_disconnected' into 'master'
...
esp_wifi: fix some issue about wifi pm
Closes WIFI-3583, WIFI-3584, WIFI-3585, and WIFI-3586
See merge request espressif/esp-idf!13137
2021-04-14 14:38:20 +00:00
Ivan Grokhotkov
e220e9b571
Merge branch 'feature/refactor-idf-monitor' into 'master'
...
Decompose idf_monitor.py
Closes IDF-2432
See merge request espressif/esp-idf!11815
2021-04-14 14:32:17 +00:00
Shubham Patil
78e387c2bc
espcoredump: Fix string truncation build failure
2021-04-14 14:42:09 +05:30
Angus Gratton
b26dda9247
Merge branch 'bugfix/freertos_task_delete' into 'master'
...
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak
Closes BT-1156
See merge request espressif/esp-idf!11736
2021-04-14 09:10:32 +00:00
Darian Leung
7087f80b1e
Update TWAI driver docs and registers for esp32c3
...
This commit updates the documentation and register struct
of the TWAI driver for the ESP32-C3. Note that the register
fields for ESP32-S3 have also been updated.
2021-04-14 15:00:07 +08:00
ninh
7629a0b22f
esp_wifi: fix some issue about wifi pm
2021-04-14 14:42:22 +08:00
liuhan
e87c64dc44
mbedtls: Add CONFIG_MBEDTLS_ROM_MD5 to use ROM MD5 in mbedTLS
2021-04-14 06:42:13 +00:00
Jiang Jiang Jian
1f54d17503
Merge branch 'bugfix/esp32c3_deep_sleep_gpio_wakeup_issue' into 'master'
...
deep sleep: fix sleep gpio wakeup fail issue
Closes WIFI-3474
See merge request espressif/esp-idf!13074
2021-04-14 06:36:40 +00:00
Angus Gratton
ec01a66557
Merge branch 'feature/esp32c3_memprot_test3' into 'master'
...
ESP32C3/ESP32S2: memprot API upgrade and test application
Closes IDF-2641
See merge request espressif/esp-idf!12941
2021-04-13 18:42:46 +00:00
David Čermák
6d4b93c94e
Merge branch 'refactor/using_generic_error_check_in_esp_eth' into 'master'
...
esp_eth: apply generic error check macros
Closes IDF-3030 and IDF-3031
See merge request espressif/esp-idf!13007
2021-04-13 16:48:25 +00:00
Martin Gano
1546e970db
Merge branch 'master' into 'feature/refactor-idf-monitor'
...
# Conflicts:
# tools/ci/mypy_ignore_list.txt
2021-04-13 20:55:19 +08:00
KonstantinKondrashov
fd867a11df
bootloader: Suppress a Cmake warning - variables were not used by the project
...
Manually-specified variables were not used by the project: SECURE_BOOT_SIGNING_KEY
2021-04-13 11:28:13 +00:00
KonstantinKondrashov
9f932a2a18
bootloader: Fix error in Make build system when signature options is on
2021-04-13 11:28:13 +00:00
xiongweichao
4aafb1fd80
modify E8192 ELx200 ELx40 log level to LOGD
2021-04-13 17:08:23 +08:00
Michael (XIAO Xufeng)
1f29036ead
Merge branch 'feat/c3_driver_api_cleanup' into 'master'
...
driver: cleanup i2c, i2s on C3
Closes IDF-2759 and IDF-2760
See merge request espressif/esp-idf!12329
2021-04-13 09:00:11 +00:00
Angus Gratton
23ae81c78c
Merge branch 'bugfix/calc_8m_freq_test' into 'master'
...
rtc: increase CI acceptance range for calc 8M test
Closes IDFCI-79
See merge request espressif/esp-idf!13068
2021-04-13 08:32:51 +00:00
David Čermák
c2bab4be95
Merge branch 'bugfix/mdns_configure_strict_mode' into 'master'
...
mdns: Fix mdns to correctly answer non-strict queries (+ additional fixes)
Closes IDF-2928, WIFI-3107, and IDFGH-4797
See merge request espressif/esp-idf!12645
2021-04-13 08:04:43 +00:00
Michael (XIAO Xufeng)
f5f3c7143c
Merge branch 'feat/c3_driver_api_cleanup_gpio' into 'master'
...
gpio, rtcio: removed unsupported features on different targets
See merge request espressif/esp-idf!13103
2021-04-13 06:51:33 +00:00
Michael (XIAO Xufeng)
54fdaa5986
Merge branch 'docs/spi_max_transfer_sz_limit' into 'master'
...
spi_docs: Fixed the default value of max_transfer_sz.
See merge request espressif/esp-idf!13000
2021-04-13 06:51:11 +00:00
David Čermák
10cdfab8c8
Merge branch 'bugfix/fix_lwip_debug_define' into 'master'
...
lw-ip: Fix LWIP_DEBUG define which is always defined
Closes IDF-3043
See merge request espressif/esp-idf!13004
2021-04-13 06:13:34 +00:00
Michael (XIAO Xufeng)
6ab5b9cbf9
gpio, rtcio: removed unsupported features on different targets
2021-04-13 13:21:08 +08:00
Jiang Jiang Jian
d6a2a67006
Merge branch 'bugfix/fix_some_pm_issue' into 'master'
...
esp_pm: fix an issue and add an interface
Closes IDF-2984 and IDF-2944
See merge request espressif/esp-idf!12787
2021-04-13 03:42:46 +00:00
Angus Gratton
7ec02161db
Merge branch 'bugfix/cmake_ulp_reserved_size' into 'master'
...
ulp: Fix bug where ULP linker script not regenerated for new config
See merge request espressif/esp-idf!12979
2021-04-13 03:40:21 +00:00
Angus Gratton
191e649257
freertos: Add some comments about deleting tasks when using SMP
...
Some cases are not immediately obvious, so document them in comments.
2021-04-13 03:40:10 +00:00
Angus Gratton
f7b859ac84
freertos: Fix race condition using vTaskDelete() cross-core causing resource leak
...
Causes test added in parent commit to pass.
This race happens if the deleted task is running on the other CPU,
and is already spinning in a critical section waiting for xTaskQueueMutex
because it's about to be blocked for a resource.
The "deleted" task would end up blocked, possibly indefinitely, and
never actually deleted or its resources cleaned up by the idle tasks.
Details:
vTaskDelete() adds the target task to the xTasksWaitingTermination list,
expecting it to be yielded off CPU and then cleaned up later. However as soon as
vTaskDelete() releases xTaskQueueMutex, the target task runs and moves itself to the
xDelayedTaskList1. Because interrupts are already disabled on that CPU,
the "yield" to the other CPU sent by the vTaskDelete() comes afterward so
doesn't help.
2021-04-13 03:40:10 +00:00
Angus Gratton
db7d272873
freertos: Add unit test for deleting task which may be blocking
2021-04-13 03:40:10 +00:00
Michael (XIAO Xufeng)
93712eae49
Merge branch 'bugfix/fix_flash_ci' into 'master'
...
esp_flash: fix host number for passing ci
See merge request espressif/esp-idf!13090
2021-04-13 03:23:02 +00:00
morris
ef344d89ae
esp_eth: apply generic error check macros
2021-04-13 10:54:33 +08:00
yuanjm
ef7583517d
lwip: Fix LWIP_DEBUG define which is always defined
2021-04-12 14:41:46 +00:00
David Čermák
1b6b05f1ab
Merge branch 'bugfix/pppos_configs' into 'master'
...
esp-modem: Add options to support LCP ECHO and UART_ISR_RAM in the example
Closes IDFGH-2470 and IDFGH-4759
See merge request espressif/esp-idf!12962
2021-04-12 14:30:38 +00:00
David Čermák
0f36a2dd16
Merge branch 'bugfix/eth_w5500_4byte_corruption' into 'master'
...
esp_eth: Fix w5500 read register operations
Closes IDFGH-4776 and IDFGH-4400
See merge request espressif/esp-idf!13060
2021-04-12 14:26:30 +00:00
David Cermak
5cce919cbe
mdns: Fixed the ip header TTL to be correctly set to 255
...
Defined in https://tools.ietf.org/html/rfc6762#section-11 : All Multicast DNS responses (including responses sent via unicast)
SHOULD be sent with IP TTL set to 255
2021-04-12 13:24:19 +00:00
David Cermak
34049454df
mdns: Fix parsing answers with questions when instance name not set
...
mdns resolver didn't correctly resolved queries when host name wasn't
assigned. Fixed by allowing processing also if some answer present
(non-strict mode)
Closes https://github.com/espressif/esp-idf/issues/6598
2021-04-12 13:24:19 +00:00
David Cermak
b649603a0d
mdns: Fix the resolver to correctly parse it's own non-strict answers
...
The resolver was able to respond correctly, but would also resolve its
own queries and cause issues with BCT 1.5.2, specifically
* MULTIPLE QUESTIONS - DUPLICATE SUPPRESSION
* MULTIPLE QUESTIONS - DISTRIBUTED DUPLICATE SUPPRESSION
tests failed.
2021-04-12 13:24:19 +00:00
suren.gabrielyan
0eee31546d
mdns: Add MDNS_STRICT_MODE config option
...
Strict mode was hardcoded in private header file, but it's useful for
users to enable/disable it depending on the mdns library they are using.
e.g. Avahi might not resolve the non-strict answers.
2021-04-12 13:24:19 +00:00
Michael (XIAO Xufeng)
7e06a60c0d
Merge branch 'refactor/no_dac_on_esp32s3' into 'master'
...
dac: added DAC support macro
Closes IDF-1777
See merge request espressif/esp-idf!13038
2021-04-12 10:52:33 +00:00
Michael (XIAO Xufeng)
8cfcf6da7a
Merge branch 'bugfix/enable_gpio18_gpio19_esp32c3' into 'master'
...
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3
Closes IDF-2964
See merge request espressif/esp-idf!12753
2021-04-12 09:39:55 +00:00
Angus Gratton
268b23db96
bootloader: Fix selection of Quad I/O modes on ESP32-U4WDH chip
...
Closes https://github.com/espressif/esp-idf/issues/6191
2021-04-12 18:49:17 +10:00
Martin Gaňo
b77addea2f
Decompose idf_monitor.py
2021-04-12 10:47:33 +02:00
David Cermak
7af358ed93
esp_eth: Fix w5500 to break from potentially infinite tx loop
...
The issue typically happens for link-down during Tx. Added two retry levels, one before checking the sanity of the w5500 phy register and another for the Tx done itself (if the device is in the sane state)
Closes https://github.com/espressif/esp-idf/issues/6233
2021-04-12 07:59:40 +00:00
David Cermak
dfe9580967
esp_eth: Fix w5500 to correctly read registers on -Os
...
Reading SPI data may come in 4-byte units and thus result in unwanted
overwrites if smaller size registers read, especially if multiple placed
one after another. Fixed by using direct reads to `trans` structure for
sizes smaller or equal to 4.
Closes https://github.com/espressif/esp-idf/issues/6579
2021-04-12 07:59:40 +00:00
Michael (XIAO Xufeng)
67941fc495
i2s: removed unsupported features on different targets
2021-04-12 15:51:54 +08:00
Michael (XIAO Xufeng)
82e4a2431a
i2c: removed unsupported features on different targets
2021-04-12 15:51:19 +08:00
fuzhibo
357b64fd2c
bugfix: add .rodata section for riscv ulp for esp32s2
2021-04-12 14:29:13 +08:00
morris
75dfd970b4
dac: added DAC support macro
...
Remove DAC support on ESP32-S3
2021-04-12 12:04:46 +08:00
Martin Vychodil
f27c9c5139
esp32c3: memprot API upgrade and test application
...
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Angus Gratton
936523b904
Merge branch 'feature/secure_bootv2_c3' into 'master'
...
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3
Closes IDF-2647
See merge request espressif/esp-idf!13040
2021-04-12 01:31:25 +00:00
Angus Gratton
1ea54a6496
Merge branch 'bugfix/s2_lightsleep_regression' into 'master'
...
sleep: disable switch-case jump tables from being placed in flash
See merge request espressif/esp-idf!13083
2021-04-09 13:56:02 +00:00
Shu Chen
264ce1f037
Merge branch 'feature/ot-1.2-radio-api' into 'master'
...
openthread: add radio mac API implementation
See merge request espressif/esp-idf!13066
2021-04-09 11:34:18 +00:00
Cao Sen Miao
c185a4947f
esp_flash: fix host number for passing ci
2021-04-09 17:43:39 +08:00
Mahavir Jain
06c5f623ea
Merge branch 'feature/diagnostics_support' into 'master'
...
espcoredump: Get core dump summary API
See merge request espressif/esp-idf!11462
2021-04-09 08:50:07 +00:00
Mahavir Jain
81c8fcaf8f
Merge branch 'bugfix/ota_and_http_client' into 'master'
...
Fix counters for POST request in OTA and compare auth string in case insensitive fashion
Closes IDFGH-5059, IDFGH-5055, and IDFGH-5056
See merge request espressif/esp-idf!13069
2021-04-09 07:40:59 +00:00
David Čermák
9e8b2d8c66
Merge branch 'feature/sperate_slip_component' into 'master'
...
esp_netif: Use CONFIG_LWIP_SLIP_SUPPORT to sperate slip component
Closes IDF-3042
See merge request espressif/esp-idf!13006
2021-04-09 06:57:41 +00:00
David Cermak
d6f66465ff
lwip: Made LCP ECHO bool for better user experience
2021-04-09 06:53:30 +00:00
Marius Vikhammer
38d9251bda
sleep: disable switch-case jump tables from being placed in flash
...
sleep_modes.c contains switch statements that should be placed in flash.
Settings for avoiding this was not updated during sleep_modes refactor.
2021-04-09 14:16:27 +08:00
Jörg Henne
19024671ea
esp_http_client: Make http_utils_get_string_between and http_utils_str_starts_with case insensitive
...
Closes: https://github.com/espressif/esp-idf/pull/6841
Closes: https://github.com/espressif/esp-idf/issues/6840
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-04-09 06:03:02 +00:00
Shubham Kulkarni
b8b104a8f0
esp_https_ota: Fix counters for sending POST body
...
Closes: https://github.com/espressif/esp-idf/issues/6844
2021-04-09 06:03:02 +00:00
Aditya Patwardhan
48987ad9df
esp_https_ota: Enable option of using global_ca_store and x509_crt_bundle
...
Closes https://github.com/espressif/esp-idf/issues/5504
2021-04-09 04:33:37 +00:00
Shubham Patil
356e2bbe6d
espcoredump: On device core dump parsing to generate summary
2021-04-09 09:43:40 +05:30
Marius Vikhammer
0633ee3e18
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-09 11:57:03 +08:00
Li Shuai
2c2ae5aa0a
deep sleep: fix sleep gpio wakeup fail issue
2021-04-09 11:35:32 +08:00
Angus Gratton
7154866e80
Merge branch 'feature/update_libsodium_submodule' into 'master'
...
libsodium: Update library to v1.0.18
Closes IDF-2731
See merge request espressif/esp-idf!13026
2021-04-08 22:45:37 +00:00
Mahavir Jain
bc4cb7f67e
Merge branch 'bugfix/crashing_after_debug_logs_enabled_esp32c3' into 'master'
...
esp32c3: Fix issue of crashing if debug logs are enabled.
Closes WIFI-3534
See merge request espressif/esp-idf!12788
2021-04-08 12:59:18 +00:00
Michael (XIAO Xufeng)
57af5acefe
Merge branch 'ci/enable_all_test_for_i2c_on_c3' into 'master'
...
I2C: enable all unit test for i2c on esp32c3
Closes IDF-2494
See merge request espressif/esp-idf!12474
2021-04-08 12:31:51 +00:00
Marius Vikhammer
58d83dda40
rtc: increase CI acceptance range for calc 8M test
2021-04-08 18:50:56 +08:00
Rahul Tank
6395eae955
esp-idf: Added an option in menuconfig to configure maximum gatt services
...
Currently Max GATT services count cannot be configured externally and
hence user needs to modify code ,everytime the count is to be
modified.
Added an option in menuconfig to provide a way to user to set the count.
Fixes: https://jira.espressif.com:8443/browse/BT-1508
2021-04-08 10:42:47 +00:00
Angus Gratton
cef3b26a91
Merge branch 'refactor/move_from_esp_system' into 'master'
...
Movements from esp_system
Closes IDF-2165
See merge request espressif/esp-idf!12695
2021-04-08 10:16:08 +00:00
Jiacheng Guo
3630099d29
openthread: add radio api for Thread 1.2 to work
2021-04-08 17:49:16 +08:00
aditi_lonkar
ed424c5f9f
esp32c3: Fix issue of crashing if debug logs are enabled.
2021-04-08 09:43:25 +00:00
Shu Chen
1b5894a5cb
tinyusb: use the generic error check macros
2021-04-08 17:40:10 +08:00
Michael (XIAO Xufeng)
925dacd7fb
Merge branch 'bugfix/remove_HSPI_macro_on_c3' into 'master'
...
spi: remove HSPI macros on esp32c3 and esp32s3
Closes IDF-2535
See merge request espressif/esp-idf!12637
2021-04-08 09:33:18 +00:00
KonstantinKondrashov
1d8f885928
esp32c3: Default supported ESP32-C3 Revision ECO3
2021-04-08 15:06:22 +08:00
Omar Chebib
cd79f3907d
gpio: Disable USB JTAG when setting pins 18 and 19 as GPIOs on ESP32C3
...
When `DIS_USB_JTAG` eFuse is NOT burned (`False`), it is not possible
to set pins 18 and 19 as GPIOs. This commit solves this by manually
disabling USB JTAG when using pins 18 or 19.
The functions shall use `gpio_hal_iomux_func_sel` instead of
`PIN_FUNC_SELELECT`.
2021-04-08 14:01:18 +08:00
Angus Gratton
7fe8720c9d
Revert "esp_event test: Disable linker relaxations in this component, to temporarily workaround a linker bug"
...
This reverts commit 4eb9cc68a6
.
Alternative fix to be applied in next commit.
2021-04-08 13:33:28 +10:00
Angus Gratton
70cab5bd81
Merge branch 'bugfix/ulp_riscv_unintended_wake' into 'master'
...
ulp: unintended wakeup in ulp_riscv
See merge request espressif/esp-idf!12894
2021-04-08 01:52:41 +00:00
KonstantinKondrashov
4e23f9f3b7
secure_boot_v2: Adds support SB_V2 for ESP32-C3 ECO3
2021-04-07 19:52:44 +08:00
Renz Bagaporo
586023790e
esp_system: move sleep modes to esp_hw_support, power down light sleep to esp_pm
2021-04-07 17:53:37 +08:00
Renz Bagaporo
c112bd8b57
esp_system: move intr_alloc
2021-04-07 17:53:37 +08:00
Renz Bagaporo
8762bfebde
esp_system: move asysnc memcpy to esp_hw_support
2021-04-07 17:53:37 +08:00
Mahavir Jain
6d0ac214c4
Merge branch 'feature/enable_crt_bundle_for_esp_http_client' into 'master'
...
Feature/enable crt bundle for esp http client
Closes IDFGH-3997
See merge request espressif/esp-idf!13018
2021-04-07 09:20:21 +00:00
Mahavir Jain
0df89e492b
Merge branch 'bugfix/keepalive_idle_fix' into 'master'
...
esp-tls: Fix setsockopt for TCP_KEEPIDLE
Closes IDFGH-5043
See merge request espressif/esp-idf!13049
2021-04-07 07:28:43 +00:00
Aditya Patwardhan
f66bdf1233
esp_http_client: Enable support of crt_bundle in esp_http_client
2021-04-07 05:31:21 +00:00
Aditya Patwardhan
d74f7d2d04
tcp_transport: Add option to enable crt_bundle for SSL connection
2021-04-07 05:31:21 +00:00
Aditya Patwardhan
3e82fcd566
esp_http_server: Fix transport_ctx not getting freed
...
Closes https://github.com/espressif/esp-idf/issues/6813
2021-04-07 05:25:39 +00:00
Angus Gratton
c22eb769e7
Merge branch 'bugfix/panic_instrprohibited' into 'master'
...
esp_system: fix instrprohibited panic backtrace regression
See merge request espressif/esp-idf!13023
2021-04-07 05:14:19 +00:00
Cao Sen Miao
c3da21a93f
I2C: enable all unit test for i2c on esp32c3
2021-04-06 17:37:55 +08:00
Angus Gratton
97ea00f355
Merge branch 'doc/flash_encryption_development' into 'master'
...
doc: Mention Flash Encryption on the host is possible in Release mode
Closes IDFGH-4074
See merge request espressif/esp-idf!12721
2021-04-06 08:13:43 +00:00
Axel Lin
52442be9e1
esp-tls: Fix setsockopt for TCP_KEEPIDLE
...
Current code applies keep_alive_enable setting to TCP_KEEPIDLE, fix it.
Fixes: 2d25252746
("esp-tls: Rework tcp_connect() to use more subroutines")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2021-04-06 15:37:16 +08:00
Angus Gratton
e97ae26f48
doc: Mention pre-encrypting on the host is possible in Release mode
...
Closes https://github.com/espressif/esp-idf/issues/5945
2021-04-06 16:58:58 +10:00
Michael (XIAO Xufeng)
d21ca33e40
Merge branch 'bugfix/fix_bootloader_time_too_long_bug' into 'master'
...
esp32s2/esp32c3: decrease boot up and cpu start up time
See merge request espressif/esp-idf!12725
2021-04-06 06:34:57 +00:00
Aditya Patwardhan
dfd6c5cb0b
libsodium: Update library to v1.0.18
2021-04-06 11:23:50 +05:30
Armando
9b9ea71ff9
spi: remove HSPI macro on esp32c3 and esp32s3
2021-04-06 13:42:49 +08:00
Angus Gratton
1d5828b433
Merge branch 'feature/implement_esp_core_dump_image_erase' into 'master'
...
coredump: add `esp_core_dump_image_erase` function
See merge request espressif/esp-idf!12609
2021-04-06 04:29:01 +00:00
Jakob Hasse
b23c9142d5
[hal]: cleaned up interrupt mask functions
...
* Functions for setting and clearing interrupts
as well as function to read interrupt mask
should be clearer now.
* Using hal layer interrupt set and clear
functions in esp_wifi component
2021-04-06 11:54:13 +08:00
Angus Gratton
f13b10a17b
Merge branch 'bugfix/call_idf_monitor_with_python_explicitly' into 'master'
...
esptool_py: call idf.py monitor with python explicitly
Closes IDFGH-3333
See merge request espressif/esp-idf!12981
2021-04-06 03:30:23 +00:00
Angus Gratton
94ac251091
Merge branch 'doc/general_notes' into 'master'
...
doc: Update docs about startup sequence and memory types
Closes IDF-2321, IDF-2409, and IDFGH-1540
See merge request espressif/esp-idf!12636
2021-04-05 23:51:25 +00:00
Renz Bagaporo
75624c5355
esp_system: fix instrprohibited panic backtrace regression
...
First PC should have been ignored in the case of InstProhibited panic
when printing backtrace.
2021-04-05 22:05:27 +08:00
Angus Gratton
6b57f33858
Merge branch 'refactor/movements_from_target_components' into 'master'
...
Movement from target components 1
See merge request espressif/esp-idf!12482
2021-04-05 02:37:21 +00:00
Chen Shu
6be0ed9077
Merge branch 'feature/add-openthread' into 'master'
...
openthread: add OpenThread and porting
Closes IDF-2911
See merge request espressif/esp-idf!12570
2021-04-02 06:49:55 +00:00
Guo Jia Cheng
7c38989309
OpenThread: add OpenThread and porting
...
* Adds the OpenThread submodule.
* Adds porting on ESP32.
* Adds the OpenThread cli example.
2021-04-02 14:49:49 +08:00
Angus Gratton
f326b1372a
Merge branch 'refactor/duplicate_backtrace_code' into 'master'
...
esp_system: remove duplicate backtrace
Closes IDF-2783
See merge request espressif/esp-idf!12596
2021-04-02 03:51:09 +00:00
Rahul Tank
105497f861
Add secure connection for just works in provisioning app for bluedroid
...
This MR adds support of secure connection, encryption flags to characteristics and bonding with Just Work as association model
[BLE Provisioning] Added secure connection pairing support to unified provisioning framework.
2021-04-01 09:29:03 +00:00
Mahavir Jain
b9efd5d8dd
Merge branch 'fix/add_nimble_prov_secure_conn' into 'master'
...
BLE provisioning: Add secure connection pairing with just works for NimBLE
See merge request espressif/esp-idf!12899
2021-04-01 09:26:35 +00:00
Prasad Alatkar
fbd906e05f
BLE provisioning: Add secure connection pairing with just works for NimBLE
2021-04-01 17:26:30 +08:00
yuanjm
dd30222c46
esp_netif: Add CONFIG_LWIP_SLIP_SUPPORT to sperate slip component
2021-04-01 17:10:50 +08:00
Renz Bagaporo
301c48b6b2
esp_system: remove duplicate panic backtrace code
2021-04-01 07:22:57 +00:00
Michael (XIAO Xufeng)
e89fabb963
spi_docs: Fixed the default value of max_transfer_sz.
2021-04-01 14:59:29 +08:00
Michael (XIAO Xufeng)
da0b86905f
Merge branch 'bugfix/fix_uart_handler_call_inline_func' into 'master'
...
driver: fix uart handler in iram calls inline uart_ll_is_tx_idle() placed in flash
Closes IDFGH-3775
See merge request espressif/esp-idf!9985
2021-04-01 06:46:33 +00:00
chaijie
f9de69586b
esp32s2/esp32s3/esp32c3: Decrease bootloader cost time
2021-04-01 06:19:34 +00:00
Angus Gratton
3c9e9a7704
Merge branch 'bugfix/renable_unit_tests' into 'master'
...
ci: enable previously disabled unit tests
See merge request espressif/esp-idf!12582
2021-04-01 03:23:22 +00:00
ninh
7395e075f8
esp_pm: fix an issue and add an interface
2021-04-01 02:23:42 +00:00
Jiang Jiang Jian
0f115609b1
Merge branch 'bugfix/close_tsen_when_close_phy' into 'master'
...
esp_wifi: close tsen when close phy
Closes WIFI-3527
See merge request espressif/esp-idf!12949
2021-04-01 02:17:53 +00:00
Jiang Jiang Jian
e50b86ddc8
Merge branch 'bugfix/fix_esp32c3_hardware_bug_before_ECO3' into 'master'
...
ECP32C3: fix hardware bug before eco3
Closes WIFI-3415 and WIFI-3474
See merge request espressif/esp-idf!12924
2021-03-31 17:43:50 +00:00
Jiang Jiang Jian
d903dadfc2
Merge branch 'bugfix/assert_when_tcp_send_data' into 'master'
...
lw-ip:bugfix for assert when tcp send data
Closes WIFI-3483
See merge request espressif/esp-idf!12761
2021-03-31 17:40:30 +00:00
aleks
193f1f9b4e
driver: fix uart handler in iram calls inline uart_ll_is_tx_idle
2021-03-31 14:39:59 +00:00
Mahavir Jain
cc7372ab79
Merge branch 'bugfix/chunked_http_request' into 'master'
...
esp_http_client: Do not override HTTP method in case of chunk encoding
Closes IDFGH-4401
See merge request espressif/esp-idf!12923
2021-03-31 13:13:03 +00:00
chaijie
c101fc3e3d
fix c3 hardware bug before ECO3 and optimizate bbpll config:
...
1. deepsleep poweron reset bug in high temperature before ECO3;
2. brownout reset bug before ECO2;
3. bbpll voltage low bug before ECO3;
4. need xpd iph for xtal before ECO3;
2021-03-31 13:08:56 +00:00
ninh
c80310b1f6
esp_wifi: close tsen when close phy
2021-03-31 21:06:00 +08:00
Jiang Jiang Jian
ada4a8274f
Merge branch 'bugfix/add_beacon_timeout_event' into 'master'
...
esp_wifi: Add beacon timeout event
Closes WIFI-3536
See merge request espressif/esp-idf!12809
2021-03-31 13:01:28 +00:00
Renz Bagaporo
daa13b3f62
esp32: move toolchain check
2021-03-31 19:17:33 +08:00
Renz Bagaporo
a202a604d8
esp32: move system libs
2021-03-31 19:17:33 +08:00
Renz Bagaporo
bbc599493e
esp32: move common fragment definitions
2021-03-31 19:17:33 +08:00
Renz Bagaporo
1b4e4c37b7
esp32: remove deprecated esp_intr.h
2021-03-31 19:17:33 +08:00
Renz Bagaporo
9478298aa4
esp32: move mac target specific configs
2021-03-31 19:17:33 +08:00
Renz Bagaporo
e6edf34e82
esp32: move esp_clk functions
2021-03-31 19:17:33 +08:00
Renz Bagaporo
4a08264e7a
esp_system: split esp_system.h header
2021-03-31 19:13:03 +08:00
Renz Bagaporo
a7bac58480
esp32: move system api to esp_system
2021-03-31 19:13:03 +08:00
Renz Bagaporo
393bd64a1e
esp32: move crosscore int
2021-03-31 19:13:03 +08:00
Renz Bagaporo
7d85c42e52
esp32: move brownout and cache err int setup
2021-03-31 19:13:03 +08:00
Renz Bagaporo
6014e3a198
esp32: move stack check test
2021-03-31 19:13:03 +08:00
Renz Bagaporo
784a02a4ee
esp32: move hw random
2021-03-31 19:13:03 +08:00
Shubham Kulkarni
1bacc13628
esp_http_client: Do not overwrite HTTP method in case of chunk request
...
Closes https://github.com/espressif/esp-idf/issues/6234
2021-03-31 10:53:36 +00:00
David Čermák
aecfbf966c
Merge branch 'feature/ethernet_phy_ksz8081' into 'master'
...
Ethernet phy driver: ksz8081
Closes IDFGH-4775
See merge request espressif/esp-idf!12723
2021-03-31 09:45:32 +00:00
Renz Bagaporo
3639c2322b
ulp: clear rtc int at initialization
...
Closes https://github.com/espressif/esp-idf/issues/6654
2021-03-31 17:15:55 +08:00
xueyunfei
181e87d700
bugfix for assert when tcp send data
2021-03-31 08:59:22 +00:00
callalilychen
d9f687f51a
esptool_py: call idf.py monitor with python explicitly
...
Closes https://github.com/espressif/esp-idf/pull/5314
2021-03-31 16:54:50 +08:00
Angus Gratton
9c2f180049
ulp: Fix bug where ULP linker script not regenerated for new config
...
ULP linker script relies on value of CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM,
when this value changes in config then it should be regenerated.
2021-03-31 19:25:35 +11:00
Jiang Jiang Jian
813d9ca420
Merge branch 'bugfix/add_multiple_scan_mode' into 'master'
...
Bugfix: Connect example to add scan mode config
Closes IDFGH-4793 and IDFGH-4812
See merge request espressif/esp-idf!12525
2021-03-31 08:10:55 +00:00
Angus Gratton
793771e744
Merge branch 'feature/esp_error_check_return' into 'master'
...
esp_common: add generic check macros
Closes IDF-2271
See merge request espressif/esp-idf!12602
2021-03-31 07:08:27 +00:00
Michael (XIAO Xufeng)
8ec8f61caa
Merge branch 'bugfix/twai_esp32_errata_workarounds' into 'master'
...
TWAI: Add FIFO overrun handling and ESP32 hardware errata workarounds
Closes IDFGH-3307, IDFGH-393, and IDFGH-2114
See merge request espressif/esp-idf!10041
2021-03-31 05:13:58 +00:00
xiehang
37567dcf2a
esp_wifi: Add beacon timeout event
...
Update TBTT when rx probe respones after beacon timeout.
2021-03-31 11:29:56 +08:00
Jiang Jiang Jian
80d0f6c860
Merge branch 'nimble/add_error_prints_acl_buf' into 'master'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL
See merge request espressif/esp-idf!12665
2021-03-31 03:20:16 +00:00
Angus Gratton
fda565a5bf
Merge branch 'bugfix/partition_table_depends_esptoolpy' into 'master'
...
esptool_py: Fix issue where build with limited components doesn't include esptool_py
Closes IDFGH-4876 and IDFGH-4874
See merge request espressif/esp-idf!12653
2021-03-31 01:30:33 +00:00
Angus Gratton
d44034c54d
Merge branch 'bugfix/dual_core_app_on_single_core_esp32' into 'master'
...
esp_system: fix dual core app issue on single core esp32
Closes IDF-2154
See merge request espressif/esp-idf!10728
2021-03-31 01:06:52 +00:00
Angus Gratton
771718d07a
Merge branch 'bugfix/prefetch_invalid' into 'master'
...
soc: add dummy bytes to ensure instr prefetch always valid
Closes IDFCI-533
See merge request espressif/esp-idf!12940
2021-03-31 00:44:10 +00:00
Angus Gratton
37acd13cdd
doc: Add notes that vTaskStartScheduler() is called during startup
...
Closes https://github.com/espressif/esp-idf/issues/1457
2021-03-31 09:37:28 +11:00
Angus Gratton
492b061cbc
doc: update the memory types and startup docs
2021-03-31 09:37:28 +11:00
Jiang Jiang Jian
af132f651f
Merge branch 'bugfix/fix_esptouch_v2_issues' into 'master'
...
esp_wifi: fix ESPTouch v2 issues
Closes WIFI-3325
See merge request espressif/esp-idf!12770
2021-03-30 15:01:19 +00:00
yuanjm
06ae78b531
provisioning: Fix WiFi credentials not saved to NVS due to wifi_prov_mgr_start_provisioning change the WiFi storage to RAM
...
Closes https://github.com/espressif/esp-idf/issues/5178
2021-03-30 11:15:05 +00:00
0xFEEDC0DE64
45de6f9c59
espcoredump erase review comments
2021-03-30 08:59:39 +00:00
0xFEEDC0DE64
a72f2e2257
coredump: Implemented esp_core_dump_image_erase() and esp_core_dump_image_get() now returns ESP_ERR_NOT_FOUND when partition is blank
...
Closes https://github.com/espressif/esp-idf/pull/6631
2021-03-30 08:59:39 +00:00
morris
2a34b0496c
esp_eth: refactor ksz8041 driver into ksz80xx
2021-03-30 08:53:15 +00:00
Patrick Wieder
98a4c70af9
Added support for Ethernet PHY KSZ8081
...
Merges https://github.com/espressif/esp-idf/pull/6578
2021-03-30 08:53:15 +00:00
morris
9d7ba4c49a
eth_phy: fix wrong register bit order in ksz8041
2021-03-30 08:53:15 +00:00
zhangyanjiao
8ff8222519
esp_wifi: fix ESPTouch v2 issues
2021-03-30 14:29:33 +08:00
Darian Leung
2f58060921
TWAI: FIFO overrun handling and errata workarounds
...
This commit adds handling for FIFO overruns and
adds workarounds for HW errats on the ESP32.
Closes https://github.com/espressif/esp-idf/issues/2519
Closes https://github.com/espressif/esp-idf/issues/4276
2021-03-30 14:17:31 +08:00
Marius Vikhammer
b4d2fb56a0
ci: enable previously disabled unit tests
2021-03-29 18:36:41 +08:00
Angus Gratton
a2740be080
Merge branch 'refactor/systimer_reset_alternative' into 'master'
...
Systimer reset alternative on S2 (and others)
See merge request espressif/esp-idf!12694
2021-03-29 09:27:41 +00:00
Michael (XIAO Xufeng)
99aaebb5e4
Merge branch 'bugfix/adc_power_issue' into 'master'
...
adc: fix adc power issue
Closes IDF-2954, WIFI-3453, WIFI-3462, IDFGH-4439, and IDFGH-4887
See merge request espressif/esp-idf!12757
2021-03-29 07:31:43 +00:00
Renz Bagaporo
8d32232899
esp_system: check early for single core variant
2021-03-29 06:50:47 +00:00
Michael (XIAO Xufeng)
bdaac823e3
Merge branch 'feature/spi_slave_hd_dual_test_for_segment_mode' into 'master'
...
spi slave hd: add a dual test for segment mode when master's transactions are too long
See merge request espressif/esp-idf!11176
2021-03-29 06:16:10 +00:00
Marius Vikhammer
8ac74082f1
soc: add dummy bytes to ensure instr prefetch always valid
...
The CPU might prefetch instructions, which means it in some cases
will try to fetch instruction located after the last instruction in
flash.text.
Add dummy bytes to ensure fetching these wont result in an error,
e.g. MMU exceptions
2021-03-29 13:50:03 +08:00
Jiang Jiang Jian
bd4e34b15a
Merge branch 'bugfix/btdm_incorrectly_spelled' into 'master'
...
component/bt: fix Spelling mistakes
Closes IDFGH-4886, IDFGH-4910, and IDFGH-4635
See merge request espressif/esp-idf!12814
2021-03-29 05:07:54 +00:00
Jiang Jiang Jian
72ddc6ee40
Merge branch 'bugfix/esp32c3_light_sleep_gpio_reset_issue' into 'master'
...
light sleep: add software workaround for esp32c3 gpio reset issue
See merge request espressif/esp-idf!12715
2021-03-29 04:55:55 +00:00
Jiang Jiang Jian
28c17feaaa
Merge branch 'bugfix/enable_esp32c3_glitchdet_eco3_wifi' into 'master'
...
Add ECO3 Wi-Fi Functions addr.
Closes ESPTOOL-218 and WIFI-3244
See merge request espressif/esp-idf!12627
2021-03-29 04:54:13 +00:00
Michael (XIAO Xufeng)
78090d24e4
Merge branch 'bugfix/flash_suspend_restriction' into 'master'
...
spi_flash: make suspend off by default and add more information for using suspend
See merge request espressif/esp-idf!12812
2021-03-29 04:47:34 +00:00
Angus Gratton
38af9dffe1
esp_system: Mark the startup array as 'const' to save RAM
2021-03-29 15:11:49 +11:00
alex.li
55cbb541fc
Support new section addr and wifi lib for ESP32C3-ECO3.
2021-03-29 10:27:10 +08:00
Angus Gratton
c4b5974cd0
Merge branch 'bugfix/doc_freertos_task_stack_bytes' into 'master'
...
freertos docs: Specify that uxTaskGetStackHighWaterMark() returns bytes not words
See merge request espressif/esp-idf!12866
2021-03-28 22:40:20 +00:00
David Čermák
b2a60e0d7c
Merge branch 'bugfix/tcp_transport_tls_no_mem' into 'master'
...
tcp_transport: Fix error handling of esp_tls_init()
Closes IDFGH-4952
See merge request espressif/esp-idf!12822
2021-03-26 18:44:35 +00:00
Krzysztof Budzynski
c140e8b547
Merge branch 'doc/update_openssl_docs' into 'master'
...
docs: Migrated OpenSSL APIs from components/openssl/* to the API reference
Closes IDF-2541
See merge request espressif/esp-idf!12515
2021-03-26 11:49:57 +00:00
Armando
cc6bfcd9ac
adc: apply adc power API to adc driver
...
Closes https://github.com/espressif/esp-idf/issues/6269
Closes https://github.com/espressif/esp-idf/issues/6682
2021-03-26 17:58:00 +08:00
Angus Gratton
1dfa0e0aa1
Merge branch 'feature/vdd_sdio_pd_configurable' into 'master'
...
system: add VDD_SDIO power domain configuration for light sleep
Closes IDFGH-2893
See merge request espressif/esp-idf!12481
2021-03-26 08:23:41 +00:00
Michael (XIAO Xufeng)
96e3ba881c
Merge branch 'feature/esp32c3_adc_driver_cleanup' into 'master'
...
adc: esp32c3 adc driver cleanup
Closes IDF-2528, IDF-2695, and IDF-2765
See merge request espressif/esp-idf!12477
2021-03-26 08:03:29 +00:00
Angus Gratton
b73b6eb5b4
Merge branch 'bugfix/otatool_imported_as_lib' into 'master'
...
otatool: Fix a crash when imported as external python lib
Closes IDFGH-4942
See merge request espressif/esp-idf!12862
2021-03-26 07:22:07 +00:00
Cao Sen Miao
c54ea54d98
spi_flash: make suspend off by default and add more information for using suspend
2021-03-26 13:57:14 +08:00
Mahavir Jain
531f14aa31
Merge branch 'feature/secure_boot_v1_add_tip_msg' into 'master'
...
secure_boot_v1: Adds a help message in case when sig_block.version is not valid
Closes IDFGH-4982
See merge request espressif/esp-idf!12916
2021-03-26 04:24:13 +00:00
Jiang Jiang Jian
bcbf1d2c3c
Merge branch 'bugfix/btdm_add_controller_support_RPA' into 'master'
...
add option to enable/disable esp32 controller RPA
See merge request espressif/esp-idf!12832
2021-03-26 04:19:50 +00:00
Jiang Jiang Jian
6c070f49a8
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed' into 'master'
...
fix multi-connection pair failed
Closes BT-1490
See merge request espressif/esp-idf!12877
2021-03-26 04:18:56 +00:00
Jiang Jiang Jian
e5f8e12db1
Merge branch 'bugfix/btdm_synchronize_multiple_branch_of_bt_lib' into 'master'
...
Bugfix/btdm synchronize multiple branch of bt lib
Closes BT-1535
See merge request espressif/esp-idf!12868
2021-03-26 04:15:42 +00:00
Armando
0e0baee25a
adc: add implementation of missed public API
...
Added ``adc1_pad_get_io_num``, ``adc2_pad_get_io_num`` and
``adc_vref_to_gpio``.
2021-03-26 12:04:46 +08:00
Armando
6f4d992ac7
adc: update lock scope on esp32c3
2021-03-26 12:04:46 +08:00
Armando
e9995fe165
adc: add pm_lock to adc driver on esp32c3
2021-03-26 12:04:46 +08:00
Armando
a5295af829
adc: update adc header files on c3
2021-03-26 12:04:46 +08:00
Armando
00a3f48bd8
adc: refactor adc single read api on esp32c3
2021-03-26 12:04:46 +08:00
Armando
69a0f8b9bb
adc: seperate hal layer and driver layer
2021-03-26 12:04:46 +08:00
Armando
bee90f57f1
adc: remove unused functions on esp32c3
2021-03-26 12:04:45 +08:00
Angus Gratton
36655bd63d
Merge branch 'feature/on_update_no_secure_boot_verify_only_one_sign' into 'master'
...
secure_boot: Only the first position of signature blocks is used to verify any update
Closes IDF-3002
See merge request espressif/esp-idf!12856
2021-03-26 03:18:15 +00:00
Marius Vikhammer
2edf9b103d
esptool: update to support flashing esp32c3 eco 3
2021-03-26 10:59:40 +08:00
Angus Gratton
10d1e4ab1b
esp32c3: Add support for building image with a minimum target revision
2021-03-26 10:59:03 +08:00
Mahavir Jain
d6a6c3b46d
Merge branch 'prov/protocomm_nimble_strdup_remove' into 'master'
...
Provisioning: Remove unnecessary strdup/free from protocomm_nimble
Closes IDFGH-4980
See merge request espressif/esp-idf!12889
2021-03-25 15:04:14 +00:00
Jiang Jiang Jian
a24ae68d48
Merge branch 'nimble/mbedtls_aes_free_dma' into 'master'
...
NimBLE: Free AES context after use by calling `mbedtls_free_aes` (Needed for C3)
Closes BT-1435
See merge request espressif/esp-idf!12363
2021-03-25 12:42:32 +00:00
KonstantinKondrashov
7f40717eb2
secure_boot/SIGNED_ON_UPDATE_NO_SECURE_BOOT: Only the first position of signature blocks is used to verify any update
2021-03-25 12:27:05 +00:00
KonstantinKondrashov
cbbd1e88a5
secure_boot_v1: Adds a help message in case when sig_block.version is not valid
...
if sig_block.version is not valid then probably the image without a signature.
2021-03-25 20:01:52 +08:00
KonstantinKondrashov
b72ace60a5
otatool: Fix a crash when imported as external python lib
...
Closes: https://github.com/espressif/esp-idf/issues/6733
2021-03-25 11:52:56 +00:00
Prasad Alatkar
bf6ff41a9e
BLE Provisioning: Remove unnecessary strdup/free from protocomm_nimble
...
Closes IDFGH-4980
2021-03-25 16:55:57 +05:30
Renz Bagaporo
32aa5f7e25
esp_system: add notes on timekeeping
2021-03-25 16:09:33 +08:00
Renz Bagaporo
44a8dc9342
ci: change assertions rtc clk compenstation test
2021-03-25 15:47:19 +08:00
Renz Bagaporo
50745fa61b
newlib: use system time in test
2021-03-25 15:47:19 +08:00
Renz Bagaporo
d7e9567c00
esp_system, esp_timer: fix time function description
2021-03-25 15:47:19 +08:00
Renz Bagaporo
131bbbd5c4
esp_system: test system time for rtc compensation
2021-03-25 15:47:19 +08:00
Renz Bagaporo
74de5a7c58
esp_timer: correct startup time
2021-03-25 15:38:27 +08:00
Renz Bagaporo
5a90113136
newlib: change microseconds offset type
2021-03-25 15:37:48 +08:00
Renz Bagaporo
cb5a8342d4
esp_system: revert reset of systimer clk at startup
2021-03-25 15:37:48 +08:00
Li Shuai
b3bc27972e
light sleep: add software workaround for esp32c3 gpio reset issue
2021-03-25 15:03:09 +08:00
baohongde
77fc60ede1
components/bt: Synchronize multiple branch of bt lib
2021-03-25 14:39:28 +08:00
baohongde
36b89a9f0b
components/bt: Fix assert without sw coexist enabled
2021-03-25 14:39:07 +08:00
baohongde
7c2ff2ad3f
component/coex: Decouple Wi-Fi and bluetooth with coexist to reduce binary file size
2021-03-25 14:39:07 +08:00
Jiang Jiang Jian
aff0235e47
Merge branch 'bugfix/fix-modem-sleep-mr' into 'master'
...
Fix the bug of modem sleep
See merge request espressif/esp-idf!12871
2021-03-25 06:33:02 +00:00
Angus Gratton
f9d807d7c4
Merge branch 'bugfix/flash_text_alignment_cache_issue' into 'master'
...
build: fix cache issue when .flash.text section alignment is uncommon
Closes IDF-2992
See merge request espressif/esp-idf!12841
2021-03-25 04:49:32 +00:00
Armando
026545b71e
spi_slave_hd: add a dual-board test when master sends too long on
...
ESP32C3
This test can also be used between ESP32/S2/S3/C3.
2021-03-25 10:31:29 +08:00
Angus Gratton
11e2620acc
freertos docs: Specify that uxTaskGetStackHighWaterMark() returns bytes not words
...
As reported https://esp32.com/viewtopic.php?f=13&t=20043&p=73732
2021-03-25 00:08:24 +00:00
Mahavir Jain
9926f5bb5a
Merge branch 'bugfix/revert_esp_log_issue' into 'master'
...
efuse: revert ESP_LOG to ESP_EARLY_LOG in src/esp_efuse_utility.c
Closes IDFGH-4863
See merge request espressif/esp-idf!12792
2021-03-24 16:30:59 +00:00
Jiang Jiang Jian
080ef27556
Merge branch 'bugfix/fix_csa_beacon_timeout' into 'master'
...
bugfix: keep wakeup state during csa
Closes WIFI-3259
See merge request espressif/esp-idf!12867
2021-03-24 15:53:17 +00:00
Prasad Alatkar
b4861a11e6
NimBLE: Free AES context after use by calling mbedtls_free_aes
...
- Update NimBLE submodule to resolve issue observed while using mbedTLS as
crypto stack during security exchanges.
Closes BT-1435, BT-1434
2021-03-24 13:26:36 +00:00
Prasad Alatkar
5d80d551cf
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-03-24 13:25:38 +00:00
David Cermak
86bcd9fc21
tcp_transport: Fix error handling of esp_tls_init()
2021-03-24 12:24:23 +00:00
Armando
c05fde2cbf
efuse: revert ESP_LOG to ESP_EARLY_LOG in src/esp_efuse_utility.c
...
Closes https://github.com/espressif/esp-idf/issues/6660
2021-03-24 11:28:45 +00:00
Krzysztof Budzynski
1953af4fb2
Merge branch 'doc/c3_system_api' into 'master'
...
docs: update system api reference chapters for C3
Closes IDF-2327 and IDF-2320
See merge request espressif/esp-idf!12730
2021-03-24 10:28:19 +00:00
Omar Chebib
56fe28fb23
build: fix cache issue when .flash.text section alignment is uncommon
...
rodata dummy section has now the same alignment as flash text section,
and at least the same size. For these reasons, the cache will map
correctly the following rodata section.
2021-03-24 16:00:48 +08:00
ronghulin
fddaaef06e
fix phy init memory leak
2021-03-24 15:44:48 +08:00
0xFEEDC0DE64
63a7a8489b
Init phy data to default if invalid in flash partition to avoid bootloops
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6610
2021-03-24 15:44:48 +08:00
zwj
dc3a5a9335
fix multi-connection pair failed
2021-03-24 14:58:21 +08:00
Angus Gratton
c676c94445
Merge branch 'bugfix/fix_coredump_fake_stack_bug' into 'master'
...
espcoredump: Fix bugs related to (fake) stacks
See merge request espressif/esp-idf!12581
2021-03-24 06:55:42 +00:00
zwj
6e343bead2
add option to enable/disable esp32 controller RPA
2021-03-24 14:42:35 +08:00
Omar Chebib
49f5fb5112
esp_system: add VDD_SDIO power domain configuration to documentation
...
Add a warning in `sleep_modes` doc page to explain how to keep
VDD_SDIO power domain ON.
2021-03-24 12:04:57 +08:00
Omar Chebib
87325fa964
esp_system: add VDD_SDIO power domain configuration for light sleep
...
VDD_SDIO power domain can now be configured for light sleep
by the application. It is now possible to keep the power domain
ON during light sleep, keeping the GPIOs connected to it powered.
The power domain will, by default be:
- Kept ON if CONFIG_ESP_SYSTEM_PD_FLASH is not set
- Turned OFF if not set
The application can still force it to be ON by calling
`esp_sleep_pd_config(ESP_PD_DOMAIN_VDDSDIO, ESP_PD_OPTION_ON);`
2021-03-24 12:04:57 +08:00
“YangZhao”
8e282c7fe5
Fix the bug of modem sleep which may lead to the crash issue "assert(-218959118,0)"
2021-03-24 11:39:00 +08:00
Mahavir Jain
b603a0bea0
Merge branch 'feature/multiple_prs_from_github' into 'master'
...
Feature/multiple PRs from github
Closes IDFGH-3877, IDFGH-4090, IDFGH-4641, IDFGH-4666, and IDFGH-4854
See merge request espressif/esp-idf!12858
2021-03-24 03:29:28 +00:00
ronghulin
1e7b43733c
bugfix: keep wakeup state during csa
2021-03-24 10:30:55 +08:00
Angus Gratton
04652619aa
Merge branch 'bugfix/timer_divider_overflow' into 'master'
...
timer: removed downcasting when setting divider
Closes IDFCI-515
See merge request espressif/esp-idf!12840
2021-03-24 02:04:20 +00:00
Jiang Jiang Jian
6acebbeebd
Merge branch 'bugfix/fix_wdt_timeout_when_enable_rf' into 'master'
...
esp_wifi: fix wdt timeout when enable rf
Closes WIFI-3541
See merge request espressif/esp-idf!12834
2021-03-23 16:10:07 +00:00
XieWenxiang
f9cdd1d6c9
component/bt: Modify some ambiguous descriptions
2021-03-23 23:08:05 +08:00
Valeri
77922a24c3
esp_hid: add missing static qualifier
...
Closes https://github.com/espressif/esp-idf/pull/5778
Closes IDFGH-3877
2021-03-23 17:38:56 +05:30
Jon Sailor
8f064dabcd
tinyusb: add 'extern C' bit to tusb_console.h
...
Public headers need the "if __cplusplus, extern C" boilerplate. Otherwise, C++
sources which include the header will look for a name-mangled symbol and fail
at link time.
Closes https://github.com/espressif/esp-idf/pull/6455
Closes IDFGH-4641
2021-03-23 17:36:34 +05:30
Angus Gratton
2d43e46a2b
Merge branch 'fix/dont_disable_uart_dl_mode_by_default' into 'master'
...
bootloader/ ESP32_ECO3: Do not disable UART download mode by default
Closes IDF-2446
See merge request espressif/esp-idf!12603
2021-03-23 10:57:30 +00:00
Mahavir Jain
1ff4afd9ef
Merge branch 'feature/cert_key_length_options' into 'master'
...
esp_http_client: Add cert and key length options, add config option for HTTP digest auth
Closes IDFGH-4752 and IDF-642
See merge request espressif/esp-idf!12736
2021-03-23 10:54:33 +00:00
Angus Gratton
fa2946d651
Merge branch 'feature/support_esp32s3_beta_3' into 'master'
...
Support ESP32S3 beta 3 target
Closes IDF-2908
See merge request espressif/esp-idf!12661
2021-03-23 10:17:58 +00:00
Angus Gratton
7ebefe2e2b
Merge branch 'bugfix/check_a_time_after_deepsleep' into 'master'
...
Fix esp32s2 timekeeping on deep sleep issue
See merge request espressif/esp-idf!12623
2021-03-23 08:15:34 +00:00
Aditya Patwardhan
2095148b31
bootloader/ ESP32_ECO3: Do not disable UART download mode by default
2021-03-23 08:15:32 +00:00
Shubham Kulkarni
4f6e0c1d27
esp_http_client: Add config option for HTTP Digest auth
2021-03-23 11:58:35 +05:30
0xFEEDC0DE64
a9c6fbe8d3
Added cert and key length options
...
Closes https://github.com/espressif/esp-idf/pull/6556
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-23 11:58:35 +05:30
Marius Vikhammer
c24e3aa931
soc: update efuse address
2021-03-23 11:34:18 +08:00
Marius Vikhammer
2711c55dc6
timer: removed downcasting when setting divider
...
Dividers bigger than 65536 are already handled in ll,
so we shouldnt downcast it.
2021-03-23 11:05:16 +08:00
Jiang Jiang Jian
5978352cf9
Merge branch 'bugfix/ble_tx_power_mapping' into 'master'
...
Bluetooth: Tx power level for ESP32C3 and IRAM_ATTR fix for ESP32S3 controller
See merge request espressif/esp-idf!12651
2021-03-23 03:04:30 +00:00
ninh
1c9fec8c8a
esp_wifi: fix wdt timeout when enable rf
2021-03-23 10:28:01 +08:00
Jiang Jiang Jian
f38871b4b3
Merge branch 'bugfix/crash_on_enabling_verbose_logs' into 'master'
...
Fixes issue of crashing when verbose logs are enabled.
Closes WIFI-3423
See merge request espressif/esp-idf!12414
2021-03-22 12:52:29 +00:00
Angus Gratton
9122e530be
Merge branch 'refactor/freertosconfig_h' into 'master'
...
freertos: common config header
Closes IDF-2389
See merge request espressif/esp-idf!12485
2021-03-22 09:04:41 +00:00
Michael (XIAO Xufeng)
67ba80f2ec
Merge branch 'bugfix/reduce_the_consumption_of_touch_sensor_during_deep_sleep' into 'master'
...
fix: reduce the consumption of touch sensor during deep sleep
See merge request espressif/esp-idf!12248
2021-03-22 07:10:44 +00:00
aditi_lonkar
e478d19b45
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-03-22 06:58:16 +00:00
Michael (XIAO Xufeng)
ed624c48f6
Merge branch 'feature/flash_unique_id' into 'master'
...
spi_flash: add a new feature to read the unique id of the flash chip
Closes IDFGH-2085
See merge request espressif/esp-idf!11421
2021-03-22 06:51:21 +00:00
Angus Gratton
54edd4fc58
Merge branch 'feature/wdt_c3' into 'master'
...
wdt: Fix RTC_SLOW_CLK for chips, corrects WDT timeout.
Closes IDF-2118 and IDF-2332
See merge request espressif/esp-idf!12796
2021-03-22 06:48:58 +00:00
Angus Gratton
1581744c10
Merge branch 'feature/main_task_affinity_pr6627' into 'master'
...
Allow selection of different core for main task
Closes IDFGH-4828
See merge request espressif/esp-idf!12654
2021-03-22 06:46:24 +00:00
Michael (XIAO Xufeng)
3a90d51831
Merge branch 'refactor/using_isr_callback_in_timer_example' into 'master'
...
TIMG: clean up timer example and add example test
Closes IDF-2722, IDF-2766, and IDF-2347
See merge request espressif/esp-idf!12218
2021-03-22 06:36:32 +00:00
Renz Bagaporo
021cce3f56
freertos: formatting fixes for config file
2021-03-22 13:35:49 +08:00
Renz Bagaporo
39cf818838
freertos: common config header
2021-03-22 12:19:03 +08:00
Omar Chebib
e533431095
espcoredump: Fix bugs related to (fake) stacks
...
Add support to tasks stacks in RTC DRAM. Before this fix, any stack
in RTC DRAM would have been considered as corrupted, whichi is not
the case.
Fix a bug related to wrong parameters passed to esp_core_dump_get_stack.
Fix a bug reading fake stack memory, triggering a memory violation.
* Closes https://github.com/espressif/esp-idf/issues/6751
* Merges https://github.com/espressif/esp-idf/pull/6750
2021-03-22 11:38:21 +08:00
liaowenhao
048f527883
bugfix/bta_hf_client_co_cb_ptr requires HFP_DYNAMIC_MEMORY macro to be used
2021-03-22 03:07:49 +00:00
Jiang Jiang Jian
6978fe58b1
Merge branch 'mesh/ps_duty_signaling_master' into 'master'
...
mesh/ps: network duty signaling
See merge request espressif/esp-idf!12643
2021-03-19 11:34:47 +00:00
Mahavir Jain
6b1a83b38b
Merge branch 'bugfix/fix_rtc_memory_region_name' into 'master'
...
esp32c3: correct name for RTC memory region in heap
See merge request espressif/esp-idf!12790
2021-03-19 04:53:39 +00:00
Renz Bagaporo
97a2d9552e
newlib: persist rtc clk corrections
2021-03-19 12:04:06 +08:00
Renz Bagaporo
02c6ffe5a7
esp_hw_support: add test for rtc clk compensation
2021-03-19 12:04:06 +08:00
shenjun
f9fe524c32
mesh/ps: network duty signaling
2021-03-18 16:22:19 +00:00
KonstantinKondrashov
aa1338bf23
wdt: Fix timeout and RTC_SLOW_CLK
...
RTC_SLOW_CLK
ESP32: 150kHz
ESP32-S2: 90kHz
ESP32-S3: 150kHz
ESP32-C3: 150kHz
2021-03-19 00:15:18 +08:00
Mahavir Jain
277e277690
esp32c3: correct name for RTC memory region in heap
2021-03-18 17:53:26 +05:30
David Čermák
3bc3407aeb
Merge branch 'bugfix/lwip_ppp_echo_interval_config' into 'master'
...
lw-IP: added configuration values for echo interval
Closes IDFGH-3098
See merge request espressif/esp-idf!12487
2021-03-18 11:59:07 +00:00
Michael (XIAO Xufeng)
4028d4e083
Merge branch 'feature/mcpwm_add_peripheral_signal_list' into 'master'
...
mcpwm: added peripheral signal description list
See merge request espressif/esp-idf!12480
2021-03-18 10:07:59 +00:00
Jiang Jiang Jian
d01c951d46
Merge branch 'bufix/ag_deep_copy_crash' into 'master'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
Closes BT-1355
See merge request espressif/esp-idf!12338
2021-03-18 09:49:57 +00:00
Jiang Jiang Jian
e5ffac739f
Merge branch 'mesh/support_for_chain_topology' into 'master'
...
mesh: support for chain topology
See merge request espressif/esp-idf!12759
2021-03-18 07:27:54 +00:00
Marius Vikhammer
e83d213c56
rtc: add rtc related changes from feature/support_7.2.7_soc
2021-03-18 15:23:31 +08:00
suren.gabrielyan
cc78923d23
docs: Update OpenSSL API documents
...
Closes IDF-2541
2021-03-18 10:42:29 +04:00
Michael (XIAO Xufeng)
d5543c3dae
Merge branch 'bugfix/spi_slv_dual_boad_test_slv_fail_issue' into 'master'
...
spi: update slv dual board test for ci due to no pullup resistor on io10 on c3
See merge request espressif/esp-idf!12332
2021-03-18 06:41:28 +00:00
David Čermák
3323e2e0a8
Merge branch 'bugfix/lwip_add_option_to_enable_lwip_netif_api' into 'master'
...
lw-IP: added config option to enable LWIP_NETIF_API
Closes IDF-1687
See merge request espressif/esp-idf!12237
2021-03-18 06:24:26 +00:00
Jiang Jiang Jian
d38eabf0c2
Merge branch 'bugfix/spi_flash_compatible_with_rom_c3_and_s3' into 'master'
...
spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM
See merge request espressif/esp-idf!12713
2021-03-18 04:08:06 +00:00
Marius Vikhammer
2aead8ba57
Support ESP32S3 Beta 3 target
...
Update ROM API. Port changes from bringup branch.
2021-03-18 10:24:22 +08:00
KonstantinKondrashov
a90f29fced
wdt: Updates
2021-03-18 02:31:28 +08:00
Jiri Schiebel
ece7cb4545
lwip: added configuration values for echo interval
2021-03-17 17:54:30 +00:00
Jiri Schiebel
0c58d5fc6a
lwip: added config option to enable LWIP_NETIF_API
2021-03-17 17:53:07 +00:00
Marius Vikhammer
e2919eca8e
soc: add soc headers from S3 fpga bringup branch
2021-03-17 18:47:51 +08:00
wangmengyang
3df07164c1
components/bt: shorten some log messages for bluedroid
2021-03-17 16:52:34 +08:00
wangmengyang
ab8e488c38
component/bt: [ESP32S3] fix missing IRAM_ATTR for function in libbtdm_app.a
2021-03-17 16:52:34 +08:00
wangmengyang
528964f12c
fixed incorrect Tx power mappings for ESP32C3 chip
2021-03-17 16:52:26 +08:00
morris
ff65363ada
mcpwm: configure gpio using by lookup table
2021-03-16 21:54:00 +08:00
morris
3b66958b33
mcpwm: added peripheral signal description list
2021-03-16 21:54:00 +08:00
morris
f5ca47c0fc
mcpwm: rename macros related to soc capbility
2021-03-16 21:53:59 +08:00
morris
5a520cacf1
timer_group: correct timer_ll_set_divider
2021-03-16 17:56:37 +08:00
Michael (XIAO Xufeng)
be30289364
Merge branch 'feature/c3_example_tests' into 'master'
...
CI: add Example_GENERIC for C3
Closes IDF-2935
See merge request espressif/esp-idf!12557
2021-03-16 09:43:38 +00:00
Mahavir Jain
d20cb254de
Merge branch 'bugfix/sign_app_by_rsa_when_require_signed_app' into 'master'
...
secure_boot: Secure Boot V2 verify app signature on update (without Secure boot)
Closes IDF-1384
See merge request espressif/esp-idf!12697
2021-03-16 09:31:38 +00:00
Michael (XIAO Xufeng)
053b18cbeb
Merge branch 'feature/lcd_ll_driver' into 'master'
...
lcd: add LL driver for esp32-s3
Closes IDF-2845
See merge request espressif/esp-idf!12644
2021-03-16 08:38:19 +00:00
Armando
dd8076acf4
spi: update slv dual board test for ci due to no pullup resistor on io10 on c3
2021-03-16 15:28:17 +08:00
shenjun
0ce0e4d569
mesh: support for chain topology
2021-03-16 14:17:13 +08:00
Michael (XIAO Xufeng)
7032cedca7
Merge branch 'bugfix/freemodbus_fix_mbm_event_processing' into 'master'
...
Bugfix/freemodbus fix mbm event processing
Closes IDFGH-3741
See merge request espressif/esp-idf!10568
2021-03-15 17:27:03 +00:00
Michael (XIAO Xufeng)
63f799cd78
Merge branch 'bugfix/check_spi_master_cmd_test_fail' into 'master'
...
spi_master: fix cmd test ringbufferReturn issue
Closes IDFCI-493
See merge request espressif/esp-idf!12724
2021-03-15 12:32:50 +00:00
Angus Gratton
6a29b45bd4
secure boot v2: Fix issue checking multiple signature blocks on OTA update
2021-03-15 12:30:20 +00:00
Angus Gratton
d709631393
secure boot: Add boot check for SBV2 "check app signature on update"
...
As this mode uses the public keys attached to the existing app's signatures to
verify the next app, checking that a signature block is found on boot prevents
the possibility of deploying a non-updatable device from the factory.
2021-03-15 12:30:20 +00:00
KonstantinKondrashov
95564b4687
secure_boot: Secure Boot V2 verify app signature on update (without Secure boot)
...
- ESP32 ECO3, ESP32-S2/C3/S3
2021-03-15 12:30:20 +00:00
Marius Vikhammer
91439e3818
docs: updated system api-reference chapters for C3
2021-03-15 18:51:12 +08:00
Ivan Grokhotkov
1067b28707
Merge branch 'bugfix/dirent-riscv-header' into 'master'
...
vfs: use sys/dirent.h from newlib
Closes IDF-2913
See merge request espressif/esp-idf!12614
2021-03-15 08:54:46 +00:00
aleks
868e123336
freemodbuss: fix event processing after merge
2021-03-15 09:45:49 +01:00
Ivan Grokhotkov
1a7c1b095d
Merge branch 'bugfix/nvs_missing_API_arg_checks' into 'master'
...
Random NVS fixes
Closes IDF-1462 and IDF-2900
See merge request espressif/esp-idf!12649
2021-03-15 07:13:10 +00:00
fuzhibo
6b361ed70f
fix: reduce the consumption of touch sensor during deep sleep
2021-03-15 03:59:54 +00:00
Cao Sen Miao
78a2dbe42a
spi_flash: add a new function to support read the unique id
...
Close https://github.com/espressif/esp-idf/pull/4255
2021-03-15 11:40:33 +08:00
Armando
0fb93c3726
spi_master: fix cmd test ci failure
2021-03-15 11:31:38 +08:00
Marius Vikhammer
c85d949c1f
ci: run Example_GENERIC for C3
...
Add support for running example_GENERIC tests for C3 on label.
Fix examples that fail.
2021-03-15 10:27:07 +08:00
KonstantinKondrashov
63a4dbb8d2
esp32c3: Universal MAC Address strategy for ESP32C3 is the same as for ESP32 (4 reserved MAC-addresses per device)
2021-03-15 10:26:20 +08:00
KonstantinKondrashov
67ba1c8d57
esp32c3: Updates a description in Kconfig about Universal MAC Address strategy
2021-03-15 10:26:20 +08:00
morris
d0be56b8fe
lcd: add LL driver for esp32-s3
2021-03-13 22:31:30 +08:00
David Čermák
c49d03b8eb
Merge branch 'bugfix/tcp_transport_ws_netif_test' into 'master'
...
tcp_transport: Fix misuse of ws-transport in set-interface in Tests
Closes IDFCI-492
See merge request espressif/esp-idf!12707
2021-03-12 13:13:40 +00:00
Angus Gratton
ac8d5fb552
Merge branch 'bugfix/fix_ld_relinking_on_modification' into 'master'
...
build: fix linker scripts edition not triggering a rebuild
Closes IDF-1562
See merge request espressif/esp-idf!12561
2021-03-12 11:16:58 +00:00
jiangguangming
ae04518a32
spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM
2021-03-12 17:31:13 +08:00
Michael (XIAO Xufeng)
23eff08638
Merge branch 'feature/gpio_esp32c3_add_deprecated_header' into 'master'
...
Added missing ESP32-S3 target for /rom/gpio.h include
Closes IDFGH-4870
See merge request espressif/esp-idf!12648
2021-03-12 07:49:30 +00:00
Omar Chebib
5371231935
build: fix linker scripts edition not triggering a rebuild
...
Fix the dependencies in CMakeLists files for triggering a relink
when linker script file is modified.
2021-03-12 07:48:32 +00:00
Jiang Jiang Jian
c4fa75e62c
Merge branch 'feature/wifi_support_sta_sleep_at_disconnected' into 'master'
...
esp_wifi: support to sleep for station at disconnected status
Closes WIFI-3022, FC-82, and FC3-119
See merge request espressif/esp-idf!12693
2021-03-12 07:35:13 +00:00
zwj
b3a2fedfde
fix ble connection event report remote address error
2021-03-12 11:49:52 +08:00
David Cermak
70361fc35d
tcp_transport/test: Fix wrong use of transport in set-interface
2021-03-11 19:21:00 +00:00
ninh
deb94f4768
esp_wifi: support sta to sleep at disconnected status
2021-03-12 00:20:09 +08:00
David Čermák
bcb5e72552
Merge branch 'fix/fuzzer_host_test_eth' into 'master'
...
mdns: removed freeRTOS headers dependencies from fuzzer tests
See merge request espressif/esp-idf!12284
2021-03-11 16:14:22 +00:00
Shu Chen
6792024add
esp_common: add generic check macros
...
Add four check maros:
* ESP_RETURN_ON_ERROR()
* ESP_GOTO_ON_ERROR()
* ESP_RETURN_ON_FALSE()
* ESP_GOTO_ON_FALSE()
Also add a `xx_ISR` version for each of them, which can be used in ISR.
2021-03-11 17:38:22 +08:00
suren.gabrielyan
55716945a9
mdns: Removed freeRTOS dependancies from fuzzer tests
2021-03-11 08:57:36 +00:00
xiehang
4d8a1aefbd
esp_wifi: Fix the second distribution network failure of ESPTouch v2
...
Closes https://github.com/espressif/esp-idf/issues/6679
2021-03-11 07:49:06 +00:00
Mahavir Jain
636c4ec158
Merge branch 'feature/support_ws_user_ctx' into 'master'
...
httpd: Support user_ctx in websocket handler callback request
Closes IDFGH-4732
See merge request espressif/esp-idf!12635
2021-03-11 04:55:29 +00:00
Jiang Jiang Jian
ae65cffff0
Merge branch 'bugfix/esp32c3_light_sleep_default_params_optimize' into 'master'
...
light sleep: some default parameters optimization
See merge request espressif/esp-idf!12461
2021-03-11 03:33:46 +00:00
Angus Gratton
fd164b82b6
Merge branch 'refactor/move_from_xtensa' into 'master'
...
Movements from xtensa
Closes IDF-2164
See merge request espressif/esp-idf!10556
2021-03-11 00:24:25 +00:00
Li Shuai
92ddbcda05
deep sleep: power down wifi and bt during deep sleep
2021-03-10 18:22:41 +00:00
Li Shuai
1595973fe8
light sleep: some default parameters optimization
2021-03-10 18:22:41 +00:00
David Čermák
5b51cc6123
Merge branch 'bugfix/mdns_check_local_postfix' into 'master'
...
mDNS: Updated APIs description and added a warning when hostname
Closes IDFGH-4787
See merge request espressif/esp-idf!12548
2021-03-10 18:06:44 +00:00
Jiang Jiang Jian
a8f6a7a28e
Merge branch 'bugfix/c2h_fc_param_fix_ble' into 'master'
...
Fix for C2H flow control param check when only BLE mode is configured.
See merge request espressif/esp-idf!12672
2021-03-10 17:22:03 +00:00
suren.gabrielyan
9f8d2b944d
mDNS: Updated APIs description and shows the warning when hostname contains domain name during the query
...
Closes https://github.com/espressif/esp-idf/issues/6590
2021-03-10 13:38:13 +00:00
yuanjm
382fe8807d
httpd: Support user_ctx in websocket handler callback request
...
Closes https://github.com/espressif/esp-idf/issues/6538
2021-03-10 12:31:38 +00:00
Jiang Jiang Jian
9e4ba9a4db
Merge branch 'bugfix/fix_err_code_issue' into 'master'
...
esp_wifi: Fix set config return value error
Closes IDFGH-4877, TCI-556, WIFI-3375, and IDFGH-4829
See merge request espressif/esp-idf!12657
2021-03-10 10:12:01 +00:00
Chinmay Chhajed
1d54d9ac13
Fix for C2H flow control param check when only BLE mode is configured.
2021-03-10 15:06:49 +05:30
Angus Gratton
c8ec2edc0f
Merge branch 'feature/skip_validate' into 'master'
...
bootloader: Add config options to skip validation of app for minimum boot time
Closes IDF-2916
See merge request espressif/esp-idf!12659
2021-03-10 08:07:07 +00:00
Mahavir Jain
b8cd8cc2df
Merge branch 'feature/transport_support_dev_bind' into 'master'
...
transport: Support bind socket to specified interface
Closes IDFGH-4232
See merge request espressif/esp-idf!11961
2021-03-10 06:34:39 +00:00
Michael (XIAO Xufeng)
1bfc57b94f
Merge branch 'bugfix/uart_baud_c3_s3' into 'master'
...
uart: fixed incorrect baudrate on C3 and S3 when target is too slow
See merge request espressif/esp-idf!12664
2021-03-10 03:48:12 +00:00
Angus Gratton
6f362b9383
bootloader: Add config options to skip validation of app for minimum boot time
2021-03-10 14:00:46 +11:00
yuanjm
f68e55edb3
esp-tls: Separate timeout_ms conditional judgement from keep alive
2021-03-10 02:19:29 +00:00
yuanjm
a412eb867c
tcp_transport: Add bind device function to unit test
2021-03-10 02:19:29 +00:00
yuanjm
c79a907e4f
components: Remove repeated keep alive function by ssl layer function
...
In esp_http_client and esp_websocket_client components, esp_transport_tcp_set_keep_alive has been called and keep-alive config has been saved in ssl->cfg.keep_alive_cfg,
So no need to call esp_transport_ssl_set_keep_alive again.
2021-03-10 02:19:29 +00:00
yuanjm
bead3599ab
components: Support bind socket to specified interface in esp_http_client and esp_websocket_client component
2021-03-10 02:19:29 +00:00
yuanjm
c62cbd1254
transport: Support bind socket to specified interface in transport and esp-tls
2021-03-10 02:19:29 +00:00
Angus Gratton
e39b475af1
Merge branch 'feature/crypto_reserve_gdma_ch' into 'master'
...
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
Closes IDF-2856
See merge request espressif/esp-idf!12507
2021-03-09 23:44:26 +00:00
Angus Gratton
39a2d531f0
Merge branch 'feature/ldgen_mapping_extensions' into 'master'
...
ldgen: mapping flags extensions
Closes IDFGH-2524
See merge request espressif/esp-idf!12035
2021-03-09 22:43:08 +00:00
xiehang
0e10c7e198
esp_wifi: Fix some Wi-Fi bugs
...
1, Fixed issue of reason code change from 15 to 204 when provide wrong password
2, Fix set config return value error
3, Fix ampdu age timer memory leak
Closes https://github.com/espressif/esp-idf/issues/6673
2021-03-09 20:14:13 +08:00
aleks
bd7cdf8f7c
driver: esp32s3 fix UART driver
...
Fix set UART2 instance to correct base address (esp32s3 has non standard base periph address)
2021-03-09 20:09:42 +08:00
Michael (XIAO Xufeng)
fc61e60948
uart: fixed incorrect baudrate on C3 and S3 when target is too slow
...
The integer part of the divider is only 12-bit now. We used prescaler to get low frequency instead.
2021-03-09 20:09:42 +08:00
Jiang Jiang Jian
8b75cbf99f
Merge branch 'bugfix/btdm_issues_when_light_sleep_and_dfs' into 'master'
...
Fix issues during light sleep and DFS
Closes BT-1439 and FC3-128
See merge request espressif/esp-idf!12577
2021-03-09 09:51:10 +00:00
Jiang Jiang Jian
b3612b73d6
Merge branch 'bugfix/fix_connected_scan_hidden_ap_issue' into 'master'
...
Fixed issue with hidden AP scans after connecting AP
Closes IDFGH-4827
See merge request espressif/esp-idf!12587
2021-03-09 07:11:18 +00:00
Angus Gratton
4f406d7a35
Merge branch 'bugfix/read_ota_partition_required_output_arg' into 'master'
...
otatool: Fixes read_ota_partition cmd, required output arg
Closes IDFGH-4756
See merge request espressif/esp-idf!12601
2021-03-09 06:29:34 +00:00
Angus Gratton
32ea7dc812
Merge branch 'feature/bootloader_disable_logs_unnecessary_warnings' into 'master'
...
bootloader: Disables unnecessary warning logs when invalid magic byte
Closes IDF-1900
See merge request espressif/esp-idf!12514
2021-03-09 06:28:46 +00:00
baohongde
33df1358ef
Fix issues during light sleep and DFS
2021-03-09 13:49:59 +08:00
Marius Vikhammer
fe71a8e340
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
...
Removed the old dynamically allocated GDMA channel approach.
It proved too unreliable as we couldn't not ensure consumers of the mbedtls
would properly free the channels after use.
Replaced by a single shared GDMA channel for AES and SHA, which won't be
released unless user specifically calls API for releasing it.
2021-03-09 09:23:05 +08:00
Angus Gratton
d6112c12b7
Merge branch 'bugfix/extern_c_decl' into 'master'
...
[cxx]: bugfixed extern c decl
See merge request espressif/esp-idf!12554
2021-03-09 00:01:56 +00:00
0xFEEDC0DE64
6928db7670
Allow selection of different core for main task
...
Closes https://github.com/espressif/esp-idf/pull/6627
2021-03-09 10:13:28 +11:00
ronghulin
1982f4a2fb
esp_wifi: fix some wifi bugs
...
1.Fixed issue with hidden AP scans after connecting AP.
2.Fix watchdog issue when receiving action frame.
Closes https://github.com/espressif/esp-idf/issues/6626
2021-03-08 21:02:47 +08:00
Seon Rozenblum
dd2a8e330b
Added missing ESP32-S3 target for /rom/gpio.h include
...
I know this is being depreciated in 5, but we need it working for S3 in 4.x :)
Closes https://github.com/espressif/esp-idf/pull/6666
2021-03-08 17:54:16 +08:00
Mahavir Jain
907ea44ee9
Merge branch 'feature/http_server_optimizations' into 'master'
...
esp_http_server optimisations
Closes IDFGH-4484 and IDFGH-4741
See merge request espressif/esp-idf!12240
2021-03-08 09:01:20 +00:00
Angus Gratton
9c03f04769
esptool_py: Add esptool_py as a dependency for any component that uses it
...
Many components uses esptool_py_flash_target function, they all should
explicitly requier the esptool_py component.
Related to https://github.com/espressif/esp-idf/issues/6670
2021-03-08 19:47:38 +11:00
Matt Arcidy
3942b61a1e
partition_table requires esptool_py for esptool_py_flash_target
...
Closes https://github.com/espressif/esp-idf/pull/6672
Closes https://github.com/espressif/esp-idf/issues/6670
2021-03-08 19:47:38 +11:00
Angus Gratton
f7d7954bf4
Merge branch 'bugfix/dport_init_min_stack_size' into 'master'
...
freertos: Increase minimum task stack size when stack smashing checker is enabled
Closes IDFGH-4586 and IDFCI-482
See merge request espressif/esp-idf!12369
2021-03-08 07:33:47 +00:00
Jiang Jiang Jian
ffe5e45c77
Merge branch 'bugfix/btdm_controller_task_watchdog_in_wifi_test' into 'master'
...
Fix controller task watchdog in Wi-Fi test
Closes WIFI-3391
See merge request espressif/esp-idf!12628
2021-03-08 07:02:16 +00:00
Jakob Hasse
d52a21de5c
Random NVS fixes
...
* Checking Lock::init() now
* fixed typos in nvs_flash.h
* Added missing parameter checks in nvs encryption
function
* Closes IDF-1462
* Closes IDF-2900
2021-03-08 14:41:53 +08:00
William Ferguson
13bc5feb0a
[cxx]: fixed extern "C" declarations
...
* Moving #includes above
#ifdef __cplusplus extern "C" { #endif
So that we can compile with CPP.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6634
2021-03-08 14:11:33 +08:00
Jiang Jiang Jian
e895e50098
Merge branch 'bugfix/fix_wifi_storage_flash_or_ram_issue' into 'master'
...
bugfix: fix wifi NVS issue
Closes WIFI-2175 and WIFI-2314
See merge request espressif/esp-idf!9021
2021-03-05 12:13:07 +00:00
Jiang Jiang Jian
b88a156ce5
Merge branch 'bugfix/btdm_crash_when_esp_restart' into 'master'
...
components/bt: Fix crash in Bluetooth when esp_restart
See merge request espressif/esp-idf!12566
2021-03-05 11:53:03 +00:00
ronghulin
338944d981
Updated wifi lib:
...
1. Fix the issue that the parameters obtained from RAM cannot be saved to NVS
2. Modify not to store the default value in NVS
Closes https://github.com/espressif/esp-idf/issues/5129
Closes https://github.com/espressif/esp-idf/issues/5214
2021-03-05 14:47:14 +08:00
baohongde
df146f5cd9
Fix controller task watchdog in Wi-Fi test
2021-03-05 11:25:03 +08:00
Michael (XIAO Xufeng)
a3f5cf2c71
Merge branch 'bugfix/touch_element_callback_para' into 'master'
...
touch_element: fix event callback parameter type, change it into pointer
See merge request espressif/esp-idf!12600
2021-03-05 02:28:04 +00:00
Angus Gratton
70e13752ae
Merge branch 'feature/rtc_time_get' into 'master'
...
rtc: Clean up for S2,S3,C3
Closes IDF-2569
See merge request espressif/esp-idf!12336
2021-03-05 01:16:15 +00:00
Michael (XIAO Xufeng)
ffa93ed9ec
Merge branch 'bugfix/simple_ota_example_test' into 'master'
...
ota: fix ota with flash encryption
Closes IDFGH-4740, IDFCI-442, and IDFCI-448
See merge request espressif/esp-idf!12412
2021-03-04 09:45:58 +00:00
Jiacheng Guo
b14830c5c0
vfs: use sys/dirent.h from newlib
...
The dirent.h shipped with the risc-v compiler lacks `extern "C"`
declartion and causes linkage declartion conflict when included in C++
files. Use the dirent.h from newlib only to avoid this issue.
2021-03-04 14:58:43 +08:00
Angus Gratton
ef0bbc5baa
freertos: Add a small additional stack when optimization set to None
...
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-03-04 17:57:55 +11:00
Angus Gratton
9c73b80ee0
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-03-04 17:44:36 +11:00
KonstantinKondrashov
b7155a161b
otatool: Fixes read_ota_partition cmd, required output arg
...
Closes: https://github.com/espressif/esp-idf/issues/6559
2021-03-04 06:02:54 +00:00
Mahavir Jain
2bddd67b7d
Merge branch 'bugfix/http_server_client_list' into 'master'
...
httpd_server bugfix
See merge request espressif/esp-idf!12553
2021-03-04 04:18:30 +00:00
Shubham Kulkarni
6a7587d35f
esp_http_server: Run format.sh script to fix code style issues
2021-03-04 04:08:47 +00:00
Jermolinski
282726b619
The httpd_sess_* functions have been re-designed to speed up the httpd server
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/6313
2021-03-04 04:08:47 +00:00
Michael (XIAO Xufeng)
e9ecc4a0af
Merge branch 'bugfix/esp32s3_flash_read_write' into 'master'
...
spi_flash: modify nvs reading writing issue on esp32s3
Closes WIFI-3438 and IDF-2866
See merge request espressif/esp-idf!12604
2021-03-04 03:53:35 +00:00
Jiang Jiang Jian
52720c724f
Merge branch 'bugfix/fix_l2cap_repeat_cid' into 'master'
...
Bugfix/Fix L2CAP Repeat Cid
Closes BT-1411, BT-1409, and BT-1410
See merge request espressif/esp-idf!12342
2021-03-04 03:36:31 +00:00
Jiang Jiang Jian
6677cd5498
Merge branch 'component_bt/optimize_spp_stop_server' into 'master'
...
component_bt/Optimize SPP Stop Server API
Closes BT-960
See merge request espressif/esp-idf!11124
2021-03-04 03:34:44 +00:00
Martin Valik
f221b1655d
httpd: remove redundant condition from get_client_list()
...
Premature return from httpd_uri() was also removed to call uri handler after establishing websocket.
2021-03-04 03:23:57 +00:00
Cao Sen Miao
0b7caf96a9
spi_flash:modify nvs reading writing issue on esp32s3
2021-03-03 22:02:32 +08:00
Angus Gratton
3ddfe1e8ac
Merge branch 'bugfix/asserts_disabled' into 'master'
...
core: Fix assert path embedding, warnings when asserts are disabled
Closes IDFGH-4477
See merge request espressif/esp-idf!12371
2021-03-03 08:20:54 +00:00
Kang Zuo Ling
022bf82e01
touch_element: fix event callback parameter type, change it into pointer
2021-03-03 15:53:12 +08:00
liqigan
408a1490a9
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-03 15:02:23 +08:00
Angus Gratton
a13be9f40c
Merge branch 'feature/mbedtls_bignum' into 'master'
...
mbedtls: Fix rsa test
See merge request espressif/esp-idf!12578
2021-03-03 06:50:42 +00:00
liqigan
825c2024d0
fix l2cap repeat cid
2021-03-03 14:50:05 +08:00
Mahavir Jain
7dd81949db
Merge branch 'fix/coap_pointer_check_for_dynamic_memory' into 'master'
...
coap: Fixed NULL checks for dymanic memory allocation in coap_mbedtls.c
Closes IDF-2794
See merge request espressif/esp-idf!12585
2021-03-03 04:14:00 +00:00
Angus Gratton
c786ba9186
Merge branch 'feature/re-enable_suspend_test_esp32c3' into 'master'
...
freertos: Workaround delay between interrupt request and trigger on RISC-V
Closes IDF-2588 and IDF-2226
See merge request espressif/esp-idf!12350
2021-03-03 03:41:05 +00:00
Angus Gratton
74fa52668c
esp-mqtt: Remove __FILE__ macro from error logs
2021-03-03 10:26:57 +11:00
Angus Gratton
c68f869411
driver: Remove some stray __FILE__ macros
...
Related to https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
61b70c50a4
freertos: Use the standard assert() function for configASSERT
...
Unless the option for "assert and keep running" is enabled.
This means that silent asserts now work for FreeRTOS, and disabling asserts
now also disables them in FreeRTOS without needing a separate config change.
Related to https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
cfde7adb7f
esp_ble_mesh: Use standard ESP-IDF asserts
...
Smaller binary size, means that config options for silent assert or disable
assert will apply
2021-03-03 10:26:57 +11:00
Angus Gratton
0d26c89b6b
btc_common: Redefine BTC assert macro to use standard assert
...
Allows assert to be disabled, made silent, etc.
Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
a0c73c5f92
bt host: Don't redefine the assert macro
...
Required so that bt asserts obey the same configuration settings as other
asserts.
Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Angus Gratton
10bde42551
esp_websocket_client: Don't log the filename when logging "Websocket already stop"
...
Progress towards https://jira.espressif.com:8443/browse/IDFGH-4477
2021-03-03 10:26:57 +11:00
Angus Gratton
9c6d4de1e6
lwip: Support silent assertion configuration
...
If silent assert configuration is enabled, LWIP asserts are now 'silent' also.
Also updates KConfig to note that LWIP asserts are also disabled when asserts
are disabled globally (this was already the behaviour, but the config item
suggested otherwise.)
Progress towards https://github.com/espressif/esp-idf/issues/5873
2021-03-03 10:26:57 +11:00
Angus Gratton
90ec0b0327
bootloader: Allow 'silent assert' config to work in bootloader
...
Requires adding the 'newlib' component to the bootloader project, for
platform_include header.
2021-03-03 10:26:57 +11:00
Angus Gratton
d6f4d99d93
core system: Fix warnings in compilation when assertions are disabled
...
Adds a CI config for hello world that sets this, to catch future regressions
2021-03-03 10:26:57 +11:00
Aditya Patwardhan
3e533be8be
coap: Fixed NULL checks for dymanic memory allocation in coap_mbedtls.c
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-02 22:34:19 +05:30
Krzysztof Budzynski
ac776657c9
Merge branch 'docs/provide_link_to_pcb_layout_for_ethernet_board_v1.2' into 'master'
...
docs: provide the link to pcb layout for ethernet board v1.2 and fix a typo in freetos/task
See merge request espressif/esp-idf!12522
2021-03-02 11:42:59 +00:00
Michael (XIAO Xufeng)
2e0e583ad1
Merge branch 'bugfix/clear_interrupt_in_touch_sensor_initialization' into 'master'
...
fix: clear interrupt in touch sensor initialization
See merge request espressif/esp-idf!12201
2021-03-02 08:09:23 +00:00
Mahavir Jain
7ef6c5855b
Merge branch 'feature/partial_image_download' into 'master'
...
esp_https_ota: Add support for partial image download
Closes IDF-1669, IDFGH-4573, IDFGH-4574, and IDFGH-4824
See merge request espressif/esp-idf!12141
2021-03-02 04:11:41 +00:00
KonstantinKondrashov
f3dd0a37c7
mbedtls: Fix rsa test
2021-03-02 03:18:58 +08:00
Jiang Jiang Jian
dcb8857e72
Merge branch 'bugfix/fix_coex_reset_last_wait_lose_iram_attr_m' into 'master'
...
Fix IRAM_ATTR missing
See merge request espressif/esp-idf!12546
2021-03-01 15:11:12 +00:00
Itay Perl
807bf9688c
ESP HTTPS OTA: send POST request body if set
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
Closes: https://github.com/espressif/esp-idf/issues/6390
Merges: https://github.com/espressif/esp-idf/pull/6391
2021-03-01 14:00:27 +00:00
Shubham Kulkarni
7f8541ff47
esp_https_ota: Add support for partial image download
...
Fix issue where binary_file_length field is greater than original image length
2021-03-01 14:00:27 +00:00
xiongweichao
d39756d8e7
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-01 12:54:21 +00:00
KonstantinKondrashov
87aeef65a8
bootloader: Disables unnecessary warning logs when invalid magic byte
2021-03-01 20:34:54 +08:00
Michael (XIAO Xufeng)
94118efe64
Merge branch 'feature/usb_hcd' into 'master'
...
USB Host Controller Driver
Closes IDF-2634
See merge request espressif/esp-idf!12034
2021-03-01 11:30:50 +00:00
KonstantinKondrashov
b31bf01484
rtc: Clean up for S2,S3,C3
2021-03-01 16:51:15 +08:00
Marius Vikhammer
6334b5e56f
docs: update api-reference chapters for C3
...
Checked and updated the following chapters:
* api-reference/network
* api-reference/protocols
* api-reference/provisioning
* api-reference/storage
* api-reference/peripherals/ds
* api-reference/peripherals/hmac
* api-reference/peripherals/secure_element
2021-03-01 14:58:08 +08:00
baohongde
2e7405e8aa
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-01 14:39:35 +08:00
Renz Bagaporo
10c5226095
ldgen: use uppercase keywords for flags
2021-03-01 14:19:34 +08:00
Renz Bagaporo
dbdc17cced
ldgen: rename emit to surround
2021-03-01 14:19:34 +08:00
Renz Bagaporo
c6f0d47758
esp32: move bt linker script placements to ldgen
2021-03-01 14:19:34 +08:00
Renz Bagaporo
115b6ac0ac
esp32: transfer coredump linker script blocks to ldgen
2021-03-01 14:19:34 +08:00
Renz Bagaporo
633ead5dcb
esp32: move coredump sections and schemes to espcoredump
2021-03-01 14:19:34 +08:00
Renz Bagaporo
4bf07ae7d9
esp32: move wifi related sections and schemes to esp_wifi
2021-03-01 14:19:34 +08:00
Renz Bagaporo
03fe1d6af2
lwip: fix multiple section mapping
2021-03-01 14:19:34 +08:00
Renz Bagaporo
b99777066f
ldgen: implement flags support
...
Implement support for KEEP, ALIGN, emitting symbols and SORT.
Add appropriate tests
Defines default mapping in linker fragment file
2021-03-01 14:19:34 +08:00
Cao Sen Miao
6fbf61493c
ota: fix ota with flash encryption
2021-03-01 14:11:55 +08:00
fuzhibo
cfe59031a5
fix: clear interrupt in touch sensor initialization
2021-03-01 03:57:01 +00:00
Darian Leung
424e1e1886
Add USB HCD
...
This commit adds the USB HCD (Host Controller Driver) and accompanying unit tests.
2021-02-26 23:13:42 +08:00
Jiang Jiang Jian
bf0c05064c
Merge branch 'bugfix/add_encrypt_option_for_esptouch_v1' into 'master'
...
esp_wifi: Add encrypt option for ESPTouch v1
Closes WIFI-3235 and WIFI-3408
See merge request espressif/esp-idf!12533
2021-02-26 13:33:42 +00:00
gengyuchao
0d1eb8a331
Fix IRAM_ATTR missing
2021-02-26 20:31:47 +08:00
Jiang Jiang Jian
41ffe31cbd
Merge branch 'bugfix/btdm_fix_spp_acceptor_cancle_pair_crash' into 'master'
...
BT: fix crash caused by spp pairing cancel
Closes IDFGH-4685
See merge request espressif/esp-idf!12410
2021-02-26 12:17:55 +00:00
zhangyanjiao
c803b37315
esp_wifi:
...
1. Added encrypt option for ESPTouch v1
2. Fixed issue of reason code change from 15 to 200 when provide wrong password
2021-02-26 20:17:43 +08:00
Renz Bagaporo
d920aa52be
xtensa: simplify build script
2021-02-26 19:45:48 +08:00
Renz Bagaporo
1efdcd69d9
xtensa: move out trax
2021-02-26 19:45:48 +08:00
Renz Bagaporo
b1027005df
arch: move stdatomic
2021-02-26 18:40:00 +08:00
Jiang Jiang Jian
53cd589bcc
Merge branch 'bugfix/wifi_phy_register_backup' into 'master'
...
esp_wifi: store PHY digital registers before disabling PHY and load them after enabling PHY
See merge request espressif/esp-idf!12059
2021-02-26 10:01:52 +00:00
Angus Gratton
56048b8428
Merge branch 'bugfix/ds_invalidate_assert' into 'master'
...
esp32s2 ds: Fix invalidating Digital Signature key from HMAC peripheral if assertions are disabled
See merge request espressif/esp-idf!12459
2021-02-26 08:16:49 +00:00
Michael (XIAO Xufeng)
60dfb09122
Merge branch 'bugfix/freemodbus_fix_zero_based_reg_address_in_iterator' into 'master'
...
freemodbus: fix mb zero based reg address
See merge request espressif/esp-idf!12422
2021-02-26 08:13:59 +00:00
Renz Bagaporo
0f03f450ff
esp_hw_support: create esp_cpu
...
Create a esp_cpu header that contains CPU-related functions and
utilities.
2021-02-26 13:34:29 +08:00
Renz Bagaporo
7e0e91bf76
arch: move debug helpers
2021-02-26 13:34:29 +08:00
Renz Bagaporo
6f7072fc03
arch: move esp_attr.h to esp_common
2021-02-26 13:34:29 +08:00
Renz Bagaporo
91a5770fd2
arch: move shared stack implementation to esp_system
2021-02-26 13:34:29 +08:00
Cao Sen Miao
a8343bc470
esp_system: support gpio wakeup from deep sleep on esp32c3
2021-02-26 12:26:49 +08:00
Xia Xiaotian
ce8b996ca0
esp_wifi: synchronize Wi-Fi adapter between different chips
...
Support preferring to allocate Wi-Fi memory from PSRAM on ESP32-S3
Support Wi-Fi TX cache buffer on ESP32-S3
2021-02-26 11:29:50 +08:00
Xia Xiaotian
f53c0c5b87
esp_wifi: store PHY digital registers before disabling PHY and load
...
them after enabling PHY
2021-02-26 11:29:50 +08:00
Jiang Jiang Jian
e417960838
Merge branch 'feature/support_disable_11b_rate' into 'master'
...
esp_wifi: optimize wifi rate.
See merge request espressif/esp-idf!11782
2021-02-26 03:21:48 +00:00
Angus Gratton
15f48d8a2c
Merge branch 'bugfix/esp_efuse_rtc_calib_inc_fix' into 'master'
...
temp_sensor: fix broken include path
See merge request espressif/esp-idf!12521
2021-02-26 03:13:38 +00:00
Anton Maklakov
3a629afb06
Merge branch 'feature/type_checking_python' into 'master'
...
CI:Type checking of Python scripts
Closes IDF-2413
See merge request espressif/esp-idf!12287
2021-02-26 03:06:37 +00:00
Wang Fang
776684fa84
docs: provide the link to pcb layout for ethernet board v1.2 and fix a typo in freetos/task
2021-02-26 10:35:21 +08:00
Marius Vikhammer
06abe3413f
temp_sensor: fix broken include path
2021-02-26 10:25:05 +08:00
Angus Gratton
b4612a2f14
Merge branch 'feature/coredump_refactor_riscv_support' into 'master'
...
espcoredump: code refactoring and add support for RISC-V implementation
Closes ESP-1758
See merge request espressif/esp-idf!11850
2021-02-25 22:41:27 +00:00
Angus Gratton
ecf2134bc4
Merge branch 'feature/libsodium_ut_enable' into 'master'
...
libsodium: Enables UTs for ESP32-S2 & C3
Closes IDF-1423
See merge request espressif/esp-idf!12497
2021-02-25 22:40:19 +00:00
Angus Gratton
cbc58b85e2
Merge branch 'feature/adds_check_in_app_that_flash_enc_is_on' into 'master'
...
bootloader: Adds a check that app is run under FE
Closes IDF-640
See merge request espressif/esp-idf!12368
2021-02-25 22:39:13 +00:00
Angus Gratton
501af6dfa2
Merge branch 'feature/secure_boot_revoke_check' into 'master'
...
secure_boot: Checks secure boot efuses
Closes IDF-2609
See merge request espressif/esp-idf!12148
2021-02-25 22:38:42 +00:00
aleks
0d3f19beea
freemodbus: fix mb zero based reg address in the iterator
...
Fixes https://github.com/espressif/esp-idf/issues/6571
2021-02-25 15:17:45 +01:00
Michael (XIAO Xufeng)
eb29d8dbda
Merge branch 'feature/support_invert_rmt_signal_in_gpio_matrix' into 'master'
...
rmt: support inverting signal in gpio matrix
Closes IDF-2762
See merge request espressif/esp-idf!12420
2021-02-25 11:14:19 +00:00
KonstantinKondrashov
e29b99f1a5
libsodium: Enables UTs for ESP32-S2 & C3
2021-02-25 10:41:59 +00:00
ChenJianxing
0a8ba88145
esp_wifi: optimization wifi rate
...
1.support disable 11b rate
2.support config espnow rate
3.fix sta negotiate phymode issue
4.update ftm rate
2021-02-25 10:21:46 +00:00
Jiang Jiang Jian
e290d1ff41
Merge branch 'bugfix/fix_eb_lldesc_size_issue_for_esp32c3' into 'master'
...
bugfix/fix_eb_lldesc_size_issue_for_esp32c3
See merge request espressif/esp-idf!12489
2021-02-25 09:33:57 +00:00
Michael (XIAO Xufeng)
268289eade
Merge branch 'docs/spi_flash_auto_suspend' into 'master'
...
spi_flash: update docs after adding CONFIG_SPI_FLASH_AUTO_SUSPEND
See merge request espressif/esp-idf!12290
2021-02-25 09:16:10 +00:00
Tomas Sebestik
a22597a2d6
Add mypy check to pre-commit-config
2021-02-25 07:05:43 +00:00
Omar Chebib
78a94dbb6c
freertos: Fix delay between interrupt request and trigger on RISC-V
...
NOP instructions have been added in order to prevent the code
from executing code it shouldn't execute. This is due to a delay
between the moment an interrupt is requested and the moment it
is fired. It only happens on RISC-V SoC.
2021-02-25 06:57:59 +00:00
morris
efa92cb204
rmt: support invert RMT signal by GPIO matrix
2021-02-25 12:42:23 +08:00
morris
7b37158ede
rmt: distinguish group and channel in HAL layer
2021-02-25 12:42:23 +08:00
Aditya Patwardhan
bf513b6f31
Fix esp_tls: Prevent freeing of global ca store after each connection
...
when dynamic ssl buffers are enabled
2021-02-25 00:26:13 +00:00
Angus Gratton
a0eb455ec3
Merge branch 'refactor/misc_move_from_esp_common' into 'master'
...
Movements from esp_common
Closes IDF-1947
See merge request espressif/esp-idf!9692
2021-02-24 23:16:52 +00:00
David Čermák
a91e2744d5
Merge branch 'feature/support_dynamic_payload_len_for_ws_server' into 'master'
...
esp_http_server: support dynamic payload len for ws server
Closes IDFGH-4619
See merge request espressif/esp-idf!12235
2021-02-24 15:41:42 +00:00
Michael (XIAO Xufeng)
2f78b2e46f
Merge branch 'bugfix/fix_spi_slv_hd_dma_reset_issue' into 'master'
...
spi_slave_hd: fix dma reset issue
See merge request espressif/esp-idf!12275
2021-02-24 12:41:33 +00:00
Michael (XIAO Xufeng)
476fdcba68
spi_flash: update docs after adding CONFIG_SPI_FLASH_AUTO_SUSPEND
2021-02-24 20:20:18 +08:00
yuanjm
cd521d4ae3
esp_http_server: support dynamic payload len for ws server
...
Closes https://github.com/espressif/esp-idf/issues/6433
2021-02-24 11:40:34 +00:00
Mahavir Jain
56ca89f0f5
Merge branch 'bugfix/esp_wifi_deinit' into 'master'
...
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
See merge request espressif/esp-idf!12292
2021-02-24 11:40:14 +00:00
David Čermák
5f0aa46cbf
Merge branch 'feature/seperate_ipv6_function_from_ipv4' into 'master'
...
Add LWIP_IPV6 macro to strip IPv6 function
See merge request espressif/esp-idf!11977
2021-02-24 11:20:53 +00:00
Angus Gratton
a38b2c2773
Merge branch 'bugfix/ci_ut_esp_timer_isr_dispath_method_is_not_blocked' into 'master'
...
esp_timer: Fix Test ESP_TIMER_ISR dispatch method is not blocked
Closes IDFCI-470
See merge request espressif/esp-idf!12484
2021-02-24 10:07:47 +00:00
dongyou
059ffa6daf
change rom function for esp32c3 to fix eb lldesc size issue
2021-02-24 17:45:07 +08:00
Michael (XIAO Xufeng)
7ef60b8bde
Merge branch 'bugfix/gdma_pair_uninstall_concurrency_issue' into 'master'
...
gdma: fix wrong level of {group,pair} reference count
See merge request espressif/esp-idf!12269
2021-02-24 09:33:33 +00:00
KonstantinKondrashov
7bbf4a3422
esp_timer: Fix Test ESP_TIMER_ISR dispatch method is not blocked
2021-02-24 16:08:17 +08:00
Angus Gratton
f72c296827
Merge branch 'bugfix/deepsleep_disable_brownout_s2' into 'master'
...
deep_sleep: on S2 disable the brown out detector before deep sleeping
Closes IDF-2716 and IDFGH-4341
See merge request espressif/esp-idf!12348
2021-02-24 05:48:19 +00:00
Shubham Kulkarni
cbe281130d
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
...
Add test case to test this workflow
2021-02-24 10:52:57 +05:30
Angus Gratton
d3bd190528
Merge branch 'feature/riscv_get_tickrate' into 'master'
...
freertos: add API for getting tick rate on C3
Closes IDF-2849
See merge request espressif/esp-idf!12469
2021-02-24 04:37:23 +00:00
Renz Bagaporo
43f6c7a533
esp_common: simplify component build script
2021-02-24 12:16:37 +08:00
Renz Bagaporo
349f0cad3e
esp_common: other movements
2021-02-24 12:16:37 +08:00
Renz Bagaporo
51e66d0f82
esp_common: move configs
2021-02-24 12:16:37 +08:00
Renz Bagaporo
03dce3668c
esp_common: move tests
2021-02-24 12:16:37 +08:00
Renz Bagaporo
5e8799bbfe
esp_common: move some headers
2021-02-24 12:16:37 +08:00
Renz Bagaporo
c16ceafa5c
esp_common: move esp_err
2021-02-24 12:16:37 +08:00
Renz Bagaporo
91287f424b
esp_common: move shared stack
2021-02-24 12:16:37 +08:00
Renz Bagaporo
0e0914476c
esp_common: move freertos hooks
2021-02-24 12:16:37 +08:00
Renz Bagaporo
840e2c0e50
esp_common: move stack check
2021-02-24 12:16:37 +08:00
Renz Bagaporo
883aba20be
esp_common: move stack check
2021-02-24 12:16:37 +08:00
Renz Bagaporo
5a56f794ec
esp_common: move dbg stubs
2021-02-24 12:16:37 +08:00
Renz Bagaporo
1d55e6d6b8
esp_common: move brownout init
2021-02-24 12:16:37 +08:00
Renz Bagaporo
deaad431f4
esp_common: move task, int wdt
2021-02-24 12:16:37 +08:00
Renz Bagaporo
5fce7f4a41
esp_common: move dbg_stubs
2021-02-24 12:16:37 +08:00
Renz Bagaporo
ae15c81dbe
esp_common: move to esp_hw_support
2021-02-24 12:16:37 +08:00
Armando
346dea206e
spi_slv_hd: add hal_trans_finish comments for clarifying risk
2021-02-24 12:01:31 +08:00
Armando
8d90d3072c
spi_slave_hd: refactor the hal append api to remove the spinlock
2021-02-24 12:01:31 +08:00
Michael (XIAO Xufeng)
34b4c88405
Merge branch 'refactor/mcpwm_cleanup_meta_info' into 'master'
...
mcpwm: fix wrong soc information
See merge request espressif/esp-idf!12429
2021-02-24 03:59:23 +00:00
morris
9f1c82d547
gdma: fix wrong level of {group,pair} ref count
2021-02-24 11:38:57 +08:00
morris
e926298160
async_mcp: clean eof flag when prepare rx descriptors
2021-02-24 11:38:57 +08:00
Michael (XIAO Xufeng)
db1c635db4
Merge branch 'feature/esp32c3_rtc_temp_calibration' into 'master'
...
temperature_sensor: calibration for esp32c3
Closes IDF-2502
See merge request espressif/esp-idf!12158
2021-02-24 03:27:49 +00:00
Angus Gratton
c179ece204
Merge branch 'bugfix/c++_usage_esp_core_dump_h' into 'master'
...
Fixed c++ include usage for esp_core_dump.h
Closes IDFGH-4782
See merge request espressif/esp-idf!12432
2021-02-24 03:18:25 +00:00
Mahavir Jain
96b6e37346
Merge branch 'feature/add_provisioning_rest_api' into 'master'
...
wifi_provisioning: add provisioning reset API
Closes IDF-1742
See merge request espressif/esp-idf!12405
2021-02-23 13:26:31 +00:00
Angus Gratton
608f9471cb
Merge branch 'bugfix/test_nvs_host_cleanup' into 'master'
...
nvs_flash: Fix the random data test cleanup stage
Closes IDFCI-241
See merge request espressif/esp-idf!11659
2021-02-23 10:40:17 +00:00
yuanjm
31a20088af
lwip: Fix spelling issues in lwip_debug.c
2021-02-23 18:26:03 +08:00
yuanjm
da58235a0e
components: Use CONFIG_LWIP_IPV6 to strip IPv6 function in components
2021-02-23 18:26:03 +08:00
yuanjm
d80db218da
lwip: Add LWIP_IPV6 macro to strip IPv6 function in LWIP component
2021-02-23 18:26:03 +08:00
Mahavir Jain
d8f2a57154
Merge branch 'bugfix/fix_truncated_headers_for_esp_http_client' into 'master'
...
esp_http_client: Fix header truncated when responded header length over buffer_size
Closes IDFGH-4315
See merge request espressif/esp-idf!12327
2021-02-23 10:24:18 +00:00
Angus Gratton
47de421a0a
esp32s2 ds: Fix invalidating Digital Signature key from HMAC peripheral if assertions are disabled
2021-02-23 18:18:40 +11:00
xiehang
7cca13640e
esp_wifi: some small fixes for ftm
2021-02-23 06:36:02 +00:00
Angus Gratton
fb1488abba
Merge branch 'feature/esp_timer_isr_dispatch_method_restore' into 'master'
...
esp timer: Add ISR dispatch method
Closes IDF-1172 and IDF-1173
See merge request espressif/esp-idf!11572
2021-02-23 06:21:14 +00:00
yuanjm
49f3fba14d
wifi_provisioning: Add an API for resetting provisioning config
2021-02-23 14:21:06 +08:00
yuanjm
e309a0ea6f
esp_http_client: Optimize code structure
2021-02-23 14:09:40 +08:00
Marius Vikhammer
311a0fa5e8
freertos: add API for getting tick rate on C3
2021-02-23 12:05:52 +08:00
Cao Sen Miao
85855ad8a6
temp_sensor: add calibration for esp32c3
2021-02-23 10:48:17 +08:00
Clickau
308c31e2f1
esp_http_client: fix truncated headers
...
Signed-off-by: yuanjm <yuanjianmin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6370
2021-02-23 09:59:23 +08:00
Angus Gratton
c553430b0c
nvs_flash: Fix host test regressions
...
Regression in 09d2c5daa6
- in some
cases the test fixture was out of scope by the time
nvs_flash_deinit_partition() was called in this test.
2021-02-23 10:30:24 +11:00
KonstantinKondrashov
90f2d3199a
secure_boot: Checks secure boot efuses
...
ESP32 V1 and V2 - protection bits.
ESP32xx V2: revoke bits, protection bits
- refactor efuse component
- adds some APIs for esp32 chips as well as for esp32xx chips
2021-02-23 03:56:21 +08:00
morris
bf2480f62d
efuse: can disable boot ROM log from Kconfig
2021-02-22 20:56:43 +08:00
morris
0f5d1c1c46
rtc: supported disable rom log temporarily
2021-02-22 20:56:43 +08:00
morris
6dc7f95342
mcpwm: fix wrong meta information
2021-02-22 20:23:35 +08:00
Omar Chebib
727481d71c
gpio: enable GPIO19 on ESP32C3 boards
2021-02-22 08:44:55 +00:00
Armando
889de9ebd9
spi: add enum for spi dma channels
2021-02-22 07:06:05 +00:00
Armando
d0415bd8f6
spi: remove hard-coded DMA chan in soc_caps.h
2021-02-22 07:06:05 +00:00
Armando
db3bf8b544
spi: refactor spi_common dma allocator
2021-02-22 07:06:05 +00:00
Armando
c8d9ed1f3d
spi: update unit tests to spi gdma allocator
2021-02-22 07:06:05 +00:00
Armando
c438ad5d72
spi: apply gdma allocator to SPI
2021-02-22 07:06:05 +00:00
Armando
2e670bf6af
spi: add dma channel auto-alloc feature on esp32
2021-02-22 07:06:05 +00:00
0xFEEDC0DE64
5a956f8b5e
Fixed c++ include usage for esp_core_dump.h
2021-02-20 22:27:45 +01:00
Ivan Grokhotkov
a57d5813bf
Merge branch 'bugfix/esp32_rtc_mem_registers_llvm_assembler' into 'master'
...
soc esp32: Removes parentheses from RTC_MEM_xyz macros that expand directly to single numbers
See merge request espressif/esp-idf!12331
2021-02-19 15:58:36 +00:00
Michael (XIAO Xufeng)
f5f6c59e63
Merge branch 'feature/apply_gdma_new_channel_api_to_adc' into 'master'
...
adc: apply gdma new channel api to adc
Closes IDF-2500
See merge request espressif/esp-idf!12008
2021-02-19 13:07:32 +00:00
Angus Gratton
bd0e915c46
Merge branch 'bugfix/esp32s2_disable_bss_extram' into 'master'
...
esp32s2: disable bss extram option, clean up spiram init code a bit
See merge request espressif/esp-idf!11886
2021-02-19 07:01:17 +00:00
Angus Gratton
084c38a011
Merge branch 'bugfix/riscv_stack_alignment' into 'master'
...
core: fix cases where riscv SP were not 16 byte aligned
Closes IDF-2745
See merge request espressif/esp-idf!12413
2021-02-19 05:59:39 +00:00
Marius Vikhammer
c36dd7834f
core: fix cases where riscv SP were not 16 byte aligned
...
RISC-V stack pointer should always be 16 byte aligned, but for some cases where
we were doing manual SP manipulation this was not always the case.
2021-02-19 11:26:21 +08:00
Angus Gratton
8c799e6469
Merge branch 'bugfix/newlib_header_additional_defines' into 'master'
...
newlib: fix possible redefinition of likely/unlikely macros
Closes IDFGH-4631
See merge request espressif/esp-idf!12370
2021-02-19 02:35:28 +00:00
Angus Gratton
9830fcaff9
Merge branch 'bugfix/c3_unit_test_cleanup' into 'master'
...
System: C3 shared stack watchpoint & unit test cleanups
Closes IDF-2458, IDF-2719, and IDF-1422
See merge request espressif/esp-idf!12183
2021-02-18 23:15:53 +00:00
Angus Gratton
c7c43df0da
esp_common: Correctly disable ".bss segment placed in external memory" for ESP32-S2 & ESP32-S3
...
Support for this feature is still pending.
As reported by https://github.com/espressif/esp-idf/issues/6162
2021-02-19 09:13:38 +11:00
zwj
f344a65af5
fix crash caused by spp pairing cancel
2021-02-18 21:10:25 +08:00
Marius Vikhammer
0a4e5c99f9
deep_sleep: on S2 disable the brown out detector before deep sleeping
...
On S2 the brown out detector would occasionally trigger erroneously during deep sleep.
Disable it before sleeping to circumvent this issue.
Closes https://github.com/espressif/esp-idf/issues/6179
2021-02-18 18:39:06 +08:00
Krzysztof Budzynski
9274abf5c9
Merge branch 'doc/nvs_get_used_entry_count__clarify' into 'master'
...
[doc]: NVS documentation updates
Closes IDF-1563, DOC-165, and IDF-859
See merge request espressif/esp-idf!12056
2021-02-18 10:36:16 +00:00
Marius Vikhammer
eec2419390
system: enable shared stack watchpoint
...
Enable shared stack watchpoint for overflow detection
Enable unit tests:
* "test printf using shared buffer stack" for C3
* "Test vTaskDelayUntil" for S2
* "UART can do poll()" for C3
2021-02-18 15:38:30 +08:00
Marius Vikhammer
e52e75f2de
spi_flash: disable mmap into instr space unit test for C3
...
On C3 the cache is programmatically split between Icache and dcache and with the default setup we dont leave a lot pages
available for additional mmaps into instruction space. Disabling this test for now since any hypothetical use case for this
is no longer supported "out of the box"
2021-02-18 15:38:30 +08:00
Angus Gratton
ecdc214466
esp32s2: Simplify the code for adding spiram to heap
2021-02-18 16:27:43 +11:00
Angus Gratton
f5685e6a64
esp32s2: Remove unused option CONFIG_SPIRAM_USE_AHB_DBUS3
2021-02-18 16:27:43 +11:00
Marius Vikhammer
451465ff8c
esp_timer: fix "esp_timer orders timers correctly" headerline handling
...
Discard header lines from esp_timer_dump that comes before the actual timer
info. "esp_timer orders timers correctly" would crash when reading the header lines.
2021-02-18 11:59:42 +08:00
Ivan Grokhotkov
674cfe4fd2
Merge branch 'bugfix/nvs_encryption_keys' into 'master'
...
NVS: fix nvs_flash_generate_keys to generate random keys (Github PR)
See merge request espressif/esp-idf!12205
2021-02-17 09:44:19 +00:00
David Čermák
e615d10b4f
Merge branch 'feature/transport_tcp_connection_errors' into 'master'
...
tcp_transport/esp_tls: Use common TCP transport to reduce code duplication
Closes IDFGH-4405
See merge request espressif/esp-idf!12136
2021-02-16 13:32:47 +00:00
yuanjm
cd01a0ca81
websocket: Add websocket unit tests
2021-02-16 08:29:28 +00:00
David Cermak
1921ae8973
tcp_transport: Reduce lwip dependecy for tcp_transport/http_client
2021-02-16 09:01:35 +01:00
David Cermak
eb772e152c
esp_tls: Fix unresolved lwip symbol when complex dependency tree
2021-02-16 09:01:35 +01:00
David Cermak
5cfa545d08
esp-tls: Added _esp_tls_net_init to init fd for both mbedtls/wolfssl
2021-02-16 09:01:35 +01:00
David Cermak
4375f888fa
esp-tls: Fix wolfssl error codes for WANT_READ/WANT_WRITE
...
wolfSSL error codes are mostly positive numbers, but esp-tls potentially
non-block API (read/write) returns ssize_t, i.e. bytes read/written if
>0, errorcode otherwise. To comply with this API we have to conditionate
the wolfssl return codes to negative numbers, preferably the same codes
as mbedTLS codes.
2021-02-16 09:01:35 +01:00
David Cermak
2d25252746
esp-tls: Rework tcp_connect() to use more subroutines
...
Refactored the esp_tcp_connect() functionality to break it down to
* dns-resolution + socket creation
* set configured socket options
* set/reset non-block mode
* the actual connection in non-blocking mode
2021-02-16 09:01:35 +01:00
David Cermak
1fa0db8d44
tcp_transport: Allow for using transport independently from list
...
For compatibility reasons, support also transports separately if the transport is used
before attaching to parent list. In this case we create an internal context which is
independent on the foundation transport and used preferably
2021-02-16 09:01:35 +01:00
David Cermak
99805d880f
websockets: Set keepalive options after adding transport to the list
...
To be in line with other code and mainly to support base/foundation transport used by both tcp and ssl transport layers
2021-02-16 09:00:43 +01:00
David Cermak
0e97517a1c
tcp_transport: Add unit test to exercise tcp/ssl transport init
2021-02-16 09:00:43 +01:00
David Cermak
4e394bcbce
esp-tls: Extend error types with TCP clean close error
2021-02-16 09:00:43 +01:00
David Cermak
6b318fe583
esp_tls: Updated connection method to use non-blocking connect
...
For better control over connection timeouts
To be in line with former tcp_transport, as esp-tls is not used for
plain tcp transports
2021-02-16 09:00:43 +01:00
David Cermak
2c28ffffee
tcp_transport/esp_tls: Use common TCP transport to reduce code duplication
...
For high level review of the changes.
2021-02-16 09:00:43 +01:00
David Cermak
391d7bf271
tcp_transport: Add TCP transport connection errors
...
Transport's error_handle is used to capture different types of errors
including esp_err_t from esp-tls and socket/system errors.
This change adds the following error codes for TCP transport:
* connection closed by a FIN flag (clean closure from server)
* DNS resolution problem
* connection timeout
These errors are already defined in esp-tls component and since this
component will be used in the future for both TCP and SSL transport, we
currently report these issues in transport::error_handle::esp_tls_last_error
of standard esp error type (esp_err_t)
Closes https://github.com/espressif/esp-mqtt/issues/182
2021-02-16 09:00:43 +01:00
Angus Gratton
fc945be7f8
Merge branch 'bugfix/freemodbus_fix_parity_propagation_issue' into 'master'
...
freemodbus: fix mb controller parity propagation issues
Closes IDFGH-4560
See merge request espressif/esp-idf!11951
2021-02-15 22:55:38 +00:00
KonstantinKondrashov
11a2f2acd3
bootloader: Adds a check that app is run under FE
2021-02-15 20:33:50 +08:00
Angus Gratton
7d27ddc502
Merge branch 'bugfix/aes_dma_completion' into 'master'
...
mbedtls: Fix AES dma completion race condition
See merge request espressif/esp-idf!12257
2021-02-15 08:23:07 +00:00
aleks
b554d4d34d
freemodbus: fix mb controller parity propagation issues
...
Closes https://github.com/espressif/esp-idf/issues/6377
2021-02-15 08:39:18 +01:00
suren.gabrielyan
2b9d2c06f5
mdns: add bound check when setting interface as duplicate
...
Closes IDF-2787
Partially addresses https://github.com/espressif/esp-idf/issues/6440
2021-02-15 06:43:51 +00:00
Angus Gratton
e3b7337f03
esp_common: Don't redefine likely/unlikely if already defined
...
As these macros aren't namespaced, they may have been defined by another header.
Also reported in https://github.com/espressif/esp-idf/issues/6445
2021-02-12 15:30:24 +11:00
Angus Gratton
7778779489
newlib: Avoid introducing ESP-IDF macros from newlib platform headers
...
Also, rewrite the assert.h header to be clearer
Closes https://github.com/espressif/esp-idf/issues/6445
2021-02-12 15:18:05 +11:00
Angus Gratton
89b6baf2b8
mbedtls tests: Add optional debug log output to AES stream tests
2021-02-12 04:08:12 +00:00
Angus Gratton
e7563fe704
mbedtls aes dma: Fix bug where DMA would complete when the first output descriptor was done, not the last
2021-02-12 04:08:12 +00:00
Sachin Parekh
e6ccb812b2
esp_pm: Label each column of lock dump
2021-02-11 18:44:51 +05:30
Sachin Parekh
296d10e675
esp_timer: Label each column of timer dump
2021-02-11 18:40:51 +05:30
Angus Gratton
1544f64166
Merge branch 'bugfix/pvs_studio_freertos' into 'master'
...
freertos: fix errors reported by PVS-Studio
Closes IDF-2784
See merge request espressif/esp-idf!12337
2021-02-11 15:32:18 +08:00
David Čermák
c665bcf733
Merge branch 'bugfix/doc_wifi_default_init' into 'master'
...
esp_netif: Update documentation on deinitialization of wifi default netif
Closes IDFGH-4692
See merge request espressif/esp-idf!12300
2021-02-11 14:15:51 +08:00
David Čermák
61f3af0ae7
Merge branch 'test/modbus_lwip_issue' into 'master'
...
modbus: Exit server task gracefully to correctly cleanup lwip internals
Closes IDFGH-4432
See merge request espressif/esp-idf!12075
2021-02-11 14:15:10 +08:00
Angus Gratton
4eb9cc68a6
esp_event test: Disable linker relaxations in this component, to temporarily workaround a linker bug
2021-02-11 17:00:55 +11:00
Marius Vikhammer
d294ac381f
freertos: fix errors reported by PVS-Studio
...
Removed leftover code-paths that were never taken. Upstream freertos uses
vTaskSuspendAll() and xTaskResumeAll(), and therefor check if the task already
yielded.
In the IDF port of freertos we use critcal sections instead, so xAlreadyYielded
will never be set.
Partially addresses https://github.com/espressif/esp-idf/issues/6440
2021-02-11 03:15:04 +00:00
Renz Bagaporo
2eb563406f
esp_hw_support: fix esp_restart crash
...
Closes https://github.com/espressif/esp-idf/issues/6297
2021-02-10 23:38:17 +00:00
Angus Gratton
807c8549e1
Merge branch 'bugfix/esp32s2_wakeup_from_light_sleep_fix' into 'master'
...
esp32s2 light sleep fix
Closes IDFCI-122
See merge request espressif/esp-idf!10269
2021-02-11 07:34:57 +08:00
David Cermak
cab1b3507a
esp_netif: Add unit test to exercise default wifi setup/teardown cycle
2021-02-10 13:28:36 +00:00
David Cermak
898cac0061
modbus: Exit server task gracefully to correctly cleanup lwip internals
...
Current lwip implementation does not support deleting a task which is
actively waiting on `select()` or `poll()` API.
Therefore we have to make sure that `select()` exits to deallocate its internal
callback before deleting the task. This is achieved by a shutdown
semaphore which informs the client once the `select()` exitted.
fix slave
2021-02-10 13:12:54 +00:00
Angus Gratton
73db142403
Merge branch 'update/v4.4-dev' into 'master'
...
version: Update to v4.4-dev
See merge request espressif/esp-idf!12339
2021-02-10 14:44:57 +08:00
Mahavir Jain
e3d50e009a
Merge branch 'fix/esp_tls_typo' into 'master'
...
Fix/esp_tls_mispaced_paranthesis
Closes IDF-2750 and IDF-2751
See merge request espressif/esp-idf!12295
2021-02-10 13:57:13 +08:00
Angus Gratton
c8315e0110
version: Update to v4.4-dev
2021-02-10 16:07:24 +11:00
Angus Gratton
4ce47b0394
Merge branch 'feature/master_build_c3_example' into 'master'
...
CI: enable example builds for C3
Closes IDF-2364
See merge request espressif/esp-idf!11968
2021-02-10 11:54:26 +08:00
Aditya Patwardhan
d36479728c
protocomm: Fixed NULL check of allocated memory
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-02-10 02:07:58 +00:00
Aditya Patwardhan
0175c68400
esp_tls: Fix misplaced paranthesis in esp_tls_mbedtls.c
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-02-10 02:07:58 +00:00
Michael (XIAO Xufeng)
2c0962f727
Merge branch 'feature/spi_flash_auto_suspend_default_on_c3' into 'master'
...
spi_flash: make the auto_suspend default y on C3
See merge request espressif/esp-idf!12233
2021-02-09 19:50:48 +08:00
Island
b88ec36635
Merge branch 'bugfix/ignore_null_valued_comb_key' into 'master'
...
component/bt: Added check for NULL valued combination key.
See merge request espressif/esp-idf!12239
2021-02-09 19:49:25 +08:00
Island
3f821b1d65
Merge branch 'bugfix/ble_mesh_server_model_deinit' into 'master'
...
ble_mesh: stack: Fix deinit server models with no matching id
See merge request espressif/esp-idf!12312
2021-02-09 16:26:38 +08:00
Chinmay Chhajed
368ba6b077
component/bt: Added check for NULL valued combination key.
2021-02-09 12:09:32 +05:30
Chinmay Chhajed
fb3a382fe4
Bluedroid: Do not initiate/accept connection with device having same BDADDR.
...
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-09 12:09:15 +05:30
Chinmay Chhajed
5596f37af1
bt: removed esp_bt_get_mac()
...
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-09 12:09:15 +05:30
Angus Gratton
2c39010b3b
Merge branch 'bugfix/anti_rollback_without_test_app' into 'master'
...
bootloader: Anti-rollback mode doesn't run test_app
See merge request espressif/esp-idf!12225
2021-02-09 14:16:51 +08:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Angus Gratton
1de3f00012
Merge branch 'bugfix/SECURE_DISABLE_ROM_DL_MODE_does_not_work' into 'master'
...
bootloader: SECURE_ENABLE_SECURE_ROM_DL_MODE cannot be y when SECURE_DISABLE_ROM_DL_MODE=y
See merge request espressif/esp-idf!12288
2021-02-09 11:09:09 +08:00
Angus Gratton
49c442b12f
Merge branch 'feature/efuse_update_description' into 'master'
...
efuse: Updates description of uart_print_control efuse
Closes IDF-2705
See merge request espressif/esp-idf!12236
2021-02-09 11:02:26 +08:00
Xia Xiaotian
b71481093a
esp_wifi: fix some Wi-Fi scan and coexist bugs
...
1. Fix the bug that Wi-Fi performance is impacted by BLE starting scan for a while in some scenarios on ESP32-C3.
2. Fix the bug that Wi-Fi performance is impacted when Bluetooth change state for a while in some scenarios on ESP32-C3.
3. Fix the bug that BLE performance is impacted by Wi-Fi scan on ESP32-C3.
4. Fix the bug that Wi-Fi scan fails when BLE is scanning on ESP32-C3.
5. Fix Wi-Fi ACK and CTS rate when low rate is disabled on ESP32-C3.
2021-02-08 21:20:09 +08:00
wangmengyang
44dd496bea
update esp32c3 btbb lib 21-02-08 and set coexist state when in scan(initiating) mode
2021-02-08 21:19:59 +08:00
KonstantinKondrashov
63d4911cdb
esp_timer: Add ESP_TIMER_ISR dispatch method
...
Using own spinlock for each list (TASK and ISR disp method)
Reduced the dependency of ISR on the TASK dispatch method
2021-02-08 19:10:11 +08:00
KonstantinKondrashov
bcbee89030
esp_timer: Add a Kconfig option to configure the interrupt level
2021-02-08 18:27:10 +08:00
KonstantinKondrashov
43ebb8ea61
efuse: Updates description of uart_print_control efuse
2021-02-08 18:02:55 +08:00
zwj
52909b69b7
fix esp32c3 can't enable adv flow control func
2021-02-08 16:33:20 +08:00
Armando
5427c18781
adc: apply gdma api to adc on esp32c3
2021-02-08 11:41:21 +08:00
Jakob Hasse
916f02164e
[doc]: NVS documentation updates
...
* Move nvs flash README to common doc directory
* correct markup of functions and types in text
from old README
* Better comment of nvs_get_used_entry_count()
* Mention C++ example in API reference
* Used target instead of hard code ESP32
* Note that strings can only span one page
* Reflect that item types have been moved
* Some clarification about nvs_commit()
* Improved reference to the ESP Partition API
* fixed little mistake in documenting-code.rst
* Change of nvs_open_from_part() to
nvs_open_from_partition() reflected in docs
* Corrected documentation of
NVSHandle::get_string(), NVSHandle::get_blob()
and NVSHandle::get_item_size().
* Closes DOC-165
* Closes IDF-1563
* Closes IDF-859
* Closes https://github.com/espressif/esp-idf/issues/6123
2021-02-08 09:31:23 +08:00
Angus Gratton
2ec04b57de
soc esp32: Removes parentheses from RTC_MEM_xyz macros that expand directly to single numbers
...
Not necessary in these cases, and prevents parens from expanding into the
assembly code such as added in 562ab01046
-
a pattern which is accepted by GCC assembler but illegal syntax for LLVM assembler.
As reported https://github.com/espressif/llvm-project/issues/35#issuecomment-726853574
2021-02-08 10:08:01 +11:00
Nachiket Kukade
f9ff3da5d4
wpa_supplicant: Fix error handling in DPP Action Rx
...
1. Fix error handling while receiving DPP Action frames
2. Update wifi lib to avoid forwarding Public action frames
with NULL bss
2021-02-07 23:23:34 +08:00
Omar Chebib
e9996ebd4b
espcoredump: code refactoring and add support for RISC-V implemetation
...
This commit includes the refactoring of the core dump feature. Thanks to
this refactoring, it is easier to integrate the support of RISC-V
architecture for this feature.
Fixes ESP-1758
2021-02-07 19:04:19 +08:00
lly
d3cc004803
ble_mesh: stack: Fix deinit server models with no matching id
2021-02-07 11:12:25 +08:00
Jiang Jiang Jian
d1cc9e98b7
Merge branch 'bugfix/fix_wifi_connect_fail' into 'master'
...
WiFi: fix the bug that wifi connect fail for ESP32C3
See merge request espressif/esp-idf!12308
2021-02-06 02:35:43 +08:00
Jack
2859c7ebd1
fix the bug that wifi connect fail
2021-02-06 00:12:37 +08:00
Michael (XIAO Xufeng)
747ac00f9b
Merge branch 'bugfix/flash_encyption_80Mflash_40Mram' into 'master'
...
flash_encryption/psram: fixed the issue that block when flash_encryption_write
See merge request espressif/esp-idf!12177
2021-02-05 22:00:26 +08:00
Cao Sen Miao
c1b41ece32
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-02-05 20:10:42 +08:00
Michael (XIAO Xufeng)
423a5458dc
Merge branch 'bugfix/support_new_BYflash_chip_boot' into 'master'
...
spi_flash: add external flash support on esp32c3
Closes IDF-2650, IDF-2651, and IDF-2399
See merge request espressif/esp-idf!12121
2021-02-05 20:03:24 +08:00
Jiang Jiang Jian
17257b63ed
Merge branch 'bugfix/modify_coexist_options' into 'master'
...
modify Bluetooth coexistence options on ESP32C3
See merge request espressif/esp-idf!12244
2021-02-05 19:45:40 +08:00
Yann Pomarède
ee400f8b68
bootloader: SECURE_ENABLE_SECURE_ROM_DL_MODE cannot be y when SECURE_DISABLE_ROM_DL_MODE=y
...
Closes: https://github.com/espressif/esp-idf/pull/6442
2021-02-05 18:38:17 +08:00
wangmengyang
2dd730d35c
component/bt: [esp32c3] modify Bluetooth coexistence options
2021-02-05 09:16:29 +00:00
Kapil Gupta
00b1738197
esp_wifi: Fixed crash issue in presence of WEP AP
2021-02-05 09:13:24 +00:00
Jiang Jiang Jian
919e674f6e
Merge branch 'bugfix/bcn_timeout_with_power_down' into 'master'
...
components/coex: Fix bcn timeout with MAC BB power down
See merge request espressif/esp-idf!12285
2021-02-05 17:10:26 +08:00
Michael (XIAO Xufeng)
822a40a6cf
Merge branch 'fix/adc_xpd_calibration' into 'master'
...
adc: fixed the issue that ADC power is left on after the calibration is done
See merge request espressif/esp-idf!12207
2021-02-05 16:28:53 +08:00
baohongde
f8d85768b0
components/coex: Fix bcn timeout with MAC BB power down
2021-02-05 14:30:04 +08:00
Michael (XIAO Xufeng)
351ba5ff9e
adc: fixed the issue that ADC power is left on after the calibration is done
...
Also refactor the locks in the adc_common.c file.
2021-02-05 14:17:52 +08:00
Angus Gratton
fe44643808
Merge branch 'bugfix/doc_freertos_smp_macros' into 'master'
...
docs: Update SMP descriptions for taskENTER_CRITICAL/taskEXIT_CRITICAL
Closes IDFGH-4428
See merge request espressif/esp-idf!12219
2021-02-05 08:14:50 +08:00
Angus Gratton
bc09dda0f4
docs: Update SMP descriptions for taskENTER_CRITICAL/taskEXIT_CRITICAL
...
Closes https://github.com/espressif/esp-idf/issues/6259
2021-02-05 10:18:23 +11:00
Michael (XIAO Xufeng)
09b827b2c8
Merge branch 'feature/spi_slave_double_board_test_for_slave_transaction' into 'master'
...
spi slave: add a double board test for esp32c3 relating to sending/receiving unaligned data
See merge request espressif/esp-idf!11153
2021-02-05 00:51:24 +08:00
Jiang Jiang Jian
3554981c8a
Merge branch 'bugfix/support_esp32c3_rom_eco3' into 'master'
...
esp_wifi: support esp32c3 rom eco3
See merge request espressif/esp-idf!12223
2021-02-04 23:43:04 +08:00
Michael (XIAO Xufeng)
67779e8e25
Merge branch 'docs/spi_mode' into 'master'
...
spi: add explaination to the modes
See merge request espressif/esp-idf!12251
2021-02-04 23:00:28 +08:00
David Čermák
6992084ca7
Merge branch 'feature/ws_client_ping_interval' into 'master'
...
websocket: Add configurable ping interval
Closes IDFGH-4582
See merge request espressif/esp-idf!12101
2021-02-04 21:07:41 +08:00
David Čermák
a2005adf32
Merge branch 'bugfix/disable_software_flow_control_with_small_buffers' into 'master'
...
esp_eth: added option to disable soft flow control when rx buffer is few
Closes WIFI-3362
See merge request espressif/esp-idf!12186
2021-02-04 20:36:04 +08:00
Jiang Jiang Jian
6a7781b92a
Merge branch 'bugfix/fix_a2dp_underun' into 'master'
...
bugfix/component_bt: Fix A2DP Underrun Issue
Closes AUD-2681
See merge request espressif/esp-idf!12093
2021-02-04 19:28:07 +08:00
Michael (XIAO Xufeng)
52a76867d1
Merge branch 'bugfix/spi_lose_last_3_bytes' into 'master'
...
spi_master: fix an issue where master cannot correctly receive data when using DMA in halfduplex mode.
Closes IDFGH-612
See merge request espressif/esp-idf!11354
2021-02-04 18:35:48 +08:00
ChenJianxing
dc350a9c7c
esp_wifi: support esp32c3 rom eco3
2021-02-04 18:28:06 +08:00
Jiang Jiang Jian
c1aacb2efc
Merge branch 'bugfix/btdm_add_ble_connection_params_check' into 'master'
...
Bugfix/btdm add ble connection params check
See merge request espressif/esp-idf!12193
2021-02-04 17:32:42 +08:00
Island
8f28993493
Merge branch 'bugfix/ble_mesh_free_mbedtls_aes_ctx' into 'master'
...
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
See merge request espressif/esp-idf!12253
2021-02-04 17:14:11 +08:00
Cao Sen Miao
b1d3d0ac74
suspend_test: delay more time for erase
2021-02-04 16:47:41 +08:00
Jiang Jiang Jian
27100cc50e
Merge branch 'docs/wifi_doc_update' into 'master'
...
update wifi docs
See merge request espressif/esp-idf!12232
2021-02-04 16:37:31 +08:00
Angus Gratton
018d7c2551
Merge branch 'feature/add_pkg_and_revision_for_c3' into 'master'
...
efuse(esp32c3): Adds getting chip_revision and chip_pkg
See merge request espressif/esp-idf!12060
2021-02-04 16:04:36 +08:00
David Čermák
7b497138ae
Merge branch 'bugfix/netif_add_str_to_ipx' into 'master'
...
esp_netif: Added methods for conversion IP4/IP6 addresses from their string interpretation
Closes IDFGH-3602
See merge request espressif/esp-idf!12143
2021-02-04 16:02:40 +08:00
Jakob Hasse
897e81f765
[doc]: elaborated nvs encryption comments in nvs
2021-02-04 15:27:37 +08:00
negativekelvin
d625310ef4
Fix nvs_flash_generate_keys
...
Merges https://github.com/espressif/esp-idf/pull/6478
2021-02-04 15:27:37 +08:00
Cao Sen Miao
e38326d715
spi_flash: fix the issue that ext flash hold is not controlled properly
2021-02-04 14:44:51 +08:00
Cao Sen Miao
cc1c6c30be
flash: check boya chip support
2021-02-04 14:44:50 +08:00
Cao Sen Miao
8020c46da7
spi_flash: enable ext flash unit-test on esp32c3
2021-02-04 14:44:50 +08:00
Michael (XIAO Xufeng)
a0573f5b9f
spi_flash: make the auto_suspend default y on C3
2021-02-04 14:11:04 +08:00
Michael (XIAO Xufeng)
0700129c5a
soc: merge dac_caps.h into soc_caps.h for C3
2021-02-04 13:15:10 +08:00
Michael (XIAO Xufeng)
fe0c81f67c
Merge branch 'fix/adc_gpio_init_unit_both' into 'master'
...
adc: fixed the issue adc_gpio_init doesn't support ADC_UNIT_BOTH
See merge request espressif/esp-idf!11556
2021-02-04 13:10:22 +08:00
Angus Gratton
6252446b7d
Merge branch 'bugfix/s3_dma_enable_crypto' into 'master'
...
sha: dont enable/disable GDMA when enable/disable SHA module
See merge request espressif/esp-idf!12247
2021-02-04 11:30:10 +08:00
lly
0c6e61d258
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
2021-02-04 11:24:54 +08:00
Island
c8aa7cb960
Merge branch 'bugfix/ble_mesh_misc_fix_for_c3' into 'master'
...
ble_mesh: stack: bugfix for running on esp32c3
See merge request espressif/esp-idf!12245
2021-02-04 10:57:27 +08:00
Michael (XIAO Xufeng)
586dd7d7cd
spi: add explaination to the modes
2021-02-03 21:56:53 +08:00
Michael (XIAO Xufeng)
a2aa349dcc
adc: fixed the issue adc_gpio_init doesn't support ADC_UNIT_BOTH
2021-02-03 20:55:58 +08:00
Ivan Grokhotkov
4edaf134bb
Merge branch 'feature/loadable_elf_c3' into 'master'
...
build-system: add loadable elf support for ESP32-S2 and C3
Closes IDF-2137
See merge request espressif/esp-idf!12217
2021-02-03 19:40:34 +08:00
lly
0d95760fe4
ble_mesh: stack: Fix hw aes no dma channel for c3
2021-02-03 08:45:06 +00:00
lly
bd2d63ff96
ble_mesh: stack: Enable duplicate scan for c3
2021-02-03 08:45:06 +00:00
Jiang Jiang Jian
922194a295
Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config' into 'master'
...
fix issue when router reply arp late and let sendto() return -1
See merge request espressif/esp-idf!12139
2021-02-03 16:33:30 +08:00
Angus Gratton
d54f0e40ba
Merge branch 'bugfix/unaligned_poisoned_memory' into 'master'
...
heap: fix unaligned memory bug when poisoning is enabled.
Closes IDF-2653
See merge request espressif/esp-idf!12132
2021-02-03 13:52:57 +08:00
Jiri Schiebel
d1356bca68
esp-netif: Added methods for conversion IP4/IP6 addresses from their string interpretation
...
Closes https://github.com/espressif/esp-idf/issues/5545
2021-02-02 16:07:32 +01:00
Akihiro YAMAZAKI
9ff9137e7a
websocket: Add configurable ping interval
...
Merges https://github.com/espressif/esp-idf/pull/6399
Signed-off-by: David Cermak <cermak@espressif.com>
2021-02-02 14:01:29 +01:00
morris
e361498a2a
intr_alloc: re-enable unit test
2021-02-02 20:25:50 +08:00
morris
d212e698d7
rtc: fix rtc slow memory layout on esp32s3
2021-02-02 20:03:08 +08:00
Marius Vikhammer
245a2469f6
sha: dont enable/disable GDMA when enable/disable SHA module
...
Enabling and disabling of the GDMA module is done by the GDMA driver.
2021-02-02 19:24:57 +08:00
Marius Vikhammer
fa7aa656d3
build-system: add loadable elf support for ESP32-S2 and C3
2021-02-02 17:21:39 +08:00
Krzysztof Budzynski
d2e6793582
Merge branch 'docs/c3_get_started' into 'master'
...
docs: inital doc update for C3
Closes IDF-2312, IDF-2314, IDF-2551, IDF-2611, and IDF-2317
See merge request espressif/esp-idf!11884
2021-02-02 14:18:23 +08:00
dongyou
fe76c53fec
update wifi docs
2021-02-02 11:42:00 +08:00
Angus Gratton
2b5cbcf852
Merge branch 'feature/fpga_warnings' into 'master'
...
esp_system: Add boot warning when running on FPGA, fix dropped log issue
Closes IDF-2687
See merge request espressif/esp-idf!12209
2021-02-02 09:02:23 +08:00
Ivan Grokhotkov
458308786b
Merge branch 'doc/fix_pxTaskGetStackStart' into 'master'
...
[doc/freertos]: fixed doc of pxTaskGetStackStart()
Closes IDF-1668
See merge request espressif/esp-idf!12159
2021-02-02 07:09:00 +08:00
KonstantinKondrashov
25ac1d4d28
bootloader: Anti-rollback mode doesn't run test_app
...
- Cmake shows an error if the partition table has a test app.
- BOOTLOADER_APP_TEST depends on !BOOTLOADER_APP_ANTI_ROLLBACK.
- Bootloader does not boot the test app if secure version is low.
Closes: https://www.esp32.com/viewtopic.php?f=13&t=19164&p=71302#p71302
2021-02-01 23:24:23 +08:00
Marius Vikhammer
548fd02d10
docs: initial update of programming guide for C3
...
Updates "front page" content, get-started, and api-guides with C3 content
Enable building and publishing of C3 docs in CI
2021-02-01 15:40:02 +08:00
morris
006a87557b
esp_eth: added option to disable soft flow control when rx buffer is few
2021-02-01 14:14:54 +08:00
Omar Chebib
c4dc3acba9
heap: add light poisoning configuration to the tests.
...
Relates to IDF-2653
2021-02-01 11:58:42 +08:00
Omar Chebib
d902b4e7db
heap: fix unaligned memory bug when poisoning is enabled.
...
Poisoned memory is now aligned as requested by the user.
Closes IDF-2653
2021-02-01 11:58:42 +08:00
Angus Gratton
dfda84c2ab
esp_system: Fix some ESP_EARLY_LOG lines not being output fully
...
At least on ESP32, calling esp_rom_uart_set_clock_baudrate() causes the
contents of the UART FIFO to be discarded.
2021-02-01 14:24:38 +11:00
Angus Gratton
8dbb14b469
system: Log a warning when booting bootloader or app configured for FPGA use
...
Such a firmware may appear to work on normal chip, but not everything will function as expected.
2021-02-01 14:24:38 +11:00
Michael (XIAO Xufeng)
c4346abfb7
Merge branch 'feature/i2c_master_cmd_begin_const' into 'master'
...
i2c: modify internal impl to ensure the cmd will not be modified
See merge request espressif/esp-idf!12153
2021-02-01 11:18:02 +08:00
alex.li
a9b0336ac5
Fix wapi authmode in NVS and S3/C3 compability.
2021-01-30 19:14:37 +08:00
Jiang Jiang Jian
7c6dad2a29
Merge branch 'bugfix/fix_some_wifi_bugs_0129' into 'master'
...
esp_wifi: fixed some Wi-Fi bugs
Closes WIFI-3239 and WIFI-969
See merge request espressif/esp-idf!12196
2021-01-30 10:32:04 +08:00
zhangyanjiao
c97279b51c
esp_wifi: fixed some Wi-Fi bugs
...
1. Fixed the MIC comparison logic AES-128-CMAC decryption
2. Fixed issue of setting incorrect log_length of NVS misc log
2021-01-29 19:29:57 +08:00
Ivan Grokhotkov
d653d52e3c
Merge branch 'bugfix/coredump_extra_regs_parsing_error' into 'master'
...
fix(coredump): parse registers values from stack
Closes IDFCI-414
See merge request espressif/esp-idf!12189
2021-01-29 18:31:44 +08:00
zwj
d76d708bc3
add connection parameter check
2021-01-29 15:29:57 +08:00
Fu Hanxi
da73dc8195
fix(coredump): parse registers values from stack
2021-01-29 11:12:21 +08:00
ronghulin
84a1e65495
esp_wifi: fixes some Wi-Fi bugs
...
1. Clear hotspot bss when auth timeout happens.
2. Fix PMK not saved in NVS for SoftAP for PSK mode.
3. Fix the bug for esptouch find hidden AP fail.
4. Fix not connect to open AP when WPA3 auth fail.
2021-01-29 11:02:40 +08:00
Ivan Grokhotkov
bb1f75179b
Merge branch 'bugfix/freertos_systimer_stall_when_cpu_halted' into 'master'
...
freertos: stall systimer while CPU is in debug mode
See merge request espressif/esp-idf!12063
2021-01-29 07:02:30 +08:00
Jiang Jiang Jian
28faf93c51
Merge branch 'feature/esp32c3_power_down' into 'master'
...
esp32c3 : power down MAC and BB only if both Wi-Fi and BT power down
Closes FC3-99
See merge request espressif/esp-idf!12076
2021-01-28 23:27:19 +08:00
baohongde
eef66789d4
Mac BB power down in light sleep
...
components/bt: Do not use feature: timer support isr dispatch method
disable controller after wake up finished.
protect critical section of power down
choose clk in sleep
components/coex: mac bb power down in light sleep
components/coex: Macro changed
components/os: protect reserved interrupt number
update phy to phy_version 300,6e46ba7,Jan 25 2021
some bugfix
2021-01-28 22:28:04 +08:00
Jiang Jiang Jian
3af715ddd8
Merge branch 'bugfix/disable_hardware_encrp_for_s3' into 'master'
...
temporarily disable hardware encryption for esp32s3
See merge request espressif/esp-idf!12187
2021-01-28 22:07:48 +08:00
ChenJianxing
243417c48c
temporarily disable hardware encryption for esp32s3
2021-01-28 21:05:51 +08:00
Mahavir Jain
e712a91488
spi_flash: add config option to enable encrypted partition read/write
...
This feature can be disabled to save some IRAM (approx 1KB) for cases
where flash encryption feature is not required.
2021-01-28 12:19:21 +00:00
Mahavir Jain
8a01cc2c26
Revert "esp_partition: disable encrypted reads/writes if flash encryption is disabled"
...
This reverts commit bf35ef1ce7
.
It has been noticed that there are scenarios where even though firmware is not enabled
with flash encryption config feature, it should be able to write to encrypted partitions.
This revert adds the feature back which was removed around v4.0 timelines, and same
change will be backported to all releases (upto v4.0) for consistency.
2021-01-28 12:19:21 +00:00
Jiang Jiang Jian
9eae54f3be
Merge branch 'bugfix/fix_a2dp_sink_crash_due_to_ble5.0_code' into 'master'
...
fix a2dp sink crash due to ble 5.0 code
Closes BT-1358, BT-1354, and BT-1356
See merge request espressif/esp-idf!12170
2021-01-28 19:41:54 +08:00
wangmengyang
ee480b7776
Refactor Bluetooth init/deinit mechanism
...
free osi_funcs struct memory duiring failure of controller_init when necessary
components/bt: use s_lp_stat.phy_enabled to control the on/off of phy module
clean up style for controller_disable
clean up some empty functions and unnecessary comments
Added async wakeup src "BTDM_ASYNC_WAKEUP_SRC_TMR"
remove use of assert in controller_init, set error code upon some exceptions
move stop esp_timer early to phase0, add state variable wakeup_timer_started
2021-01-28 19:27:17 +08:00
wangmengyang
06ea8a3028
remove use of macro "CONFIG_SPIRAM_USE_MALLOC"
2021-01-28 19:25:03 +08:00
wangmengyang
086b36d737
Refactor Bluetooth sleep mechanism
...
Refactor bluetooth hardware PowerUp/PowerDown functions
component/bt: fix use of a deprecated MACRO "CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE"
component/bt: fix sleep wakeup in controller disable procedure
remove use of s_pm_lock_sem
1. Modified the waking up approach from async to sync: post a message to controller task upon vhci downstream packets or controller disable, and in response, controller task goes through the wake-up procedure
2. Added Controller status check for the esp_vhci APIs
3. Adjust the procedure during controller_init, check the validity of arguments first
Some minor modifications for bluetooth sleep control and configuration
1. use variable flag s_btdm_allow_light_sleep to control the use of s_light_sleep_pm_lock
2. use variable btdm_lpclk_sel to choose bluetooth sleep clock, support only for external 32kHz crystal temporarily
component/bt: improve async_wakeup function
1. check power state first and then decide if wakeup needs to be performed
2. change the meaning of the return value, if wakeup request is posted to controller task, then return true, otherwise return false
put sleep control logics in controller init/deinit/enable/disable together
Use s_lp_cntl struct: replace bool-typed variable sleep_backup_en with s_lp_cntl.mac_bb_pd
Use s_lp_cntl struct: replace bool-typed variable s_btdm_allow_light_sleep with s_lp_cntl.no_light_sleep
Use s_lp_cntl struct: replace global variable btdm_lpclk_sel with s_lp_cntl.lpclk_sel
create semaphore s_wakeup_req_sem only when low power mode is required
Use s_lp_cntl struct: use s_lp_cntl.wakeup_timer_required to control the wakeup timer
use s_lp_stat to replace original state variable sleep_backup_done and s_pm_lock_acquired
one minor change for mac_bb_pd settings init: return error status if memeory allocation failed
2021-01-28 19:23:09 +08:00
Jiang Jiang Jian
4ab76197e9
Merge branch 'bugfix/bta_hf_client_sco_co_out_data' into 'master'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
Closes AUD-2714
See merge request espressif/esp-idf!12179
2021-01-28 18:02:25 +08:00
Ivan Grokhotkov
9a20283485
Merge branch 'bugfix/scan_test_missing_build_apps_without_tests' into 'master'
...
ci: bugfix: scan_test missing build apps without tests
See merge request espressif/esp-idf!12138
2021-01-28 17:48:24 +08:00
Mahavir Jain
719aeacb4e
Merge branch 'feature/enable_app_update_tests_for_c3' into 'master'
...
Enable app_update tests for ESP32-C3
Closes IDF-2495
See merge request espressif/esp-idf!12173
2021-01-28 17:41:42 +08:00
wangmengyang
9742aa6f05
component/bt: handle sleep wakeup event in the context of controller task instead of timer task
2021-01-28 16:04:21 +08:00
Angus Gratton
ae165c9b52
Merge branch 'bugfix/esp32s2_rom_address_range' into 'master'
...
soc: Fix SOC_IROM_MASK_HIGH address
Closes IDF-2672
See merge request espressif/esp-idf!12126
2021-01-28 13:49:27 +08:00
Alex Lisitsyn
96b77a28b1
freemodbus: add support for list of area descriptors for each register area
...
add multi register area descriptors into concrete port (initial)
add create/destroy of area descriptors into concrete port
add the list of descriptors in common slave interface structure and init/destroy in concrete slave port
move r/w callback functions into common slave
final update of common slave interface wrappers add override API option in concrete port
update slave examples to check new feature
2021-01-28 12:29:32 +08:00
David Čermák
445b1a6717
Merge branch 'bugfix/deprecate_esp_eth_receive' into 'master'
...
esp_eth: deprecate esp_eth_receive
Closes IDF-1065 and IDFGH-4657
See merge request espressif/esp-idf!12176
2021-01-28 02:14:42 +08:00
Michael (XIAO Xufeng)
9ff04b2e79
Merge branch 'feature/musical_buzzer' into 'master'
...
RMT example: musical buzzer
See merge request espressif/esp-idf!10346
2021-01-28 01:04:24 +08:00
Michael (XIAO Xufeng)
673937087e
Merge branch 'feature/usb_host_hal' into 'master'
...
Add USB Host HAL
Closes IDF-2633
See merge request espressif/esp-idf!11784
2021-01-28 00:58:11 +08:00
Jiang Jiang Jian
20b20eef72
Merge branch 'feature/ftm_support' into 'master'
...
Add FTM support for ESP32-S2 & ESP32-C3
Closes IDFGH-3034 and WIFI-3293
See merge request espressif/esp-idf!10441
2021-01-28 00:28:10 +08:00
suda-morris
0208810eca
esp_eth: fix typo in lan8720 driver
...
Closes https://github.com/espressif/esp-idf/issues/6469
2021-01-27 23:48:10 +08:00
morris
c010f24d8b
esp_eth: deprecate esp_eth_receive
...
Ethernet driver is interrupt driven only, don't support polling mode.
So deprecate esp_eth_receive API.
2021-01-27 23:48:01 +08:00
Nachiket Kukade
8de3b31d2d
FTM support for ESP32-C3 and connectionless mode
...
1. Support for FTM to work without any connection
1. Support for ESP32-C3 chip
3. Fix error case handling if FTM fails
4. Fix asynchronization, re-transmission related issues
2021-01-27 20:49:07 +05:30
Jiang Jiang Jian
24f0bbded9
Merge branch 'bugfix/esp32s3beta2_ble_coexist_status_set' into 'master'
...
bugfix/esp32s3beta2_ble_coexist_status_set
See merge request espressif/esp-idf!12137
2021-01-27 21:37:51 +08:00
Jiang Jiang Jian
67f78569a2
Merge branch 'component_bt/update_bt_demo_and_api_comment' into 'master'
...
component_bt/doc&demo: update bt demo and api comment
See merge request espressif/esp-idf!10461
2021-01-27 21:25:11 +08:00
liaowenhao
e502893f18
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-01-27 19:46:13 +08:00
zwj
00fdbfcddc
fix ble connection maximum latency is 499
2021-01-27 16:13:17 +08:00
zwj
b937485ad1
add ble examples default sdkconfig for esp32s3
2021-01-27 15:57:20 +08:00
Martin Vychodil
69096ddce5
Security: ESP32C3 memory protection feature (IRAM0/DRAM0)
...
Software support for PMS module.
Allows controlled memory access to IRAM (R/W/X) and DRAM0 (R/W)
On/locked by default, configurable in Kconfig (esp_system)
Closes https://jira.espressif.com:8443/browse/IDF-2092
2021-01-27 08:44:03 +01:00
Jiang Jiang Jian
d097988608
Merge branch 'bugfix/keep_esp_rtc_time_correct' into 'master'
...
newlib: Keep esp rtc time correct
See merge request espressif/esp-idf!11932
2021-01-27 15:22:43 +08:00
Mahavir Jain
3fa22ffa55
app_update: fix warnings in tests for ESP32-C3 build
2021-01-27 12:50:06 +05:30
Angus Gratton
cc934ea0a1
Merge branch 'feature/esp32c3_tls' into 'master'
...
freertos: add thread local storage support in RISC-V port
Closes IDF-2125
See merge request espressif/esp-idf!12064
2021-01-27 15:19:06 +08:00
Michael (XIAO Xufeng)
baedf7c9bb
Merge branch 'bugfix/potential_cocurrency_issue_in_gdma' into 'master'
...
gdma: fix potential cocurrency issue
Closes IDF-2646
See merge request espressif/esp-idf!12001
2021-01-27 15:07:35 +08:00
Angus Gratton
8d60683b08
Merge branch 'bugfix/fix_context_switch_ra' into 'master'
...
freerots: fix rtos_int_exit writing outside ISR stack
See merge request espressif/esp-idf!12161
2021-01-27 15:05:10 +08:00
zhiweijian@espressif.com
28fd413bf5
fix ble restart faild when enable ble sleep
2021-01-27 14:45:03 +08:00
zwj
bdafdbbf3d
disable bluedroid congest error log print
2021-01-27 14:45:03 +08:00
zhiweijian
90d5413623
fix read multi char failed(GATT_27001)
2021-01-27 14:45:03 +08:00
zwj
081e474baf
fix a2dp sink crash due to ble 5.0 code
2021-01-27 14:45:03 +08:00
wangmengyang
51be1af028
add coexist hook functions and fix bugs for coexistence
2021-01-27 06:37:04 +00:00
weitianhua
c347b0a937
Update bt_discovery demo and README
...
1. Use bt_app_gap_init function
2. Add Security Simple Pair doc
3. Update README
Update SPP demo
1. Add input module for bt_spp_initiator demo to show the security simple pair features
2. Update README of bt_spp_acceptor and bt_spp_initiator demo.
Format comment in esp_a2dp_api.h
Format comment in esp_avrc_api.h
Format comment in esp_spp_api.h
Fix bt_discovery build err
Update HFP API guide error
Remove BTA_AV_DEBUG
Remove Trailing Whitespace & End of Files
2021-01-27 14:17:12 +08:00
Nachiket Kukade
a71976ab54
wifi/ftm: Stability fixes, raw FTM data in event
...
Update wifi lib with below additions -
1. Add FTM frame formation, IEEE definitions, event and IOCTL.
2. Implementation of FTM bursts, Measurements and RTT calculations
3. Fix Watchdog timeout, crashes with better cleanup of timers
4. Included FTM Report raw data in FTM event
Closes https://github.com/espressif/esp-idf/issues/5059
2021-01-27 11:16:35 +05:30
Nachiket Kukade
acb1143409
Add support for FTM operation
...
Add FTM support for below configuration -
1. Station(connected) as Initiator with AP as responder
2. SoftAP as responder with the connected Station
Added Station example with runtime FTM configurations.
2021-01-27 10:57:41 +05:30
Fu Hanxi
e4e375f488
fix: add spi_flash.h for s2, s3, c3 targets in cpu_start.c
...
update s2, s3, c3 ld files spi_flash_attach to esp_rom_spiflash_attach
2021-01-27 12:35:49 +08:00
Angus Gratton
f7a8593a3b
Merge branch 'style/python_isort_double_quote_fixer' into 'master'
...
style: format python files with isort and double-quote-string-fixer
See merge request espressif/esp-idf!12149
2021-01-27 12:25:39 +08:00
Michael (XIAO Xufeng)
da4b4fc565
Merge branch 'bugfix/mcpwm_can_set_two_falut_signal' into 'master'
...
mcpwm: fix second fault line broken issue
Closes IDFGH-4194
See merge request espressif/esp-idf!12119
2021-01-27 11:36:30 +08:00
Michael (XIAO Xufeng)
1d52a0a459
Merge branch 'bugfix/enable_init_priority_test_c3' into 'master'
...
cxx: re-enable cxx init_priority unit test for C3
Closes IDF-2206
See merge request espressif/esp-idf!11972
2021-01-27 11:24:03 +08:00
Angus Gratton
21f5bcd46f
Merge branch 'bugfix/ulp_wakeup_trigger' into 'master'
...
ulp: specify ulp-risc-v as done signal source
Closes IDFGH-4210
See merge request espressif/esp-idf!11970
2021-01-27 07:59:51 +08:00
Michael (XIAO Xufeng)
31955fd7ea
i2c: modify internal impl to ensure the cmd will not be modified
...
related to: https://github.com/espressif/esp-idf/issues/5108
2021-01-27 01:31:49 +08:00
dongyou
d21ae1faa8
fix smartconfig issue when router reply arp late
...
Closes https://github.com/espressif/esp-idf/issues/6443
2021-01-26 19:56:57 +08:00
Marius Vikhammer
4374966d4e
freerots: fix rtos_int_exit writing outside ISR stack
...
rtos_int_exit would store RA at an offset of 4 byte from the SP,
where the offset should be 0.
This caused rtos_int_exit to overwrite variables in bss.
2021-01-26 11:18:39 +00:00
Chen Wu
8207f6ac32
lwip: Fixed ping assert reset when ping interval is 0
2021-01-26 10:48:56 +00:00
Jakob Hasse
fd58ed2f74
[doc/freertos]: fixed doc of pxTaskGetStackStart()
...
Closes IDF-1668
2021-01-26 17:31:11 +08:00
Krzysztof Budzynski
9a5bd86d54
Merge branch 'docs/update_docs_based_on_the_second_batch_of_customer_feedbacks' into 'master'
...
docs: update documents based on doc-855, doc-885, doc-889, doc-897
See merge request espressif/esp-idf!12124
2021-01-26 16:21:26 +08:00
Michael (XIAO Xufeng)
d741b08fe7
Merge branch 'feature/esp32c3_deep_sleep_rtcfastmem' into 'master'
...
esp32c3: Finish deep sleep support
Closes IDF-2560
See merge request espressif/esp-idf!12031
2021-01-26 12:53:34 +08:00
Michael (XIAO Xufeng)
c99e891201
Merge branch 'feature/sync_adc_changes_from_c3_to_master_last' into 'master'
...
adc: sync adc changes from c3 to master (last time)
Closes IDF-2694
See merge request espressif/esp-idf!12134
2021-01-26 12:52:20 +08:00
Jiang Jiang Jian
6938f7b30f
Merge branch 'add_dhcp_option_61' into 'master'
...
lw-ip: add dhcp option 61
Closes WIFI-1290
See merge request espressif/esp-idf!6507
2021-01-26 11:36:05 +08:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Angus Gratton
b432fc8853
esp_system: Enable deep sleep reset reason test for ESP32-C3
2021-01-25 17:20:04 +00:00
Angus Gratton
d3ffaf4684
esp_system: Add soc_caps guards in esp_sleep.h
2021-01-25 17:20:04 +00:00
Angus Gratton
4026e7b250
esp_system esp32c3: Fix uart flush on entering deep sleep
2021-01-25 17:20:04 +00:00
Angus Gratton
0eb8d7e185
esp_hw_support esp32c3: Add deep sleep rtc crc calculation support
...
Last step to enable deep sleep on ESP32-C3 in all configurations
2021-01-25 17:20:04 +00:00
Jiang Jiang Jian
dc8402ea61
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp' into 'master'
...
feature/ Add A2DP Init and Deinit Complete Evt
See merge request espressif/esp-idf!11458
2021-01-25 23:23:12 +08:00
David Čermák
42c6bcd3c9
Merge branch 'feature/eth_io_cmd_get_duplex' into 'master'
...
esp_eth: Add ioctl command for getting duplex mode
Closes IDFGH-4622
See merge request espressif/esp-idf!12088
2021-01-25 23:16:05 +08:00
Michael (XIAO Xufeng)
2b83418141
adc: add fallback calibration method
...
Also:
1. Separate static configuration into init phase to improve
performance
2. Add a init code config layer to avoid duplicated configuration
3. Add a HW_CALIBRATION_V1 caps
2021-01-25 20:30:42 +08:00
Jiang Jiang Jian
4fb9f5eeeb
Merge branch 'feature/add_dpp_support' into 'master'
...
Add dpp support
Closes WIFI-1054 and WIFI-2627
See merge request espressif/esp-idf!8167
2021-01-25 20:09:31 +08:00
KonstantinKondrashov
3ed226c362
efuse(esp32c3): Adds getting chip_revision and chip_pkg
2021-01-25 19:37:40 +08:00
Wang Fang
7df1cad1d6
docs: This MR does the following updates:
...
1. Provided more information regarding I2S_COMM_FORMAT_STAND_PCM_SHORT and I2S_COMM_FORMAT_STAND_PCM_LONG
2. Added --output flag for partition table read instructions
3. Reordered the header files for esp-ble-mesh
4. Reordered the setup instructions for Ubuntu and CentOS
2021-01-25 11:10:08 +00:00
xueyunfei
617ea86672
Add dhcp option 61
2021-01-25 17:48:15 +08:00
weitianhua
1404879bf4
Fix A2DP Underrun Issue
2021-01-25 17:44:11 +08:00
Jiang Jiang Jian
68916df92c
Merge branch 'optimization/dhcp_key_state_transition_message' into 'master'
...
lw-ip:optimization dhcp key state transition message
Closes WIFI-2037
See merge request espressif/esp-idf!8346
2021-01-25 17:43:34 +08:00
Michael (XIAO Xufeng)
7a20ea5f0e
Merge branch 'feature/support_flash_sus_res_c3' into 'master'
...
spi_flash: Add flash auto-suspend auto-resume mode on esp32c3
Closes IDF-2591
See merge request espressif/esp-idf!11888
2021-01-25 17:41:32 +08:00
Axel Lin
2049aa9f68
esp_eth: Add ioctl command for getting duplex mode
...
Similar to ETH_CMD_G_SPEED, add ETH_CMD_G_DUPLEX_MODE for getting duplex mode.
Merges https://github.com/espressif/esp-idf/pull/6436
2021-01-25 08:40:47 +00:00
weitianhua
bfad85a372
Add init & deinit event for a2dp
2021-01-25 16:30:09 +08:00
Nachiket Kukade
76b2cb28d2
Add DPP Enrollee example
...
1. Add Example for DPP Enrollee
2. Use DPP Supplicant API's to setup connection
3. Add support for multiple channels in Bootstrapping
4. Add Unity testcase for testing Offchannel operations
Closes https://github.com/espressif/esp-idf/issues/5654
2021-01-25 13:26:33 +05:30
Nachiket Kukade
87205dc2f4
Add DPP Enrollee Support
...
1. Modify DPP Protocol modules for our purpose
2. Add DPP supplicant task and modules to handle DPP frames
3. Add DPP Public API's and definitions for DPP
2021-01-25 13:24:21 +05:30
Nachiket Kukade
1ca80b4221
Add support for Remain-on-Channel and Action Tx
...
1. Add API's and structures for Remain-onChannel & Action Tx
2. Handling of events and callbacks for the operations
3. Update WiFi lib with related API support
2021-01-25 13:24:21 +05:30
Jiang Jiang Jian
1614cefd4f
Merge branch 'bugfix/wpa_supplicant_coverity_issue_fixes' into 'master'
...
Fix some issues raised by Coverity static Analyzer.
Closes WIFI-3251
See merge request espressif/esp-idf!11918
2021-01-25 15:52:21 +08:00
Michael (XIAO Xufeng)
3d7da2c8ff
adc: simplify LL on C3
2021-01-25 15:08:55 +08:00
Michael (XIAO Xufeng)
c257daa950
wifi: run adc2 calibration on C3
2021-01-25 15:08:50 +08:00
Darian Leung
1fabfd005b
soc: Fix SOC_IROM_MASK_HIGH address
...
The high address limit IROM on the esp32s2 is incorrect, thus
causing backtrace printing to think valid function PCs are invalid.
2021-01-25 14:54:25 +08:00
Armando
402ccacc10
system: update edma reset in system_api_esp32c3/s3.c
2021-01-25 04:51:40 +00:00
Armando
f5f0461264
tmpsensor: add temp_sensor.h for c3
2021-01-25 04:51:40 +00:00
Armando
f9ec7ddda3
adc: add comment for ADC sampling frequency
2021-01-25 04:51:40 +00:00
Armando
d8a4b247b9
adc_digi: update_adc_api_for_5M_freq_limit
...
The ``adc_digi_config_t`` struct is modified on esp32c3: configuration
of clock divider factors are not provided anymore. The SARADC sampling
frequency is provided instead. In this way, we can handle the frequency
limit better.
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
56919682be
adc: remove useless adc_ll_set_sar_clk_div in LL
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
90fc3e7030
adc: update the monitor and filter in the HAL on C3
...
On C3 ADC has no enable bit for monitor and filter. However we can use context variables to implement one
2021-01-25 04:51:40 +00:00
fuzhibo
19fb11549b
driver(adc): update adc ll and hal driver for esp32c3
2021-01-25 04:51:40 +00:00
Armando
5798c22a5c
adc: replace assert with esp check
2021-01-25 04:51:40 +00:00
Armando
271c97149d
rtc_tmpsensor: remove redundant semaphore on c3
2021-01-25 04:51:40 +00:00
Angus Gratton
feb293797f
driver: esp32c3 rtc_tempsensor compile fixes
2021-01-25 04:51:40 +00:00
fuzhibo
33647c7cd4
update temperature Sensor driver for esp32c3
2021-01-25 04:51:40 +00:00
Angus Gratton
a5fb7deda5
driver: Update/cleanup esp32c3 rtc_tempsensor.c
2021-01-25 04:51:40 +00:00
Armando
02600309c8
adc: fix some regression issues
2021-01-25 04:51:40 +00:00
Armando
2b737c1927
adc: fix adc invalid data issue by update adc_reset
2021-01-25 04:51:40 +00:00
Cao Sen Miao
4e6e34e3ad
adc_i2s: solve the i2s_adc issue when using wifi
2021-01-25 04:51:40 +00:00
Ivan Grokhotkov
34408026bb
wifi: add set_xpd_sar override
...
Wi-Fi enables and disables ADC when exiting and entering sleep mode.
Coordinate ADC power state with other modules, using adc_power_acquire
and adc_power_release.
2021-01-25 04:51:40 +00:00
Ivan Grokhotkov
abe94e3b53
adc: add adc_power_acquire/release, deprecate adc_power_on/off
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
d7d1dee208
system: reset dma when soft reset
2021-01-25 04:51:40 +00:00
Armando
d35173c147
small fix for cherrypick
2021-01-25 04:51:40 +00:00
Armando
b38f4646de
adc_digi: add dma drivers
2021-01-25 04:51:40 +00:00
Jiang Jiang Jian
76bb9565af
Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
xueyunfei
b50fca4aa0
optimization dhcp key state transition message
2021-01-25 03:54:20 +00:00
aditi_lonkar
89bf9404a5
esp_http_client: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
fe7efa8db4
esp_local_ctrl: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
da313b691d
wifi_provisioning: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
6e7780421b
fatfs: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
7bf205162c
tcp_transport: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
aditi_lonkar
562a5dd215
wpa_supplicant: Fix some memory leak issues by coverity static analyzer.
2021-01-25 03:37:47 +00:00
Cao Sen Miao
f3e79ca166
spi_flash(c3): add boya chip support for suspend feature
2021-01-25 11:14:06 +08:00
Cao Sen Miao
9905da46e0
spi_flash: Add auto suspend mode on esp32c3
2021-01-25 11:14:02 +08:00
KonstantinKondrashov
1f37a5f162
spi_flash(esp32-s2): Add the workaround of a reboot issue when SPI HW suspend is enabled
2021-01-25 11:13:38 +08:00
KonstantinKondrashov
60e58eaddb
spi_flash: Add auto-suspend mode for ESP32-S2
...
Uses HW auto_wait_idle, HW auto_suspend and SW resume
2021-01-25 11:13:38 +08:00
KonstantinKondrashov
afef16c2e9
spi_flash: Support suspend/resume mode for operations
...
- Adds arbitration between the erase and write in suspend mode
(If the flash memory is suspended then only a read operation can be performed.)
- espcoredump: Dump does not use suspend feature, just resume before continue.
- spi_flash: Add release_cpu() to do suspend/release_cpu/resume
2021-01-25 11:13:38 +08:00
Chen Jian Xing
f71adec8fb
Support ESP32S3 (beta2) WiFi
2021-01-25 00:18:42 +08:00
Ivan Grokhotkov
1402941402
test/freertos: add RISC-V support in thread local storage test
2021-01-24 12:38:15 +00:00
Ivan Grokhotkov
b2aaebaf85
freertos: add thread local storage support in RISC-V port
2021-01-24 12:38:15 +00:00
Ivan Grokhotkov
d7bac619ec
freertos: stall systimer while CPU is in debug mode
2021-01-24 11:32:17 +00:00
Michael (XIAO Xufeng)
06f22fc4b0
Merge branch 'feature/new_restart_mode_driver_and_ut_for_spi_slave_hd' into 'master'
...
spi_slave_halfduplex: append mode driver
See merge request espressif/esp-idf!10845
2021-01-24 09:27:12 +08:00
Jiang Jiang Jian
c889df2928
Merge branch 'feature/wifi_wapi_release' into 'master'
...
Feature/wifi wapi release
Closes WIFI-2553
See merge request espressif/esp-idf!11589
2021-01-23 18:15:07 +08:00
Alex
67d0460c2d
Feature/wifi wapi release
2021-01-23 18:15:07 +08:00
Ivan Grokhotkov
106aa180f3
Merge branch 'bugfix/verbose_logging_failure_with_spiram' into 'master'
...
Fix verbose logging bootup failure with spiram
See merge request espressif/esp-idf!11982
2021-01-22 23:03:04 +08:00
Mahavir Jain
2cdc1fcdbf
efuse: change prints to ESP_EARLY_LOG for function called from startup code
2021-01-22 18:00:03 +05:30
David Čermák
a461f8f115
Merge branch 'bugfix/ws_transport_ping' into 'master'
...
ws_transport: Add option to propagate control packets to the app
Closes IDFGH-4478
See merge request espressif/esp-idf!11957
2021-01-22 19:21:43 +08:00
Mahavir Jain
f5e51e7c1b
Merge branch 'feature/esp32c3_ds_mbedtls_integration' into 'master'
...
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
Closes IDF-2267
See merge request espressif/esp-idf!12033
2021-01-22 17:06:46 +08:00
Mahavir Jain
ba1c8ceddb
Merge branch 'feature/support_transport_keepalive' into 'master'
...
Transport: Add TCP keep-alive function
Closes IDFGH-4543
See merge request espressif/esp-idf!11909
2021-01-22 17:04:05 +08:00
Michael (XIAO Xufeng)
68034a5149
Merge branch 'bugfix/soc_rtcperi_rtcldo' into 'master'
...
fix rtc peripheral wakeup fail bug & clear rtc regulator force on configuration when in deepsleep
See merge request espressif/esp-idf!9709
2021-01-22 16:55:55 +08:00
Michael (XIAO Xufeng)
a08265aad8
Merge branch 'bugfix/fix_x32k_config_param' into 'master'
...
esp32s2/esp32s3: Improve 32k xtal startup time
See merge request espressif/esp-idf!11836
2021-01-22 16:42:54 +08:00
morris
d4b9198f05
mcpwm: fix second fault line broken
...
Closes: https://github.com/espressif/esp-idf/issues/6053
2021-01-22 16:18:37 +08:00
morris
ceab7daea8
mcpwm: fix wrong capture edge
2021-01-22 16:17:59 +08:00
Michael (XIAO Xufeng)
a7168eef39
Merge branch 'feature/update_tinyusb' into 'master'
...
tinyusb: Update tinyusb to the latest upstream version
See merge request espressif/esp-idf!11931
2021-01-22 16:15:08 +08:00
David Cermak
acc7bd2ca4
ws_transport: Add option to propagate control packets to the app
...
Client could choose if they want to receive control packets and handle
them.
* If disabled (default) the transport itself tries to handle PING
and CLOSE frames automatically during read operation. If handled
correctly, read outputs 0 indicating no (actual app) data received.
* if enabled, all control frames are passed to the application to be
processed there.
Closes https://github.com/espressif/esp-idf/issues/6307
2021-01-22 07:22:41 +00:00
Renz Bagaporo
19d8a403e6
ulp: set riscv-ulp as done signal source properly
...
Closes https://github.com/espressif/esp-idf/issues/6069
2021-01-22 15:22:01 +08:00
Shubham Kulkarni
b53e46a68e
Add options for esp_http_client and esp_websocket_client to support keepalive
2021-01-22 06:56:28 +00:00
yuanjm
044c3e3e74
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
...
Closes IDFGH-4543
2021-01-22 06:56:28 +00:00
Renz Bagaporo
59f7242de1
ci: revert disable esp32s2 timer test
2021-01-22 14:51:50 +08:00
Renz Bagaporo
2dc7b556f3
esp32s2: reset systimer clk on startup
2021-01-22 14:51:50 +08:00
Renz Bagaporo
f5154b82e3
newlib: init microseconds offset
2021-01-22 14:51:50 +08:00
Aditya Patwardhan
79c23a1886
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
2021-01-22 11:54:16 +05:30
Angus Gratton
cf9ac2ef9e
Merge branch 'bugfix/wifi_ld_phy_init' into 'master'
...
wifi: remove esp_phy_enable/disable IRAM_attr
See merge request espressif/esp-idf!12094
2021-01-22 14:23:01 +08:00
Jiang Jiang Jian
9c5a9ae8fd
Merge branch 'bugfix/support_esp32c3_lightsleep_master_cpu_pd_issue' into 'master'
...
fix cpu pd bug of normal light sleep
See merge request espressif/esp-idf!12083
2021-01-22 14:03:10 +08:00
Angus Gratton
a7da0c894b
Merge branch 'feature/c3_master_flash_enc_support' into 'master'
...
flash encryption: merge C3 flash encryption changes to master
See merge request espressif/esp-idf!12040
2021-01-22 12:58:38 +08:00
Mahavir Jain
67c7b6f130
Merge branch 'feature/nvs_encryption_usability_improvements' into 'master'
...
Feature/nvs encryption usability improvements
See merge request espressif/esp-idf!10155
2021-01-22 12:12:26 +08:00
Jiang Jiang Jian
4724fd263c
Merge branch 'feature/softap_pairwise_cipher' into 'master'
...
esp_wifi: Add pairwise cipher support in softAP config
See merge request espressif/esp-idf!10848
2021-01-22 11:25:47 +08:00
Marius Vikhammer
ec5fb44778
wifi: remove esp_phy_enable/disable IRAM_attr
...
esp_phy_enable and esp_phy_disable were declared both with IRAM attr
and with (noflash) in the linker fragment file, causing ldgen to emit
warnings.
Remove IRAM_attr and let the linker fragment decide placement
2021-01-22 11:04:47 +08:00
Ivan Grokhotkov
88252c98b8
Merge branch 'feature/refactor_espcoredump' into 'master'
...
Feature: Refactor espcoredump
See merge request espressif/esp-idf!11525
2021-01-21 20:35:31 +08:00
Armando
0538dc2d93
spi_slave_hd: add DMA Append Mode feature
2021-01-21 18:53:53 +08:00
Angus Gratton
3532f52f60
Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj' into 'master'
...
ldgen: check mappings
Closes IDF-1624
See merge request espressif/esp-idf!8557
2021-01-21 15:59:35 +08:00
Fu Hanxi
be71f5050d
core dump: modify the test according to the refactor
2021-01-21 15:14:59 +08:00
Fu Hanxi
d50f021a8c
core dump: rewrite espcoredump.py with corefile package
2021-01-21 15:14:59 +08:00
Fu Hanxi
7109cda149
core dump: Add corefile package for parse/build bin/elf core files
...
- elf.py: elf related structs
- gdb.py: gdb related functions
- loader.py: extract elf/bin from flash to elf format core file
- xtensa.py: xtensa arch target related structs and functions
2021-01-21 15:14:59 +08:00
Jiang Jiang Jian
ea79091725
Merge branch 'bugfix/esp32c3_wpa4096_cert_support' into 'master'
...
MbedTLS: Add software fallback for Modular Exponentiation for larger bignum operations
Closes WIFI-3257 and IDFGH-132
See merge request espressif/esp-idf!11928
2021-01-21 12:45:19 +08:00
ninh
25dcc68b5d
newlib: keep esp_rtc_get_time_us when rewrite the value of RTC_SLOW_CLK_CAL_REG
2021-01-21 02:28:21 +00:00
Li Shuai
58ab3975ea
light sleep: fix cpu pd bug of normal light sleep
2021-01-21 10:03:39 +08:00
Li Shuai
f57ab2d69b
add brownout reset option prompt to menuconfig
2021-01-21 10:03:32 +08:00
Aditya Patwardhan
cc3843263a
esp-tls: Added unit tests
2021-01-21 01:17:23 +00:00
Aditya Patwardhan
43a1b53aad
esp_tls_wolfssl: Move order of crt_bundle check to match that in
...
esp_tls_mbedtls
2021-01-21 01:17:23 +00:00
Aditya Patwardhan
1a09e16af2
esp_tls: Fix memory leak when esp-tls server session is deleted
2021-01-21 01:17:23 +00:00
Aditya Patwardhan
cddb8c29e6
esp-tls: Fix mem leak when global_ca_store is freed
2021-01-21 01:17:23 +00:00
Angus Gratton
fe8a891de9
Merge branch 'feature/support_esp32c3_master_cmake_secure_boot' into 'master'
...
bootloader/esp32c3: Support secure boot
Closes IDF-2115
See merge request espressif/esp-idf!11797
2021-01-21 08:42:49 +08:00
kapil.gupta
7bc74089f4
esp_wifi: Add pairwise cipher support in softAP config
...
Closes https://github.com/espressif/esp-idf/issues/5963
2021-01-20 22:40:40 +05:30
Jiang Jiang Jian
f7c9f1afd7
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd
Closes BT-711
See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098
Merge branch 'feature/hfp_console' into 'master'
...
Feature/modify hfp console style by using esp console
Closes BT-1052
See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
Jiang Jiang Jian
cb255a1489
Merge branch 'bugfix/fix_32k_not_found' into 'master'
...
Fix esp32 external 32k xtal not found error
See merge request espressif/esp-idf!11296
2021-01-20 23:34:24 +08:00
Island
b7c404d3ff
Merge branch 'bugfix/ble_mesh_proxy_client_net_resend' into 'master'
...
ble_mesh: stack: Fix proxy client may fail to resend msg
See merge request espressif/esp-idf!9882
2021-01-20 19:21:16 +08:00
Island
1f91e321f1
Merge branch 'bugfix/ble_mesh_node_set_name_status_check' into 'master'
...
ble_mesh: stack: Remove node set device name return status check
See merge request espressif/esp-idf!12071
2021-01-20 19:20:58 +08:00
Aditya Patwardhan
a02be97fda
nvs_flash: Modify the default NVS initialization API with internal nvs encryption
...
handling (only when nvs encryption is enabled)
* NVS Encryption will now be turned on by default with flash encryption
* Updated the flash encryption example to shocase NVS encryption
along with information on how to configure and use NVS encryption
* Updated respective test case
* Added two partition tables for NVS encryption
i) Table 1- Single factory app, no OTA, encrypted NVS
ii) Table 2- Factory app, Two OTA, encrypted NVS
2021-01-20 11:12:14 +00:00
Michael (XIAO Xufeng)
db45f00860
Merge branch 'bugfix/fix_esp32c3_rf_40M_loss_package_bug' into 'master'
...
esp32c3: fix rf 40M loss package bug when CPU run 80M
See merge request espressif/esp-idf!12057
2021-01-20 18:48:52 +08:00
Jiang Jiang Jian
d017c21131
Merge branch 'nimble/support_wl_DLE_esp32c3' into 'master'
...
NimBLE: Support whtelist remove, packet length set APIs
Closes BT-1271 and BT-1242
See merge request espressif/esp-idf!12069
2021-01-20 17:17:34 +08:00
Li Shuai
6ef2a7def0
bootloader: fix external 32k xtal not found error
2021-01-20 16:51:20 +08:00
Angus Gratton
cfdd7f0f22
Merge branch 'feature/c3_crypto_gdma' into 'master'
...
AES/SHA: GDMA crypto driver
Closes IDF-2192 and IDF-2501
See merge request espressif/esp-idf!12014
2021-01-20 16:42:39 +08:00
Island
5cd5c96dc8
Merge branch 'bugfix/ble_mesh_prov_use_diff_rand' into 'master'
...
ble_mesh: stack: Use different random for each prov
See merge request espressif/esp-idf!9494
2021-01-20 16:35:47 +08:00
Michael (XIAO Xufeng)
e7ce01b197
Merge branch 'bugfix/flash_patch_for_new_api' into 'master'
...
spi_flash: enable spi_flash write unit-test on esp32c3
Closes IDF-2579
See merge request espressif/esp-idf!11973
2021-01-20 16:15:13 +08:00
Jiang Jiang Jian
26ae354dc5
Merge branch 'feature/support_esp32c3_lightsleep_master' into 'master'
...
support esp32c3 lightsleep for master
Closes IDF-2106
See merge request espressif/esp-idf!11975
2021-01-20 16:00:06 +08:00
lly
3ce6887aaf
ble_mesh: stack: Remove node set device name return status check
2021-01-20 14:48:24 +08:00
Prasad Alatkar
f401e9716f
NimBLE: Support APIs for whitelist remove and set packet length in controller
2021-01-20 11:58:33 +05:30
lly
690642be0e
ble_mesh: stack: Use different random for each provisioning
2021-01-20 14:09:44 +08:00
lly
16f5438810
ble_mesh: stack: Fix proxy client may fail to resend msg
2021-01-20 06:04:31 +00:00
Jiang Jiang Jian
53e1a7f661
Merge branch 'nimble_esp32c3_support' into 'master'
...
ESP32C3 NimBLE support
See merge request espressif/esp-idf!12046
2021-01-20 13:57:38 +08:00
Li Shuai
3170ecf268
deep sleep: add empty interface rtc_deep_sleep_start for esp32c3
2021-01-20 13:28:34 +08:00
Li Shuai
27ddbf5fcc
light sleep: libphy optimization for esp32c3
2021-01-20 13:28:30 +08:00
Jiang Jiang Jian
52762994b1
Merge branch 'feature/add_judge_MTU_for_dhcp' into 'master'
...
lw-ip:Add feature for dhcp MTU judgement
See merge request espressif/esp-idf!7829
2021-01-20 12:37:16 +08:00
Angus Gratton
55970fe3a2
Merge branch 'feature/esp32c3_support_brownout' into 'master'
...
esp32c3: Adds support BROWNOUT reset
Closes IDF-2397
See merge request espressif/esp-idf!11910
2021-01-20 12:19:56 +08:00
chaijie
f6c61544ae
esp32s2/esp32s3: Improve 32k xtal startup time
2021-01-20 03:51:21 +00:00
chaijie
7cf32b4387
esp32s2: Fix wakeup fail issue when pd peripheral in lightsleep.
...
esp32s2: fix wrong deepsleep configuration issue.
1. if RTC_CK8M_ENABLE_WAIT_DEFAULT set to 1, rtc peripherals will not poweron successfully if pd peripherals in light_sleep, the minimum RTC_CK8M_ENABLE_WAIT_DEFAULT is RTC_POWERUP_CYCLES + RTC_WAIT_CYCLES + 2;
2. when goto deepsleep after lightsleep waking up, rtc regulator should not force pu.
2021-01-20 03:51:07 +00:00
Ivan Grokhotkov
b69f94fb3a
Merge branch 'feature/move_ringbuf_funcs_into_flash' into 'master'
...
esp_ringbuf: add kconfig opt to move ringbuffer functions into flash
Closes IDF-2247
See merge request espressif/esp-idf!10731
2021-01-20 07:32:39 +08:00
Alex Lisitsyn
8bde6b8fca
esp_ringbuf: add kconfig opt to move ringbuffer functions into flash
2021-01-20 07:32:31 +08:00
KonstantinKondrashov
88c5fe49b8
soc: Adds a soc_caps define for all chips to define the number of boot key digests
2021-01-19 20:51:13 +08:00
KonstantinKondrashov
98f726fa4b
bootloader/esp32c3: Adds secure boot (not yet supported)
2021-01-19 20:51:13 +08:00
Prasad Alatkar
f959028486
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-01-19 17:03:00 +05:30
Chinmay Chhajed
62225cc47a
NimBLE: BLE 5.0 related configuration changes
...
Added some changes like checking idf_target = BT_SOC_SUPPORT_5_0
and menuconfig option to enable/disable host based privacy.
2021-01-19 17:02:56 +05:30
David Čermák
273b9f503c
Merge branch 'bugfix/mdns_txt_collision' into 'master'
...
mDNS: Fix of text length calculation when checking a collision
See merge request espressif/esp-idf!12002
2021-01-19 16:05:48 +08:00
Krzysztof Budzynski
08815671e0
Merge branch 'bugfix/adc_full_scale_voltages' into 'master'
...
docs: Update full-scale voltages for ESP32-S2 chip
Closes DOC-578
See merge request espressif/esp-idf!11214
2021-01-19 16:03:53 +08:00
Li Shuai
f168ac3b39
light sleep: add cpu power down support for esp32c3
2021-01-19 14:51:50 +08:00
Li Shuai
63c4e5481f
fix no RTOS SysTick interrupt for a period of time after the OS Scheduler is started
2021-01-19 14:51:22 +08:00
Li Shuai
a43de3a44b
fix set UART_FORCE_XOFF
can't stop new Tx request issue
2021-01-19 14:51:22 +08:00
Li Shuai
6d12fdd6e7
light sleep: add gpio configure workaround at slept status for esp32c3
2021-01-19 14:51:22 +08:00
Li Shuai
ac7d1bec76
light sleep: overhead time accuracy optimization for esp32c3
2021-01-19 14:50:58 +08:00
Li Shuai
aa7fd175b9
light sleep: light sleep support for esp32c3
2021-01-19 14:50:58 +08:00
Li Shuai
355dd10257
light sleep: dfs support for esp32c3
2021-01-19 14:50:58 +08:00
Krzysztof
6df6123ff6
docs: Update full-scale voltages for ESP32-S2 chip
2021-01-19 14:47:17 +08:00
chaijie
180d3fe44a
esp32c3: fix rf 40M loss package bug
2021-01-19 14:09:00 +08:00
Island
e39ed0ecf1
Merge branch 'bugfix/ble_mesh_log_macro' into 'master'
...
ble_mesh: stack: Add prefix for log macros
See merge request espressif/esp-idf!11962
2021-01-19 14:00:26 +08:00
Cao Sen Miao
d69a07ae20
spi_flash: enable spi_flash write unit-test on esp32c3
2021-01-19 12:04:57 +08:00
xiehang
dffbce9813
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-19 11:55:44 +08:00
Renz Bagaporo
d1c800fbbb
components: fix ldgen check errors
2021-01-19 11:17:18 +08:00
Renz Bagaporo
8d52b0b5e1
ci: exempt upstream libmbedtls mapping for sha256
2021-01-19 11:17:18 +08:00
Renz Bagaporo
32206d3a7d
ci: enabled ldgen mapping check in ci
2021-01-19 11:17:18 +08:00
Marius Vikhammer
51169b0e0c
AES/SHA: use GDMA driver instead of LL
2021-01-19 11:02:51 +08:00
lly
0edb86ddb0
ble_mesh: stack: Fix compile warning when log is disabled
2021-01-19 02:09:58 +00:00
lly
80bee1da1f
ble_mesh: stack: Add prefix BLE_MESH_ for log related macros
2021-01-19 02:09:58 +00:00
ronghulin
3b2281ecdb
bugfix: update wifi lib
...
1. Fix the bug that LR can't work on esp32c3
2. Unlock mutex for esp_wifi_80211_tx when out of memory
3. Fix issue that esp_wifi_80211_tx can't be used in ap mode
4. Fix the compile error for esp32c3 in ESPTouch v2
2021-01-19 00:28:16 +00:00
Angus Gratton
cfe8172e12
Merge branch 'feature/core_dump_walk_over_tasks_list' into 'master'
...
coredump: Adds RTOS snapshot API to walk over tasks lists
Closes IDF-541
See merge request espressif/esp-idf!8594
2021-01-19 05:54:12 +08:00
Alexey Gerenkov
3b0fa33c20
coredump: Adds compile time check for target support
2021-01-18 20:51:11 +03:00
Alexey Gerenkov
589a3d9336
coredump: Switches to RTOS snapshots walking API
2021-01-18 20:51:05 +03:00
David Čermák
0aeef17915
Merge branch 'bugfix/httpd_ws_async_wrong_len' into 'master'
...
httpd: Fixed wrong len in ws_send_async for longer packets
Closes IDFGH-4360
See merge request espressif/esp-idf!11686
2021-01-18 22:33:37 +08:00
xueyunfei
9dcbec406a
Add feature for dhcp MTU judgement
2021-01-18 14:30:06 +00:00
kapil.gupta
de22f3a4e5
MbedTLS: Add software fallback implementation for exp mod
...
Add configuration option to fallback to software implementation
for exponential mod incase of hardware is not supporting it
for larger MPI value.
Usecase:
ESP32C3 only supports till RSA3072 in hardware. This config option
will help to support 4k certificates for WPA enterprise connection.
2021-01-18 18:47:51 +05:30
suren.gabrielyan
be0ae1ebbb
mDNS: Fix of text length calculation when detecting a collision
2021-01-18 12:54:27 +00:00
Jiang Jiang Jian
3748fdbbb3
Merge branch 'feature/wifi_lightsleep_optimization' into 'master'
...
esp_wifi: Wi-Fi lightsleep optimization
See merge request espressif/esp-idf!11811
2021-01-18 20:43:52 +08:00
Jiang Jiang Jian
f5e7504000
Merge branch 'nimble/update_nimble-1.3.0-idf' into 'master'
...
NimBLE: Update NimBLE to latest 1.3.0 release
See merge request espressif/esp-idf!9917
2021-01-18 20:29:10 +08:00
David Cermak
c415c6f9a6
httpd: Fixed wrong header in ws_send_async() for lengthy packets
...
Closes https://github.com/espressif/esp-idf/issues/6196
2021-01-18 12:13:58 +00:00
Michael (XIAO Xufeng)
cf9ff5eccf
Merge branch 'feature/touch_sense_driver_core' into 'master'
...
feature(touch): add touch sense driver core
Closes IDF-2378
See merge request espressif/esp-idf!11824
2021-01-18 19:58:14 +08:00
Kang Zuoling
d16861001f
touch_element: add new touch library component
2021-01-18 17:01:08 +08:00
KonstantinKondrashov
e62d4a6b81
esp32s3: BROWNOUT reset reason is set directly without using the brownout ISR
2021-01-18 15:38:09 +08:00
KonstantinKondrashov
f58c296336
esp32s2: BROWNOUT reset reason is set directly without using the brownout ISR
2021-01-18 15:38:09 +08:00
KonstantinKondrashov
d81a93ae4c
esp32c3: Adds support BROWNOUT reset
2021-01-18 15:38:09 +08:00
ninh
659d805411
esp_wifi: light sleep optimization
2021-01-18 15:31:03 +08:00
Marius Vikhammer
03fa63b0c9
bootloader: add flash encryption support for C3
...
Adds flash encryption support for C3 and updates docs for S2 & C3
2021-01-18 14:10:54 +08:00
Island
c65a24063d
Merge branch 'update/ble_mesh_set_hsl_states' into 'master'
...
ble_mesh: stack: Enable updating lighting hsl state
See merge request espressif/esp-idf!12025
2021-01-18 13:20:59 +08:00
lly
187fb9d959
ble_mesh: stack: Fix compile warning with BIT macro
2021-01-18 08:59:14 +08:00
lly
3aabf571a8
ble_mesh: stack: Update mesh max conn macro when using bluedroid
2021-01-18 00:54:11 +00:00
Angus Gratton
e82fe93b3d
Merge branch 'feature/update_esptool' into 'master'
...
tools: Update esptool submodule
Closes IDFGH-4600
See merge request espressif/esp-idf!12011
2021-01-18 07:13:33 +08:00
Angus Gratton
5938b9a892
Merge branch 'feature/support_esp32c3_master_cmake_reset_reason' into 'master'
...
esp32c3: Add UTs for reset_reason
Closes IDF-2091
See merge request espressif/esp-idf!11546
2021-01-18 07:12:21 +08:00
Konstantin Kondrashov
d23c7690f2
esp32c3: Add UTs for reset_reason
2021-01-18 07:12:21 +08:00
Darian Leung
40bff84803
Add USB Host HAL
...
This commit adds the USB Host Driver HAL
2021-01-18 05:02:10 +08:00
Jiang Jiang Jian
6f39d90520
Merge branch 'feature/support_tx_amsdu' into 'master'
...
feature: support tx amsdu
Closes WIFI-1668
See merge request espressif/esp-idf!11167
2021-01-17 17:08:01 +08:00
Jiang Jiang Jian
8b33695495
Merge branch 'feature/support_esp32c3_s3_ble_5.0_and_bug_fix' into 'master'
...
Feature/support esp32c3 s3 ble 5.0 and bug fix
See merge request espressif/esp-idf!12007
2021-01-17 17:06:12 +08:00
Roland Dobai
eadb69aa36
tools: Update esptool submodule
...
Closes https://github.com/espressif/esp-idf/issues/6415
2021-01-16 09:37:04 +01:00
Prasad Alatkar
7252c99a14
BLE Mesh: Fix compilation for NimBLE-1.3.0 upgrade by typecasting adv data to void
2021-01-15 16:57:29 +00:00
Prasad Alatkar
8224aa69a2
NimBLE: Update NimBLE to latest 1.3.0 release
2021-01-15 16:57:29 +00:00
Roland Dobai
958bfcbf59
Update tinyusb to the latest upstream version
2021-01-15 15:06:20 +01:00
zwj
ea42d8e043
fix bluedroid deinit crash
2021-01-15 21:08:14 +08:00
lly
8aae9860ce
ble_mesh: stack: Enable updating lighting hsl state
2021-01-15 20:27:43 +08:00
ronghulin
adfa43a3a4
feature: support tx amsdu
2021-01-15 20:10:18 +08:00
Mahavir Jain
526f682397
Merge branch 'bugfix/httpd_session_close_lru' into 'master'
...
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru
Closes IDF-2443
See merge request espressif/esp-idf!11543
2021-01-15 20:06:00 +08:00
Ivan Grokhotkov
9cb3ac94c4
Merge branch 'bugfix/linenoise_probe' into 'master'
...
console: fix linenoiseProbe never timing out
Closes IDFCI-387
See merge request espressif/esp-idf!12012
2021-01-15 19:31:14 +08:00
Mahavir Jain
c0d6b18e88
Merge branch 'bugfix/wifi_prov_zero_networks' into 'master'
...
wifi_provisioning: Add a check for number of scanned networks while allocating memory
See merge request espressif/esp-idf!8249
2021-01-15 19:22:05 +08:00
Jiang Jiang Jian
9ff1609a20
Merge branch 'feature/add_esptouch_v2' into 'master'
...
WiFi: add ESPTouch v2
Closes WIFI-942 and WIFI-2619
See merge request espressif/esp-idf!10093
2021-01-15 19:11:47 +08:00
zwj
d624675087
fix connection param update timeout
2021-01-15 18:05:39 +08:00
zwj
ad09955b1f
fix crash when creating aux open failed, fix GAP_22026 failed
2021-01-15 18:05:18 +08:00
zwj
273d2fd5ec
fix multi-connection crash (smp-08003)
2021-01-15 18:05:04 +08:00
zhiweijian
e81104f377
fix add white list failed
2021-01-15 18:04:45 +08:00
zwj
61b1a4b7b8
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-01-15 18:04:27 +08:00
zhiweijian@espressif.com
d4619584d7
fix ble connect crash
2021-01-15 18:04:16 +08:00
zwj
1d1754e4b4
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-01-15 18:03:56 +08:00
zwj
0880c7bcf9
fix ble read multi char err when the number of handles is more than 10
2021-01-15 18:03:39 +08:00
zwj
4a719daa78
fix scan rsp length err
2021-01-15 18:03:27 +08:00
zwj
796a959fa5
fix vendor hci memory leak
2021-01-15 18:03:15 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
Ivan Grokhotkov
9b2b86b7d9
console: fix linenoiseProbe never timing out
...
Fixes a regression from 753a92952
: if cb was negative, read_bytes
overflowed, because the type was changed from int to size_t.
Also fixes incorrect timeout calculation: timeout_ms was 200, but
each iteration delayed for 10ms, and reduced timeout_ms by 1. This
made the effective timeout to be 2000ms.
2021-01-15 09:22:04 +01:00
ninh
27aa6c289f
components/pm: Add slp gpio configure workaround
2021-01-15 15:34:45 +08:00
Ivan Grokhotkov
bba7826ac0
Merge branch 'feature/c3_gdb_stub_regard_uart' into 'master'
...
gdbstub: C3 - protection for UART register region
Closes IDF-2533
See merge request espressif/esp-idf!11745
2021-01-15 15:23:58 +08:00
Angus Gratton
19883d9799
Merge branch 'bugfix/fix_sign_conversion_warnign' into 'master'
...
freertos: Silence sign-conversion warning
Closes IDFGH-3949
See merge request espressif/esp-idf!10724
2021-01-15 14:40:59 +08:00
Alexey Gerenkov
ae1cc5f49b
freertos: Adds snapshot API to walk over tasks lists
2021-01-15 06:37:12 +00:00
zhangyanjiao
1da9d9c356
esp_wifi: add esptouch v2
...
Closes https://github.com/espressif/esp-idf/issues/1311
2021-01-15 14:32:46 +08:00
Shubham Kulkarni
00876a8946
esp_http_server: Add lru_socket flag in sock_db to indicate httpd_sess_close is called from httpd_sess_close_lru
2021-01-15 05:53:41 +00:00
Michael (XIAO Xufeng)
b94c99a033
Merge branch 'feature/c3_twai_bringup' into 'master'
...
TWAI: bringup for S3 & C3
Closes IDF-2109 and IDF-1770
See merge request espressif/esp-idf!11984
2021-01-15 13:46:21 +08:00
Angus Gratton
ca7cc79d6b
Merge branch 'feature/c3_stack_watchpoint' into 'master'
...
c3 stack watchpoint
Closes IDF-2307
See merge request espressif/esp-idf!11576
2021-01-15 13:28:56 +08:00
Piyush Shah
388f4fd7ef
wifi_provisioning: Add a check for number of scanned networks while allocating memory
...
If number of scanned networks is zero, while getting the list, since we try
to allocate zero bytes, we get a NULL pointer in response. This is considered
as an error and the provisioning worflow breaks there.
Adding a check before allocation resolves the issue.
2021-01-15 05:01:35 +00:00
Angus Gratton
317c882133
Merge branch 'bugfix/elf_sha256_first_byte_skip' into 'master'
...
app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256
Closes IDFGH-4572
See merge request espressif/esp-idf!11981
2021-01-15 06:55:15 +08:00
morris
467d44970e
rmt: support setting loop count at runtime
2021-01-14 21:26:04 +08:00
morris
914ba4914a
gdma: fix potential cocurrency issue
...
Alloc handle memory first then hook, we can benifit:
1. Don't have to do malloc in a critical section
2. Don't have to do esp_intr_free in a critical section
2021-01-14 20:37:36 +08:00
Marius Vikhammer
0713e93b8f
TWAI: bringup for S3 and C3
2021-01-14 20:30:31 +08:00
Michael (XIAO Xufeng)
19d92ef6b2
Merge branch 'fix/tinyusb_cdc_remove_logv_assert_mutex_fail' into 'master'
...
tinyusb: reduce annoying log under verbose level in CDC
See merge request espressif/esp-idf!11934
2021-01-14 19:28:31 +08:00
Michael (XIAO Xufeng)
ea996df725
Merge branch 'feature/rmt_support_user_context_in_translator' into 'master'
...
rmt: support user context in translator
Closes IDFGH-4135 and IDFGH-3237
See merge request espressif/esp-idf!10894
2021-01-14 19:26:26 +08:00
Krzysztof Budzynski
8df9e67f15
Merge branch 'bugfix/show_missing_function_descriptions' into 'master'
...
docs: Update typos in 'esp_efuse.h' header file to show function descriptions
See merge request espressif/esp-idf!11923
2021-01-14 18:13:02 +08:00
Jakob Hasse
b51889dccb
system: stack watchpoint support on C3
...
Closes IDF-2307
2021-01-14 17:46:44 +08:00
Mahavir Jain
569ebc181a
Merge branch 'feature/enable_wifi_provisioning_for_esp32c3' into 'master'
...
wifi_provisioning: enable component build for ESP32-C3
Closes IDF-2251
See merge request espressif/esp-idf!11749
2021-01-14 17:35:12 +08:00
Itay Perl
563bc5d19d
app_update: fix incorrect first byte from esp_ota_get_app_elf_sha256
...
At -O2 optimization level, GCC seems to optimize out the copying of the
first byte of the checksum, assuming it is zero. This "miscompilation"
happens because the esp_app_desc struct is declared const, but then modified
post-compilation. Casting to volatile disables the optimization.
Closes: https://github.com/espressif/esp-idf/pull/6389
2021-01-14 17:10:49 +08:00
Island
1e73d90c29
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn' into 'master'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
See merge request espressif/esp-idf!11806
2021-01-14 14:47:21 +08:00
Mahavir Jain
ccf89cd4bf
wifi_provisioning: fix build warnings due to incorrect event handler argument type
2021-01-14 10:47:35 +05:30
Mahavir Jain
533c124280
wifi_provisioning: enable component build for ESP32-C3
2021-01-14 10:47:35 +05:30
Marius Vikhammer
4af99be229
cxx: re-enable cxx init_priority unit test for C3
2021-01-14 04:06:06 +00:00
Angus Gratton
a0eab085ad
Merge branch 'bugfix/return_EINVAL_if_truncate_length_minus_zero' into 'master'
...
fatfs: return EINVAL if truncate length is less than 0
Closes IDFCI-390
See merge request espressif/esp-idf!11980
2021-01-14 12:03:14 +08:00
morris
95e712039c
rmt: add workaround to get user context in a graceful way
2021-01-14 11:01:41 +08:00
Michael (XIAO Xufeng)
2d3f22918f
Merge branch 'feature/gdma_channel_allocator' into 'master'
...
gdma channel allocator
Closes IDF-2124
See merge request espressif/esp-idf!11570
2021-01-14 10:52:49 +08:00
Nishanth Samala
21bb6f2334
rmt: support rmt user context in translator
...
Merges https://github.com/espressif/esp-idf/pull/6002
2021-01-14 10:51:25 +08:00
Renz Bagaporo
ff2d9fd96c
[freertos] Silence sign-conversion warning
2021-01-14 10:54:15 +11:00
Angus Gratton
92ae75f955
Merge branch 'feature/support_serial_port_env_args_in_tools' into 'master'
...
Support port and baud env args for otatool targets
Closes IDFGH-3289
See merge request espressif/esp-idf!10812
2021-01-14 07:51:45 +08:00
Angus Gratton
401ad7f2e1
Merge branch 'bugfix/c3_retention_memory_aligned_alloc' into 'master'
...
heap: support aligned_alloc for retention memory on ESP32-C3
See merge request espressif/esp-idf!11974
2021-01-14 06:38:09 +08:00
morris
e9c131e174
fatfs: return EINVAL if truncate length is less than 0
2021-01-13 19:11:48 +08:00
Mahavir Jain
09604d6519
Merge branch 'bugfix/softap_prov_cookies' into 'master'
...
protocomm_httpd: Use HTTP cookies to track session
Closes IDFGH-4487
See merge request espressif/esp-idf!11883
2021-01-13 18:10:55 +08:00
jiangguangming
47f469b238
heap: support aligned_alloc for retention memory on ESP32-C3
2021-01-13 14:41:22 +08:00
Jiang Jiang Jian
7ef49203bd
Merge branch 'bugfix/wifi_fix_no_tbtt_in_station_softap_mode_when_listen_interval_sleep' into 'master'
...
esp_wifi: fix the issue that no tbtt is generated in station+softap mode when maximum modem sleep is enabled
See merge request espressif/esp-idf!11658
2021-01-13 14:17:08 +08:00
Angus Gratton
f683db7aea
Merge branch 'feature/c3_IDF-2554' into 'master'
...
global: Uses CCOUNT API instead of XTHAL macro
Closes IDF-2554
See merge request espressif/esp-idf!11954
2021-01-13 12:55:21 +08:00
Angus Gratton
820639cede
Merge branch 'bugfix/c3_init_priority' into 'master'
...
fix[cxx/system]: init_priority ordering on RISCV
Closes IDF-2206 and IDFGH-4527
See merge request espressif/esp-idf!11660
2021-01-13 12:52:21 +08:00
Angus Gratton
9769be3fde
Merge branch 'bugfix/fix_sign_compare' into 'master'
...
global: fix sign-compare warnings for system level components
See merge request espressif/esp-idf!11252
2021-01-13 12:45:05 +08:00
Piyush Shah
541cf16c9e
protocomm security1: Restart security session if SESSION_STATE_CMD0 is received
...
With the introduction of cookies to track a session, it is possible that the
clients restart the provisioning on the same session, specifically when a user
cancels a current provisioning attempt. This can result in an error as the state
on the device side and client side will go out of sync.
This has now been changed such that if SESSION_STATE_CMD0 is received on
an existing session, the state is reset and flow allowed to continue.
2021-01-13 04:34:10 +00:00
Piyush Shah
72fa8d0750
protocomm_httpd: Use HTTP cookies to track session
...
Earlier, a "socket connection" was being considered as a protocomm "session".
However, for HTTP, we cannot expect clients to necessarily use the same
socket for all requests of a given transaction. This was indeed causing
some failures for Wi-Fi provisioning from Android phones.
So, we have introduced http cookies to track a session even if the socket
connection does not stay intact throughout the transaction.
This change is backward compatible. If the client does not use cookies, the
socket connection will be considered as the session.
Closes: https://github.com/espressif/esp-idf/issues/6316
Reference: https://github.com/espressif/esp-idf/pull/6330
2021-01-13 04:34:10 +00:00
Xia Xiaotian
50681db44c
esp_wifi: fix the issue that no tbtt is generated in station+softap mode when
...
maximum modem sleep is enabled
close https://github.com/espressif/esp-idf/issues/6006
2021-01-13 04:20:23 +00:00
Jiang Jiang Jian
26418edc85
Merge branch 'bugfix/IDFCI-377-tag' into 'master'
...
ci: Fix ci IDFCI-377
Closes IDFCI-377
See merge request espressif/esp-idf!11919
2021-01-13 11:59:16 +08:00
morris
40a6a0fac6
async_mcp: apply gdma driver
2021-01-13 10:52:27 +08:00
morris
e6d23a35ec
gdma: dynamic alloc DMA channels
2021-01-13 10:52:27 +08:00
Krzysztof Budzynski
e277d8ef23
Merge branch 'bugfix/esp_sntp_header' into 'master'
...
docs: Add esp_sntp to API reference as it's default idf header
Closes DOC-854
See merge request espressif/esp-idf!11796
2021-01-13 10:28:39 +08:00
David Čermák
76f6dd6214
lwip: Moved default SNTP API to esp_sntp.h
...
and make sntp.h in port folders of lwip component obsoleted
2021-01-13 10:28:34 +08:00
ninh
6dd6c8c3cf
ci: fix IDFCI-377
2021-01-12 13:04:53 +00:00
David Cermak
a807f8e263
lwip: Fixed minor debug print format issue
...
This caused some unsigned int prints out to be printed as singed integer which made the logs unreadable, for example sequence numbers in TCP packet headers
2021-01-12 11:57:49 +00:00
KonstantinKondrashov
dada7cd035
global: Uses CCOUNT API instead of XTHAL macro
2021-01-12 16:24:23 +08:00
Michael (XIAO Xufeng)
a23b6d8ae0
Merge branch 'feature/update_touch_sensor_apis' into 'master'
...
driver: update touch sensor apis
See merge request espressif/esp-idf!11720
2021-01-12 15:39:42 +08:00
morris
753a929525
global: fix sign-compare warnings
2021-01-12 14:05:08 +08:00
Angus Gratton
6504d89050
Merge branch 'bugfix/newlib_FD_ISSET' into 'master'
...
newlib: Fix a case in FD_ISSET macro when n==-1
Closes IDF-2457
See merge request espressif/esp-idf!11794
2021-01-12 13:37:48 +08:00
Angus Gratton
0c341fe23f
Merge branch 'feature/support_esp32c3_master_cmake_random_support' into 'master'
...
fix: support bootloader random enable for esp32c3
Closes IDF-2305
See merge request espressif/esp-idf!11840
2021-01-12 08:21:18 +08:00
David Čermák
cee0e17b7f
Merge branch 'feature/add_websocket_mutual_tls' into 'master'
...
websocket: support mutual tls for websocket
Closes IDFGH-4200
See merge request espressif/esp-idf!11866
2021-01-11 21:45:02 +08:00
Angus Gratton
edac64b703
Merge branch 'feature/c3_master_unit_test' into 'master'
...
C3: build unit tests for C3
See merge request espressif/esp-idf!11856
2021-01-11 18:11:06 +08:00
Jakob Hasse
4c0cf6bf62
gdbstub: C3 - protection for UART register region
...
* reading the UART peripheral registers disturbs
gdbstub because it communicates via UART.
Hence, we protect it.
Closes IDF-2533
2021-01-11 17:09:42 +08:00
fuzhibo
312a0ad6c1
fix: support bootloader random enable for esp32c3
2021-01-11 14:41:09 +08:00
Michael (XIAO Xufeng)
caf1e9d570
Merge branch 'bugfix/soc_caps_implicit_inc' into 'master'
...
HAL: explicitly include soc_caps.h
Closes IDFGH-4547
See merge request espressif/esp-idf!11895
2021-01-11 14:18:10 +08:00
Michael (XIAO Xufeng)
87db7e1705
Merge branch 'bugfix/flash_consistent_with_rom' into 'master'
...
spi_flash: IDF repo stuff needs to be consistent with that in rom
See merge request espressif/esp-idf!11929
2021-01-11 14:14:53 +08:00
Marius Vikhammer
9c8e4fd4c5
C3: build and run unit tests
...
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors
Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Aditya Patwardhan
0841d2bc75
esp_tls: Add warning if the CA chain provided contains one/more invalid
...
cert
2021-01-11 03:20:35 +00:00
Michael (XIAO Xufeng)
680f924e86
tinyusb: reduce annoying log under verbose level in CDC
...
And a robust fix.
2021-01-11 01:00:06 +08:00
Ivan Grokhotkov
66ac736a8c
Merge branch 'bugfix/tusb_partial_read' into 'master'
...
usb: Add fix for tinyusb reading
Closes IDF-2029 and IDFGH-4465
See merge request espressif/esp-idf!10069
2021-01-11 00:07:29 +08:00
Jiang Jiang Jian
a42b0c8f06
Merge branch 'feature/support_esp32c3_wifi_master' into 'master'
...
Feature/support esp32c3 wifi master
See merge request espressif/esp-idf!11780
2021-01-10 16:16:29 +08:00
Chen Jian Xing
5b44295cb9
esp_wifi: fix esp32c3 code issues
...
1. enable wifi clk and rm dport header
2.syn phy_init_data.h from esp32
2021-01-10 16:16:28 +08:00
yuanjm
5ab774f9d8
websocket: support mutual tls for websocket
...
Closes https://github.com/espressif/esp-idf/issues/6059
2021-01-08 19:13:37 +00:00
David Cermak
9ffa9cce73
lwip: Add warning to use ESP_IDF_LWIP_HOOK_FILENAME if LWIP_HOOK_FILENAME defined
2021-01-08 14:28:21 +00:00
David Cermak
5993a49352
lwip: Add IDF hook filename to customize lwip hooks
...
LWIP_HOOK_FILENAME is used in IDF to define standard and default hooks for IDF port in LWIP.
Added ESP_IDF_LWIP_HOOK_FILENAME to customize additional hooks in lwip
Closes https://github.com/espressif/esp-idf/issues/6261
2021-01-08 14:28:21 +00:00
Andrei Gramakov
1d1896d409
tinyusb: Add fix for tinyusb reading
...
Closes IDF-2029
2021-01-08 14:21:26 +00:00
Ivan Grokhotkov
b53e8de443
Merge branch 'bugfix/tinyusb_vendor_msc' into 'master'
...
tinyusb: Fix Mass Storage and Vendor Class builds
See merge request espressif/esp-idf!11443
2021-01-08 21:34:34 +08:00
liaowenhao
6c0e3fe23c
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-01-08 20:58:35 +08:00
Cao Sen Miao
228a819a42
spi_flash: idf repo stuff tobe consistent with that in rom
2021-01-08 18:36:23 +08:00
Angus Gratton
c535d569aa
Merge branch 'bugfix/secure_boot_sig_failed_crash' into 'master'
...
secure boot: Fix crash if signature verification fails in app
Closes IDFGH-4376
See merge request espressif/esp-idf!11846
2021-01-08 16:23:29 +08:00
Krzysztof
90c0876b8a
docs: Update typos in 'esp_efuse.h' header file to show function descriptions
2021-01-08 15:29:52 +08:00
Angus Gratton
7069736c2a
Merge branch 'feature/bootloader_uses_efuse_keys_api' into 'master'
...
bootloader: Add using of efuse APIs for keys, purposes, wr/rd-protection bits
See merge request espressif/esp-idf!11110
2021-01-08 11:29:50 +08:00
Konstantin Kondrashov
fbba2cb356
bootloader/esp32s2: Add using of efuse APIs for keys, purposes, wr/rd-protection bits for flash encryption, secure boot
2021-01-08 11:29:46 +08:00
liaowenhao
08dc78412e
fix double malloc for SCO link when bta_ag_sco_co_open is also called in bta_ag_rfc_open
2021-01-07 11:37:24 +00:00
liaowenhao
60e2eb8dfc
bugfix/fixed the warning info always being printed when entering the cona command in msbc mode
2021-01-07 11:37:24 +00:00
lly
d0901c81f8
ble_mesh: stack: Fix using wrong | for OR between macros
2021-01-07 19:17:45 +08:00
Mahavir Jain
fee77509a9
Merge branch 'feature/update_cjson_to_v1.7.14' into 'master'
...
cJSON: update to v1.7.14 release
Closes IDFGH-4532
See merge request espressif/esp-idf!11892
2021-01-07 18:47:46 +08:00
David Čermák
40400a4d51
Merge branch 'bugfix/add_cert_for_eth_download_test' into 'master'
...
eth: added cert for download test
Closes IDFCI-70
See merge request espressif/esp-idf!11898
2021-01-07 16:52:32 +08:00
Jakob Hasse
ed42758549
[cxx/system]: fix init_priority ordering on RISCV
...
* C++ init_priority attributes work now on RISCV
* Add debug output for init_array functions
Closes IDF-2206
Closes https://github.com/espressif/esp-idf/issues/6351
2021-01-07 16:04:17 +08:00
Angus Gratton
16291ba7f5
Merge branch 'bugfix/freertos_hook_reg_invalid_arg_pr6275' into 'master'
...
freertos_hooks: Fix unbalance lock in deregistration for cpu functions
Closes IDFGH-4472
See merge request espressif/esp-idf!11855
2021-01-07 13:24:43 +08:00
Angus Gratton
cb9c4cb7f6
Merge branch 'bugfix/mbedtls_time_kconfig_doc' into 'master'
...
mbedtls: Expand KConfig documentation for MBEDTLS_HAVE_TIME_DATE
See merge request espressif/esp-idf!11854
2021-01-07 13:22:27 +08:00
Angus Gratton
5b68cf9de4
Merge branch 'feature/c3_ds' into 'master'
...
ESP32-C3 Digital Signature, HAL layer for DS.
Closes IDF-2111
See merge request espressif/esp-idf!10813
2021-01-07 13:07:28 +08:00
morris
c280dc3ac5
eth: added cert for download test
2021-01-07 11:22:23 +08:00
Marius Vikhammer
58c3f6a421
hal: explicitly include soc_caps.h
...
Many files in the HAL layer depended on SOC_ macros without
explicitly including soc_caps.h
2021-01-07 10:13:17 +08:00
KonstantinKondrashov
aec5776091
newlib: Fix a case in FD_ISSET macro when n==-1
2021-01-06 20:54:24 +00:00
Mahavir Jain
6ba648edac
cJSON: update to v1.7.14 release
...
Release notes:
https://github.com/DaveGamble/cJSON/releases/tag/v1.7.14
Closes https://github.com/espressif/esp-idf/issues/6356
2021-01-06 17:21:53 +05:30
Island
a63e7d55df
Merge branch 'bugfix/ble_mesh_node_id_adv' into 'master'
...
ble_mesh: stack: Fix Node ID adv with wrong timeout
See merge request espressif/esp-idf!11876
2021-01-06 17:07:55 +08:00
lly
847e408a82
ble_mesh: stack: Fix Node ID adv with wrong timeout
2021-01-06 06:02:18 +00:00
Jiang Jiang Jian
c05321424f
Merge branch 'bugfix/lightsleep_accuracy_opt' into 'master'
...
Lightsleep overhead time accuracy optimization
See merge request espressif/esp-idf!11291
2021-01-06 14:02:10 +08:00
Angus Gratton
da44e06f02
Merge branch 'feature/riscv_test_branch_cleanup' into 'master'
...
cleanup: move freertos code out from riscv component plus complete the interrupt-allocator implementation for C3
Closes IDF-2126, IDF-2228, IDF-2301, and IDF-2545
See merge request espressif/esp-idf!11136
2021-01-06 12:36:29 +08:00
Jiang Jiang Jian
eb9c2d584f
Merge branch 'bugfix/fix_tx_issue_after_esp_restart' into 'master'
...
components/bt: Shutdown Bluetooth before esp_restart.
See merge request espressif/esp-idf!11698
2021-01-06 12:32:03 +08:00
Jiang Jiang Jian
b790a1866f
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken' into 'master'
...
component/bt: fix Blufi sends customer data will congested when connection is broken
See merge request espressif/esp-idf!11845
2021-01-06 12:29:20 +08:00
ninh
dc7bdb9857
adjust lightsleep overhead time and cali slowclk
2021-01-06 03:40:28 +00:00
ninh
e908a32381
put pm_slp_iram_opt and pm_rtos_iram_opt related attributes in esp_pm/linker.lf
2021-01-06 03:40:28 +00:00
Armando
2bc1442351
spi_slave: add a dual board test of sending/receiving unalinged data on
...
esp32c3
This test can also be used between ESP32/S2/S3/C3.
2021-01-05 21:26:53 +08:00
David Cermak
5472deec6e
ci: Add MQTT publish test to standard test apps
2021-01-05 12:04:36 +00:00
David Cermak
9740db5004
ci: Extend the MQTT weekend test to check mqtt-enqueue api
2021-01-05 12:04:36 +00:00
David Cermak
9185f8f42c
MQTT: Add new config modes (outbox related, incremental id)
2021-01-05 12:04:36 +00:00
David Cermak
4291ffa753
MQTT: Update submodule reference to support new config modes
...
* Queueing publish messages to outbox when the client is not connected (default=off -> messages are queued if disconnected)
* Use of incremental msg-id instead of random id (default=off -> msg-id uses platform_random())
* Posting a new event-id if a queued message gets deleted from the outbox (default=off -> events are not posted)
Detailed description of included `esp-mqtt` changes
(da850b0add1e71b3659bfac5d797cc834dc3e89b...9ea804e0ab5368d5ab53ae2301a5fec9d1f12f1a)
* mqtt: Remove unused mqtt_header_state_t
- esp-mqtt commit: b7158a4aea
- esp-mqtt MR: espressif/esp-mqtt!84
- Merges https://github.com/espressif/esp-mqtt/pull/180
* Cleanup public include dirs
- esp-mqtt commit: f65d5d05db
- esp-mqtt MR: espressif/esp-mqtt!85
* Config: Add a new option to use incremental message id
- esp-mqtt commit: 8bb4a26f46
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/176
* Publish: Add new API to enqueue qos>0 messages
- esp-mqtt commit: dc7fd5c0b1
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/155
* Config: Add a new option to disable publishing when disconnected
- esp-mqtt commit: f44dcb1c26
- esp-mqtt MR: espressif/esp-mqtt!85
- Related https://github.com/espressif/esp-mqtt/issues/177
* Events: Add new event to report deleted messages from outbox
- esp-mqtt commit: 2e35d4d4d5
- esp-mqtt MR: espressif/esp-mqtt!85
* Publish: Allow for qos=0 messages to be stored using esp_mqtt_client_enqueue()
- esp-mqtt commit: e2de0f3e3e
- esp-mqtt MR: espressif/esp-mqtt!85
2021-01-05 12:04:36 +00:00
Mahavir Jain
47fa0721e3
Merge branch 'fix/esp_tls_return_error_when_no_server_verify_option' into 'master'
...
esp-tls: Changed default behaviour for esp-tls client regarding server verification
Closes IDF-2558
See merge request espressif/esp-idf!11739
2021-01-05 20:02:46 +08:00
Armando
23d08fbe85
spi_master: add a test for HD master to receive data correctly via dma
...
Issue Description:
If master is in HD mode, if it sends data without receiving data,
it will still enable the RX DMA because of old version ESP32 silicon issue.
And because there is no correctly linked RX DMA descriptor,
an inlink_dscr_error intr will be seen, which will influence the following RX transactions.
This issue is only found on ESP32.
2021-01-05 19:32:46 +08:00
Armando
0c3653b1fd
spi_master: fix master HD mode cannot correctly receive data issue when using DMA.
...
Issue Description:
If master is in HD mode, if it sends data without receiving data, it will
still enable the RX DMA because of old version ESP32 silicon issue. And
because there is no correctly linked RX DMA descriptor, an
``inlink_dscr_error`` intr will be seen, which will influence the
following RX transactions.
Solution:
Trigge this workaround only in FD mode.
TODO:
Add a test to check if this workaround related issue does exit. If so,
reporting to Digital Team is also needed.
2021-01-05 18:16:49 +08:00
Roland Dobai
eff26f8651
tinyusb: Fix Mass Storage and Vendor Class builds
2021-01-05 09:48:00 +00:00
Chinmay Chhajed
e016b6b79b
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-05 14:54:15 +05:30
Jiang Jiang Jian
4d8af87298
Merge branch 'bugfix/fix_csa_timer_issue' into 'master'
...
esp_wifi: Fix csa timer issue
Closes WIFI-3228 and WIFI-3223
See merge request espressif/esp-idf!11801
2021-01-05 16:11:55 +08:00
morris
7a71cedf87
interrupt: filter out reserved int number by decoding risc-v JAL instruction
2021-01-05 15:39:46 +08:00
morris
1f9629da9f
hal: put cpu_ll_get_core_id to IRAM
2021-01-05 15:39:46 +08:00
morris
9e7d2c0065
esp32c3: format and clean up interrupt and os port code
2021-01-05 15:39:46 +08:00
Felipe Neves
72e4655d4e
interrupt: removed descriptor table from esp32c3 interrupt hal.
2021-01-05 15:39:46 +08:00
Felipe Neves
5d316ac142
interrupt: added INTC FLEXIBLE capabillity to esp32c3 CPU caps
2021-01-05 15:39:46 +08:00
Felipe Neves
544a3f7df5
interrupt-allocator: reject vector allocation if its marked as not-implemented. and search to next available
2021-01-05 15:39:46 +08:00
Felipe Neves
ec5acf91ee
esp_shared_stack: enable shared stack function for riscv and reenable the unit test
2021-01-05 15:39:46 +08:00
Felipe Neves
f4781d3b1d
freertos: riscv port now uses interrupt allocator and crosscore interrupt
2021-01-05 15:39:46 +08:00
Felipe Neves
09bc1580be
intr_allocator: add abstractions for priority, type and edge-ack interrupt controller functions
2021-01-05 15:39:46 +08:00
Felipe Neves
810be86f21
freertos/riscv: move freertos aware interrupt code from vectors to the freertos riscv port.
...
The riscv vectors.S in riscv component contains the trap vector, which is responsible to
defer interrupts and examine if a task context switch is needed, this change cleans up
this code by hiding all freertos details behind on two functions rtos_it_enter/exit and
their implementations are placed in freertos riscv port files.
2021-01-05 15:39:46 +08:00
Aditya Patwardhan
ca964dfbcc
esp-tls: Changed default behaviour for esp-tls client ( for security
...
purpose)
By default esp-tls client will now return error if no server verify option
is provided, earlier it used to skip the verification by
default.
Added config option to skip server verification by default (for testing
purpose)
Updated required docs
2021-01-05 07:33:32 +00:00
David Čermák
e1d9abafa8
Merge branch 'bugfix/http_client_test_memcorupt' into 'master'
...
ci/test: Fix esp_http_client test not to use pointer after free
Closes IDFCI-350
See merge request espressif/esp-idf!11829
2021-01-05 15:15:32 +08:00
Mahavir Jain
2bfdd036b2
Merge branch 'bugfix/http_client_buffer_overread' into 'master'
...
esp_http_client: Fix buffer overread, update https_request example to use HTTP/1.1
Closes IDFGH-4303 and IDFGH-4288
See merge request espressif/esp-idf!11864
2021-01-05 14:11:06 +08:00
Jakob Hasse
e532a29288
[Peripheral/Security] DS peripheral driver
2021-01-05 12:26:59 +08:00
Jakob Hasse
9bd7145468
esp32c3: add mbedtls dependency for crypto tests
2021-01-05 12:26:59 +08:00
fuzhibo
e51a7a6b6f
driver: update touch sensor apis
2021-01-05 03:11:58 +00:00
Jiang Jiang Jian
e784469966
Merge branch 'bugfix/spp_data_send_delay' into 'master'
...
Add API to config QoS
See merge request espressif/esp-idf!9493
2021-01-05 10:32:51 +08:00
Bao Hong De
64d30fa6c4
Add API to config QoS
2021-01-05 10:32:47 +08:00
Michael (XIAO Xufeng)
de365a85db
Merge branch 'fix/esp32s3_gpio47' into 'master'
...
gpio: fixed GPIO47 not available issue on ESP32s3
See merge request espressif/esp-idf!11867
2021-01-05 10:25:30 +08:00
Angus Gratton
60ec13b122
Merge branch 'feature/make_uf2' into 'master'
...
tools: Wrap flash binaries into a UF2 file for flashing through USB MSC
See merge request espressif/esp-idf!11587
2021-01-05 07:17:27 +08:00
Michael (XIAO Xufeng)
6b5377f11a
gpio: fixed GPIO47 not available issue on ESP32s3
2021-01-04 20:21:06 +08:00
Shubham Kulkarni
6337ce9c3c
esp_http_client.c: Clear raw_len for response buffer after dispatching HTTP_EVENT_ON_FINISH event
...
Closes: https://github.com/espressif/esp-idf/issues/6146
2021-01-04 15:39:39 +05:30
Michael (XIAO Xufeng)
56cdf4268f
Merge branch 'ci/alternative_flash_performance' into 'master'
...
ci: only run flash performance test on specified runners
Closes IDF-2520
See merge request espressif/esp-idf!11673
2021-01-04 15:35:53 +08:00
Angus Gratton
795e69b570
mbedtls: Expand KConfig documentation for MBEDTLS_HAVE_TIME_DATE
...
Original comments were copied from mbedtls config.h, so not
directly applicable to ESP-IDF.
As reported https://esp32.com/viewtopic.php?f=13&t=18817&p=69772#p69772
2021-01-04 10:45:01 +11:00
Morozov-5F
a8837aa378
secure boot v2: Fix crash if signature verification fails in app
...
sha_handle is "finished" when verify_secure_boot_signature() returns and
should be nulled out.
Alternative version of fix submitted in https://github.com/espressif/esp-idf/pull/6210
Closes https://github.com/espressif/esp-idf/pull/6210
Signed-off-by: Angus Gratton <angus@espressif.com>
2020-12-31 14:43:47 +05:30
Omar Chebib
c218f669ba
panic on RISC-V: Take into account Merge Request comments
2020-12-31 15:46:17 +08:00
Ivan Grokhotkov
5962b1dc56
panic: print register dump on abort for RISC-V
...
Register values are necessary to perform host-side backtracing on
RISC-V. Print them in case of an abort as well.
2020-12-31 15:46:17 +08:00
Omar Chebib
a90dcfba1a
panic: Add support for SoC-level panic
...
Activate "invalid access to cache raises panic (PRO CPU)" CI unit
test in order to test SoC-level panics.
2020-12-31 15:46:17 +08:00
Omar Chebib
b6a450f824
panic: Add support for SoC-level panic
...
SoC level exceptions such as watchdog timer and cache errors are now supported.
Such exceptions now triggers a panic, giving more information about how
and when it happened.
2020-12-31 15:46:17 +08:00
Angus Gratton
e20833124e
Merge branch 'feature/c3_build_master' into 'master'
...
C3: build on master
Closes IDF-1757 and IDF-2489
See merge request espressif/esp-idf!11822
2020-12-31 15:06:55 +08:00
XieWenxiang
ba89eeabfa
component/bt: fix Blufi sends customer data will congested when connection is broken
2020-12-31 14:45:23 +08:00
Angus Gratton
db4fb49432
esp_common: Fix issue with SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY not visible on c3
...
Create a common symbol name to use from linker.lf fragments
2020-12-31 15:20:05 +11:00
Marius Vikhammer
eed154a583
esp_system: sync with C3 changes
...
Fixes interrupt allocation issue
2020-12-31 15:20:05 +11:00
Marius Vikhammer
f54e9269f3
esp_system: Don't compile sleep_mode.c on c3
2020-12-31 15:20:05 +11:00
Marius Vikhammer
68608f804c
esp32c3: Misc fixes needed to build & run
2020-12-31 15:20:05 +11:00
Michael (XIAO Xufeng)
7f147e09e9
Merge branch 'fix/efuse_utility_early_logd' into 'master'
...
efuse: revert EARLY_LOGD to LOGD
See merge request espressif/esp-idf!11828
2020-12-31 11:46:57 +08:00
Marius Vikhammer
0301c66bf0
esp32c3: Disable components that are not yet supported
2020-12-31 09:27:38 +11:00
Marius Vikhammer
3458469204
newlib: Update esp32c3 ROM support, use single init function
2020-12-31 09:27:37 +11:00
Jakob Hasse
a7683fc256
[system/tools]: gdbstub support C3
...
Closes IDF-1757
Closes IDF-2489
2020-12-31 09:27:00 +11:00
Angus Gratton
62cc864cbe
Merge branch 'feature/c3_hw_sup_merge_master' into 'master'
...
esp_hw_support: merge C3 changes to master
See merge request espressif/esp-idf!11820
2020-12-30 20:06:23 +08:00
Mahavir Jain
7d387cf65e
Merge branch 'fix/i2c_pm_lock' into 'master'
...
i2c: Acquire PM lock after acquiring mutex
See merge request espressif/esp-idf!11704
2020-12-30 15:44:34 +08:00
Michael (XIAO Xufeng)
707b1bd9b1
efuse: revert EARLY_LOGD to LOGD
...
introduced in 5cc329b9d0
2020-12-30 12:37:44 +08:00
David Cermak
2c50ec2cf9
ci/test: Fix esp_http_client test not to use pointer after free
2020-12-30 05:33:51 +01:00
chaijie
d505474f78
1. Fix CPU switch to 160M issue;
...
2. increase lightsleep voltage to make sure wakeup successfully;
3. add judgement code to whether wait or not when switch CPU frequency.
2020-12-30 12:32:31 +08:00
Marius Vikhammer
eb788deb03
esp_hw_support: merge C3 changes to master
...
Merge RTC related C3 changes to master
2020-12-30 12:20:41 +08:00
xiehang
84e44914c0
esp_wifi: Update WiFi lib
...
1. Fix csa timer issue
2. Fix country code last byte to space instead of NULL
3. Fix softap cannot forward A-MSDU
Closes https://github.com/espressif/esp-idf/issues/6315
2020-12-30 03:34:11 +00:00
Angus Gratton
641b92da75
Merge branch 'feature/add_c3_target_master' into 'master'
...
tools: merge C3 changes into master
Closes IDF-2364 and IDF-2564
See merge request espressif/esp-idf!11800
2020-12-30 10:39:14 +08:00
Angus Gratton
1760f47681
Merge branch 'feature/newlib_lock_retarget' into 'master'
...
newlib 3.3.0 _RETARGETABLE_LOCKING support
Closes IDF-2129
See merge request espressif/esp-idf!9141
2020-12-30 09:11:35 +08:00
Ivan Grokhotkov
de798541dc
tools: use riscv32-esp-elf toolchain for ESP32-S2 RISC-V ULP
...
riscv32-esp-elf toolchain (used for ESP32-C3) can also be used for
ESP32-S2 RISC-V ULP coprocessor.
This removes the riscv-none-embed-gcc toolchain which was originally
used for the ULP, and updates the docs and CMake files to use
riscv32-esp-elf.
Some flags are cleaned up and workarounds removed from CMake toolchain
file.
2020-12-29 19:19:18 +00:00
Roland Dobai
548ea1bdd5
tools: Wrap flash binaries into a UF2 file for flashing through USB MSC
...
@mmoskal This commit adds basic support for UF2 into ESP-IDF.
2020-12-29 18:14:47 +01:00
Ivan Grokhotkov
b7b9ea4361
newlib: add _RETARGETABLE_LOCKING support
...
This adds support for the retargetable locking implementation in
newlib 3. This feature will be enabled in the future toolchain builds.
With the present version of the toolchain, this code doesn't get used.
When _RETARGETABLE_LOCKING gets enabled, newlib locking implementation
will be modified as follows:
- Legacy ESP-specific _lock_xxx functions are preserved. This is done
because ROM copies of newlib in ESP32 and ESP32-S2 rely on these
functions through the function pointer table. Also there is some
code in IDF which still uses these locking functions.
- New __retarget_lock_xxx functions are introduced. Newlib expects
these functions to be provided by the system. These functions work
pretty much the same way as the ESP-specific _lock_xxx functions,
except one major difference: _lock_acquire receives the lock pointer
by value, and as such doesn't support lazy initialization.
- Static locks used by newlib are now explicitly initialized at
startup. Since it is unlikely that these static locks are used at
the same time, all compatible locks are set to point to the same
mutex. This saves a bit of RAM. Note that there are still many locks
not initialized statically, in particular those inside FILE
structures.
2020-12-29 16:18:04 +01:00
Ivan Grokhotkov
b1c4107275
vfs: zero-initialize struct stat in *_stat and *_fstat handlers
...
...otherwise some fields will contain garbage values.
This wasn't noticed until HAVE_BLKSIZE got enabled in newlib builds.
2020-12-29 16:18:04 +01:00
Ivan Grokhotkov
7f3b16a99d
freertos: always enable static allocation
...
to use it for newlib locks
2020-12-29 16:18:04 +01:00
David Cermak
0693e172de
mdns: Allow resolve its own non-strict answers
...
the mDNS responder should not repeat questions when replying, however resolvers
must ignore these questions field if they are present. esp-idf mDNS
library does include questions in answering packets (thus not strictly
following the RFC6762) so the resolver did not correctly resolved
another instance host name.
Closes https://github.com/espressif/esp-idf/issues/6190
2020-12-29 13:18:00 +00:00
Anton Maklakov
286f06b274
Merge branch 'bugfix/ci_flasher_args_json_dict_items' into 'master'
...
ci: fix flasher_args.json parser (iterate over dictionary)
Closes IDFCI-347
See merge request espressif/esp-idf!11787
2020-12-29 21:15:12 +08:00
Mahavir Jain
41aa787166
Merge branch 'fix/wolfssl_domain_name_check' into 'master'
...
esp_tls_wolfssl : Add domain name check
Closes IDF-2557
See merge request espressif/esp-idf!11737
2020-12-29 17:41:00 +08:00
Angus Gratton
629b4270b4
Merge branch 'feature/c3_mbedtls_merge' into 'master'
...
mbedtls: merge changes from C3 to master
Closes IDF-2544 and IDF-2114
See merge request espressif/esp-idf!11718
2020-12-29 12:37:08 +08:00
Omar Chebib
fcbc706a66
ci: fix flasher_args.json parser (iterate over dictionary)
...
Closes IDFCI-347
2020-12-29 12:27:51 +08:00
Angus Gratton
1b0442b963
Merge branch 'feature/unify_rtc_fast_mem_as_heap_config_across_chips' into 'master'
...
esp_system: make rtc fast memory to heap configuration unified across chips
Closes IDF-2503
See merge request espressif/esp-idf!11693
2020-12-29 11:41:05 +08:00
Marius Vikhammer
1b6891c5d8
mbedtls: merge changes from C3
2020-12-29 10:56:13 +08:00
Angus Gratton
2a5ac66a71
Merge branch 'feature/c3_docs_master_merge' into 'master'
...
Docs: merge C3 docs changes to master
Closes IDF-2546, IDF-2335, and IDF-2320
See merge request espressif/esp-idf!11722
2020-12-29 07:26:14 +08:00
Jiang Jiang Jian
98d838ef04
Merge branch 'bugfix/fix_espnow_bug_for_esp32c3' into 'master'
...
esp_wifi: fix the espnow bug for esp32c3
See merge request espressif/esp-idf!11768
2020-12-28 15:38:08 +08:00
Krzysztof Budzynski
d06d421844
Merge branch 'docs/fix_minor_documentation_issue' into 'master'
...
Docs: Fix minor documentation issue in the header file "sdmmc_cmd.h"
Closes IDFGH-4354
See merge request espressif/esp-idf!11760
2020-12-28 15:22:19 +08:00
Marius Vikhammer
da947d736f
Docs: Add C3 support to build_docs
2020-12-28 12:25:03 +08:00
Ivan Grokhotkov
fb7fbdb299
Merge branch 'feature/usb_host_ll' into 'master'
...
USB Host struct, LL Layer, and types
See merge request espressif/esp-idf!11669
2020-12-27 08:13:43 +08:00
Jiang Jiang Jian
56625eea1e
Merge branch 'bugfix/11kv_bugfixes' into 'master'
...
wpa_supplicant: Remove lock during processing of BTM/RRM packets
Closes WIFI-3182 and WIFI-3175
See merge request espressif/esp-idf!11717
2020-12-25 19:09:27 +08:00
zhangyanjiao
4ebc4eda8c
esp_wifi: fix the espnow bug for esp32c3
2020-12-25 18:31:35 +08:00
Jiang Jiang Jian
22fded3acf
Merge branch 'bugfix/support_sniffer_capture_fcs_err_packets' into 'master'
...
esp_wifi: Add FCS failed packets filter
Closes WIFI-3194, IDF-1832, and WIFI-892
See merge request espressif/esp-idf!11700
2020-12-25 18:08:59 +08:00
xiehang
c41f4a122a
esp_wifi: ESP32 phy add [sections:phy_iram]
2020-12-25 16:46:36 +08:00
xiehang
0cbb7d503d
esp_wifi: Update WiFi lib
...
1. Refactor wifi_interface_t
2. Faster WiFi station connect improvement, avoid 100ms passive scan
3. Add FCS failed packets filter
4. Update esp32 phy lib to v4660
Closes https://github.com/espressif/esp-idf/issues/986
2020-12-25 16:46:01 +08:00
raldone01
6e2dc5d291
Fix minor documentation issue
...
Merges https://github.com/espressif/esp-idf/pull/6192
Signed-off-by: yiying <yiying@MacBook-Air-Cindy.local>
2020-12-25 15:46:36 +08:00
xiehang
d1222ce158
esp_wifi: Refactor wifi_interface_t
2020-12-25 02:49:12 +00:00
Darian Leung
602a747b31
Add USB Host registers and types and LL layer
...
This commit adds the register struct, Low Level Layer, and
protocol types for USB Host
2020-12-24 19:43:42 +08:00
Chinmay Chhajed
d73ebb570b
Bluedroid: Fixes for some vulnerabilities.
...
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'
CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.
This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-24 10:52:12 +00:00
Ivan Grokhotkov
45afa158ff
Merge branch 'bugfix/nvs_str_cmp' into 'master'
...
NVS: fix string comparison
Closes IDF-2476
See merge request espressif/esp-idf!11523
2020-12-24 18:28:29 +08:00
Angus Gratton
c3ba995f2c
Merge branch 'ci/ccomp_performance_tests' into 'master'
...
unit_test: Refactor all performance tests that rely on cache compensated timer
See merge request espressif/esp-idf!11709
2020-12-24 13:44:52 +08:00
Angus Gratton
7a40b1695c
Merge branch 'feature/esp32c3_small_changes' into 'master'
...
esp32c3: Merge small target support changes
Closes IDF-2361
See merge request espressif/esp-idf!11714
2020-12-24 12:36:12 +08:00
Angus Gratton
8a52f20a79
Merge branch 'feature/freertos_add_xQueueGenericReceive' into 'master'
...
freertos: add `xQueueGenericReceive` for backward compatibility
See merge request espressif/esp-idf!11169
2020-12-24 12:20:03 +08:00
Mahavir Jain
880a63b2e9
esp_system: make rtc fast memory to heap configuration unified across chips
...
Closes IDF-2503
2020-12-24 09:46:35 +05:30
Angus Gratton
7f98aedd23
Merge branch 'bugfix/misc_secure_boot_v2' into 'master'
...
Bugfix/misc secure boot v2
See merge request espressif/esp-idf!11678
2020-12-24 11:56:09 +08:00
Angus Gratton
309d76e986
Merge branch 'feature/support_esp32c3_master_cmake_efuse_to_mater' into 'master'
...
efuse: Merge C3 efuse changes to master
Closes IDF-2548
See merge request espressif/esp-idf!11719
2020-12-24 11:43:00 +08:00
Angus Gratton
af845b7de2
xtensa: Disable component on esp32c3
2020-12-24 14:18:02 +11:00
Angus Gratton
1741ae941e
vfs: Update for esp32c3
...
From internal commit 6d894813
2020-12-24 14:18:02 +11:00
Angus Gratton
e2d4f0e320
riscv: Place stdatomic file in iram
2020-12-24 14:18:01 +11:00
Angus Gratton
99d93c1227
newlib: Update unit tests for ESP32-C3
2020-12-24 14:18:01 +11:00
Angus Gratton
570ef56d86
wear_levelling: Re-enable for ESP32-C3
2020-12-24 14:18:01 +11:00
Angus Gratton
690dc5d023
sdmmc: Temporarily disable sd_spi test cases
...
From internal commit 6d894813
2020-12-24 14:18:01 +11:00
Angus Gratton
1449eb8e9f
esp_common fpga: Fix bootloader_fill_random() emulation
2020-12-24 14:18:01 +11:00
Marius Vikhammer
4ff8c7ae98
esp_rom/esp_system: Add flag for ROM multiple UART output, esp32c3 console
...
From internal commit 6d894813
2020-12-24 14:18:01 +11:00
Angus Gratton
544c5e57ce
esp32c3: Add tests for esp_sha, stack checker
...
From internal commit 6d894813
2020-12-24 14:18:01 +11:00
Angus Gratton
adbf182bc5
bootloder_support: esp32c3 only supports XTS-AES-128 flash encryption
2020-12-24 13:40:01 +11:00
Angus Gratton
8fa2cf464a
fatfs: Whitespace cleanup
2020-12-24 13:40:01 +11:00
Angus Gratton
61c77d9212
esp_system: Add port-specific esp32c3 files
2020-12-24 13:40:01 +11:00
Angus Gratton
55155c3f82
esp_system: Rename _init_start symbol to _vector_table
2020-12-24 13:40:01 +11:00
Angus Gratton
cfbded2ea1
esp_system: Add extra MMU config step for ESP32-C3
2020-12-24 13:40:01 +11:00
Angus Gratton
01696afc34
esp32c3: Add new esp_sleep_is_valid_wakeup_gpio() function
2020-12-24 13:40:01 +11:00
Angus Gratton
f9e1ee35ad
esp_serial_slave_link: Add essl_spi definitions for esp32c3
...
From internal commit 6d894813
2020-12-24 13:40:01 +11:00
Angus Gratton
a5aac93051
esp_rom: Small changes for esp32c3 support
...
Updated from internal commit 6d894813
2020-12-24 13:40:01 +11:00
Angus Gratton
ed737becde
soc: Move esp32c3 soc_memory_layout.c to soc component
...
Was incorrectly placed in esp_hw_support
2020-12-24 13:40:01 +11:00
Michael (XIAO Xufeng)
d5e1f43175
Merge branch 'feature/support_ext_flash_c3' into 'master'
...
esp_flash: support external flash on C3
Closes IDF-2123
See merge request espressif/esp-idf!11648
2020-12-24 10:30:20 +08:00
Michael (XIAO Xufeng)
4d9df27c2f
Merge branch 'bugfix/flash_mmap_output_psram_arg' into 'master'
...
mmap: fixed the issue mmap cannot be called with pointers to psram
See merge request espressif/esp-idf!11537
2020-12-24 10:28:03 +08:00
Angus Gratton
30a96d22e1
Merge branch 'feature/esp32c3_soc_changes' into 'master'
...
soc: Apply esp32c3 updates
See merge request espressif/esp-idf!11712
2020-12-24 09:20:24 +08:00
Angus Gratton
b7f4c46a82
soc: Update esp32c3 soc headers
...
From internal commit 6d894813
2020-12-24 10:47:34 +11:00
Jiang Jiang Jian
413d3ab6dd
Merge branch 'bugfix/fix_csi_bug_for_esp32s2' into 'master'
...
esp_wifi: fix the bug that esp32s2 can't get CSI info
Closes WIFI-2837 and WIFI-1311
See merge request espressif/esp-idf!11573
2020-12-23 23:50:54 +08:00
Aditya Patwardhan
39b446f9fe
esp_tls_wolfssl : Add domain name check
2020-12-23 18:10:36 +05:30
jiangguangming
867255bbab
efuse: Add support ESP32-C3
...
Updated:
- CSV eFuse table
- Kconfig
- efuse_table_gen.py
- UTs
- espefuse.py
efuse/c3: Fix the burn order of BLOCKs (MAX->0)
efuse/c3: Support efuse API with keys, protection, purpose bits
tool/ci: Adds test_efuse_table_on_host for esp32s3 and esp32c3
2020-12-23 18:39:18 +08:00
zhangyanjiao
e040168a9f
esp_wifi: fix the bug that esp32s2 can't get CSI info
...
Closes https://github.com/espressif/esp-idf/issues/5857
Closes https://github.com/espressif/esp-idf/issues/1855
2020-12-23 16:18:11 +08:00
Jiang Jiang Jian
788e9fa49a
Merge branch 'feature/lightsleep_related_iram_opt' into 'master'
...
components/pm: Add sleep related code iram opt chioce
See merge request espressif/esp-idf!11290
2020-12-23 14:45:43 +08:00
Liu Ning
57aa65eeed
components/pm: Add sleep related code iram opt chioce
2020-12-23 14:45:36 +08:00
Jiang Jiang Jian
52e66cb143
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs' into 'master'
...
component_bt/fix spp vfs demo crash when use dynamic memory
See merge request espressif/esp-idf!11502
2020-12-23 12:36:44 +08:00
ChenJianxing
1780d9d2b5
esp_wifi: optimize phy version log
2020-12-23 10:47:25 +08:00
Angus Gratton
6d6510c39b
soc: Move esp32c3 soc_memory_layout.c to soc component
...
Was incorrectly placed in esp_hw_support
2020-12-23 11:49:16 +11:00
Angus Gratton
705d797b41
Merge branch 'feature/esp32c3_drivers' into 'master'
...
driver: Add esp32c3
Closes IDF-2363
See merge request espressif/esp-idf!11650
2020-12-23 08:43:31 +08:00
Angus Gratton
04c681443e
hal esp32c3: Add placeholder rtc_io_ll.h
2020-12-23 09:53:24 +11:00
Angus Gratton
1cc206f393
driver: Only build dedic_gpio driver on supported chips
2020-12-23 09:53:24 +11:00
Armando
2d37bfa126
driver: Add adc_digi single conversion mode
...
- add lock for single read and continuous read APIs
- update onetime read start singal delay for hardware limitation[*]
- move adc_caps to soc_caps.h
- update license dates
[*] There is a hardware limitation. If the APB clock frequency is high, the
step of this reg signal: ``onetime_start`` may not be captured by the
ADC digital controller (when its clock frequency is too slow). A rough
estimate for this step should be at least 3 ADC digital controller
clock cycle.
2020-12-23 09:53:24 +11:00
Angus Gratton
fa892eb017
soc: Explain units for rtc_clk_cal() function, fix typo
2020-12-23 09:53:24 +11:00
Angus Gratton
75dede2344
esp_hw_support: Add esp32c3 regi2c headers
2020-12-23 09:53:24 +11:00
Angus Gratton
8e0d423a5e
driver: Add rtc_io hold/wakeup c3 support
...
Temporary implementation, should be moved to HAL
Copied from internal commit 3ef01301ff
2020-12-23 09:53:24 +11:00
Cao Sen Miao
e338a2e3df
rtc: add function to en/disable the rtc clock
2020-12-23 09:53:24 +11:00
Angus Gratton
f09b8ae7a4
driver: Add esp32c3 ADC driver
...
Based on internal commit 3ef01301fffa552d4be6d81bc9d199c223224305
2020-12-23 09:53:24 +11:00
Angus Gratton
27a9cf861e
driver: Add esp32c3 drivers (except ADC/DAC) and update tests
...
Some ESP32-C3 drivers are still pending.
Based on internal commit 3ef01301fffa552d4be6d81bc9d199c223224305
2020-12-23 09:53:24 +11:00
Jiang Jiang Jian
fcfb7cea4a
Merge branch 'bugfix/sync_baidu_fix_to_master' into 'master'
...
esp_wifi: Sync baidu fix to master
See merge request espressif/esp-idf!11188
2020-12-22 22:10:41 +08:00
Mahavir Jain
96288d82d4
Merge branch 'bugfix/build_issue_with_rtc_gpio_desc_configuration' into 'master'
...
Fix build issue with rtc gpio desc configuration
Closes IDFGH-4470 and IDFGH-4167
See merge request espressif/esp-idf!11699
2020-12-22 21:04:24 +08:00
kapil.gupta
f14da2ecc0
wpa_supplicant: Remove lock during processing of btm/rrm packets
...
Lock is not required during btm/rrm action frames processing and
taking it may cause inconsistant behavior since wifi task
posts the events to this task.
2020-12-22 16:56:41 +05:30
Cao Sen Miao
83f6eaf0d2
ci: make flash performance test alternative
2020-12-22 16:46:04 +08:00
Marius Vikhammer
0a95151a75
unit_test: Refactor all performance tests that rely on cache compensated timer
...
There is no ccomp timer on C3, which means our performance tests will start
failing again due to variance caused by cache misses.
This MR adds TEST_PERFORMANCE_CCOMP_ macro that will only fail
performance test if CCOMP timer is supported on the target
2020-12-22 18:56:24 +11:00
xiehang
32dd739da4
esp_wifi: Update wifi lib
...
1. Add check CSA state before CSA timer process
2. Change wifi scan duration from 120ms to 100ms
3. Using deport reg instead of ahb
4. Check TID in ieee80211_recv_bar()
5. Revert to report specific reason code when receiving deauth during 4-way-handshark
6. Fix the bug that tx ampdu parameter is not from peer device
2020-12-22 15:48:24 +08:00
Michael (XIAO Xufeng)
ad6ed3fd2e
mmap: fixed the issue mmap cannot be called with pointers to psram
2020-12-22 13:42:42 +08:00
Michael (XIAO Xufeng)
7f3e61cf63
esp_flash: add support for external flash on C3
2020-12-22 13:31:04 +08:00
ronghulin
b4e4fd7a67
bugfix: fix some wifi bugs
...
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
Closes https://github.com/espressif/esp-idf/issues/6267
2020-12-22 11:51:13 +08:00
Island
7ed95d13b1
Merge branch 'feat/ble_mesh_support_ble_scan' into 'master'
...
ble_mesh: stack: Add BLE scan callback when mesh is enabled
Closes BLEMESH-252
See merge request espressif/esp-idf!10918
2020-12-22 10:46:59 +08:00
Sachin Parekh
6e1f53bce3
i2c: Acquire PM lock after acquiring mutex
2020-12-22 00:50:19 +05:30
Jiang Jiang Jian
f13ace5253
Merge branch 'bugfix/wifi_bugs_fixes' into 'master'
...
esp_wifi: Fix some wifi bugs.
Closes WIFI-3105, WIFI-3166, and WIFI-3174
See merge request espressif/esp-idf!11651
2020-12-21 23:41:51 +08:00
baohongde
3b0fc48ab4
components/bt: Shutdown Bluetooth before esp_restart.
2020-12-21 20:08:10 +08:00
Mahavir Jain
953418dbb4
Merge branch 'bugfix/missing_coreinfo_in_vtasklist' into 'master'
...
freertos: Fix missing affinity info in vTaskList
Closes IDFGH-4239 and IDFGH-4241
See merge request espressif/esp-idf!11606
2020-12-21 19:43:40 +08:00
lly
ac93a38990
ble_mesh: stack: Support reporting normal ble adv packets
2020-12-21 09:08:25 +00:00
lly
a6ebe48e6e
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2020-12-21 09:08:25 +00:00
lly
1bb3f693d5
ble_mesh: stack: Move ble scan funcitons to a single file
2020-12-21 09:08:25 +00:00
lly
9be0120d94
ble_mesh: stack: Optimize handling received mesh adv packets
2020-12-21 09:08:25 +00:00
kapil.gupta
903198ad7f
esp_wifi: Fix some wifi bugs.
...
1. Send encrypted mgmt frames in pmf connection
2. Remove dependecy of SHA256 AKM on PMF
3. Fix null pointer dereference
4. Set TTLS default phase2 method as MSCHAPV2.
2020-12-21 14:27:10 +05:30
boarchuz
06d6146445
fix rtc_gpio_desc_t compilation error
...
Closes https://github.com/espressif/esp-idf/pull/6029
Closes https://github.com/espressif/esp-idf/issues/6301
Closes IDFGH-4470
Closes IDFGH-4167
2020-12-21 13:54:52 +05:30
Angus Gratton
778b54bbcb
Merge branch 'bugfix/correct_logging_timestamp_format' into 'master'
...
log: correct timestamp formatting to unsigned integer type
Closes IDFGH-4393
See merge request espressif/esp-idf!11605
2020-12-21 15:08:30 +08:00
Supreet Deshpande
c4cf6d6d26
Secure boot v2: Fixes the issue of passing the flash calculated digest for ota verification.
2020-12-21 11:32:37 +05:30
Supreet Deshpande
e517b4953f
Secure Boot v2: Fix the double padding of the image length during flash encryption
...
Fixes https://github.com/espressif/esp-idf/issues/6236
2020-12-21 11:32:37 +05:30
Mahavir Jain
ec4de5bd38
Merge branch 'feature/upgrade_mbedtls_to_v2.16.9' into 'master'
...
mbedtls: upgrade to v2.16.9 release
See merge request espressif/esp-idf!11596
2020-12-21 13:09:38 +08:00
Jiang Jiang Jian
21e6706e07
Merge branch 'feature/support_esp32c3_wifi' into 'master'
...
esp_wifi: add esp32c3 wifi lib
See merge request espressif/esp-idf!11610
2020-12-21 12:27:33 +08:00
Jiang Jiang Jian
bba4325ce5
Merge branch 'bugfix/btdm_clear_llcp_rsp_timeout_after_reject' into 'master'
...
btdm bugfix: clear the timer after remote reject when respond the parameters update
Closes BCI-101
See merge request espressif/esp-idf!11667
2020-12-21 12:13:32 +08:00
Krzysztof Budzynski
8e4c73b1d1
Merge branch 'bugfix/minor_docs_fixes' into 'master'
...
minor docs fixes
See merge request espressif/esp-idf!11430
2020-12-21 11:31:00 +08:00
Angus Gratton
06bdaba0e8
Merge branch 'tuning/heap_tlsf_sl_tune' into 'master'
...
heap: increase the second level list length to reduce the fragmentation to acceptable level.
See merge request espressif/esp-idf!11668
2020-12-21 08:54:32 +08:00
David Čermák
1b1c42440b
Merge branch 'feature/enable_lwip_checksums' into 'master'
...
lw-IP: Add Kconfig options to enable/disable checksum validation for IP/UDP/ICMP
Closes IDFGH-4349
See merge request espressif/esp-idf!11429
2020-12-19 02:44:47 +08:00
ryan kurte
85083ddc3d
lwip: Added debug config options for DHCP and TCP
2020-12-18 16:38:59 +00:00
ryan kurte
5d91a27a1e
lwip: Added KConfig option to control checksum validation on IP/UDP/ICMP
...
This maintains the current default, but could be swapped if desired
Merges https://github.com/espressif/esp-idf/pull/6187
2020-12-18 16:38:59 +00:00
suren.gabrielyan
f33772c960
mDNS: Fix of collision detection during txt length calculation
...
Closes https://github.com/espressif/esp-idf/issues/6114
2020-12-18 15:38:30 +00:00
Angus Gratton
c3cc5b17e0
Merge branch 'feature/esp32c3_spi_flash' into 'master'
...
spi_flash: Add esp32c3 support
Closes IDF-2362
See merge request espressif/esp-idf!11639
2020-12-18 14:02:04 +08:00
Krzysztof Budzynski
3474daecb1
Merge branch 'bugfix/doxygen_warnings' into 'master'
...
Docs: fix doxygen warnings
See merge request espressif/esp-idf!11643
2020-12-18 13:44:07 +08:00
Angus Gratton
3b37c87535
Merge branch 'bugfix/delete_gdbstub_h' into 'master'
...
esp_system: remove remaining use of old gdbstub header
Closes IDFGH-4444
See merge request espressif/esp-idf!10717
2020-12-18 13:03:24 +08:00
Renz Bagaporo
32dc37fbe8
esp_system: remove remaining use of old gdbstub header
...
Closes https://github.com/espressif/esp-idf/issues/6274
2020-12-18 09:32:24 +08:00
Felipe Neves
89d461df2a
heap: increase the sl to reduce the fragmentation to acceptable level.
2020-12-17 12:52:56 -03:00
gengyuchao
247484c454
bugfix: clear the timer after remote reject when respond the parameters update
2020-12-17 22:19:44 +08:00
Mahavir Jain
b85c534130
mbedtls: upgrade to v2.16.9 release
...
For details release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.9
2020-12-17 14:15:41 +05:30
Angus Gratton
06ec032c0c
spi_flash: Simplify init-time size check
2020-12-17 15:34:13 +11:00
Cao Sen Miao
0736c91d68
soc: Remove cache constants from soc.h
2020-12-17 15:34:13 +11:00
Angus Gratton
d4c9a45675
spi_flash: Add ESP32-C3 support
...
Based on internal commit 3ef01301fff
2020-12-17 15:34:13 +11:00
Renz Bagaporo
84d3b0f81d
otatool: let fail early on exception
...
otatool gives a 'target has no otadata' error instead of the real cause
(because of wrong port specified, for example)
2020-12-17 11:25:32 +08:00
Renz Bagaporo
a926039575
esptool_py: simplify serial tool script
2020-12-17 11:25:32 +08:00
Renz Bagaporo
55684fab72
esptool_py: use serial script for monitor
2020-12-17 11:25:32 +08:00
Renz Bagaporo
dec7b86721
app_update: support port and baud env variables for otatool targets
...
Closes https://github.com/espressif/esp-idf/issues/5280
2020-12-17 11:25:32 +08:00
Renz Bagaporo
ca6c093d1a
esptool_py: make script generic for serial ops
2020-12-17 11:25:32 +08:00
wangcheng
386a8e37f1
components/bt:fix exl200, add btdm_disable_adv_delay, fix RPA addr update error.
2020-12-17 10:57:54 +08:00
wangcheng
cc7dbc6177
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-17 10:54:56 +08:00
Jiang Jiang Jian
c2364e133d
Merge branch 'bugfix/free_acl_rx_buf_in_em' into 'master'
...
Free ACL RX Buf in EM when disconnection
Closes BT-1083 and BT-1152
See merge request espressif/esp-idf!11590
2020-12-16 18:02:44 +08:00
Wei Tian Hua
6b7c878581
Free ACL RX Buf in EM when disconnection
2020-12-16 18:02:39 +08:00
Ivan Grokhotkov
792dc6ebb8
Merge branch 'feature/linux_target' into 'master'
...
build system: Add Linux target
Closes IDF-2145
See merge request espressif/esp-idf!10076
2020-12-16 16:25:38 +08:00
Marius Vikhammer
dc0e80a4c8
Docs: fix doxygen warnings
2020-12-16 14:37:14 +08:00
Jakob Hasse
7b223c3337
NVS: fix string comparison
...
Closes IDF-2476
2020-12-16 13:53:17 +08:00
Axel Lin
93c79c4516
freertos_hooks: Fix unbalance lock in deregistration for cpu functions
...
Current code exits the deregistration for cpu functions with spinlock held when
cpuid >= portNUM_PROCESSORS. Fix it.
Fixes: 9d63e1da4a
("New Task Watchdog API (Revert of Revert)")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-12-16 09:10:38 +08:00
Ivan Grokhotkov
25a4a61665
Merge branch 'bugfix/nvs_coverage_script' into 'master'
...
NVS: fixed coverage-report target in Makefile
See merge request espressif/esp-idf!11218
2020-12-16 00:30:07 +08:00
Ivan Grokhotkov
632a33cef8
Merge branch 'fix/nvs_flash_api_docs' into 'master'
...
nvs_flash: fix nvs initialization API documentation
See merge request espressif/esp-idf!11621
2020-12-15 19:56:55 +08:00
Ivan Grokhotkov
829d94ad01
Merge branch 'fix/rtc_fast_memory_force_on_in_use_for_heap' into 'master'
...
fix: RTC_FAST_MEM always power on if used for heap
See merge request espressif/esp-idf!11555
2020-12-15 18:45:20 +08:00