Commit Graph

14892 Commits

Author SHA1 Message Date
Mahavir Jain
9bd036e94b Merge branch 'feature/crypto_peripherals_caps' into 'master'
soc: add capability macros for crypto peripherals

Closes IDF-4790 and IDF-4229

See merge request espressif/esp-idf!17516
2022-03-22 16:42:07 +08:00
Ondrej Kosta
c69b4c817b Fixed Ethernet lwIP netif error indication 2022-03-22 07:17:40 +00:00
Tomas Rezucha
7db3d28187 Merge branch 'feature/usb_host/ci-tests' into 'master'
Run USB Host tests in pipeline

Closes IDF-4425

See merge request espressif/esp-idf!16376
2022-03-22 14:12:12 +08:00
Marius Vikhammer
9274a062fb esp-system: removed esp_phy and nvs dependencies, change app update and pm to weak dependencies 2022-03-22 11:19:32 +08:00
xiongweichao
7dd9ac9997 Add some bluetooth debug log 2022-03-22 10:35:50 +08:00
laokaiyao
f17edba20b i2s: extract std/pdm/tdm modes
Type structures of these modes are defined. Driver and HAL layer are modified to fit these concepts.
2022-03-22 10:14:45 +08:00
laokaiyao
667c7f94e6 esp32-h2 beta2: update to the latest regs 2022-03-22 02:13:55 +00:00
Mahavir Jain
3af2d15216 mbedtls: Fix build failures for ESP32-C2 with hardware SHA
Clean support for SHA peripheral will appear with IDF-3830
2022-03-22 02:06:30 +00:00
Mahavir Jain
f7fc3e2d88 esp_hw_support: cleanup crypto lock APIs for ESP32-C2 2022-03-22 02:06:30 +00:00
Mahavir Jain
0621a6f513 mbedtls: use soc capability macros in build CMakeLists 2022-03-22 02:06:30 +00:00
Mahavir Jain
75eb97fc94 esp32c2: remove AES related configs, hardware AES not supported on this chip 2022-03-22 02:06:30 +00:00
Mahavir Jain
102f8e961f esp-tls: use SOC capability macros instead of target names 2022-03-22 02:06:30 +00:00
Mahavir Jain
36377b9cc3 mbedtls: use SOC capability macros instead of target names 2022-03-22 02:06:30 +00:00
Mahavir Jain
bcc4883c25 soc: add capability macros for crypto peripherals
Closes IDF-4790
2022-03-22 02:06:30 +00:00
Tomas Rezucha
e3ba980d11 usb_host: Use USB_Host library calls for desc printing 2022-03-21 18:34:25 +01:00
Tomas Rezucha
0377fc8d92 tinyusb: Allow dynamic configuration descriptor
and remove ringbuf.h include from public headers
and unused HID descriptor code
2022-03-21 18:34:25 +01:00
Vamshi Gajjela
66561f838d vfs: bugfix vfs_fat_write/pwrite upon disk-full
Closes https://github.com/espressif/esp-idf/issues/5027
2022-03-21 17:28:46 +00:00
Mahavir Jain
5f646b1d43 mbedtls: move locally managed root certificates to separate file
Purpose:
This will allow for easily automating periodic updates to
"cacrt_all.pem" file.

Note:
For now newly created "cacrt_local.pem" contains single "DST Root CA X3"
which we are keeping to manage compatibility with endpoints like
"howsmyssl.com". Please note this Root CA is expired and is not part of
Mozilla’s NSS root certificate store.
2022-03-21 22:39:24 +05:30
Ivan Grokhotkov
b95d2e30d0 Merge branch 'feature/vfs_spiffs_(f)truncate_support' into 'master'
spiffs: Add vfs (f)truncate api support

Closes IDFGH-316 and IDFGH-2880

See merge request espressif/esp-idf!17524
2022-03-21 17:52:45 +08:00
Laukik Hase
52170fba7f esp_crt_bundle: Fix build error
- When `esp_crt_bundle.h` is included before any config,
  a build error (`esp_err_t` not defined) is observed

Closes https://github.com/espressif/esp-idf/issues/8606
2022-03-21 09:05:06 +00:00
Darian
790aed683b Merge branch 'feature/freertos_smp_task_creation_with_affinity' into 'master'
FreeRTOS: Add task creation functions with affinity

Closes IDF-4745

See merge request espressif/esp-idf!17429
2022-03-21 15:59:51 +08:00
Marius Vikhammer
671b6ae82f Merge branch 'ci/disable_s3_sleep_tests' into 'master'
CI: disable S3 sleep related example tests

See merge request espressif/esp-idf!17530
2022-03-21 14:57:01 +08:00
Shubham Kulkarni
d5a8a57686 esp_https_ota: Add check for 303 and 308 status code
Closes https://github.com/espressif/esp-idf/issues/8581
2022-03-21 04:27:43 +00:00
Shubham Kulkarni
ec6f222625 esp_http_client: Add new status code 303 and 308 2022-03-21 04:27:43 +00:00
Marius Vikhammer
0cd07d907e CI: disable S3 sleep related example tests 2022-03-21 11:56:01 +08:00
Darian Leung
199df492b7 freertos: Update task creation pinned to core functions
This commit updates the "xTaskCreate...PinnedToCore()" functions to
call the "xTaskCreate...AffinitySet()" equivalent functions.
2022-03-21 11:37:21 +08:00
Darian Leung
6a38499172 freertos: Add task creation with affinity functions to FreeRTOS SMP
This commit syncs adds task creation with affinity functions to
FreeRTOS SMP by syncing with upstrea commit
a97741a08d
2022-03-21 11:09:24 +08:00
Armando (Dou Yiwen)
36457b1346 Merge branch 'refactor/adc_unify_adc_unit' into 'master'
adc: adc single driver NG pre-step - unify adc_ll_num_t and adc_unit_t

See merge request espressif/esp-idf!17408
2022-03-18 20:29:36 +08:00
Vamshi Gajjela
0e5c9702c6 spiffs: Add vfs (f)truncate api support
Unit test cases added to verify truncate.

Closes https://github.com/espressif/esp-idf/issues/2234
2022-03-18 15:49:57 +05:30
Mahavir Jain
93987e6b79 Merge branch 'fix/remove_test_cert_files_from_mbedtls_port_directory' into 'master'
mbedtls: Remove certs.c and certs.h from port directory

Closes IDF-4709

See merge request espressif/esp-idf!17485
2022-03-18 16:47:53 +08:00
Armando
386363cafd adc: unify adc_ll_num_t and adc_unit_t 2022-03-18 11:36:50 +08:00
Jiang Jiang Jian
36f41372a2 Merge branch 'bugfix/scan_mixed_keymgmt_issue' into 'master'
Correctly identify AP's with mixed key management during scan

Closes IDFGH-6799

See merge request espressif/esp-idf!17482
2022-03-18 10:42:40 +08:00
Ivan Grokhotkov
2f9d47c708 Merge branch 'feature/gdbstub_rt_multicore' into 'master'
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)

See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Anton Maklakov
6200d2328d Merge branch 'bugfix/printf-placeholder-for-time_t' into 'master'
components: correct printf() placeholder for time_t

See merge request espressif/esp-idf!17439
2022-03-17 16:08:08 +08:00
Nachiket Kukade
01c49082c4 esp_wifi: Update wifi lib
1. In scan, correctly identify AP's with mixed key mgmt
2. Fix PMF Required setting not working in SoftAP config

Closes https://github.com/espressif/esp-idf/issues/8426
2022-03-17 13:04:58 +05:30
Kapil Gupta
2bdaa49cb0 Merge branch 'bugfix/pvs_warning_fixes' into 'master'
wpa_supplicant: fix issues reported in static analysis

Closes IDF-2733

See merge request espressif/esp-idf!17499
2022-03-17 12:47:05 +08:00
Ivan Grokhotkov
d1abdbae88 Merge branch 'bugfix/stdatomic_builtin-declaration-mismatch' into 'master'
newlib: stdatomic: fix builtin-declaration-mismatch

See merge request espressif/esp-idf!16954
2022-03-17 03:36:18 +08:00
Michael (XIAO Xufeng)
5a2f672d5a Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup' into 'master'
example/deep_sleep: add example of EXT0 and using internal pullups

Closes IDF-4657 and IDFGH-6711

See merge request espressif/esp-idf!17099
2022-03-16 16:27:07 +08:00
Jiang Jiang Jian
5b8108c01b Merge branch 'feature/support_80211_tx_ht40' into 'master'
esp_wifi: add ht40 support for 80211_tx

Closes WIFI-4187

See merge request espressif/esp-idf!16662
2022-03-16 15:49:28 +08:00
Kapil Gupta
6da52cf0d8 wpa_supplicant: static analysis fixes 2022-03-16 10:50:49 +05:30
Marius Vikhammer
453516fbbe Merge branch 'bugfix/replace_deprecated_options' into 'master'
kconfig: replace deprecated options with new values

See merge request espressif/esp-idf!17494
2022-03-16 09:32:55 +08:00
Michael (XIAO Xufeng)
5cc751ca9c soc/esp32s3: merge gpio caps into soc_caps.h 2022-03-15 22:34:29 +08:00
morris
cd10ac50cb Merge branch 'bugfix/temp_sensor_coexist_issue' into 'master'
temp_sensor: avoid coexistence of new and legacy driver

See merge request espressif/esp-idf!17395
2022-03-15 21:43:05 +08:00
Mahavir Jain
37e006af53 Merge branch 'feature/mbedtls_time_alt' into 'master'
mbedtls: Add config for `MBEDTLS_PLATFORM_TIME_ALT`

Closes IDF-4752

See merge request espressif/esp-idf!17448
2022-03-15 21:30:44 +08:00
Matus Fabo
6bc7b4b5e2 change: misaligned partitions now raise an exception
change: alignment for data partitions is now 4kB instead of 4B
remove: STRICT_DATA_ALIGNMENT variable
remove: warning tests for misaligned partitions
add: assertion test for misaligned partitions
add: breaking change documentation
2022-03-15 12:54:59 +01:00
Aditya Patwardhan
f31d8dd295 mbedtls: Remove certs.c and certs.h from port directory 2022-03-15 17:16:07 +05:30
Marius Vikhammer
0fbae992dd config: removed references to non-existing kconfig options 2022-03-15 18:32:22 +08:00
Kapil Gupta
e3c084a2dc Merge branch 'bugfix/dpp_crypto_mbedtls_3x' into 'master'
wpa_supplicant: Add changes to fix broken dpp crypto

Closes WIFI-4368

See merge request espressif/esp-idf!17487
2022-03-15 16:53:14 +08:00
Anton Maklakov
6f85a33335 Merge branch 'bugfix/ubsan_builtin_prototypes' into 'master'
esp_system: fix ubsan builtins' prototypes to suppress Wbuiltin-declaration-mismatch

See merge request espressif/esp-idf!17445
2022-03-15 16:31:45 +08:00
Marius Vikhammer
ca3c056ac9 kconfig: replace deprecated options with new values 2022-03-15 16:28:53 +08:00
Jiang Jiang Jian
10f3aba770 Merge branch 'feature/final_h2' into 'master'
Add support in Nimble for ESP32H2

See merge request espressif/esp-idf!16329
2022-03-15 16:03:24 +08:00
morris
923b0c9570 Merge branch 'bugfix/spi_slave_intr_iram' into 'master'
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is

Closes IDFGH-1617

See merge request espressif/esp-idf!17491
2022-03-15 15:49:55 +08:00
Cao Sen Miao
880ce3c25a spi_flash: remove xmc hpm support, because there is some compatible issue with ROM,
Closes https://github.com/espressif/esp-idf/issues/8560
2022-03-15 11:17:58 +08:00
Anton Maklakov
7efbca6701 Merge branch 'bugfix/oom_null_deref' into 'master'
spi_flash, newlib: fix NULL pointer dereference on OOM

Closes IDF-2788 and IDF-2789

See merge request espressif/esp-idf!17489
2022-03-15 09:24:43 +08:00
Anton Maklakov
b044bc4509 Merge branch 'bugfix/gdbstub_bounds_check' into 'master'
gdbstub: fix array overrun

Closes IDF-2786

See merge request espressif/esp-idf!17471
2022-03-15 09:23:06 +08:00
Ivan Grokhotkov
cda3c2b92b
driver: spi_slave: make sure CS helpers are in IRAM if the ISR is
Closes https://github.com/espressif/esp-idf/issues/3870
2022-03-14 23:30:51 +01:00
Ivan Grokhotkov
12717cbc00
hal: fix issues reported by PVS-Studio
https://www.viva64.com/en/b/0790/#ID369075A8F4
https://www.viva64.com/en/b/0790/#IDF03E449184
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
Ivan Grokhotkov
6a4a6d584b
essl: fix logical bug in argument check
https://pvs-studio.com/en/blog/posts/cpp/0790/#IDBDD4F1FD2D
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:48 +01:00
Ivan Grokhotkov
0fe3281713
driver: fix issues reported by PVS-Studio
https://www.viva64.com/en/b/0790/#ID88049D3FA2
https://www.viva64.com/en/b/0790/#IDE0890EE01C
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:46:47 +01:00
Ivan Grokhotkov
4aa2719e13
spi_flash, newlib: fix NULL pointer dereference on OOM
https://pvs-studio.com/en/blog/posts/cpp/0790/#ID88049D3FA2
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-14 18:16:42 +01:00
morris
98e19b3355 Merge branch 'contrib/github_pr_8496' into 'master'
SPI  LCD support large color transfers (GitHub PR)

Closes IDFGH-6874

See merge request espressif/esp-idf!17391
2022-03-14 22:22:00 +08:00
ChenJianxing
764b606d9d esp_wifi: add ht40 support for 80211_tx & espnow 2022-03-14 21:23:48 +08:00
Kapil Gupta
a1b842b1c6 wpa_supplicant: Add changes to fix broken dpp crypto 2022-03-14 18:26:35 +05:30
David Čermák
db8fb1f47b Merge branch 'bugfix/lwip_dhcps_cleanup' into 'master'
lw-IP: Support for multiple DHCP servers

Closes IDF-4599 and IDF-4458

See merge request espressif/esp-idf!16895
2022-03-14 19:30:31 +08:00
morris
ca1e2af1d6 Merge branch 'feature/i2s1_lcd_mode_esp32' into 'master'
LCD driver various improvements

Closes IDF-3781, IDFGH-6753, IDFGH-6632, and IDFGH-6569

See merge request espressif/esp-idf!17323
2022-03-14 18:30:24 +08:00
Mahavir Jain
c5d982b235 Merge branch 'bugfix/esp_https_ota_breaking_changes' into 'master'
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images

See merge request espressif/esp-idf!17312
2022-03-14 18:15:52 +08:00
Anton Maklakov
0d86151b82 esp_system: fix ubsan builtins' prototypes to suppress Wbuiltin-declaration-mismatch 2022-03-14 09:31:00 +00:00
Anton Maklakov
e27f1331e4 components: correct printf() placeholder for time_t
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2022-03-14 14:05:47 +07:00
Rahul Tank
f376bb5d05 Add support in Nimble for ESP32H2 2022-03-14 11:57:53 +05:30
morris
3517ae6387 lcd: check return value of xQueueReceive
Fix warnnings reported by Coverity Scan Test
2022-03-14 14:00:40 +08:00
morris
a019db6880 lcd: delay 1us between DMA start and LCD start
Closes https://github.com/espressif/esp-idf/issues/8212
2022-03-14 14:00:40 +08:00
morris
7112009473 lcd: support rgb lcd interupt iram safe 2022-03-14 14:00:40 +08:00
morris
f06a13ad82 lcd: workaround auto next frame hardware bug
Closes https://github.com/espressif/esp-idf/issues/8381
2022-03-14 13:55:01 +08:00
morris
9422fe077a lcd: support I2S1 LCD mode on esp32 2022-03-14 13:55:01 +08:00
morris
f35edeb5a3 lcd: add debug log on/off Kconfig 2022-03-14 13:49:18 +08:00
Anton Maklakov
18f62f067d Merge branch 'contrib/github_pr_8520' into 'master'
esp_http_server: reword error messages (GitHub PR)

Closes IDFGH-6900

See merge request espressif/esp-idf!17398
2022-03-14 13:31:19 +08:00
Mahavir Jain
177cb601c6 Merge branch 'bugfix/linenoise_unint_buffer_and_color' into 'master'
console: linenoise: fix usage of an uninitialized buffer, fix no-color output

Closes IDF-2752

See merge request espressif/esp-idf!17470
2022-03-14 12:20:40 +08:00
Laukik Hase
1c65ab5307
mbedtls: Add config for MBEDTLS_PLATFORM_TIME_ALT 2022-03-14 09:42:33 +05:30
morris
5963de1caf Merge branch 'ci/fix_duplicated_test_names' into 'master'
CI: rename some tests to avoid duplicated test names

See merge request espressif/esp-idf!17463
2022-03-14 11:52:02 +08:00
David Cermak
27375c7917 esp_netif: Cleanup dhcp-server allocations 2022-03-13 19:40:00 +01:00
David Cermak
1b49cf373f lwip/dhcps: Fix fuzzer compilation 2022-03-13 19:40:00 +01:00
David Cermak
3d1c05aefb lwip/dhcps: Add dhcps callback argument for associated netif 2022-03-13 19:40:00 +01:00
David Cermak
775c3a6253 lwip/dhcps: Add simple start/stop unit cases 2022-03-13 19:40:00 +01:00
David Cermak
5f135741a1 lwip/dhcpserver: Add return value to API that could fail 2022-03-13 19:40:00 +01:00
David Cermak
76e9d3cad0 lwip/dhcpserver: Add doxy documentation 2022-03-13 19:40:00 +01:00
David Cermak
afe6bc0c88 lwip/dhcp_server: Fix mem-leaks caught by UT's 2022-03-13 19:40:00 +01:00
David Cermak
adc00d1813 lwip: Fix fuzzer layers after dhcps update 2022-03-13 19:40:00 +01:00
David Cermak
c005b04d1c lwip/dhcps: Support for dynamic dhcp server instances 2022-03-13 19:39:21 +01:00
David Cermak
bab051f450 lwip/dhcps: Cleanup internal lwip and esp-netif dependency 2022-03-13 19:38:15 +01:00
Michael (XIAO Xufeng)
aab535fe4a Merge branch 'bugfix/regi2c_ctrl_spinlock_s2' into 'master'
hw_support: fixed regi2c not protected by lock on ESP32S2

See merge request espressif/esp-idf!16653
2022-03-13 02:47:53 +08:00
Michael (XIAO Xufeng)
d5bdf95580 hw_support: fixed regi2c not protected by lock on ESP32S2 2022-03-13 00:24:08 +08:00
Anton Maklakov
13fbb4d8bc Merge branch 'feature/update_esptool' into 'master'
esptool: Update esptool submodule

See merge request espressif/esp-idf!17446
2022-03-12 23:14:35 +08:00
David Čermák
99d125a06b Merge branch 'feature/esp_netif_manual_set_default' into 'master'
esp_netif: Support for manual set-default-netif

Closes IDFGH-6701

See merge request espressif/esp-idf!17228
2022-03-12 17:21:29 +08:00
Aditya Patwardhan
bfc2fd9d5d Merge branch 'bugfix/mbedtls_tls1_3' into 'master'
mbedtls: Disable `MBEDTLS_DYNAMIC_BUFFER` when TLS 1.3 is enabled

See merge request espressif/esp-idf!17415
2022-03-12 16:24:14 +08:00
Roland Dobai
d761a60211 Merge branch 'feature/enable-long-names-support-fatfsgen' into 'master'
fatfsgen.py: enabled long names support

Closes IDFGH-6520, IDF-4044, and IDF-4675

See merge request espressif/esp-idf!17090
2022-03-12 13:23:59 +08:00
Armando (Dou Yiwen)
6ed3ffbbf1 Merge branch 'refactor/remove_redundant_rom_cache_dependency' into 'master'
cache: remove redundant rom cache dependency in bootloader

Closes IDF-4523

See merge request espressif/esp-idf!17077
2022-03-12 10:11:39 +08:00
Ivan Grokhotkov
fdef8aecb7
gdbstub: fix array overrun
https://pvs-studio.com/en/blog/posts/cpp/0790/#ID487F9D1F5B
Reported in https://github.com/espressif/esp-idf/issues/6440
2022-03-11 21:05:32 +01:00
Ivan Grokhotkov
eab33e7174
console: linenoise: fix usage of an uninitialized buffer
Reported in https://github.com/espressif/esp-idf/issues/6440

The issue could occur if esp_console_config_t::hint_color
was set to -1.
2022-03-11 20:54:09 +01:00
Ivan Grokhotkov
49e8b97de3
console: disable colored hints if CONFIG_LOG_COLORS is not set 2022-03-11 20:54:06 +01:00
Armando
c1cbd7bbf6 cache/mmu: implememnt cache and mmu hal APIs in bootloader 2022-03-11 22:43:11 +08:00