Commit Graph

26141 Commits

Author SHA1 Message Date
Vilem Zavodny
4d9d8c5eca examples/spi_lcd_touch: Fixed colors on ILI9341.
(cherry picked from commit 0ea1317983)
2023-01-13 13:42:30 +01:00
Shyamal Khachane
e4f5fe72d0 esp_wifi: Fix missing disconnected callback 2023-01-13 13:27:32 +05:30
Jiang Jiang Jian
fbeedbc238 Merge branch 'bugfix/prevent_open_auth_sae' into 'release/v5.0'
Fix SAE open auth and PMK issues (Backport v5.0)

See merge request espressif/esp-idf!21852
2023-01-13 15:51:56 +08:00
Jiang Jiang Jian
179a2717c0 Merge branch 'bugfix/esp_netif_ip_reconnect_v5.0' into 'release/v5.0'
esp_netif: Post IP event for PPP netifs unconditionally (v5.0)

See merge request espressif/esp-idf!21670
2023-01-12 16:21:26 +08:00
Jiang Jiang Jian
42bf734139 Merge branch 'bugfix/esp32s3_int_wdt_v5.0' into 'release/v5.0'
system: disable interrupts in esp_restart_noos_dig to fix infinite int_wdt on ESP32-S3 (v5.0)

See merge request espressif/esp-idf!21769
2023-01-12 16:19:27 +08:00
Jiang Jiang Jian
96db537020 Merge branch 'feature/apply_new_version_logic_v5.0' into 'release/v5.0'
all: Apply new version logic (major * 100 + minor) (v5.0)

See merge request espressif/esp-idf!20941
2023-01-12 16:18:23 +08:00
Mahavir Jain
6988e82430 Merge branch 'feature/esp_http_server_esp_events_v5.0' into 'release/v5.0'
esp_http_server: Added support for esp_events (v5.0)

See merge request espressif/esp-idf!21844
2023-01-12 12:40:12 +08:00
Mahavir Jain
00d5130b65 Merge branch 'fix/wifi_prov_scan_method_v5.0' into 'release/v5.0'
Changed wifi provisioning scan method (v5.0)

See merge request espressif/esp-idf!21854
2023-01-12 12:39:20 +08:00
Mahavir Jain
ef5465b3d9 Merge branch 'feature/gcm_operation_using_ctr_based_calculation_v5.0' into 'release/v5.0'
GCM operation optimisation (v5.0)

See merge request espressif/esp-idf!21856
2023-01-12 12:38:42 +08:00
Mahavir Jain
31f239c22f Merge branch 'bugfix/esp_tls_timeout_v5.0' into 'release/v5.0'
esp_tls: Fix issue when timeout is not explicitly given in esp_tls_cfg_t (v5.0)

See merge request espressif/esp-idf!21743
2023-01-12 12:37:58 +08:00
Mahavir Jain
bc918310c2 Merge branch 'esp_local_ctrl/fix_https_server_dep_v5.0' into 'release/v5.0'
esp_local_ctrl: Add support for insecure HTTP server transport (v5.0)

See merge request espressif/esp-idf!21815
2023-01-12 12:37:26 +08:00
Mahavir Jain
e0f215811e Merge branch 'bugfix/remove_s3_dis_boot_remap_efuse_bit_v5.0' into 'release/v5.0'
docs: remove mention of DIS_BOOT_REMAP for chips other than ESP32-S2 (v5.0)

See merge request espressif/esp-idf!21809
2023-01-12 12:36:47 +08:00
Armando
870f4efa0d adc: make adc_channel.h macros work with ng driver
Closes https://github.com/espressif/esp-idf/issues/10508
2023-01-12 11:15:57 +08:00
Shyamal Khachane
18e6fa945e wpa_supplicant: Set PMK from PMKSA incase of caching 2023-01-11 11:17:02 +05:30
Shyamal Khachane
677c813137 esp_wifi: Fix open auth issue after commit message exchange 2023-01-11 11:16:13 +05:30
Jiang Jiang Jian
13eb2e8dae Merge branch 'bugfix/remove_sha384_hash_for_bigger_certs_v5.0' into 'release/v5.0'
esp_wifi: remove sha384 hash for cert size > 2k (v5.0)

See merge request espressif/esp-idf!21963
2023-01-11 10:35:58 +08:00
Jiang Jiang Jian
72bae2b873 Merge branch 'doc/add_esp_now_change_to_migration_guides_v5.0' into 'release/v5.0'
doc: add esp now changes to migration guides

See merge request espressif/esp-idf!21787
2023-01-11 10:35:20 +08:00
Kapil Gupta
1db1a5f17e Removed sha384 hash for certs > 2k 2023-01-10 13:14:21 +00:00
Jiang Jiang Jian
4d5e324844 Merge branch 'bugfix/avoid_ftm_initiator_mode_on_softap_v5.0' into 'release/v5.0'
Avoid ftm initiator mode on softap (Backport v5.0)

See merge request espressif/esp-idf!21772
2023-01-10 14:26:36 +08:00
Fu Hanxi
9f01d9aa2c build_system: stop looking for sdkconfig file specified by env var SDKCONFIG_DEFAULTS in bootloader subproject 2023-01-10 09:48:59 +08:00
LiPeng
3c1ac62969 mbedtls: GCM implementation is replaced with CTR-based calculation
- GCM operation in mbedtls used ECB, which calculated only 16 bytes of data each time.
	- Therefore, when processing a large amount of data, it is necessary to frequently set hardware acceleration calculations,
	- which could not make good use of the AES DMA function to improve efficiency.
	- Hence, GCM implementation is replaced with CTR-based calculation which utilizes AES DMA to improve efficiency.
2023-01-09 18:37:07 +05:30
harshal.patil
f111ed2d9a mbedtls: fix esp_aes_gcm_update_ad() API implementation
Closes IDFGH-10467
2023-01-09 18:35:25 +05:30
Aleksei Apaseev
065e121451 espcoredump: fix incorrectly defined coredump chip version 2023-01-09 19:54:01 +08:00
Darian Leung
cc159dfc5b usb: Fix incorrect bmRequestType direction flag in USB Host Library
usb_host_transfer_submit_control() uses the incorrect bmRequestType direction
flag. Therefore, when doing a transfer check, all transfers were mistakenly
treated as OUT transfers (only affects transfer check and not actual transfer).
2023-01-09 17:56:06 +08:00
Darian Leung
ff4e4f4c80 hal: Fix USB DWC HAL host channel halt race condition
This commit fixes a race condtion bug with usb_dwc_hal_chan_request_halt()
where a channel the channel is halted if it has just completed a transfer
(i.e., finished processing a QTD with the "HOC" flag set) but the channel is
still pending interrupt handling. In this case...

- usb_dwc_hal_chan_request_halt() would simply read the channel's underlying
register, determine it is not active, not set the "halt_requested" flag, and
simply return true.
- The caller assumes of usb_dwc_hal_chan_request_halt() will assume that the
channel has halted, and may proceed to reconfigure the pipe/port
- When usb_dwc_hal_chan_decode_intr() comes to process the pending interrupt
it will simply return USB_DWC_HAL_CHAN_EVENT_CPLT not knowing a halt has been
requested.

This commit updates the implementation of usb_dwc_hal_chan_request_halt() so
that a halt is properly requested even if the underlying channel has already
physically halted.
2023-01-09 17:55:48 +08:00
Tomas Rezucha
05f30c1052 usb: Refactor USB Host tests
* USB tests migrated to pytest
* Error messages improved
* Configurable for different mock devices
2023-01-09 17:55:20 +08:00
Tomas Rezucha
b4f281f523 tinyusb: Add TinyUSB example tests 2023-01-09 17:55:02 +08:00
Darian Leung
8d85a76a74 usb_host: Rename struct/ll/hal symbols to use "usb_dwc" prefix
Following the file renaming to use the "usb_dwc" prefix, this commit
updates the symbol names of those files to use the "usb_dwc" as well.

Some LL functions were also renamed so that the register name is
mentioned.
2023-01-09 17:48:09 +08:00
Darian Leung
da91dbccfa usb_host: Rename struct/ll/hal files to use "usb_dwc" prefix
This commit updates the DWC_OTG based struct/ll/hal file names to
use the prefix "usb_dwc". This naming scheme reduces ambiguity if
another USB controller implementation is added.

As a result, "hcd.c" has been renamed to "hcd_dwc.c"
2023-01-09 17:47:42 +08:00
morris
ae7c8de4a7 mcpwm: support non-varg version of generator functions
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-09 15:09:40 +08:00
Song Ruo Jing
e8386ed732 ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on specific kconfig options selected
Closes https://github.com/espressif/esp-idf/pull/9025
Closes https://github.com/espressif/esp-idf/issues/10322
2023-01-07 17:29:45 +08:00
KonstantinKondrashov
d2ddb4b5e1 test_apps(gdb): Updates the chip version format (vX.Y) 2023-01-06 02:00:52 +08:00
Michael (XIAO Xufeng)
ac068eed34 esp32c2: fixed chip revision of ECO2 2023-01-06 02:00:52 +08:00
KonstantinKondrashov
0c0049b5e4 tools: Update check_copyright_ignore.txt 2023-01-06 02:00:52 +08:00
KonstantinKondrashov
9538f9c5ff ci: Fix environment variable IDF_CI_BUILD is not set 2023-01-06 02:00:52 +08:00
KonstantinKondrashov
d130b5b6ba esp_hw_support: Removes esp32c2 eco2 support 2023-01-06 02:00:52 +08:00
KonstantinKondrashov
df9e24a8ca bootloader_support: Fix iram_loader_seg overflow for ESP32-S2 when -O0 2023-01-06 02:00:52 +08:00
Shang Zhou
ada85449f1 docs: update CN translation for system.rst 2023-01-06 02:00:52 +08:00
Michael (XIAO Xufeng)
bb0c26c233 esp32c2: put v2.0 back to development stage 2023-01-06 02:00:52 +08:00
KonstantinKondrashov
823024c10c all: Apply new version logic (major * 100 + minor) 2023-01-06 02:00:52 +08:00
harshal.patil
536825dda1 esptool_py: Added a sector-pad option for bootloader image
When SECURE BOOT V2 is enabled and CONFIG_SECURE_BOOT_SIGNED_BINARIES
is not set, sector-pad the bootloader image, which is required for an
external PKCS#11 interface to generate a signature.
2023-01-05 13:39:57 +05:30
Armando
698be13236 mspi: remove mspi 80m ddr mode warning regarding to timing tuning 2023-01-05 11:50:57 +08:00
mofeifei
a032c6ea3b
docs: update cn trans for flash-encryptions 2023-01-04 21:29:40 +05:30
Mahavir Jain
7860662a93
docs: remove mention of DIS_BOOT_REMAP for chips other than ESP32-S2
Relevant: https://esp32.com/viewtopic.php?f=13&t=31188
2023-01-04 21:29:33 +05:30
Guillaume Souchere
249fde21e5 esp_hw_support: allow writing in IRAM when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set for esp32C2
when CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT is not set, the PMP rule for esp32c2 shoud allow write access.
Fix esp_cpu_configure_region_protection() in cpu.c accordingly.
2023-01-04 07:51:46 +01:00
Jin Cheng
4c6aad37f6 Fixed crash caused by accessing nullptr in btm_acl_disconnected 2023-01-04 11:46:04 +08:00
Roland Dobai
0883101f7f Tools: Improve idf.py error message when the argument value collides with the environment variable
Closes https://github.com/espressif/esp-idf/issues/10475
2023-01-03 19:00:48 +01:00
Guillaume Souchere
327bf0d608 heap: RE-enable ESP32C2 test in test_apps 2023-01-03 09:52:33 +01:00
Guillaume Souchere
4175dd7a56 newlib: Update the esp32c2 config default to avoid RTC related test to not run on esp32c2
Set CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT to enable to force CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER to disable
and hence prevent the following tests from being executed:

- Timestamp after abort is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have + big error
- Timestamp after restart is correct in case RTC & High-res timer have - big error
2023-01-03 08:37:28 +01:00
Guillaume Souchere
3711a032ff esp-hw-support: fix interrupt allocation tests on esp32c2
A part of the test 'Can allocate IRAM int only with an IRAM handler' was to
allocate an intr with the handler in RTC memory which is not supported by esp32c2.
A condition was added to prevent this part of the test to execute on esp32c2 targets.
2023-01-03 07:52:07 +01:00