Aditya Patwardhan
b5b7f32e46
hal/esp32h2: Enable ll layer for flash encryption
2023-02-24 15:21:51 +05:30
Aditya Patwardhan
aaf5d0670e
[bootloader_support/esp32h2] Enable flash encryption for esp32h2 target
2023-02-24 15:21:51 +05:30
Darian
2f44fa4123
Merge branch 'bugfix/freertos_stream_buffer_test' into 'master'
...
FreeRTOS: Fix stream buffer send-receive test
Closes IDF-6148
See merge request espressif/esp-idf!22407
2023-02-24 16:19:37 +08:00
Armando
4997689de5
cache: support h2 and c6 cache error
2023-02-24 16:16:46 +08:00
Darian
57b6be22a7
Merge branch 'bugfix/twai_listen_only_errata' into 'master'
...
TWAI: Add errata workaround for listen only mode
Closes IDFGH-7602
See merge request espressif/esp-idf!22479
2023-02-24 16:12:05 +08:00
Kevin (Lao Kaiyao)
5dc7cd6c54
Merge branch 'bugfix/fix_i2s_pcnt_target_test_on_h2' into 'master'
...
Test: Fixed target test of I2S and PCNT on H2
Closes IDF-6811, IDF-6814, IDFCI-1623, and IDFCI-1627
See merge request espressif/esp-idf!22478
2023-02-24 16:03:48 +08:00
Sudeep Mohanty
a67d15fdea
ulp: Added APIs to handle ULP signal ISRs for the main CPU
...
This commit introduces APIs to handle ULP signal ISRs when the main core
is not in sleepmode.
Closes https://github.com/espressif/esp-idf/issues/10737
2023-02-24 07:25:39 +00:00
Laukik Hase
47c153ad9e
mbedtls/test_apps: Fix performance logs
...
- For esp32-c2, the `CONFIG_NEWLIB_NANO_FORMAT` is enabled by
default which does not allow printing `int64_t` values
- Copied these values to a `uint32_t` variable for printing
them properly
2023-02-24 12:26:21 +05:30
Wan Lei
cf146d4b31
Merge branch 'bugfix/fix_spi_master_iram_safe_env' into 'master'
...
spi_master: fix whole master driver iram safe enviroenment
Closes IDF-6848
See merge request espressif/esp-idf!22401
2023-02-24 14:54:03 +08:00
Armando (Dou Yiwen)
4452a3cf3e
Merge branch 'feature/support_h2_adc' into 'master'
...
adc: support adc h2
Closes IDF-6124, IDF-6214, IDF-6543, IDF-6215, IDF-6664, and IDF-6695
See merge request espressif/esp-idf!22205
2023-02-24 14:28:33 +08:00
xueyunfei
4f0732cf05
Fixed bug for dhcp server support CIDR
...
Closes https://github.com/espressif/esp-idf/issues/10024
Closes https://github.com/espressif/esp-idf/issues/10559
2023-02-24 14:24:49 +08:00
David Cermak
708641204e
lwip: Add missing esp_sntp_enabled()
2023-02-24 07:23:55 +01:00
Jing Li
a529771d88
Merge branch 'refactor/pm_use_unified_esp_pm_config_t' into 'master'
...
pm: refactor pm codes to use unified esp_pm_config_t
See merge request espressif/esp-idf!22472
2023-02-24 14:06:19 +08:00
Marius Vikhammer
c2f9392be5
Merge branch 'feature/h2_wdt' into 'master'
...
wdt: add support for H2
Closes IDF-6643 and IDF-6678
See merge request espressif/esp-idf!22422
2023-02-24 13:48:20 +08:00
Aditya Patwardhan
0d20f8816f
esp-tls: Fix build issue when esp-tls server session tickets have been enabled.
...
Closes https://github.com/espressif/esp-idf/issues/10765
2023-02-24 04:45:23 +00:00
morris
fdac2589bb
driver: improve gpio glitch filter test
...
on esp32c6 and esp32h2, CPU frequency is 2x of IO MUX clock source.
There is a possiblity for a too short glitch pulse can't trigger GPIO
interrupt.
2023-02-24 11:05:59 +08:00
wanlei
f11c44e55b
spi_master: fix master driver iram safe enviroenment
2023-02-24 10:46:06 +08:00
wanlei
aff223276f
spi_slave: fix issue iram flag bind with iram config
...
bus flag`ESP_INTR_FLAG_IRAM` bind with `CONFIG_SPI_SLAVE_ISR_IN_IRAM`
2023-02-24 10:38:44 +08:00
C.S.M
b184b9a153
Merge branch 'bugfix/usb_serial_driver_block' into 'master'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver
Closes IDF-5390 and IDFGH-8776
See merge request espressif/esp-idf!22412
2023-02-24 10:22:08 +08:00
Chen Yudong
d352fb2411
ble_mesh: fix gcc-12 compile errors
2023-02-23 22:46:16 +08:00
Cao Sen Miao
720b8d9c1a
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-02-23 17:45:39 +08:00
harshal.patil
32e78b71f3
http_client: fixed looping caused when disable_auto_redirect enabled
...
Closes https://github.com/espressif/esp-idf/issues/10629
2023-02-23 14:11:58 +05:30
laokaiyao
646fd5e15a
i2s: guarantee safety of memcpy from being interrupted by uart logging
2023-02-23 15:11:13 +08:00
laokaiyao
71905d9cbf
i2s_test: fix unsupported sample rate on h2
2023-02-23 15:11:13 +08:00
laokaiyao
53658e56d6
pcnt_test: fix the error pin on h2
2023-02-23 15:11:13 +08:00
aditi_lonkar
6b95b4ffd7
esp_wifi: Update some wifi config options
...
1) Update sta_config_t options.
2) Update HE constellation tx/rx default value.
2023-02-23 11:13:25 +05:30
Darian Leung
c97523ae0a
freertos: Fix stream buffer send-receive test
...
The stream buffer send-receive test preivously contained the following bugs:
- "sender" task would send 101 bytes instead of 100
- The main task would return before "sender" task sends its 101st item. Thus
the sender task would cause memory corruption when accessing "tc" structure
allocated on the main task's stack
This commit fixes and simplifies the stream buffer test.
2023-02-23 12:52:28 +08:00
Darian Leung
72becf31e4
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-23 12:50:06 +08:00
Armando (Dou Yiwen)
aeaf119338
Merge branch 'refactor/resolve_mmu_soc_dependency_to_sdkconfig_h' into 'master'
...
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
Closes IDF-5219
See merge request espressif/esp-idf!22447
2023-02-23 12:05:13 +08:00
Armando
486c765a93
adc: remove adc_hal_conf.h
...
Macros inside adc_hal_conf.h are moved to adc_ll.h
2023-02-23 11:48:31 +08:00
Armando
c2d5c19b28
adc: ll enum renaming
2023-02-23 11:48:31 +08:00
Armando
5653018cd1
esp_adc: support selecting clock source for oneshot driver
2023-02-23 11:48:31 +08:00
Armando
d0e4d36fb6
esp_adc: support h2 oneshot mode and continuous mode
2023-02-23 11:48:31 +08:00
jingli
3a648e8ed6
ci: h2 does not support deep sleep currently, comment some codes to avoid ci error
2023-02-23 11:36:13 +08:00
jingli
4c3d1e24d7
codeclean: remove unused sleep related functions
2023-02-23 11:36:13 +08:00
jingli
8f415a7f44
refactor: power management component use unified esp_pm_config_t
2023-02-23 11:36:07 +08:00
Marius Vikhammer
5d26a0de9a
wdt: add support for H2
2023-02-23 11:22:51 +08:00
Alexey Lapshin
1484f2d4f6
Merge branch 'feature/update-gnu-toolchain-to-12.2.0_20230208' into 'master'
...
tools: update GNU toolchain version to 'esp-12.2.0_20230208'
Closes GCC-297, GCC-224, GCC-299, GCC-254, and GCC-256
See merge request espressif/esp-idf!22270
2023-02-23 01:57:51 +08:00
Jiang Jiang Jian
f3f3e87ea2
Merge branch 'bugfix/fix_sta_auth_fail_but_softap_shows_it_connected_issue' into 'master'
...
esp_wifi: fix sta auth failed but softap shows it connected issue
Closes WIFI-5448 and WIFI-5449
See merge request espressif/esp-idf!22465
2023-02-22 19:41:42 +08:00
Konstantin Kondrashov
bfd2f6ed7c
Merge branch 'feature/adds_more_efuse_logs' into 'master'
...
efuse: Add more logging for virtual efuses
Closes IDFGH-9137
See merge request espressif/esp-idf!22399
2023-02-22 19:25:58 +08:00
Mahavir Jain
b6588eb99c
Merge branch 'fix/esp32_hw_mpi_data_corruption' into 'master'
...
esp32/mpi: Added alternate workaround for MPI data corruption issue
Closes IDFGH-8991
See merge request espressif/esp-idf!22139
2023-02-22 16:33:51 +08:00
xiongweichao
3b5939396d
bt:Added a parameter to tell the user the result of the pass through command implementation
2023-02-22 15:37:54 +08:00
Kevin (Lao Kaiyao)
0f15d4a2c1
Merge branch 'feature/i2s_support_pre_load_dma_data' into 'master'
...
i2s: support preload data
Closes IDFGH-6847
See merge request espressif/esp-idf!21927
2023-02-22 15:28:16 +08:00
muhaidong
4cb4faa998
esp_wifi: fix sta auth failed but softap shows it connected issue
2023-02-22 06:52:59 +00:00
Chip Weinberger
c39be8bc76
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-02-22 14:28:08 +08:00
morris
1c9b96ab37
Merge branch 'feature/support_efuse_for_esp32h2' into 'master'
...
efuse: Add support for esp32h2
Closes IDF-6252, IDF-4337, and IDF-6897
See merge request espressif/esp-idf!22393
2023-02-22 13:41:40 +08:00
Alexey Lapshin
1e65ea8889
hal: always inline mmu_ll_check_valid_paddr_region for esp32h2
2023-02-22 05:33:03 +00:00
Alexey Lapshin
36d0e275a0
hal: always inline clk_tree_ll functions
2023-02-22 05:33:03 +00:00
Alexey Lapshin
84ff4d6e37
esp_rom: always inline cache.h functions for esp32
2023-02-22 05:33:03 +00:00
Alexey Lapshin
85b48bfcc0
esp_netif: fix test_app_vfs_l2tap stack overflow
2023-02-22 05:33:03 +00:00
Alexey Lapshin
1e3c18a94a
esp_hw_support: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
ddd645e2c0
esp_event: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
4b54c49203
heap: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
bda5befdf5
esp_hid: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
adcdfa641c
wpa_supplicant: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
a7e51b2509
protocomm: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
75642ca07a
vfs: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
49af663dfb
esp_system: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
d4b7be4a73
bt: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Alexey Lapshin
a32bbedcd9
newlib: implement 8/16-bit atomic operations for riscv
2023-02-22 05:33:03 +00:00
Alexey Lapshin
8849b1b5aa
newlib: fix and add new atomic tests for multicore chips
2023-02-22 05:33:03 +00:00
Alexey Lapshin
21d7fd9b03
gcov: use original libgcov.a with redefined symbols
2023-02-22 05:33:03 +00:00
Alexey Lapshin
61a7342acd
tools: add riscv zicsr/zifencei because they were separated from i
...
https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/aE1ZeHHCYf4
2023-02-22 05:33:03 +00:00
Alexey Lapshin
5389ac4e04
tools: cmake: ignore linker RWX segment warnings
2023-02-22 05:33:03 +00:00
Armando
c56eb8646b
g0: resolve MMU_PAGE_SIZE not defined in g0 build issue
2023-02-22 12:37:40 +08:00
xieqinan
1f664bb4f7
openthread: add the configurable option of uart buffer size
2023-02-22 03:01:38 +00:00
laokaiyao
26f5441e0e
i2s: support bytes_read / bytes_written to be NULL
2023-02-22 02:44:53 +00:00
laokaiyao
7397b3f750
i2s: support preload data
...
Closes https://github.com/espressif/esp-idf/issues/8471
2023-02-22 02:44:53 +00:00
Alexey Lapshin
25cb9b3f0e
Merge branch 'fix/freertos-clang-riscv-port' into 'master'
...
freertos: riscv: implement vPortTaskWrapper with asm only
Closes IDF-6347
See merge request espressif/esp-idf!22199
2023-02-22 05:52:15 +08:00
Laukik Hase
9f0435faa4
mbedtls: Add test config with CONFIG_COMPILER_OPTIMIZATION_PERF
2023-02-21 18:45:25 +05:30
Laukik Hase
45df5b56d5
esp32/mpi: Added alternate workaround for MPI data corruption issue
...
- Use DPORT_WRITE_REG (volatile writes) wrappers to write to the
MPI peripheral
- Updated the previous workaround added for the same issue as it
was failing in some long runs and with `COMPILER_OPTIMIZATION_PERF`
enabled.
- The test performance numbers had to be updated due to the
performance penalty introduced by this fix.
Closes https://github.com/espressif/esp-idf/issues/10403
2023-02-21 18:43:54 +05:30
Wang Meng Yang
998711b4e7
Merge branch 'bugfix/blufi_notify' into 'master'
...
BluFi : Fixed hdr getting free twice
Closes IDFGH-9378
See merge request espressif/esp-idf!22416
2023-02-21 17:43:38 +08:00
Wan Lei
66cda021d0
Merge branch 'feature/h2_gpio_hysteresis_support' into 'master'
...
gpio: h2 support input hysteresis filter
Closes IDF-6653
See merge request espressif/esp-idf!22263
2023-02-21 17:27:56 +08:00
KonstantinKondrashov
f3394c488a
efuse: Add support for esp32h2
2023-02-21 08:18:14 +00:00
KonstantinKondrashov
cabfc75c3c
efuse: FPGA testing must be run only manually
2023-02-21 08:18:14 +00:00
KonstantinKondrashov
9eed575764
efuse: Adds feature for efuse table, it can accept aliases in comments
...
DIS_TWAI, EFUSE_BLK0, 46, 1, [DIS_CAN DIS_CAN_123] Represents whether TWAI function ...
2023-02-21 08:18:14 +00:00
Song Ruo Jing
987fd3208a
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32h2
Closes IDF-6265 and IDF-5973
See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Shen Weilong
c1329974a0
[esp32c2] Fixed the occasional assertion when deinit the ble controller
2023-02-21 14:03:37 +08:00
Wan Lei
cf5387fc76
Merge branch 'feature/h2_twai_support' into 'master'
...
twai: h2 support twai driver
Closes IDF-6217 and IDF-6673
See merge request espressif/esp-idf!22174
2023-02-21 11:43:51 +08:00
Jakob Hasse
a8661d0f97
refactor(esp_rom): miniz test only on FPGA now
2023-02-21 11:06:48 +08:00
Jing Li
75a82988f1
Merge branch 'refactor/wdt_use_unified_type' into 'master'
...
wdt: refactor wdt codes to use unified type
Closes IDF-5653
See merge request espressif/esp-idf!22378
2023-02-21 09:46:06 +08:00
Mahavir Jain
a9e7ccb166
Merge branch 'contrib/github_pr_10648' into 'master'
...
[AES] Timeout: return error dont abort (GitHub PR)
Closes IDFGH-9265
See merge request espressif/esp-idf!22266
2023-02-21 01:14:05 +08:00
wanlei
c9bcec9212
gpio: h2 support input hysteresis filter
2023-02-20 19:34:48 +08:00
cje
703a7b4156
update h2 i2c header file
2023-02-20 17:15:02 +08:00
Song Ruo Jing
2c2a62e323
clk_tree: Add basic clock support for esp32h2
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
Remove FPGA build for esp32h2
2023-02-20 17:15:02 +08:00
Marius Vikhammer
89190fab02
Merge branch 'bugfix/allow_coredump_gdb_simu' into 'master'
...
coredump: allow coredump at panic even if gdbstub is used.
Closes IDFGH-8567
See merge request espressif/esp-idf!22103
2023-02-20 16:07:57 +08:00
Sudeep Mohanty
522a216385
Merge branch 'feature/ulp_elf_output' into 'master'
...
ulp: Updated ULP CMakeLists.txt to output binary with .elf extension
Closes IDF-3060
See merge request espressif/esp-idf!22414
2023-02-20 15:08:35 +08:00
morris
10d0cc6e16
Merge branch 'bugfix/rmt_buffer_allocation' into 'master'
...
legacy rmt driver: fix wrong buffer allocation
See merge request espressif/esp-idf!22367
2023-02-20 15:02:13 +08:00
isha.pardikar@espressif.com
14aa55b353
BluFi : Fixed hdr getting free twice
...
Closes IDFGH-9378
2023-02-20 11:02:30 +05:30
Jiang Jiang Jian
0591695a81
Merge branch 'bugfix/bluedroid_le_coc_compile_error' into 'master'
...
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
Closes BT-2862
See merge request espressif/esp-idf!22321
2023-02-20 13:23:51 +08:00
Alexey Lapshin
d1214aef8c
freertos: riscv: fix vPortTaskWrapper for clang
2023-02-20 13:09:42 +08:00
Omar Chebib
d55060d184
Merge branch 'staging/rename_twdt_config_examples' into 'master'
...
TWDT: Use the new TWDT Kconfig options in the examples and tests
See merge request espressif/esp-idf!20363
2023-02-20 10:42:23 +08:00
Armando (Dou Yiwen)
0c635543ff
Merge branch 'feature/support_shared_vs_non_shared_mmap' into 'master'
...
esp_mm: share and non-share mapping
Closes IDF-6575
See merge request espressif/esp-idf!22320
2023-02-18 08:02:15 +08:00
jgujarathi
178497c432
wpa_supplicant : Add deinitialization of Enterprise config_methods.
...
Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
2023-02-17 17:21:41 +05:30
jgujarathi
a512a5d990
wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
...
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-02-17 17:20:49 +05:30
Sudeep Mohanty
8f93e4d0d5
ulp: Updated ULP CMakeLists.txt to output binary with .elf extension
...
This commit updates the ULP CMakeLists.txt to output the ULP binary with
a .elf extension. Currently the output file does not use any extension.
2023-02-17 10:44:24 +01:00
Suren Gabrielyan
496843b277
Merge branch 'feature/websocket-client-errorhandling' into 'master'
...
[ws_transport] - Added `esp_transport_ws_get_upgrade_request_status` API to get http status code from server
See merge request espressif/esp-idf!20480
2023-02-17 16:58:57 +08:00
Marius Vikhammer
ec57895db9
coredump: allow coredump at panic even if gdbstub is used.
...
Closes https://github.com/espressif/esp-idf/issues/10017
2023-02-17 15:15:36 +08:00
Laukik Hase
f0132be83e
Merge branch 'feature/memprot_test_app' into 'master'
...
esp_system: Add test_app for `memprot` peripheral
Closes IDF-6819
See merge request espressif/esp-idf!21829
2023-02-17 13:59:44 +08:00
Armando
4144746fc3
esp_mm: shared and non-shared mapping
2023-02-17 13:04:55 +08:00
Armando
82ee8403b6
mmu: mmu_hal_check_valid_ext_vaddr_region
2023-02-17 13:04:55 +08:00
Jiang Jiang Jian
07d8862256
Merge branch 'feature/migration_to_nimble_1.5' into 'master'
...
Nimble: migrate to nimble 1.5 branch
See merge request espressif/esp-idf!22034
2023-02-17 12:45:34 +08:00
Omar Chebib
5e5343d429
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-02-17 11:22:25 +08:00
Jiang Jiang Jian
e44c7fb048
Merge branch 'feature/sae_pk_station' into 'master'
...
esp-wifi: SAE-PK (Public Key) authentication support for station
See merge request espressif/esp-idf!20417
2023-02-16 23:59:39 +08:00
Armando (Dou Yiwen)
7f335a970d
Merge branch 'bugfix/include_freertosconfig_h_in_critical_section_h' into 'master'
...
esp_system: include FreeRTOS.h explicitly in critical_section.h
See merge request espressif/esp-idf!22405
2023-02-16 22:23:33 +08:00
Steinbart Andreas (HAU-EDS)
9def9b6a03
[ws_transport] - Added esp_transport_ws_get_upgrade_request_status
API
2023-02-16 12:19:40 +00:00
Martin Vychodil
c58a84f893
Merge branch 'feature/fatfs_format_api' into 'master'
...
fatfs: added APIs to format a FAT filesystem
Closes IDF-6046
See merge request espressif/esp-idf!21845
2023-02-16 19:59:31 +08:00
Armando (Dou Yiwen)
41ef7189c4
Merge branch 'contrib/github_pr_10546' into 'master'
...
esp_psram: fix compile error for SPI PSRAM 2T mode (GitHub PR)
Closes IDFGH-9149
See merge request espressif/esp-idf!22054
2023-02-16 19:29:59 +08:00
Laukik Hase
4cf889b692
memprot: Fix incorrect faulting address reported for esp32c3 & esp32s3
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-02-16 15:27:11 +05:30
morris
4a604be7fd
Merge branch 'feature/expose_rmt_channel_id' into 'master'
...
rmt: expose private API to get channel ID
Closes IDFGH-9206, IDF-6846, IDF-6810, and IDF-6783
See merge request espressif/esp-idf!22384
2023-02-16 16:54:46 +08:00
wanlei
fdeeced62c
twai: h2 support twai driver
2023-02-16 16:34:23 +08:00
Sarvesh Bodakhe
d2f6a3dacc
esp-wifi: add SAE-PK (Public Key) authentication support for station
2023-02-16 13:49:11 +05:30
Armando
a49d074cbb
esp_system: include FreeRTOS.h explicitly in critical_section.h
...
Prior to this commit, if only critical_section.h is included, there
might be error about portNUM_PROCESSORS undeclared.
As critical_section.h should be OS-agnostic, added FreeRTOS.h in it
2023-02-16 15:12:13 +08:00
Alexey Lapshin
31b7f8f1d8
Merge branch 'fix/revert-sdio-slave-gcc11-workaround' into 'master'
...
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
Closes GCC-277
See merge request espressif/esp-idf!22085
2023-02-16 14:32:59 +08:00
yn386
4a09c18ea6
esp_psram: fix compile error for SPI PSRAM 2T mode
2023-02-16 06:21:42 +00:00
Armando
d59fd3e529
fatfs: deprecate esp_vfs_fat_sdmmc_unmount
...
This API was deprecated before, but without deprecation warning and
migration doc. This commit added deprecation warning and migration doc
to it.
2023-02-16 14:17:51 +08:00
Armando
90a6018e67
fatfs: added an API to format FAT on sdcard
2023-02-16 14:17:51 +08:00
Armando
4150bfb403
fatfs: added an API to format FAT on spiflash
2023-02-16 12:19:35 +08:00
morris
195f6b99ad
rmt: expose private API to get channel ID
...
Closes https://github.com/espressif/esp-idf/issues/10596
2023-02-16 11:37:25 +08:00
Armando (Dou Yiwen)
76989b504a
Merge branch 'refactor/move_isr_core_id_enum_to_g1' into 'master'
...
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components
See merge request espressif/esp-idf!22182
2023-02-16 11:02:56 +08:00
Chip Weinberger
c7a12dd34b
efuse: Add more logging for virtual efuses
...
Closes https://github.com/espressif/esp-idf/pull/10536
2023-02-16 00:10:08 +08:00
Armando
b96c370ab8
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components
2023-02-15 19:52:06 +08:00
Wan Lei
814df0ea28
Merge branch 'bugfix/fix_h4_spi_file_missing' into 'master'
...
spi: fix spi support on h4 after diver/cmakelist refactored
See merge request espressif/esp-idf!22358
2023-02-15 18:41:49 +08:00
Wu Zheng Hui
113132e4f4
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_top' into 'master'
...
esp32c6: support light_sleep (Stage 2: support Digital Peripheral power down)
See merge request espressif/esp-idf!22197
2023-02-15 16:17:53 +08:00
Sachin Parekh
774f0ef636
Merge branch 'esp32c6/ecdsa_secure_boot_support' into 'master'
...
ESP32C6: Enable ECDSA secure boot
Closes IDF-5357 and IDF-5931
See merge request espressif/esp-idf!21058
2023-02-15 16:03:35 +08:00
Guillaume Souchere
b1f9d7a8ee
Merge branch 'feature/use-linked-list-for-heap-trace-records' into 'master'
...
heap: fix Leaks perf on large records by using doubly linked list
Closes IDFGH-9121 and IDF-1244
See merge request espressif/esp-idf!22009
2023-02-15 15:14:19 +08:00
Island
50ae186ff7
Merge branch 'bugfix/esp32c2_fixed_adv_stop' into 'master'
...
ble:Fixed issues of adv error stop and abnormal reporting of connection update...
Closes BT-3137 and BT-3144
See merge request espressif/esp-idf!22310
2023-02-15 14:20:51 +08:00
Jiang Jiang Jian
0b921fda14
Merge branch 'bugfix/nvs_save_for_new_config' into 'master'
...
esp_wifi: Add nvs code for new config params
See merge request espressif/esp-idf!21513
2023-02-15 13:00:45 +08:00
Roshan Bangar
baf4240776
NimBLE: Use dynamic buffers instead of static memory.
2023-02-15 04:55:26 +00:00
Roshan Bangar
ba1119a725
Nimble: Migrate to nimble 1.5
2023-02-15 04:55:26 +00:00
Marius Vikhammer
ca0f982420
aes: fix minor formatting issues
2023-02-15 12:45:29 +08:00
C.S.M
ae9713d227
Merge branch 'bugfix/wrap_init' into 'master'
...
spi_flash: initialize wrap in app stage
See merge request espressif/esp-idf!22362
2023-02-15 12:39:12 +08:00
C.S.M
8ba96ab873
Merge branch 'feature/esp32h2_target_test' into 'master'
...
esp32h2(ci): ESP32H2 enable target stage test
See merge request espressif/esp-idf!22084
2023-02-15 12:34:13 +08:00
C.S.M
a2ed523f97
Merge branch 'bugfix/mcpwm_config_name' into 'master'
...
mcpwm: modify wrong config name
See merge request espressif/esp-idf!22348
2023-02-15 12:21:48 +08:00
wanlei
217e36bec0
spi: fix spi support on h4 after diver/cmakelist refactored
2023-02-15 12:12:22 +08:00
jingli
9c37441b17
wdt: refactor wdt codes to use unified type
2023-02-15 12:08:55 +08:00
wuzhenghui
a0492202b7
bugfix: unhold SPI CS pin in pd_top lightsleep
2023-02-15 11:46:41 +08:00
wuzhenghui
0b0da680d2
codeclean: turn on the regdma clock only once
2023-02-15 11:46:40 +08:00
wuzhenghui
248aa6109d
codeclean: add sleep_mode args to esp_sleep_start()
2023-02-15 11:46:40 +08:00
Li Shuai
aec3f6db1d
light sleep: supported SoC TOP domain powered down
2023-02-15 11:46:40 +08:00
Li Shuai
6e307c04a3
clock retention: supported soc and modem system power and clock sleep retention
2023-02-15 11:46:40 +08:00
fuzhibo@espressif.com
e252748d92
periph retention: runtime critical digital peripherals sleep retention support
2023-02-15 11:46:40 +08:00
Li Shuai
d097bbe40b
sleep retention: wraps the regdma link and hardware driver to provide system sleep retention (WiFi, BLE, 15.4 and digital peripheral) support
2023-02-15 11:46:40 +08:00
Li Shuai
8c18393d23
regdma: add regdma link operation api support
2023-02-15 11:46:36 +08:00
Li Shuai
d3e0e3e3b6
pau: implement the pau regdma driver for esp32c6
2023-02-15 10:45:44 +08:00
Li Shuai
5850cd7492
pau: implement the pau regdma hal&ll layer for esp32c6
2023-02-15 10:45:44 +08:00
Li Shuai
180199319b
soc_caps: add pau link number caps
...
soc_caps: add SOC_PAU_SUPPORTED caps
soc_caps: add SOC_PM_SUPPORT_TOP_PD caps
2023-02-15 10:45:44 +08:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
Kapil Gupta
1c35430012
esp_wifi: Add nvs for new config params after esp32c2
2023-02-14 19:42:37 +05:30
Sachin Billore
120fcec026
apm: added support for APM on esp32h2
...
Closes IDF-6277 IDF-6278 and IDF-5909
2023-02-14 10:43:49 +00:00
Roland Dobai
6a375bfc3b
Merge branch 'bugfix/nvs_page_test_increase_timeout' into 'master'
...
NVS: Increase timeout of nvs_page_test
See merge request espressif/esp-idf!22338
2023-02-14 18:42:02 +08:00
Cao Sen Miao
29e0258de2
spi_flash: init wrap in app stage
2023-02-14 18:20:53 +08:00
Armando
1bd8018a59
vfs_fat_spiflash: use esp_check
2023-02-14 09:22:17 +00:00
Jiang Jiang Jian
e65eaa4d8c
Merge branch 'esp32c6/bugfix_add_tx_error_handle' into 'master'
...
esp32c6: add tx error handle
Closes WIFI-5359, WIFI-5380, and WIFI-5396
See merge request espressif/esp-idf!22210
2023-02-14 17:18:07 +08:00
Guillaume Souchere
2cf9236f6c
heap trace standalone: Fix initialization of the unused linked list, update tests
...
- Call TAILQ_INSERT_TAIL in linked_list_setup to add unused records from the tail of the list
- Fix test "heap trace leak check" to expect that after a free, the record is zeroed instead of checking that
the whole list of records is moved by one index in the array.
- Use esp_rom_printf() under lock instead of printf() since it does not rely on interrupts.
2023-02-14 09:48:14 +01:00
Marius Vikhammer
f9c1a2b791
Merge branch 'feature/core_c6_component_tests' into 'master'
...
ci: update idf-core related tests for C6
Closes IDF-6888
See merge request espressif/esp-idf!22282
2023-02-14 16:47:52 +08:00
Shu Chen
c0c985a6f4
Merge branch 'feature/fix_phy_init_when_SW_restart' into 'master'
...
esp_phy: fix phy init when SW restart
See merge request espressif/esp-idf!22256
2023-02-14 16:24:39 +08:00
Armando (Dou Yiwen)
a0c8c87c51
Merge branch 'test/increase_c6_adc_std_thresh' into 'master'
...
esp_adc: increase c6 adc std thres
See merge request espressif/esp-idf!22361
2023-02-14 15:13:00 +08:00
morris
0a25c48d89
rmt: fix rmt buffer allocation issue
2023-02-14 14:05:12 +08:00
morris
e0c98da169
Merge branch 'feature/glitch_filter_h2' into 'master'
...
gpio: support glitch filter on esp32h2
Closes IDF-6286
See merge request espressif/esp-idf!22273
2023-02-14 13:07:44 +08:00
morris
18295bb2f5
Merge branch 'bugfix/i80_pll240_esp32s3' into 'master'
...
lcd: support PLL240M as i80 clock source on esp32s3
See merge request espressif/esp-idf!22285
2023-02-14 12:27:57 +08:00
Cao Sen Miao
8cc6a535b2
mcpwm: modify wrong config name
2023-02-14 11:12:08 +08:00
Wu Zheng Hui
d1b6ff6cca
Merge branch 'bugfix/reset_modem_lpcon_in_soft_reset' into 'master'
...
bugfix: reset modem lpcon in soft reset
See merge request espressif/esp-idf!22347
2023-02-14 10:31:17 +08:00
Armando
790be9390a
esp_adc: increase c6 adc std thres
...
c6, h2, hardware calibration not supported. Reading result varies.
2023-02-14 10:18:34 +08:00
Mahavir Jain
f4fb62eee7
Merge branch 'bugfix/esp32c6_h2_clk_gate_periph_rst' into 'master'
...
clk_gate_ll: fix issue with DS peripheral clk reset
Closes IDF-6740
See merge request espressif/esp-idf!22301
2023-02-13 20:06:13 +08:00
Mahavir Jain
61bf801d0f
Merge branch 'feature/esp32h2_add_hmac_ds' into 'master'
...
ESP32-H2 add HMAC and DS Peripheral support
Closes IDF-6279 and IDF-6285
See merge request espressif/esp-idf!22306
2023-02-13 20:04:50 +08:00
wuzhenghui
0afeac9951
bugfix: reset modem lpcon in soft reset
2023-02-13 17:04:35 +08:00
Armando (Dou Yiwen)
d3fec8394f
Merge branch 'feature/adc_filter' into 'master'
...
adc: supported adc digital filter
Closes IDF-2529, IDFGH-9113, and IDFGH-9279
See merge request espressif/esp-idf!22035
2023-02-13 16:43:58 +08:00
xuxiao
1126c1b79e
esp32c6: wifi add tx error handle
2023-02-13 16:35:18 +08:00
Sudeep Mohanty
27be8a1ebb
Merge branch 'feature/ulp_riscv_test_multiple_firmware' into 'master'
...
ulp-riscv: Added API ulp_riscv_reset to reset the ULP core
See merge request espressif/esp-idf!22165
2023-02-13 15:36:10 +08:00
Sachin Parekh
2bb9499a7e
esp32c6: Enable ECDSA based secure boot
...
- Updated documentation for C6
2023-02-13 13:02:11 +05:30
Guillaume Souchere
a630f06132
Merge branch 'feature/verbose-alloc-failure-abort' into 'master'
...
heap: print size and caps when malloc fails before calling system abort
Closes IDFGH-9267
See merge request espressif/esp-idf!22192
2023-02-13 15:26:24 +08:00
Tomas Rezucha
bc314e1f8b
Merge branch 'bugfix/usb_host/interface_parsing' into 'master'
...
usb_host: Fix interface descriptor parsing
See merge request espressif/esp-idf!22323
2023-02-13 15:17:54 +08:00
C.S.M
2a2fb8fa43
Merge branch 'feature/flash_wrap_supported' into 'master'
...
spi_flash: Support flash wrap (burst read), flash driver side
See merge request espressif/esp-idf!21922
2023-02-13 13:54:28 +08:00
Marius Vikhammer
25abc7f6d8
ci: update idf-core related tests for C6
2023-02-13 13:01:57 +08:00
Mahavir Jain
ac7b42d742
esp_hw_support: fix test apps build for IDF_ENV_FPGA
case
2023-02-13 10:27:23 +05:30
Mahavir Jain
50f7d40b89
mqtt/ssl_ds: enable the example for ESP32-H2 target
2023-02-13 10:27:22 +05:30
Mahavir Jain
e4e4ffa3f4
esp32h2: enable DS peripheral support in driver and test application
2023-02-13 10:27:15 +05:30
Mahavir Jain
13c8407a19
esp32h2: add DS peripheral HAL
2023-02-13 10:26:37 +05:30
Mahavir Jain
c680113d52
esp32h2: add HMAC peripheral HAL
2023-02-13 10:26:36 +05:30
Mahavir Jain
2974e8f487
Merge branch 'feature/apm_support_esp32c6' into 'master'
...
apm: added support for APM on esp32c6
Closes IDF-5819 and IDF-5818
See merge request espressif/esp-idf!22157
2023-02-13 12:45:41 +08:00
Jakob Hasse
bed81f450d
ci(nvs_flash): Increase timeout of nvs_page_test
...
* nvs_page_test runs into timeout in CI. According to log,
test ran run around halfway, so increasing from 10 to 90 seconds.
* Also increased timeout of nvs_host_test, just to be sure
2023-02-13 12:35:52 +08:00
Sachin Parekh
a3c341384f
esp32c6: Remove assert check on len for SHA calculation
2023-02-13 09:45:55 +05:30
Cao Sen Miao
0d37436f36
spi_flash: Support flash wrap (burst read), flash driver side
2023-02-13 11:10:15 +08:00
Jiang Jiang Jian
2c3fe88e32
Merge branch 'bugfix/build_err_with_ssr_enabled' into 'master'
...
bt: Fixed build errors when sniff subrating is enabled.
See merge request espressif/esp-idf!22240
2023-02-13 10:50:46 +08:00
morris
8ff376537c
Merge branch 'feature/lcd_support_esp32h2' into 'master'
...
lcd: driver support for esp32h2
Closes IDF-6213 and IDF-6674
See merge request espressif/esp-idf!22299
2023-02-13 10:37:12 +08:00
C.S.M
9092b93966
Merge branch 'feature/temp_sensor_esp32h2' into 'master'
...
temperature_sensor: Add support for esp32h2
Closes IDF-6229
See merge request espressif/esp-idf!22291
2023-02-13 10:24:31 +08:00
Ivan Grokhotkov
bb25d6abd3
Merge branch 'bugfix/newlib_leftover_files' into 'master'
...
newlib: remove leftover file from the binary distribution
See merge request espressif/esp-idf!22252
2023-02-12 03:08:25 +08:00
morris
a3f887a1fe
gpio: support glitch filter on esp32h2
2023-02-11 23:01:01 +08:00
Jin Cheng
eac73d8f58
Fixed build errors when sniff subrating is enabled.
2023-02-11 08:29:09 +00:00
jingli
28c7620cba
sleep: fix gpio wakeup not working properly in some cases
...
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-11 01:06:18 +00:00
jingli
557a1ed1a5
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-11 01:06:18 +00:00
morris
c2c4fbff13
lcd: driver support for esp32h2
2023-02-11 00:30:48 +00:00
morris
78855a88c9
lcd: support PLL240M as i80 clock source on esp32s3
2023-02-11 00:30:20 +00:00
Jiang Jiang Jian
254efe402e
Merge branch 'feature/wifi_kconfig_merge' into 'master'
...
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig
Closes WIFI-4541 and IDF-1830
See merge request espressif/esp-idf!18998
2023-02-11 07:38:46 +08:00
Kapil Gupta
30a2558450
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig
2023-02-11 07:38:45 +08:00
Armando
7e6bf9f987
esp_adc: added adc filter doc, and filter migration guides
2023-02-10 16:46:20 +00:00
Armando
3afa671069
esp_adc: added adc digital filter feature
2023-02-10 16:46:20 +00:00
Tomas Rezucha
31ff3bc0c2
usb_host: Fix interface descriptor parsing
...
Previously the USB host driver did not accept interface number greater or equal bNumInterfaces, even though these are valid interface numbers
2023-02-10 15:49:11 +01:00
wangmengyang
3279b4d41d
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
...
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-02-10 21:51:08 +08:00
morris
1626766abf
rmt: simplify rmt source clock configure with clk_tree API
...
Also decrease the payload size for testing the multi-channel behaviour.
2023-02-10 18:24:27 +08:00
Cao Sen Miao
bbbe569e03
temperature_sensor: Add support for esp32h2
2023-02-10 16:36:56 +08:00
Sachin Billore
8d0f6dab0f
apm: added support for APM on esp32c6
...
Closes: IDF-5819 IDF-5818
2023-02-10 08:18:07 +00:00
zhangwenxu
91113c44e5
esp_phy: fix phy init when SW restart
2023-02-10 07:42:40 +00:00
Guillaume Souchere
65c946f1f2
heap: Fix priority in shex() bit shift
2023-02-10 07:43:32 +01:00
Wang Meng Yang
e0e3700142
Merge branch 'feature/support_ble_privacy_by_controller' into 'master'
...
Support ble privacy by controller on bluedroid
See merge request espressif/esp-idf!21966
2023-02-10 14:34:36 +08:00
zwl
f79d0e6a43
ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2
2023-02-10 14:16:07 +08:00
Mahavir Jain
725e1fb3cc
clk_gate_ll: remove DPORT_ prefix as this is not required for H2/C6
2023-02-10 10:48:45 +05:30
Song Ruo Jing
db59ab5000
Merge branch 'contrib/github_pr_10640' into 'master'
...
hal/uart_ll.h: Fix compile with C++ (ESP32-S3/H2) (GitHub PR)
Closes IDFGH-9255
See merge request espressif/esp-idf!22238
2023-02-10 10:51:27 +08:00
Chip Weinberger
f11256d9da
[Logs] print size and caps when malloc fails
2023-02-09 06:49:34 -08:00
Mahavir Jain
06def61fe8
clk_gate_ll: fix issue with DS peripheral clk reset
...
In ESP32-C6, every peripheral reset enable bit is in different register
(unlike some of the previous SoCs) and hence they must be handled with
multiple register write operations.
This allows AES, MPI peripherals to works correctly after DS peripheral
has done some operations.
2023-02-09 17:15:22 +05:30
Mahavir Jain
f790fe0e1f
clk_gate_ll: fix issue with DS peripheral clk reset
...
In ESP32-H2, every peripheral reset enable bit is in different register
(unlike some of the previous SoCs) and hence they must be handled with
multiple register write operations.
This allows AES, MPI peripherals to works correctly after DS peripheral
has done some operations.
2023-02-09 17:11:37 +05:30
Kapil Gupta
a75a36f8c2
Merge branch 'bugfix/fix_ftm_procedure_with_peer_failed_status_4_issue' into 'master'
...
esp_wifi: fix ftm procedure with peer failed status 4 issue
Closes WIFI-4600
See merge request espressif/esp-idf!22267
2023-02-09 16:00:47 +08:00
Ondrej Kosta
05510e67d1
Merge branch 'bugfix/eth_lan8720_ci' into 'master'
...
esp_eth: start/stop and L2 test stability improvements
See merge request espressif/esp-idf!21898
2023-02-09 15:36:12 +08:00
Saurabh Kumar Bansal
770961d2b8
Merge branch 'bugfix/usb_host_hub_enumeration_string_handling' into 'master'
...
USB Host: Fix string descriptor handling by the hub driver during enumeration
See merge request espressif/esp-idf!21193
2023-02-09 13:56:48 +08:00
C.S.M
7e08b407b9
Merge branch 'feature/spi_flash_vendor_classify' into 'master'
...
spi_flash: only link flash vendor which is officially supported to save IRAM
See merge request espressif/esp-idf!22255
2023-02-09 13:48:15 +08:00
Laukik Hase
d2c37009b0
Merge branch 'test_app/mbedtls_remove_wno_format_compile_option' into 'master'
...
mbedtls: Remove `-Wno-format` compile option for test app
Closes IDF-6806
See merge request espressif/esp-idf!22243
2023-02-09 12:40:42 +08:00
Jiang Jiang Jian
5f440ec382
Merge branch 'optimization/lwip_dhcp_coarse_timer' into 'master'
...
lwip:optimization dhcp coarse timer
Closes WIFI-5235
See merge request espressif/esp-idf!21981
2023-02-09 11:10:12 +08:00
Wan Lei
005e4c7e0b
Merge branch 'feature/spi_h2_support' into 'master'
...
SPI: Support master, slave, slave_hd driver for H2
Closes IDF-6245, IDF-6246, IDF-6247, and IDF-6696
See merge request espressif/esp-idf!22048
2023-02-09 11:04:46 +08:00
Song Ruo Jing
1addacb93d
Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency' into 'master'
...
uart: Fix TX side concurrency issues
Closes IDF-6201 and IDF-6086
See merge request espressif/esp-idf!21604
2023-02-09 10:58:17 +08:00
Cao Sen Miao
0f8f13d21d
spi_flash: only link flash vendor which is officially supported to save IRAM
2023-02-09 10:28:54 +08:00
Marius Vikhammer
6233b0aa64
Merge branch 'feature/c6_newlib_nano' into 'master'
...
newlib: update newlib nano documentation for C6
See merge request espressif/esp-idf!22219
2023-02-09 10:13:47 +08:00
morris
76433e4cb2
Merge branch 'refactor/gptimer_pm_lock_logic' into 'master'
...
gptimer: add pm lock for xtal clock
Closes DOC-4504
See merge request espressif/esp-idf!22162
2023-02-09 01:48:29 +08:00
Saurabh Kumar Bansal
7010349a9a
usb_host: Hub driver skips fetching string descriptors if their index is 0
...
When a USB does not support a particular string dsecriptor (e.g.,
manufacturer, product, and serial number), the string descriptors corresponding
index will be set to 0 in the device descriptor (e.g., iManufacturer, iProduct,
iString).
Previously, the Hub driver would always attempt to fetch the all three string
descriptors, thus leading an error in CHECK_SHORT_SER_STR_DESC if the device
did not support the descriptor.
This commit fixes the Hub drvier by skipping the enumeration stages of a
particular descriptor if its index is 0 (i.e., not supported by the device).
2023-02-08 23:12:54 +05:30
Darian Leung
6ae151db8c
usb_host: Fix error when fetching LANGID table
...
USB devices may support string descriptors in multiple languages. The supported
languages are stored in a LANGID table, which itself is a string descriptor at
index 0.
When fetching the LANGID table itself, the USB 2.0 specification does not
specify what LANGID to use, thus the Hub driver would use the default LANGID
"ENUM_LANGID". However, this would cause some devices to stall.
This commit fixes the issue by always requesting the LANGID table itself using
a LANGID of 0.
2023-02-08 22:36:01 +08:00
muhaidong
ec980ecc5f
esp_wifi: fix ftm procedure with peer failed status 4 issue
...
1. send ftm frames immediately
2. fix ftm procedure with peer failed status 4 issue
2023-02-08 20:25:19 +08:00
Mahavir Jain
3850e9327a
Merge branch 'bugfix/secure_boot_v2_part_size_check' into 'master'
...
gen_esp32part: allow secure boot v2 based app partition size 4K aligned
See merge request espressif/esp-idf!22188
2023-02-08 18:42:34 +08:00
morris
044a114e66
gptimer: unify clock setting with clk_tree API
2023-02-08 16:30:47 +08:00
xueyunfei
2f6b681b1a
lwip:optimization dhcp coarse timer
2023-02-08 16:29:28 +08:00
Sudeep Mohanty
3cc399f399
ulp-riscv: Added API ulp_riscv_reset to reset the ULP core
...
This commit adds a new API ulp_reisv_reset() to enable reseting of the
ULP core from the main core. This is particularly necessary in case the
ULP crashes due to any reason. Earlier the only way to recover the ULP
was to do a power reset. This commit also adds new test cases which
exercise this scenario.
2023-02-08 07:52:34 +00:00
David Čermák
080fd7e14f
Merge branch 'bugfix/lwip_dhcp_restore_last' into 'master'
...
lwip: fix dhcp_server path (GitHub PR)
Closes IDFGH-9297 and IDFGH-9309
See merge request espressif/esp-idf!22251
2023-02-08 15:07:49 +08:00
Laukik Hase
d4abf3ff45
mbedtls: Remove -Wno-format
compile option for test app
2023-02-08 12:31:09 +05:30
Song Ruo Jing
b69f983525
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-02-08 14:24:43 +08:00
Simon Arlott
d78d1a2376
hal/uart_ll.h: Fix compile issue with C++
...
Merges https://github.com/espressif/esp-idf/pull/10640
2023-02-08 06:24:24 +00:00
Mahavir Jain
92f94a51ea
Merge branch 'test_app/app_update_remove_wno_compile_option' into 'master'
...
app_update: Remove `Wno-format` compile option for test app
Closes IDF-6788
See merge request espressif/esp-idf!22245
2023-02-08 14:21:05 +08:00
Marius Vikhammer
2e55775f95
Merge branch 'bugfix/newlib_tz_env_mutex' into 'master'
...
newlib: Use correct recursive mutex for env and regular mutex for tz
Closes IDFGH-9266
See merge request espressif/esp-idf!22200
2023-02-08 13:39:36 +08:00
wanlei
5300bd3b2f
spi: support H2 spi master, slave, slave_hd driver
2023-02-08 11:38:45 +08:00
Mahavir Jain
9628118400
partition_table: add tests for checking secure boot part size
2023-02-08 03:23:46 +00:00
Mahavir Jain
8d05d2511c
gen_esp32part: allow secure boot v2 based app partition size 4K aligned
...
For Secure Boot v2 case, unsigned image is first padded to next 64K
aligned boundary and then a signature block of 4K gets appended. Thus
an app partition whose size is 4K aligned should be allowed here.
For Secure Boot v1 case, app partition size must be 64K aligned as the
signature block lies at the very end of 64K boundary.
Relevant:
57b601ab7f
2023-02-08 03:23:46 +00:00
Marius Vikhammer
65a4058e8c
newlib: update newlib nano documentation for C6
...
C6 ROM has the the full IO formatting functions included.
2023-02-08 10:56:28 +08:00
morris
990c6f58a6
Merge branch 'feature/etm_support_h2' into 'master'
...
etm: add basic driver on esp32h2
Closes IDF-6225
See merge request espressif/esp-idf!22246
2023-02-08 10:42:10 +08:00
Jiang Jiang Jian
01f7277a6b
Merge branch 'bugfix/set_generic_len_for_rsnxe' into 'master'
...
esp_wifi:bugfix set AP rsnxe ie len generic
See merge request espressif/esp-idf!21953
2023-02-08 02:57:12 +08:00
Armando (Dou Yiwen)
1c699294da
Merge branch 'feature/mmu_driver' into 'master'
...
esp_mm: new virtual memory mapping driver via mmu
Closes IDF-5847, IDF-6076, IDF-5023, IDF-5339, and IDFGH-8961
See merge request espressif/esp-idf!20540
2023-02-08 00:59:58 +08:00
Wu Zheng Hui
86797f03a8
Merge branch 'bugfix/remove_redundant_macro_wrapping' into 'master'
...
bugfix: remove wrong SOC_PM_SUPPORT_XTAL_PD wrapping
Closes IDFGH-9300
See merge request espressif/esp-idf!22239
2023-02-07 23:31:09 +08:00
Harshit Malpani
5388c0c2e7
app_update: Remove Wno-format
compile option for test app
2023-02-07 15:26:27 +00:00
morris
6f8ee89302
etm: add basic driver on esp32h2
2023-02-07 14:54:08 +00:00
Jiang Jiang Jian
404eb39adf
Merge branch 'bugfix/ble_hci_issue_with_pcl' into 'master'
...
BLE: fixed hci event fail on esp32c6
See merge request espressif/esp-idf!22231
2023-02-07 20:27:28 +08:00
Shreyas Sheth
a9095ba8e0
esp_wifi: bugfix RSNXE related changes
...
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-02-07 12:26:54 +00:00
wuzhenghui
75d15e8b80
bugfix: remove redundant SOC_PM_SUPPORT_XTAL_PD wrapping
...
Closes https://github.com/espressif/esp-idf/issues/10681
2023-02-07 20:25:59 +08:00
Armando
98892a3288
esp_mm: correct mmap reserved irom and drom size
...
Prior to this commit, we don't consider the offset of the irom vaddr
start.
If the offset + size is bigger than the MMU page size, for example:
MMU page size: 0x10000
irom vaddr: 0x4200_0800, so offset = 0x800
irom size: 0xF900
offset + size = 0x10100
Under this condition, the 0x4200_0000 ~ 0x4202_0000, two MMU pages are
used.
With this commit, when reserving the irom and drom, we take the offset
into consideration as well.
2023-02-07 20:23:53 +08:00
Armando
06e7c02da7
esp_mm: h2 support
2023-02-07 20:23:53 +08:00
Armando
4c878eeb0a
sections_ld: add description to .flash.rodata_noload
...
This commit also move _rodata_reserved_end symbol right at the entry of
the .flash.rodata_noload.
2023-02-07 20:23:52 +08:00
Armando
d233f3535d
flash_mmap: migrate to use esp_mmap driver
2023-02-07 20:23:52 +08:00
Armando
e76c52d4df
cache: fix s2 dcache size 0 issue when psram disabled
2023-02-07 20:23:52 +08:00
Armando
d6844051fc
esp_mm: new virtual memory mapping apis via mmu
2023-02-07 20:23:52 +08:00
Armando
1fc55af6af
cache: invalidate addr hal api
2023-02-07 20:23:52 +08:00
Armando
16398c2d06
mmu: move mem_caps macro to hal/mmu_types.h as an enum type
2023-02-07 20:23:52 +08:00
Armando
8ba67dfc38
mmu: rename api to esp_mmu_reserve_block_with_caps
...
esp_mmu_get_largest_free_block() ->
esp_mmu_get_max_consecutive_free_block()
esp_mmu_find_vaddr_range() -> esp_mmu_reserve_block_with_caps()
2023-02-07 20:23:51 +08:00
Armando
af15b6d885
mmu: simplify mmu vaddr region macro on esp32c2
...
ESP32C2 mmu vaddr region macros, and related mask macros in
ext_mem_defs.h depends on mmu page size.
2023-02-07 20:23:51 +08:00
Jiang Jiang Jian
248c15475f
Merge branch 'feature/implement_esp32h2_regi2c_api' into 'master'
...
esp32h2: implement regi2c apis
See merge request espressif/esp-idf!22250
2023-02-07 20:22:52 +08:00
Roland Dobai
4bd5ebb4a1
Merge branch 'tools/monitor_move' into 'master'
...
Tools(idf_monitor): Move idf_monitor to separate repo
Closes IDF-4109
See merge request espressif/esp-idf!22050
2023-02-07 19:47:46 +08:00
Jing Li
409804f673
Merge branch 'feature/support_feature_depend_on_rtc_fast_mem_for_esp32c2' into 'master'
...
esp32c2: support feature(rtc time) depend on rtc fast mem
Closes IDF-3901, IDF-4239, IDF-5053, IDF-5060, and IDF-5131
See merge request espressif/esp-idf!19067
2023-02-07 15:16:01 +08:00
wuzhenghui
a0983627f5
bugfix: fix returning before disabling blocks
2023-02-07 15:08:05 +08:00
Jiang Jiang Jian
f4c14a6bf4
Merge branch 'bugfix/lwip_sntp_cpp_fix' into 'master'
...
esp_sntp: Fix c++ compile issue in esp_sntp.h (GitHub PR)
Closes IDFGH-9212 and IDFGH-9239
See merge request espressif/esp-idf!22159
2023-02-07 14:36:39 +08:00
Kevin (Lao Kaiyao)
421e5e6416
Merge branch 'refactor/pack_driver_source_files' into 'master'
...
components/driver: pack peripherals
See merge request espressif/esp-idf!22173
2023-02-07 10:20:57 +08:00
Ivan Grokhotkov
e10ff6b4e3
newlib: remove leftover file from the binary distribution
2023-02-06 22:23:48 +01:00
Mahavir Jain
dc7f47aaeb
Merge branch 'docs/esp32c6_enable_flash_encryption_documentation' into 'master'
...
esp32c6: update documentation for flash encryption
Closes IDF-5358
See merge request espressif/esp-idf!22229
2023-02-06 23:47:28 +08:00
wuzhenghui
ee4214ebf1
rom caps: add ESP_ROM_WITHOUT_REGI2C rom caps
2023-02-06 21:45:22 +08:00
fuzhibo@espressif.com
f1e0151e63
fix(regi2c): support regi2c APIs for esp32h2
2023-02-06 21:44:16 +08:00
wuzhenghui
146b9b047b
soc: add modem regs and force enable i2c_ana_mst clock
2023-02-06 21:43:26 +08:00
Rahul Tank
67f88aeb87
Merge branch 'bugfix/handle_large_controller_buffer_size' into 'master'
...
Nimble: Fragmentation support in case of larger controller buffer size
See merge request espressif/esp-idf!21200
2023-02-06 18:43:25 +08:00
Wan Lei
a49164b5ec
Merge branch 'bugfix/spi_clk_rc_fast_enable_disable' into 'master'
...
spi_master: fix clock source RC_FAST usage
See merge request espressif/esp-idf!22160
2023-02-06 18:25:23 +08:00
Adam Múdry
679d9731b3
Merge branch 'feature/fatfs_15_update' into 'master'
...
fatfs: Update to version 0.15
Closes IDF-6391
See merge request espressif/esp-idf!21330
2023-02-06 17:47:05 +08:00
Yuan Jian Min
f6b0d04638
Merge branch 'feature/add_ws_auth' into 'master'
...
tcp_transport: Add authorization header for websocket client
Closes FCS-1126
See merge request espressif/esp-idf!22202
2023-02-06 16:29:29 +08:00
Jiang Guang Ming
7d25e3853c
Merge branch 'bugfix/update_esp_rom_newlib_time_c6_h2' into 'master'
...
update esp rom newlib-time on c2 c6 and h2
See merge request espressif/esp-idf!22142
2023-02-06 15:36:04 +08:00
wanlei
6ec9802eb7
spi_master: fix clock source RC_FAST usage
2023-02-06 12:41:17 +08:00
Jiang Jiang Jian
5754e298ce
Merge branch 'bugfix/default_wpa2_causing_pmk_recal' into 'master'
...
esp_wifi: Fix for default wpa2 casing pmk recalculation.
Closes IDFGH-8782
See merge request espressif/esp-idf!21527
2023-02-06 11:57:15 +08:00
Song Ruo Jing
b72d759290
uart: Add support for esp32h2
2023-02-06 00:48:04 +08:00
Mahavir Jain
aac4af589e
Merge branch 'feature/esp32c6_enable_rsa_support' into 'master'
...
mbedtls: enable RSA support for esp32c6
Closes IDF-5359
See merge request espressif/esp-idf!22155
2023-02-05 13:35:17 +08:00
Sean Cross
79d37515df
lwip: fix dhcp_server path
...
The path for dhcp_server.c has changed from esp32/ to esp32xx/
This fixes the build when CONFIG_LWIP_DHCP_RESTORE_LAST_IP is enabled.
Signed-off-by: Sean Cross <sean@xobs.io>
2023-02-03 22:55:09 +08:00
morris
4c9942bacc
Merge branch 'feature/mcpwm_support_h2' into 'master'
...
mcpwm: support esp32h2
Closes IDF-6237 and IDF-6668
See merge request espressif/esp-idf!21931
2023-02-03 20:30:02 +08:00
Aditya Patwardhan
b06a029677
esp32c6: update documentation for flash encryption
2023-02-03 16:01:06 +05:30
Peter Dragun
3e3533f918
feat(idf_monitor): move idf_monitor to separate repo
2023-02-03 11:20:15 +01:00
cjin
9985371b8a
BLE: fixed hci event fail on bluedroid host
2023-02-03 17:57:33 +08:00
Ondrej Kosta
51ea57f5b8
esp_eth: improved L2 test stability
2023-02-03 10:48:39 +01:00
Ondrej Kosta
256d457969
esp_eth: possible start/stop issue fixed
...
ESP32 EMAC could hang when stopped/started multiple times at 10Mbps speed mode
2023-02-03 10:48:39 +01:00
aditi_lonkar
51c16d41b8
esp_wifi: Fix for default wpa2 authmode casing pmk recalculation.
...
Closes https://github.com/espressif/esp-idf/issues/10214
2023-02-03 12:49:54 +05:30
Jiang Jiang Jian
eb55a21fc8
Merge branch 'bugfix/minor_syntax_changes' into 'master'
...
wpa_supplicant : Fixing collection of issues encountered during QuickTrack testing.
See merge request espressif/esp-idf!22097
2023-02-03 14:44:00 +08:00
harshal.patil
6206c1e213
mbedtls: enable RSA support for esp32c6
2023-02-03 11:46:42 +05:30
Jiang Jiang Jian
5c885a05ff
Merge branch 'bugfix/ps_bufferable_mmpdu' into 'master'
...
esp_wifi: softap: buffer deauth, disassoc and action frames for station in sleep mode and SA query procedure improvements
See merge request espressif/esp-idf!20602
2023-02-03 13:48:06 +08:00
Rahul Tank
78baa6c98c
Nimble: Modified code to have fragmentation of packet equal to MAX PKT SIZE in case
...
controller supports larger buffer size
2023-02-03 10:20:49 +05:30
Chen Jian Hua
732df630cd
Merge branch 'feature/add_params_in_gatt_conn_evt' into 'master'
...
Bluedroid: add params for GATT connect event
Closes BLEQABR23-1
See merge request espressif/esp-idf!22183
2023-02-03 10:29:36 +08:00
Sarvesh Bodakhe
299e32ce68
esp_wifi: softap: buffer deauth, disassoc, action frames for connected station in sleep mode
...
1) improve deauth/disassoc handling
2) improve SA-query procedure handling
2023-02-03 00:10:00 +05:30
jingli
af9c6e3175
esp32c2/rtc: fix 8md256 as rtc slow clk not work properly during deep sleep
2023-02-02 20:41:11 +08:00
jingli
13b5e625a7
UT/esp32c2: reenable pm and sleep related UT
2023-02-02 20:26:08 +08:00
jingli
2e4f0c7926
UT/esp32c2: reenable rtc clk calibration compensation UT
2023-02-02 20:26:08 +08:00
jingli
f8cc2ec86d
esp32c2: support rtc time feature depend on rtc memory, since c2 does not have rtc memory
2023-02-02 20:25:59 +08:00
Jiang Jiang Jian
fb1902773f
Merge branch 'bugfix/sdp_event_status_overwritten_by_handle' into 'master'
...
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle
Closes IDFGH-9219
See merge request espressif/esp-idf!22153
2023-02-02 19:54:45 +08:00
morris
15b9352f60
mcpwm: support esp32h2
2023-02-02 19:05:31 +08:00
laokaiyao
f27cd67c00
driver: pack peripherals
2023-02-02 18:19:58 +08:00
yuanjianmin
fecf4768f0
tcp_transport: Add authorization header for websocket client
2023-02-02 17:35:44 +08:00
morris
753eab91ee
Merge branch 'feature/usj_support_h2' into 'master'
...
USJ console support on esp32h2
Closes IDF-6239
See merge request espressif/esp-idf!22156
2023-02-02 17:07:19 +08:00
Island
c8de3e54c7
Merge branch 'bugfix/esp32c6_ble_adv_issues' into 'master'
...
Bugfix/esp32c6 ble adv issues
Closes EBLE50Y23-19
See merge request espressif/esp-idf!22179
2023-02-02 16:37:05 +08:00
Jiang Jiang Jian
ec8a702a8f
Merge branch 'bugfix/optimize_abnormal_beacon_log' into 'master'
...
esp_wifi:bugfix for optimize abnormal beacon log
Closes IDFGH-7742
See merge request espressif/esp-idf!21565
2023-02-02 16:29:18 +08:00
Kevin (Lao Kaiyao)
6cef87fea3
Merge branch 'feature/support_i2c_on_h2' into 'master'
...
i2c: support i2c on esp32h2
Closes IDF-6233 and IDF-6689
See merge request espressif/esp-idf!21982
2023-02-02 15:18:37 +08:00
David Čermák
5ada761a7b
Merge branch 'update/esp_netif_test_cleanup' into 'master'
...
esp_netif/tests: Consolidate test_apps/unit_test
Closes IDF-5579 and IDF-5047
See merge request espressif/esp-idf!21929
2023-02-02 13:49:43 +08:00
Mahavir Jain
cba1095508
Merge branch 'fix/heap-get-allocated-size' into 'master'
...
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
Closes IDF-3917
See merge request espressif/esp-idf!22176
2023-02-02 12:44:25 +08:00
Jiang Jiang Jian
25a56d13d7
Merge branch 'bugfix/fix_potential_null_pointer_dereference' into 'master'
...
Fix potential null pointer dereference
Closes IDF-6493
See merge request espressif/esp-idf!21662
2023-02-02 11:22:17 +08:00
xueyunfei
11c579f4ae
esp_wifi:bugfix for optimize abnormal beacon log
2023-02-02 11:13:50 +08:00
Wu Zheng Hui
04987ac201
Merge branch 'feature/add_ram_loadable_app_support' into 'master'
...
feature: add ram loadable app support
See merge request espressif/esp-idf!19465
2023-02-02 10:28:13 +08:00
Jiang Jiang Jian
2707c95a5f
Merge branch 'bugfix/max_connection_limit' into 'master'
...
esp_wifi: Improvements in station and softAP for connection management
Closes WIFI-4869
See merge request espressif/esp-idf!21641
2023-02-02 03:12:33 +08:00
Jiang Guang Ming
851c10aded
Merge branch 'bugfix/fix_typo_naming_of_flash_multi' into 'master'
...
ci: fix typos tag naming of all flash_multi
See merge request espressif/esp-idf!22181
2023-02-01 23:46:34 +08:00
David Cermak
7ae58e223d
esp_netif/tests: Consolidate test_apps/unit_test
...
* Remove duplicated test cases
* Migrated remaining unit tests to test_apps
2023-02-01 14:17:09 +01:00
Darian
c10414ae58
Merge branch 'feature/freertos_tidy_up_linker_script' into 'master'
...
FreeRTOS: Update function placements rules and tidy up linker fragment files
Closes IDF-6195
See merge request espressif/esp-idf!21394
2023-02-01 20:50:07 +08:00
Rahul Tank
9916eb688a
Merge branch 'bugfix/add_return_type_nimble_port_init' into 'master'
...
Nimble: Added return value (success / failure ) to nimble_port_init / nimble_port_deinit
See merge request espressif/esp-idf!21718
2023-02-01 19:45:44 +08:00
wuzhenghui
db61945537
bugfix: dual core chip haven't started the pro cpu in the bootloader, so no workaround is needed
2023-02-01 17:57:28 +08:00
wuzhenghui
c0d2fcded7
refactor: move bootloader_init_spi_flash to bootloader_flash_config_{target}.c
2023-02-01 17:57:28 +08:00
wuzhenghui
0cbb4227b2
feature: add build framework support
2023-02-01 17:57:25 +08:00
wuzhenghui
44df5b31af
feature: add ram loadable app support
2023-02-01 17:57:22 +08:00
AlbertWDev
18a1b4c9b9
bt: fix SDP event status overwritten by handle
2023-02-01 10:53:42 +01:00
Guillaume Souchere
ba1d7f8d1c
heap: Fix erroneous value returned by heap_caps_get_allocated_size() when poisoning is enabled
...
When light (or comprehensive) poisoning is enabled, the size requested by the user for allocation
is extended by a few bytes to store the canary header and footer. heap_caps_get_allocated_size() should
return the original size asked by the user (without the additional canary bytes).
test_malloc.c extended with a new test assuring that heap_caps_get_allocated_size() returns the proper size
regardless of the degree of poisoning.
2023-02-01 10:04:38 +01:00
jgujarathi
88ea8c5fed
wpa_supplicant : Prevent h2e config overwrite
...
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.
Add one preventative condition to take care of this.
2023-02-01 14:04:23 +05:30
Darian Leung
903ac5dff9
freertos(IDF): Update IDF FreeRTOS linker fragment file
...
This commit updates the linker fragment file for IDF FreeRTOS.
- Linker fragment file's formatting was updated
- Placement rules of functions is now clearly specified inside the linker
fragment file.
- Some extra functions are now placed in flash in accordance to the new
placement rules.
2023-02-01 15:15:51 +08:00
Darian Leung
321254a776
freertos(SMP): Update SMP FreeRTOS linker fragment file
...
This commit updates the linker fragment file for Amazon SMP FreeRTOS.
- Linker fragment file's formatting was updated
- Placement rules of functions is now clearly specified inside the linker
fragment file.
- Some extra functions are now placed in flash in accordance to the new
placement rules.
2023-02-01 15:15:51 +08:00
Darian Leung
0574e63e6f
freertos: Add linker fragments for common functions
...
This commit adds a separate linker fragment file "linker_common.lf" for the
functions in "port_common.c". The placement rules are now clearly specified
inside the linker fragment file.
2023-02-01 15:09:46 +08:00
Sarvesh Bodakhe
a24062d080
esp_wifi: improvements in station and softAP for connection management
...
1) station: send deauth while going from assoc to init, if reason is assoc timeout
2) softAP pmf: do not drop open deauth/disassoc if keys are not generated
3) softAP pmf: improvements in SA query handling
2023-02-01 12:22:46 +05:30
jgujarathi
c565724f3a
wpa_supplicant : fix invalid de-init of last_scan_res_used
...
During the wifi deinit last_scan_res_used is not set to 0 which will cause it be used directly after reinit.
Added changes which will set it to 0 during init and deinit.
2023-02-01 12:17:42 +05:30
jgujarathi
417fc6d404
wpa_supplicant : Correct scan results for GCMP RSN
...
Fixed a typo which was causing scan results for GCMP not showing correctly
2023-02-01 12:12:29 +05:30
David Čermák
57c4508eb3
Merge branch 'bugfix/lwip_sntp_fix' into 'master'
...
sntp: Fix esp_sntp_...() API potential races
Closes IDFGH-9223
See merge request espressif/esp-idf!22126
2023-02-01 14:39:28 +08:00
Jiang Jiang Jian
14167e0172
Merge branch 'feature/support_esp32c6_phy_update_0111' into 'master'
...
phy: update esp32c6 phy lib
See merge request espressif/esp-idf!22169
2023-02-01 14:16:46 +08:00
Wu Zheng Hui
33ae2e1073
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_cpu' into 'master'
...
esp32c6: support light_sleep (Stage 1: support CPU power down)
See merge request espressif/esp-idf!21985
2023-02-01 14:11:15 +08:00
Harshit Malpani
a176bff402
Merge branch 'bugfix/fix_return_value_in_httpd_socket_apis' into 'master'
...
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs
Closes IDFGH-9275
See merge request espressif/esp-idf!22168
2023-02-01 14:00:51 +08:00
chenjianhua
4b44305103
bluedroid: add params in GATT connect event
2023-02-01 12:08:33 +08:00
laokaiyao
330149f3a6
i2c: support i2c on esp32h2
2023-02-01 11:23:11 +08:00
zwl
423c43f3e3
Fixed hci uart tx long data error
2023-02-01 09:41:04 +08:00
jiangguangming
b0fa18d290
ci: fix typos tag naming of all flash_multi
2023-02-01 08:46:48 +08:00
David Cermak
e8ee09d817
lwip/sntp: Fix esp_sntp_ API races
...
Some of the esp_sntp_...() APIs that wrap lwip's SNTP
module use tcpip_callback() to execute the lwip functionality
in the correct state (either with locked TCP/IP core,
or within the TCP/IP thread).
tcpip_callback() however doesn't wait for completion of the callback,
which doesn't prevent from using the stack variables after destroy
if used as a parameter.
Introduced in a71fa82
.
Fixed by using of tcpip_api_call() instead of the tcpip_callback().
Closes https://github.com/espressif/esp-idf/issues/10611
2023-01-31 18:25:35 +01:00
gauri patankar
d14d001e44
wpa_supplicant:Fix potential null pointer dereference
2023-01-31 21:54:43 +05:30
wuzhenghui
7a4d38eac1
example: bringup light sleep example for esp32c6
2023-01-31 22:12:58 +08:00
wuzhenghui
cd9d914ba0
codeclean: clean esp32c6 rtc_sleep related code
2023-01-31 22:12:58 +08:00
Li Shuai
68594abe05
sleep: light sleep supported for esp32c6
2023-01-31 22:12:58 +08:00
wuzhenghui
a5467f42a0
codeclean: only S series chip VDDSDIO is configurable
2023-01-31 22:12:58 +08:00
Li Shuai
9b99fc9033
cpu retention: software cpu retention support for esp32c6
...
cpu retention: add riscv core sleep critical and non-critical register layout structure definition
cpu retention: add assembly subroutine for cpu critical register backup and restore
cpu retention: add cpu core critical register context backup and restore support
cpu retention: add cpu core non-critical register context backup and restore support
cpu retention: add interrupt priority register context backup and restore support
cpu retention: add cache config register context backup and restore support
cpu retention: add plic interrupt register context backup and restore support
cpu retention: add clint interrupt register context backup and restore support
cpu retention: wait icache state idle before pmu enter sleep
2023-01-31 22:12:54 +08:00
Li Shuai
1c39d64f95
cpu retention: refactor cpu retention and add cpu retention versions option in soc caps
2023-01-31 22:12:50 +08:00
Li Shuai
02f5df3b3e
Power Management: added protection to the configuration of each power domain
2023-01-31 22:12:27 +08:00
Li Shuai
0f6cda1dd3
Power Management: support DFS
2023-01-31 22:12:27 +08:00
Li Shuai
2b5618606b
pmu: clean modem clock pmu related code
2023-01-31 22:12:27 +08:00
cje
0fb408cc68
pmu active state ICG map initialize and modify i2c master force enable to enable
2023-01-31 22:12:27 +08:00
Li Shuai
c0ddaa5920
lp_timer: add hal-layer codes for esp32c6
2023-01-31 22:12:27 +08:00
Li Shuai
1eb08db0df
lp_timer: lp_timer register address mapping structure redefinition
2023-01-31 22:12:27 +08:00
Li Shuai
59cf87fe7d
pmu: sleep initialization and sleep start support for esp32c6
...
Initialize the pmu sleep machine constant when pmu is initialized, and calculate
the pmu sleep time adjustment value and hardware configuration value according
to the machine constant during system sleep.
Calibrate fast OSC before each sleep and use the calibration value to calculate
PMU hardware wait cycles when use the fast OSC as the work clock.
2023-01-31 22:12:27 +08:00
Li Shuai
6c1f58f135
pmu: add hal layer codes for esp32c6
2023-01-31 22:12:27 +08:00
Li Shuai
34d0464662
pmu: pmu register address mapping structure redefinition
2023-01-31 22:12:22 +08:00
Li Shuai
4e2a32d9b3
soc_cap: add SOC_PM_SUPPORT_VDDSDIO_PD soc_caps
...
soc_cap: add SOC_PM_CPU_RETENTION_BY_SW/REGDMA
soc caps: add SOC_PMU_SUPPORTED
2023-01-31 22:12:18 +08:00
David Čermák
dba0718f47
Merge branch 'feature/lwip_linux' into 'master'
...
lwip: Add support for linux target
Closes IDF-5707, IDF-5647, and IDF-6003
See merge request espressif/esp-idf!19302
2023-01-31 22:01:50 +08:00
Jiang Jiang Jian
20f5f641ef
Merge branch 'bugfix/restore_debug_print' into 'master'
...
wpa_supplicant: Restore DEBUG_PRINT in supplicant
See merge request espressif/esp-idf!22131
2023-01-31 21:29:56 +08:00
zwl
3a5373a5d0
Fixed the issue that Offest Base in SyncInfo was zero on ESP32-C6
2023-01-31 20:34:04 +08:00
morris
fd2b9d98d7
Merge branch 'bugfix/gdma_m2m_share_consumer_id' into 'master'
...
gdma: prevent mutli-channels connect to the same peripheral
Closes IDFGH-9182
See merge request espressif/esp-idf!22100
2023-01-31 19:48:24 +08:00
Jiang Jiang Jian
6d7282eebd
Merge branch 'feature/bringup_esp32c6_chip_wifi_rebase_master_2' into 'master'
...
esp_wifi: add txop limit support, sync header
See merge request espressif/esp-idf!21913
2023-01-31 19:41:50 +08:00
morris
3151f9c8f1
usj: bringup on esp32h2
2023-01-31 16:21:47 +08:00
Wan Lei
e6ed62d18a
Merge branch 'feature/spi_isr_pin_to_core' into 'master'
...
spi: add feature to assign core_id of spi isr registered
Closes IDF-6371
See merge request espressif/esp-idf!21597
2023-01-31 15:57:33 +08:00
George Joseph
c8f0ec7fa4
esp_sntp: Fix c++ compile issue in esp_sntp.h
...
Added a cast to esp_sntp_operatingmode_t in sntp_setoperatingmode()'s
call to esp_sntp_setoperatingmode(operating_mode). Althouogh C
doesn't require the cast, C++ does. Otherwise you get...
error: invalid conversion from 'u8_t' {aka 'unsigned char'}
to 'esp_sntp_operatingmode_t'
2023-01-31 07:54:30 +00:00
David Cermak
332e4902b4
lwip: Rename esp32 port layer to esp32xx
...
As it reflects all chips from esp32-xx family, not only esp32
2023-01-31 08:43:50 +01:00
David Cermak
fa97004faf
lwip: Support for linux target
...
Implement linux port layer and reuse the original FreeRTOS layer
that's compiled and used on linux target as well, by means of FreeRTOS
simulator.
2023-01-31 08:43:45 +01:00
morris
dbca74f1ef
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-01-31 15:18:19 +08:00
Rahul Tank
826495a145
Nimble: Added return value (success / failure ) to nimble_port_init
2023-01-31 12:01:02 +05:30
Harshit Malpani
e1e46e5dae
esp_http_server: fix return values for httpd_socket_send()
and httpd_socket_recv()
APIs
...
Closes https://github.com/espressif/esp-idf/issues/10658
2023-01-31 11:29:49 +05:30
morris
b7799ec84d
rom: patch uart function to switch buffer
2023-01-31 13:11:32 +08:00
cjin
13ccf8e906
phy: update esp32c6 phy lib
...
phy_init: phy_version 101,061a19e,Jan 11 2023,18:48:18
2023-01-31 12:29:22 +08:00
Song Ruo Jing
0d07f85916
Merge branch 'feature/esp32h2_ledc_support' into 'master'
...
ledc: Add support for ESP32H2
Closes IDF-6235 and IDF-6698
See merge request espressif/esp-idf!22120
2023-01-31 12:26:30 +08:00
Mahavir Jain
b44b88902e
Merge branch 'fix/stack-dram-memory-protection' into 'master'
...
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled
Closes IDF-6743
See merge request espressif/esp-idf!22130
2023-01-31 12:14:52 +08:00
Xu Si Yu
897b9700c4
Merge branch 'bugfix/fix_bug_of_c6_i154' into 'master'
...
ieee802154: update i154 lib to fix the bug of esp32c6
See merge request espressif/esp-idf!22151
2023-01-31 10:15:24 +08:00
Adam Múdry
e6fcaa4f9f
fatfs: Update to version 0.15
...
Updated FATFS to 0.15 from 0.14b and patched for ESP devices
2023-01-30 13:14:54 +00:00
Song Ruo Jing
ad55230b0a
ledc: Add support for esp32h2; Refactor ledc driver clock source selection related code
...
LEDC examples and test cases are supported on ESP32H2.
Switch to use general clock IDs for ledc_clk_cfg_t enum values.
Deprecate LEDC_USE_RTC8M_CLK.
2023-01-30 19:19:34 +08:00
Steve Jothen
7ca5fa87c0
Use correct recursive mutex for env and regular mutex for tz
2023-01-30 10:59:53 +01:00
Chip Weinberger
91ab4b5513
[AES] Timeout: return error dont abort
2023-01-30 01:37:00 -08:00
morris
a15830bcfc
Merge branch 'bugfix/correct_default_apb_frequency' into 'master'
...
soc: fix wrong APB_CLK_FREQ value on esp32c6
Closes IDF-6343
See merge request espressif/esp-idf!22080
2023-01-30 17:12:55 +08:00
wanlei
713dc06661
spi: add feature to modify core_id of spi isr regstered
2023-01-30 16:14:02 +08:00
Xu Si Yu
7a2948f42a
ieee802154: update i154 lib to fix the bug of esp32c6
2023-01-30 15:30:59 +08:00
Mahavir Jain
9374ebe529
esp32h2: add support for AES peripheral
...
Closes IDF-6280
2023-01-30 10:09:14 +05:30
Mahavir Jain
8203d40fc3
esp32h2: add support for SHA peripheral
...
Closes IDF-6275
2023-01-30 10:08:58 +05:30
wanglei
7cd87163a3
esp_rom: remove unsupported ld files (wifi related) for esp32h2
2023-01-30 11:28:26 +08:00
Wu Zheng Hui
e8773d12f2
Merge branch 'bugfix/switch_ahb_frequency_with_cpu_frequency' into 'master'
...
bugfix: make ahb freq consistent with cpu freq
See merge request espressif/esp-idf!21936
2023-01-29 19:00:19 +08:00
Jakob Hasse
a8b830ca92
Merge branch 'contrib/github_pr_10509' into 'master'
...
Make macro defined event base variables immutable (GitHub PR)
Closes IDFGH-9106
See merge request espressif/esp-idf!22032
2023-01-29 17:04:04 +08:00
jiangguangming
5edbd290a0
esp_rom: remove esp32h2.rom.rvfp.ld
2023-01-29 16:40:35 +08:00
jiangguangming
4731d4322e
esp_rom: remove newlib-time.ld from ROM built with 64-bit time_t
2023-01-29 16:37:13 +08:00
Marius Vikhammer
43c899b2bd
Merge branch 'bugfix/remove_undefined_rom_funcs' into 'master'
...
esp_rom: cleanup unsupported functions
See merge request espressif/esp-idf!22041
2023-01-29 11:47:39 +08:00
morris
774a05399b
soc: fix wrong APB_CLK_FREQ value on esp32c6
2023-01-28 06:33:23 +00:00
Alexey Lapshin
236fa5e669
Merge branch 'feature/upgrade-systemview-to-3_32' into 'master'
...
app_trace: sys_view: upgrade to version 3.42
Closes IDF-4646
See merge request espressif/esp-idf!21306
2023-01-28 11:24:13 +08:00
Lou Tianhao
a07c736d71
bugfix: make ahb freq consistent with cpu freq
2023-01-28 10:48:51 +08:00
Alexey Lapshin
18e5627a86
sys_view: upgrade to version 3.42
2023-01-27 22:22:33 +07:00
Abhik Roy
9cf70e0c98
Merge branch 'lwip/restrict_dhcp_server_client_together' into 'master'
...
esp-lwip: Restrict configuring DHCP server and client together
See merge request espressif/esp-idf!22137
2023-01-27 22:36:30 +08:00
Mahavir Jain
68a3bb295e
Merge branch 'contrib/github_pr_10378' into 'master'
...
Stop WiFi provisioning in the esp_event thread instead of creating new thread (GitHub PR)
Closes IDFGH-8966
See merge request espressif/esp-idf!22104
2023-01-27 21:23:39 +08:00
Abhik Roy
b44f9d6b6f
Merge branch 'lwip/esp_netif_def_iface' into 'master'
...
esp-lwip: Added API to return default esp-netif.
See merge request espressif/esp-idf!22124
2023-01-27 21:07:27 +08:00
Barabas Raffai
005196d86d
Clean up wifi provisioning in the esp_event thread
...
Signed-off-by: Laukik Hase <laukik.hase@espressif.com>
2023-01-27 15:39:08 +05:30
Abhik Roy
d762f9a1a5
esp-lwip: Added check in esp_netif_new() to restrict configuring DHCP
...
server and client together.
2023-01-26 20:59:04 +05:30
Guillaume Souchere
6382f28998
heap: Modify the memory type of the memory used as startup stack when memory protection is enabled
...
If memory protection is enabled on esp32c3 and esp32s3, we don't want to the heap component to see
the startup stack memory as D/IRAM but as DRAM only. Introduce a new type to make this possible in
the same fashion the regular D/IRAM regions are handled.
2023-01-26 10:52:34 +01:00
Guillaume Souchere
a26ecafa0d
Merge branch 'fix/malloc_cap_exec_on_esp32c6' into 'master'
...
heap: Fix allocation issue when trying to allocate in IRAM on esp32c6
Closes IDF-6306
See merge request espressif/esp-idf!22077
2023-01-26 17:45:23 +08:00
Zim Kalinowski
47570993b4
Merge branch 'feature/heap-replace-bzero-call-with-memset' into 'master'
...
heap: replace usage of bzero() with memset() across the component
Closes IDFGH-3073
See merge request espressif/esp-idf!22125
2023-01-25 20:49:18 +08:00
gauri patankar
85de6f3f9a
wpa_supplicant: Restore DEBUG_PRINT in supplicant
2023-01-25 16:57:44 +05:30
Kapil Gupta
de42b2912c
Merge branch 'bugfix/update_wps_api_documentation' into 'master'
...
wpa_supplicant: Update WPS API documentation
Closes IDFGH-8996
See merge request espressif/esp-idf!21714
2023-01-25 18:52:51 +08:00
Guillaume Souchere
fb9a7f36d4
heap: replace usage of bzero() with memset() across the component
...
See https://github.com/espressif/esp-idf/issues/5095
2023-01-25 09:28:56 +01:00
Abhik Roy
7e81518a57
esp-lwip: Added API to expose default esp-netif.
2023-01-25 12:03:02 +05:30
Guillaume Souchere
11f99ef649
heap: Add memory protection activation test
...
Check that when trying to allocate in IRAM with the system memory protection enabled,
null pointer is returned, or that an address in IRAM is returned if the memory protection
is disabled.
2023-01-25 07:20:57 +01:00
Mahavir Jain
d825753387
Merge branch 'fix/mbedtls_null_pointer_dereference' into 'master'
...
mbedtls: fix null pointer dereference of variable iv_off
See merge request espressif/esp-idf!22122
2023-01-25 13:37:34 +08:00
KonstantinKondrashov
73d756d073
bootloader_support(esp32c2): Fix esp_secure_boot_cfg_verify_release_mode API
...
When FE and SB keys are set then:
- 128 low bits are read protected
- 128 hi bits are readable
2023-01-24 18:16:19 +08:00
harshal.patil
75899755b7
mbedtls: fix null pointer dereference of variable iv_off
...
iv_off gets dereferenced before being check for NULL
2023-01-24 12:20:00 +05:30
Alexey Lapshin
dd40877ab2
sys_view: upgrade to version 3.32
2023-01-24 00:26:58 +07:00
Guillaume Souchere
a5d6f62e7e
heap: Prevent alloc from IRAM to call dram_alloc_to_iram() on esp32c6 target
...
Since DRAM and IRAM are superposed on esp32c6 it is not necessary to convert a freshly allocated
DRAM addr to its IRAM equivalent when MALLOC_CAP_EXEC is passed to heap_caps_malloc(). Instead,
proceed with a default allocation since the address returned by multi_heap_malloc() already belongs
to the IRAM region.
Applies for esp32c6 and every boards with superposed DRAM and IRAM addresses.
2023-01-23 07:42:20 +01:00
laokaiyao
3b450fb865
refactor soc CMakeLists
2023-01-20 22:07:50 +08:00
Mahavir Jain
e7ca2f2622
Merge branch 'feature/esp32c6_enable_hmac_and_ds_support' into 'master'
...
Feature/esp32c6 enable hmac and ds support
Closes IDF-5355 and IDF-5360
See merge request espressif/esp-idf!21761
2023-01-20 20:30:54 +08:00
Mahavir Jain
7943a920d3
Merge branch 'fix/protocomm_kconfig_flag' into 'master'
...
protocomm: Fix Kconfig flag dependency on wifi_provisioning component
Closes IDFGH-7925
See merge request espressif/esp-idf!22083
2023-01-20 17:10:31 +08:00
Ondrej Kosta
46c00b2478
Merge branch 'contrib/github_pr_10554' into 'master'
...
Verify w5500 chip properly (GitHub PR)
Closes IDFGH-9158
See merge request espressif/esp-idf!22073
2023-01-20 15:41:50 +08:00
Jiang Guang Ming
fe3e54eb70
Merge branch 'bugfix/esp_rom_wdt_linker_issue' into 'master'
...
esp_rom: fix esp_rom_wdt linker issue
See merge request espressif/esp-idf!22099
2023-01-20 14:59:03 +08:00
Martin Vychodil
a2b0068478
Merge branch 'bugfix/linux_build_errors' into 'master'
...
fix(linux): fix build errors without --skip-setting-flags
See merge request espressif/esp-idf!22063
2023-01-20 14:46:36 +08:00
Laukik Hase
7759079362
protocomm: Fix Kconfig dependency on wifi_provisioning
component config
...
- `protocomm` depends on a config option `CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION`
from `wifi_provisioning`; however, a lower layer component (`protocomm`) should
not have any `#ifdef` guard dependent on an upper layer component (`wifi_provisioning`).
- Added a new `ble_link_encryption` flag in `protocomm_ble_config_t` to manage the same
Closes https://github.com/espressif/esp-idf/issues/9443
2023-01-20 11:01:01 +05:30
jiangguangming
a14c2c298c
esp_rom: fix esp_rom_wdt linker issue
2023-01-20 13:03:02 +08:00
Marius Vikhammer
e2d3f7c54c
Merge branch 'feature/c6_wdt' into 'master'
...
wdt: add support for WDTs on C6
Closes IDF-5935 and IDF-5340
See merge request espressif/esp-idf!21038
2023-01-20 10:36:42 +08:00
Mahavir Jain
91c25b519c
Merge branch 'fix/hardware_ecc_port' into 'master'
...
mbedtls/ecp: Fix incorrect ECP parameter value
Closes IDF-6706
See merge request espressif/esp-idf!22046
2023-01-19 22:14:46 +08:00
Darian
ac1c550c52
Merge branch 'bugfix/rmt_tx_synchronization_tests' into 'master'
...
driver(RMT): Fix RMT TX multi channel test
See merge request espressif/esp-idf!22051
2023-01-19 19:19:40 +08:00
Ondrej
5fdb49698a
esp_eth: fixed copyright for W5500
2023-01-19 07:56:22 +00:00
Alexey Lapshin
0f97a24892
sdio_slave: fix strict aliasing violation for sdio_ringbuf_recv()
...
This happened because of passing sdio_slave_hal_send_desc_t** to function
sdio_ringbuf_recv() which is declared to have char** as input parameter
2023-01-19 13:21:27 +07:00
Marius Vikhammer
5e9e8c396f
wdt: add support for WDTs on C6
2023-01-19 12:58:26 +08:00
Aditya Patwardhan
4084ab38a1
esp32c6/soc: Enable DS and HMAC capabilities for esp32c6 in soc_caps.h
2023-01-19 09:53:34 +05:30
Aditya Patwardhan
4831edc624
esp32c6/hal: Added support for HMAC and DS on esp32c6
...
* Update DS test_apps for esp32c6 SoC
2023-01-19 09:53:34 +05:30
Kevin (Lao Kaiyao)
668e125dd4
Merge branch 'feature/support_i2s_on_h2' into 'master'
...
i2s: support i2s on esp32h2
Closes IDF-6219 and IDF-6700
See merge request espressif/esp-idf!21948
2023-01-19 10:47:33 +08:00
Marius Vikhammer
0eda9b9215
esp-rom: remove unsupported ROM functions
2023-01-19 10:09:09 +08:00
Armando (Dou Yiwen)
8f82c5cdee
Merge branch 'feature/adc_oneshot_api_calibrated_result' into 'master'
...
esp_adc: added an all-in-one API to get calibrated voltage
Closes IDF-6651
See merge request espressif/esp-idf!22055
2023-01-19 10:01:03 +08:00
Alexey Lapshin
af83cd60e1
Revert "sdio_slave: workaround the sdio_slave crash issue with release config + GCC11"
...
This reverts commit 19add3fb05
.
2023-01-19 00:04:06 +07:00
Wan Lei
e7c520e849
Merge branch 'feature/add_spi_ckl_source_selectable' into 'master'
...
spi_master: add feature spi periph clk source selectable
Closes IDF-6289
See merge request espressif/esp-idf!21324
2023-01-19 00:54:24 +08:00
David Čermák
2f1d30d155
Merge branch 'bugfix/lwip_core_locking' into 'master'
...
esp_netif/lwip: Fix core-locking config
Closes IDFGH-8445, IDFGH-9098, and IDFGH-9063
See merge request espressif/esp-idf!20840
2023-01-18 20:31:25 +08:00
laokaiyao
c79187fdeb
i2s: support i2s on esp32h2
2023-01-18 18:42:56 +08:00
Jiang Jiang Jian
43f5f3d56d
Merge branch 'bugfix/coex_enable_disable_not_in_pairs' into 'master'
...
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs
Closes BCI-317
See merge request espressif/esp-idf!21895
2023-01-18 17:01:02 +08:00
Sachin Parekh
d9ac69362a
wpa_supplicant: Enable ECC test case
2023-01-18 14:25:53 +05:30
Sachin Parekh
b060179400
mbedtls/ecp: Fix incorrect ECP parameter value
...
- Add sanity checks in mbedtls port
- Add ECP test cases covering shorter scalar values
2023-01-18 14:24:57 +05:30
Jiang Jiang Jian
3636495d33
Merge branch 'bugfix/remove_redundant_debug_print' into 'master'
...
Remove redundant DEBUG_PRINT in supplicant
Closes IDFGH-9037
See merge request espressif/esp-idf!21857
2023-01-18 16:45:44 +08:00
Armando (Dou Yiwen)
9f3fd2802f
Merge branch 'feature/sdio_slave_c6' into 'master'
...
sdio: c6 support
Closes IDF-5809
See merge request espressif/esp-idf!21486
2023-01-18 16:42:32 +08:00
Armando
c71c0996e3
esp_adc: added an all-in-one API to get calibrated voltage
2023-01-18 16:38:18 +08:00
Song Ruo Jing
9db3865cb7
Merge branch 'feature/esp32h2_gpio_support' into 'master'
...
gpio: Add support for esp32h2
Closes IDF-6227, IDF-6388, IDF-6403, and IDF-6676
See merge request espressif/esp-idf!21986
2023-01-18 16:24:13 +08:00
morris
7e7533d3a1
Merge branch 'feature/rmt_support_h2' into 'master'
...
rmt: support esp32h2
Closes IDF-6224, IDF-6672, and IDF-6690
See merge request espressif/esp-idf!21934
2023-01-18 16:15:00 +08:00
Darian Leung
1834d8ac39
driver(RMT): Fix RMT TX multi channel test
...
This commit multiple issues with the following RMT TX tests:
- rmt_multi_channels_trans_no_dma
- rmt_multi_channels_trans_with_dma
The following issues are fixed:
- Channel stop times are now tested using TEST_ASSERT_INT64_WITHIN(). The
previous method did not account for the case where channel 1 finished before
channel 0
- Increased synchronous stop time delta for esp32-c6
- Increased main task stack size to prevent stack overflow onesp32-s3
2023-01-18 16:09:47 +08:00
Chip Weinberger
a555563558
[Heap Trace Standalone] speed up sequential access
2023-01-18 08:48:28 +01:00
wanlei
184145817c
spi_master: add feature spi periph clk source selectable
2023-01-18 15:40:12 +08:00
Marius Vikhammer
76613c8137
Merge branch 'feature/ulp_reliability_tests' into 'master'
...
ulp-riscv: add more test cases for deep sleep wakeup scenarios
Closes IDF-6466
See merge request espressif/esp-idf!22069
2023-01-18 14:32:58 +08:00
Ivan Grokhotkov
cef0744299
Merge branch 'bugfix/linux_target_gen_partition_table' into 'master'
...
multiple fixes for linux target
Closes IDF-6641
See merge request espressif/esp-idf!21993
2023-01-18 11:57:08 +08:00
Song Ruo Jing
4c8fdc31f9
gpio: Add support for esp32h2
2023-01-18 11:41:12 +08:00
morris
b589fff0af
rmt: support esp32h2
2023-01-18 11:40:35 +08:00
Song Ruo Jing
dcf3fcaec6
lp_io: Enable esp32c6 lp_io unit tests
2023-01-18 11:23:52 +08:00
wanlei
b20c156ae6
spi_master: update spi performance test resulte for C6
2023-01-18 10:41:43 +08:00
Armando
d39f0310de
sdio: split sdio ll version init, and hs_enable
2023-01-18 02:34:46 +00:00
Armando
f1de9faa71
sdio: c6 support
2023-01-18 02:34:46 +00:00
Armando
38551239fd
essl: update essl component in driver test
2023-01-18 02:34:46 +00:00
Shu Chen
57d9cb5ef6
Merge branch 'bugfix/fix_uint32_timer_overflow' into 'master'
...
openthread: fix alarm timer overflow
See merge request espressif/esp-idf!22000
2023-01-18 10:23:12 +08:00
Jakob Hasse
9991862a10
fix(linux): fix build errors and warnings, remove ignore file
2023-01-18 09:24:28 +08:00
David Cermak
a71fa82177
esp_netif/lwip: Fix core-locking config
...
* Fix thread safety issues in non-core locking
* Add option to verify thread safety issues in lwip (core-lock assertion)
* Make esp_sntp.h thread safe API
* Fix sntp examples
* Fix openthread libs
Closes https://github.com/espressif/esp-idf/issues/9908
Closes https://github.com/espressif/esp-idf/issues/10502
Closes https://github.com/espressif/esp-idf/issues/10466
2023-01-17 16:15:58 +01:00
lvshisheng
d1230c7d9e
esp32c6: add md5check, txop limit and sync header, update esp32c6 sdkconfig and itwt example
2023-01-17 20:51:51 +08:00
Kevin (Lao Kaiyao)
87ae8f8762
Merge branch 'bugfix/pcnt_sdm_test_on_h2' into 'master'
...
fix pcnt sdm pre-commit failure
See merge request espressif/esp-idf!22067
2023-01-17 20:40:36 +08:00
Aditya Patwardhan
634e408ca4
Merge branch 'fix/mbedtls_port_sanity_checks_and_return_values' into 'master'
...
mbedtls/port: refactor sanity checks and their return values
Closes IDF-3810
See merge request espressif/esp-idf!21987
2023-01-17 19:21:52 +08:00
Reinis Muiznieks
bb2f346e55
Verify w5500 chip properly
2023-01-17 11:52:51 +02:00
Island
2dc96f9a27
Merge branch 'feature/esp32c6_enable_pcl_feature' into 'master'
...
Enabled PCL feature on ESP32C6
Closes IDF-6529
See merge request espressif/esp-idf!21903
2023-01-17 17:35:04 +08:00
morris
d9825f5165
Merge branch 'feature/add_clk_tree_get_frequency_api' into 'master'
...
clk_tree: Stage 4 - Add a general API to get the frequency of different clocks
Closes IDF-6569
See merge request espressif/esp-idf!21830
2023-01-17 17:08:23 +08:00
Marius Vikhammer
8aaecb9b28
ulp-riscv: add more wakeup test cases
2023-01-17 16:41:48 +08:00
Kevin (Lao Kaiyao)
5d61788032
Merge branch 'bugfix/i2s_fix_incorrect_sclk_in_legacy_driver' into 'master'
...
i2s: fix incorrect sclk in legacy driver
See merge request espressif/esp-idf!21997
2023-01-17 15:34:06 +08:00
laokaiyao
58bde0f665
fix pcnt sdm pre-commit failure
2023-01-17 15:28:27 +08:00
C.S.M
01913f6d01
Merge branch 'feature/esp32h2_build_test' into 'master'
...
ESP32H2 (CI): enable CI build stage test on esp32h2
Closes IDF-6263 and IDF-6264
See merge request espressif/esp-idf!21954
2023-01-17 13:28:11 +08:00
Kevin (Lao Kaiyao)
c5af31fa19
Merge branch 'feature/support_pcnt_on_h2' into 'master'
...
pcnt: support pcnt on esp32h2
Closes IDF-6221 and IDF-6669
See merge request espressif/esp-idf!21950
2023-01-17 12:20:00 +08:00
Kevin (Lao Kaiyao)
235b1163af
Merge branch 'feature/support_sdm_on_h2' into 'master'
...
sdm: support sdm on esp32h2
Closes IDF-6220 and IDF-6699
See merge request espressif/esp-idf!21955
2023-01-17 12:16:23 +08:00
Marius Vikhammer
70d1dbccd8
Merge branch 'docs/enable_h2_build' into 'master'
...
docs: add support for building H2 docs
Closes IDF-6259
See merge request espressif/esp-idf!21933
2023-01-17 12:11:29 +08:00
laokaiyao
3908f4c84d
i2s_test: fix output half sample rate failure
2023-01-17 11:37:22 +08:00
laokaiyao
c25fc7d242
i2s: fix incorrect sclk in legacy driver
2023-01-17 11:34:25 +08:00
Song Ruo Jing
4bd36e6576
clk_tree: Update clock tree programming guide for esp32c6
2023-01-17 11:30:43 +08:00
Song Ruo Jing
c7c2462d39
system: Add complete support for disabling ROM logging by calling esp_deep_sleep_disable_rom_logging on C2, C3, and S3
2023-01-17 11:30:43 +08:00
Song Ruo Jing
2c9aa4559c
clk_tree: Add a general API to get the frequency of different clocks
...
Add basic clk_tree driver and hal implementation.
2023-01-17 11:30:24 +08:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Marius Vikhammer
7100b7d1ff
docs: add support for building H2 docs
2023-01-17 10:04:26 +08:00
harshal.patil
5ee1e97e6f
mbedtls: added a test of different auth-tag lengths in AES-GCM
2023-01-16 15:04:08 +05:30
harshal.patil
270ff95022
mbedtls/port: refactor sanity checks and their return values
...
Refactored and returned correct error codes for sanity checks
present in port layer esp_aes.c and esp_aes_gcm.c
2023-01-16 15:04:08 +05:30
harshal.patil
9a47f8a066
mbedtls/port: added stream_block parameter sanity check
2023-01-16 15:04:08 +05:30
Fu Hanxi
9e24739228
Merge branch 'ci/linux_host_test_with_pytest' into 'master'
...
CI: Linux host test with pytest
Closes IDFCI-1571
See merge request espressif/esp-idf!21907
2023-01-16 16:22:44 +08:00
Shu Chen
46a1165da1
Merge branch 'feature/add_support_for_c6_br' into 'master'
...
openthread: enable br for esp32c2 and esp32c6
See merge request espressif/esp-idf!21935
2023-01-16 15:39:53 +08:00
Island
1157657664
Merge branch 'feature/modify_bt_sdkconfig_to_support_bluedroid_on_esp32c6' into 'master'
...
modify bt sdkconfig to support bluedroid examples for esp32c6
Closes IDF-6525 and BT-3113
See merge request espressif/esp-idf!21928
2023-01-16 15:32:53 +08:00
zhangwenxu
4fc1035fd8
openthread: fix alarm timer overflow
2023-01-16 13:39:11 +08:00
zwl
38c5f239be
Enabled PCL feature on ESP32C6 BT Controller
2023-01-16 12:28:44 +08:00
Fu Hanxi
b02687a6c4
test: migrate linux target host test jobs into pytest-embedded
2023-01-16 10:25:55 +08:00
David Čermák
a786676d8d
Merge branch 'bugfix/esp_netif_ppp_set_dns' into 'master'
...
esp_netif: Allow set_dns_info() for PPP netifs
Closes IDFGH-7031
See merge request espressif/esp-idf!21863
2023-01-14 04:47:08 +08:00
morris
bcc307cf7b
Merge branch 'feature/rmt_no_light_sleep_lock' into 'master'
...
rmt: avoid auto light sleep when use xtal as the clock source
See merge request espressif/esp-idf!21831
2023-01-14 00:08:55 +08:00
Mahavir Jain
c0c2e3a73a
Merge branch 'fix/esp_local_ctrl_header_incl' into 'master'
...
esp_local_ctrl: Fix header inclusion
See merge request espressif/esp-idf!22033
2023-01-13 23:47:55 +08:00
Jiang Jiang Jian
def5db1990
Merge branch 'bugfix/clear_pmk_cache_for_missing_reason_codes_master' into 'master'
...
Fix missing disconnected callback
See merge request espressif/esp-idf!22043
2023-01-13 23:34:16 +08:00
Shu Chen
210abd52b6
Merge branch 'bugfix/ot_cli_disbale_error' into 'master'
...
openthread: fix compile errors when disabling openthread cli
See merge request espressif/esp-idf!22001
2023-01-13 22:12:54 +08:00
Wang Qixiang
6d9634ca34
openthread: fix compile errors when disabling openthread cli
2023-01-13 22:12:54 +08:00
Xu Si Yu
e38d20849e
openthread: enable br for esp32c2 and esp32c6
2023-01-13 19:56:06 +08:00
Chip Weinberger
26a5117870
[Heap Trace Standalone] fix terrible Leaks perf on large records by using doubly linked list
2023-01-13 11:43:09 +01:00
David Cermak
d16c422b11
esp_netif: Allow set_dns_info() for PPP netifs
...
esp_netif_set_dns_info() was available only for standard interfaces, not
for Point to point types (PPP, SLIP), but it should be normally
supported. Moreover DNS servers are global in lwip, so it doesn't really
depend on type of the interface.
Also added some minor fixes to the esp_netif_get_dns_info() to allow for
NULL parameters (as it's a public API) and hardcode the IPv4 type in
case of DHCP server capable interface.
Updated logs and added error checks to the original API, before we
launch the lwIP counterpart.
Closes https://github.com/espressif/esp-idf/issues/8648
2023-01-13 10:31:28 +00:00
laokaiyao
482a26e284
sdm: support sdm on esp32h2
2023-01-13 16:55:51 +08:00
laokaiyao
2730186561
pcnt: support pcnt on esp32h2
2023-01-13 16:11:50 +08:00
Zhi Wei Jian
a8f66c66e0
Merge branch 'feature/support_get_dev_name_for_bt' into 'master'
...
Bluedroid: support get bluetooth device name
Closes BT-3019
See merge request espressif/esp-idf!21876
2023-01-13 16:07:16 +08:00
Harshit Malpani
a1e9a87e69
Merge branch 'bugfix/fix_ESP_LOG_to_debug' into 'master'
...
esp_http_client: fix debug log from LOGI to LOGD
Closes IDFGH-8892
See merge request espressif/esp-idf!22011
2023-01-13 15:51:23 +08:00
Ivan Grokhotkov
e7540dbe0e
docs: remove the outdated "IDF monitor doesn't work on linux" notes
2023-01-13 08:14:56 +01:00
Ivan Grokhotkov
ec8f38c9da
build system: generate the partition table by default for linux target
...
This fixes the issue that "idf.py partition-table" had to be run
manually in order for the partition table to be generated, when
building for linux target.
2023-01-13 08:14:56 +01:00
Shyamal Khachane
64ca03d396
esp_wifi: Fix missing disconnected callback
2023-01-13 12:44:46 +05:30
Mahavir Jain
fd34bdb70a
Merge branch 'feature/secure_features_are_enabled_correctly' into 'master'
...
security: Adds new APIs to check that all eFuse security features are enabled correctly
Closes IDF-1814
See merge request espressif/esp-idf!19532
2023-01-13 15:09:55 +08:00
Shen Weilong
45aaeda1e3
modify bt sdkconfig to support bluedroid examples for esp32c6
2023-01-13 15:05:34 +08:00
Chen Yu Dong
db9586c53f
Merge branch 'feature/enable_build_wifi_examples_esp32c6' into 'master'
...
examples: enable build esp32c2/esp32c6 for wifi and network examples
See merge request espressif/esp-idf!21970
2023-01-13 13:58:21 +08:00
chenjianhua
708ca0181c
bluedroid: support get bluetooth device name
2023-01-13 10:39:57 +08:00
morris
b1ff550f69
Merge branch 'feature/driver_support_esp32c6_gptimer_etc' into 'master'
...
gptimer: support esp32h2
Closes IDF-6242
See merge request espressif/esp-idf!21925
2023-01-13 08:23:33 +08:00
Martin Vychodil
1da27eb6fe
Merge branch 'feature/storage_esp_partition_linux' into 'master'
...
esp_partition: added missing functions for linux target
See merge request espressif/esp-idf!21762
2023-01-13 02:04:54 +08:00
morris
ce84476870
gptimer: support esp32h2
2023-01-12 14:10:11 +00:00
Mahavir Jain
1a8a06775d
Merge branch 'bugfix/fix_coverity_issue_in_esp_http_client' into 'master'
...
esp_http_client: free `auth_str` before going out of scope
See merge request espressif/esp-idf!22014
2023-01-12 21:09:20 +08:00
Armando (Dou Yiwen)
d1b8da74d8
Merge branch 'refactor/improve_adc_power_maintanance' into 'master'
...
adc: improve adc power maintanance
Closes IDF-6114 and IDF-6318
See merge request espressif/esp-idf!21151
2023-01-12 20:30:36 +08:00
Laukik Hase
4f67662cab
Merge branch 'feature/mbedtls-3.3.0' into 'master'
...
mbedtls: Update to v3.3.0
Closes IDF-6536
See merge request espressif/esp-idf!21897
2023-01-12 19:38:51 +08:00
Laukik Hase
e7efda4709
esp_local_ctrl: Fix header inclusion
...
- Included `sdkconfig.h` and HTTP/S server based headers
explicitly
2023-01-12 16:16:45 +05:30
Luke Dennis
b4d904f8f0
Make macro defined event base variables immutable and update license
2023-01-12 18:07:00 +11:00
lvshisheng
f4ff1b577b
header: update he_types.h
2023-01-12 14:50:11 +08:00
morris
c83d1db2ed
Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit' into 'master'
...
mcpwm: support not reset GPIO config at exit
Closes IDFGH-8916
See merge request espressif/esp-idf!21568
2023-01-12 13:20:47 +08:00
Mahavir Jain
d8af04234c
Merge branch 'update/update_certs_bundle' into 'master'
...
Update esp_crt_bundle certificates
See merge request espressif/esp-idf!21996
2023-01-12 12:58:36 +08:00
Armando (Dou Yiwen)
297c7852a5
Merge branch 'bugfix/fix_adc_channel_h_not_aligned_to_ng_driver_issue' into 'master'
...
adc: make adc_channel.h macros work with ng driver
Closes IDFGH-9105
See merge request espressif/esp-idf!21946
2023-01-12 11:07:20 +08:00
morris
f7c3d791a2
Merge branch 'feature/systimer_support_esp32h2' into 'master'
...
systimer: assign counter and alarm in esp_hw_support
Closes IDF-6484, IDF-5323, and IDF-6230
See merge request espressif/esp-idf!21984
2023-01-12 11:01:17 +08:00
morris
8d3172d1fb
Merge branch 'bugfix/fix_build_of_esp32h4beta1' into 'master'
...
soc: add a header file to fix the bug of esp32h4beta1 build
See merge request espressif/esp-idf!21999
2023-01-12 00:57:58 +08:00
Adam Múdry
204f4207ec
Merge branch 'feature/ext_flash_yield_on_erase' into 'master'
...
Yield functionality for external flash, mask esp_flash_erase_chip with esp_flash_erase_sector
Closes IDFGH-7665, IDFGH-8487, and IDFGH-6479
See merge request espressif/esp-idf!19205
2023-01-11 20:16:05 +08:00
Xu Si Yu
d17ecbcf5d
soc: add a header file to fix the bug of esp32h4beta1 build
2023-01-11 11:46:05 +00:00
Harshit Malpani
3152fba654
esp_http_client: fix coverity issue. free auth_str
before going out of scope
2023-01-11 16:57:04 +05:30
Harshit Malpani
6e92edd848
esp_http_client: fix debug log from LOGI to LOGD
...
Closes https://github.com/espressif/esp-idf/issues/10313
2023-01-11 15:55:52 +05:30
Konstantin Kondrashov
1d2469fbd1
Merge branch 'feature/ipc_uses_tasknotify' into 'master'
...
esp_ipc: ipc_task uses TaskNotify instead of Semaphore
Closes IDFGH-8795
See merge request espressif/esp-idf!21347
2023-01-11 15:56:29 +08:00
morris
1f3507eac0
Merge branch 'feature/gdma_support_h2' into 'master'
...
gdma: support esp32h2
Closes IDF-6222 and IDF-6238
See merge request espressif/esp-idf!21932
2023-01-11 14:04:14 +08:00
Chip Weinberger
8b2b430d68
[Heap Trace Standalone] fix terrible Leaks perf on large records by using doubly linked list
2023-01-10 21:01:11 -08:00
C.S.M
e96e7ecbee
Merge branch 'bugfix/fix_bunch_of_i2c_issues' into 'master'
...
I2C: Fix bunch of small issues
Closes IDFGH-8722 and IDFGH-8310
See merge request espressif/esp-idf!21891
2023-01-11 11:02:53 +08:00
Espressif BOT
35cd5ee57b
Update esp_crt_bundle certificates
2023-01-11 10:00:31 +08:00
Jiang Jiang Jian
a6f7035c8c
Merge branch 'feature/example_deep_sleep_wake_stub' into 'master'
...
make wake stub worked on ESP32/S2/C3/S3
Closes IDFGH-6564
See merge request espressif/esp-idf!17952
2023-01-10 23:40:10 +08:00
KonstantinKondrashov
df662c30e4
bootloader_support(esp32c2): Fix WR_DIS_RD_DIS burn for secure boot key
...
SB key is left readable, the corresponding bit in RD_DIS is unset.
We set write-protection for RD_DIS to ensure that the SB key is always readable.
2023-01-10 23:35:13 +08:00
KonstantinKondrashov
696f7495a0
security: Adds new APIs to check that all eFuse security features are enabled correctly
2023-01-10 23:35:13 +08:00
Darian
20f0afd684
Merge branch 'feature/esp_pm_unit_test_migration' into 'master'
...
esp_pm: Migrate unit tests to test app
Closes IDF-5581
See merge request espressif/esp-idf!21229
2023-01-10 21:35:43 +08:00
Zhi Wei Jian
c176e5e0ec
Merge branch 'bugfix/fix_blufi_frag_pkt_vulnerability' into 'master'
...
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
Closes BT-3106
See merge request espressif/esp-idf!21819
2023-01-10 21:13:01 +08:00
radek.tandler
9e191bad52
esp_partition/linux target: Add functions supporting host tests
...
Added statistics and wear simulation functions to support migration of
remaining storage related host tests from fixture to linux implementation
of esp_partition.
2023-01-10 14:10:14 +01:00
chenjianhua
175be1c42c
bluedroid: support ble privacy by controller
2023-01-10 18:50:11 +08:00
morris
6c1d98d556
systimer: assign counter and alarm in esp_hw_support
2023-01-10 17:05:49 +08:00
jiangguangming
a367ab4b76
ld: fix rtc.data rtc.bss section issues
...
1. rtc.data section: should include sbss srodata in rtc_wake_stub*.*
2. rtc.bss section: move rtc .bss .bss.* from rtc.data to rtc.bss
2023-01-10 17:03:54 +08:00
jiangguangming
f74a43d002
use LL function to get wakeup cause
2023-01-10 17:03:54 +08:00
jiangguangming
4b4491e736
rtc_time.c: simplify the rtc_time_get with LL function
2023-01-10 17:03:54 +08:00
jiangguangming
51ec91c637
add example deep sleep wake stub
2023-01-10 17:03:50 +08:00
morris
3681dee80e
gdma: support esp32h2
2023-01-10 16:37:02 +08:00
morris
d0b7f3214a
gdma: correct the dma trigger of uart
...
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-01-10 16:37:01 +08:00
morris
cbde82c33f
apm: added low level functions for tee controller
2023-01-10 16:37:01 +08:00
morris
f7fdba7f39
apm: disable permission control temporarily for esp32h2
...
Access Protection Mode is not yet configured globally, disable the APM
functionality temporarily for esp32h2 and esp32c6
2023-01-10 16:37:01 +08:00
Zim Kalinowski
7aabacbcfc
Merge branch 'refactor/posix_linux_sim_docs_code_format' into 'master'
...
[freertos/linux]: improved docs and coding style in non-SMP code
See merge request espressif/esp-idf!21832
2023-01-10 16:32:15 +08:00
jiangguangming
cceccb4ed9
hal: add rtc_cntl LL function for wake stub
2023-01-10 16:09:49 +08:00
Krzysztof Budzynski
738600d839
Merge branch 'docs/update_gpio_hold_en_description' into 'master'
...
docs: update description of gpio_hold_en()
See merge request espressif/esp-idf!21834
2023-01-10 15:50:05 +08:00
Darian Leung
412b09abf4
esp_pm: Migrate unit tests to test app
...
This commit migrates the esp_pm unit tests from the legacy unit test to a
stand alone test app. The following CI configurations are provided
- Default: Automatic light sleep with mostly default configurations
- Options: Enables all of the optional esp_pm features
- Limits: Limit tests esp_pm
2023-01-10 15:43:33 +08:00
C.S.M
faac178784
Merge branch 'feature/brownout_bringup_c6' into 'master'
...
BOD: Bringup for ESP32C6
Closes IDF-5345
See merge request espressif/esp-idf!21888
2023-01-10 14:42:43 +08:00
Jiang Jiang Jian
73b838dac3
Merge branch 'bugfix/sae_auth_and_pmk_issues' into 'master'
...
Fix SAE open auth and PMK issues
Closes WIFI-5059
See merge request espressif/esp-idf!21910
2023-01-10 14:03:01 +08:00
Shyamal Khachane
9603d1d903
Fix SAE open auth and PMK issues
2023-01-10 14:03:00 +08:00
Alexey Lapshin
022f3a28b6
Merge branch 'fix/efuse-function-declaration' into 'master'
...
efuse: fix esp_efuse_utility_write_reg() declaration
See merge request espressif/esp-idf!20490
2023-01-10 13:48:35 +08:00
Zhang Wen Xu
c29dc28176
Merge branch 'feature/add_ieee802154_multipan_api' into 'master'
...
ieee802154: add multipan api
See merge request espressif/esp-idf!21600
2023-01-10 11:14:51 +08:00
Zhi Wei Jian
c08cd91da3
Merge branch 'bugfix/fix_bluedroid_bug_for_pts' into 'master'
...
Bluedroid: fixed GATT multi notify and robust caching
Closes BT-3142
See merge request espressif/esp-idf!21871
2023-01-10 10:49:21 +08:00
Zhi Wei Jian
1002ad1f90
Merge branch 'bugfix/fix_disconn_due_to_instant_passed' into 'master'
...
Fix ble disconnect due to channel map update instant passed
Closes BT-3085
See merge request espressif/esp-idf!21889
2023-01-10 10:48:37 +08:00
Cao Sen Miao
56a2d0b8a2
BOD: Bringup for ESP32C6
2023-01-10 10:37:30 +08:00
tgotic
23a290f29f
esp_ipc: Use task notifications instead of semaphores
...
Closes https://github.com/espressif/esp-idf/pull/10226
- Drop the atomic usage
- Return the xSemaphoreTake for ask back
- Refactoring
2023-01-10 05:11:31 +08:00
Aleksei Apaseev
6b8be56e71
Merge branch 'fix/fix_incorrectly_defined_coredump_chip_version' into 'master'
...
espcoredump: fix incorrectly defined coredump chip version
See merge request espressif/esp-idf!21959
2023-01-10 01:48:30 +08:00
morris
7b04836a74
Merge branch 'bugfix/esp32c3_soc_dma_low' into 'master'
...
soc: fix SOC_DMA_LOW and SOC_BYTE_ACCESSIBLE_LOW for esp32c3, esp32c2, esp32h4
See merge request espressif/esp-idf!21883
2023-01-09 21:39:39 +08:00
Aleksei Apaseev
46651e7a6a
espcoredump: fix incorrectly defined coredump chip version
2023-01-09 18:43:35 +08:00
Laukik Hase
68d90dd392
protocomm: Fix test-app build for esp32c2 & esp32c6
...
- AES context has a breaking change, rather than storing
round keys directly, it stores the offset at which the keys
are present in the context buffer
2023-01-09 15:41:36 +05:30
Laukik Hase
1e4493e592
mbedtls: Fix build with dynamic buffers feature
2023-01-09 15:41:36 +05:30
Laukik Hase
c2ab1af47f
wpa_supplicant: Update deprecated API (mbedtls_pkcs5_pbkdf2_hmac
)
...
- The newer alternative does not require HMAC context for its
operation
2023-01-09 15:41:36 +05:30
Laukik Hase
59de3948dc
mbedtls: Update config options as per v3.3.0 release
2023-01-09 15:41:36 +05:30
Laukik Hase
d2dddf13ae
mbedtls: Update to v3.3.0
2023-01-09 15:41:35 +05:30
Kapil Gupta
45571b0525
Merge branch 'bugfix/remove_sha384_hash_for_bigger_certs' into 'master'
...
esp_wifi: remove sha384 hash for cert size > 2k
Closes WIFI-5208
See merge request espressif/esp-idf!21840
2023-01-09 18:07:50 +08:00
Armando
5ab90e9728
phy_override: add pwdet power function
2023-01-09 17:10:36 +08:00
Armando
5be3c21cfc
adc: improve power logic
2023-01-09 17:10:04 +08:00
Armando
f9da48d94f
rtc: add pwdet and sar adc power related low level func
2023-01-09 17:09:01 +08:00
Ivan Grokhotkov
0dcdd39db1
soc: fix some memory region boundaries for esp32c3, esp32c2, esp32h4
2023-01-09 07:33:37 +00:00
morris
5fb9866f0d
Merge branch 'feature/add_sdm_dac_example' into 'master'
...
sdm: add wave output example
Closes IDF-6636
See merge request espressif/esp-idf!21892
2023-01-09 15:30:30 +08:00
morris
dba66c100c
Merge branch 'feature/mcpwm_non_varg_version_api' into 'master'
...
mcpwm: support non-vararg version of generator functions
Closes IDFGH-9046
See merge request espressif/esp-idf!21872
2023-01-09 15:07:21 +08:00
xiaqilin
98871be8ee
ieee802154: add multipan api
2023-01-09 15:06:01 +08:00
Chen Yu Dong
e72905ee35
Merge branch 'ci/enable_more_wifi_tests' into 'master'
...
CI: enable more wifi cases
See merge request espressif/esp-idf!21488
2023-01-09 14:42:10 +08:00
Armando
349922dcee
adc: make adc_channel.h macros work with ng driver
...
Closes https://github.com/espressif/esp-idf/issues/10508
2023-01-09 14:25:24 +08:00
Cao Sen Miao
467356cfcd
I2C: Fix issue that pointer would be NULL if calls i2c_param first,
...
Closes https://github.com/espressif/esp-idf/issues/10163
2023-01-09 10:18:03 +08:00
Adam Múdry
586e738f8a
add: Unit test - don't trigger WDT when erasing chip
2023-01-08 13:58:37 +00:00
Adam Múdry
cfc8332833
spi: Mask esp_flash_erase chip with esp_flash_erase_sector
...
add: Fix to prevent WDT trigger
add: comments to better explain SPI API
Closes https://github.com/espressif/esp-idf/issues/9945
Closes https://github.com/espressif/esp-idf/issues/9212
Closes https://github.com/espressif/esp-idf/issues/8135
2023-01-08 13:58:37 +00:00
Matus Fabo
1b747867bd
spi: implement yield for spi2 and spi3
...
add: yield functions for spi2 and spi3
add: spi23 start and end functions
change: function names with spi1 that were not specific to spi1
change: chip data for spi2 and spi3 increased for timestamps
change: merge spi_app_func_arg_t into app_func_arg_t
change: moved os_func_data allocation before host check
2023-01-08 13:58:37 +00:00
Mahavir Jain
c948a70895
Merge branch 'fix/memory-layout-c6' into 'master'
...
soc: Fix memory layout for esp32c6
Closes IDF-5627
See merge request espressif/esp-idf!21894
2023-01-08 21:51:21 +08:00
Linda
cdc12389d5
docs: update description of gpio_hold_en()
2023-01-07 13:57:02 +08:00
Rocha Euripedes
8ba285d882
Merge branch 'feature/esp_mqtt_as_managed_component' into 'master'
...
[MQTT] - Moves compile definition out of idf
See merge request espressif/esp-idf!20651
2023-01-06 21:17:29 +08:00
chenjianhua
70bb6c7388
bluedroid: fixed GATT multi notify and robust caching
2023-01-06 20:13:58 +08:00
Jiang Jiang Jian
2b1e9dfe02
Merge branch 'feature/esp32c2_optimize_npl_api' into 'master'
...
Optimized NPL Freertos API
Closes BLE-459
See merge request espressif/esp-idf!21902
2023-01-06 19:23:53 +08:00
Armando (Dou Yiwen)
30a535db18
Merge branch 'refactor/move_mspi_timing_tuning_to_esp_hw_support' into 'master'
...
mspi: move timing tuning to esp_hw_support
Closes IDF-6470
See merge request espressif/esp-idf!21912
2023-01-06 18:47:07 +08:00
Guillaume Souchere
b8a4988451
soc: Update calculation of TWAI 1/2 base addresses
2023-01-06 09:30:36 +00:00
Guillaume Souchere
6dffac74e9
heap: Fix IRAM level 2 starting address
...
The IRAM level 2 address should start at the same address as DRAM level 2 and not DRAM level 3.
2023-01-06 09:30:36 +00:00
laokaiyao
6b631b68d1
sdm: correct concept duty to density
2023-01-06 17:01:48 +08:00
Wu Zheng Hui
751fa28919
Merge branch 'feature/update_esp32h2_memory_layout' into 'master'
...
ESP32-H2: update esp32h2 memory layout
See merge request espressif/esp-idf!21930
2023-01-06 15:51:29 +08:00
zwl
06937271bb
Optimized NPL Freertos API
2023-01-06 15:10:18 +08:00
Konstantin Kondrashov
ffea490cc7
Merge branch 'feature/mac_crc' into 'master'
...
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then INVALID_CRC instead of abort
Closes IDFGH-8989
See merge request espressif/esp-idf!21789
2023-01-06 14:50:40 +08:00
Armando
b46cfd15a2
mspi: move timing tuning to esp_hw_support
2023-01-06 14:41:20 +08:00
Euripedes Rocha
5afa3d347c
[MQTT] - Moves compile definition out of idf
...
- MQTT build process is to be managed in esp-mqtt repository
- Componenf directory points directly to submodule, usage must be
unchanged
2023-01-06 06:30:26 +00:00
Chen Yudong
8aca3932b0
CI: enable more wifi cases
2023-01-06 06:03:52 +00:00
wangmengyang
3cd5ba44d1
phy: removed unit test cases for some functions against cache disabled condition on ESP32-C3
...
function bt_bb_v2_init_cmplx and coex_pti_v2 are only used during bluetooth Controller initialization and do not require IRAM attribute
2023-01-06 06:03:52 +00:00
wuzhenghui
05e37ba214
esp32h2 memory: update esp32h2 memory layout
2023-01-06 05:30:24 +00:00
Marius Vikhammer
c55d82d1fa
Merge branch 'bugfix/nvs_docs_build' into 'master'
...
docs: fix nvs-related docs build issue
See merge request espressif/esp-idf!21917
2023-01-06 13:18:35 +08:00
Marius Vikhammer
7f0aa7b534
docs: updated path to nvs_tool.py in chinese doc.
2023-01-06 11:00:17 +08:00
Shu Chen
aa05964412
Merge branch 'bugfix/fix_recv_buffer_overflow' into 'master'
...
openthread_port: fix receive buffer overflow
See merge request espressif/esp-idf!21899
2023-01-06 10:27:28 +08:00
morris
4f8b2bedb5
Merge branch 'bugfix/ledc_glb_clk_compiler_warning' into 'master'
...
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on ESP32
Closes IDFGH-8904 and IDFGH-7450
See merge request espressif/esp-idf!21890
2023-01-05 22:39:35 +08:00
morris
4f37b0b0a0
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
WIP: clk: Add basic clock support for esp32h2
See merge request espressif/esp-idf!21865
2023-01-05 19:19:22 +08:00
zhangwenxu
eabc5e5b01
openthread_port: fix receive buffer overflow
2023-01-05 19:09:07 +08:00
David Čermák
c498017df6
Merge branch 'unit_test_for_C2_netif' into 'master'
...
lwip: Re-enable esp-netif unit tests for ESP32C2 target
See merge request espressif/esp-idf!21372
2023-01-05 18:56:23 +08:00
Ivan Grokhotkov
61c5fc21e1
docs: fix nvs-related docs build issue
2023-01-05 09:28:57 +01:00
Wan Lei
419544a2c8
Merge branch 'bugfix/fix_micro_error_SPI_HOST_MAX' into 'master'
...
spi: fix micro SPI_HOST_MAX error
Closes IDFGH-8932
See merge request espressif/esp-idf!21557
2023-01-05 16:07:17 +08:00
Sudeep Mohanty
28ccb3b414
Merge branch 'bugfix/rtc_i2c_stuck_after_esp_restart' into 'master'
...
ulp risc-v rtc i2c: Fix a bug where RTC I2C failed to initialize after esp_restart()
Closes IDFGH-9065
See merge request espressif/esp-idf!21862
2023-01-05 15:59:08 +08:00
Sudeep Mohanty
2df00a4b17
Merge branch 'docs/ulp_riscv_i2c_sub_reg_addr' into 'master'
...
ulp-riscv-i2c: Updated API documentation about sub register address usage
Closes IDFGH-9023
See merge request espressif/esp-idf!21838
2023-01-05 15:58:29 +08:00
David Čermák
063a26b5e6
Merge branch 'bugfix/lwip_mark_ppp_officially_supported' into 'master'
...
lwip: Mark PPP officially supported
Closes IDFGH-8820
See merge request espressif/esp-idf!21900
2023-01-05 15:57:45 +08:00
Song Ruo Jing
46f67092d0
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-05 15:16:04 +08:00
Mahavir Jain
21c5c50924
Merge branch 'feature/esp_http_client_on_linux' into 'master'
...
Feature/esp http client on linux
Closes IDF-6564
See merge request espressif/esp-idf!21128
2023-01-05 14:55:02 +08:00
Shreyas Sheth
623d384778
Merge branch 'bugfix/wps_coverity_fwd_null' into 'master'
...
wpa_supplicant: Bugfix wps coverity forward null pointer issue
See merge request espressif/esp-idf!21848
2023-01-05 14:31:46 +08:00
Wan Lei
747214616c
Merge branch 'feature/add_api_spi_slave_trans_in_isr' into 'master'
...
spi_slave: add isr version api to add transaction in isr callback
Closes IDF-6199 and IDF-6049
See merge request espressif/esp-idf!20587
2023-01-05 12:46:01 +08:00
wangmengyang
29610b8a1b
bluetooth: fix that functions "coex_enable" and "coex_disable" are not used in pairs on ESP32-C3, ESP32-S3, ESP32-C2 and ESP32-C6
2023-01-05 12:34:49 +08:00
Zhang Wen Xu
4485bd4245
Merge branch 'bugfix/phy_print_link_error_when_build_lib_from_src' into 'master'
...
ieee802154: fix phy_printf link error when build lib from src
See merge request espressif/esp-idf!18922
2023-01-05 11:34:28 +08:00
Armando (Dou Yiwen)
7e4ef3c321
Merge branch 'feature/remove_80m_ddr_warning' into 'master'
...
mspi: remove 80m ddr warning regarding to timing tuning
See merge request espressif/esp-idf!18380
2023-01-05 11:05:06 +08:00
Island
e58181b3f9
Merge branch 'bugfix/fixed_hci_uart_flow_ctrl_error_on_esp32c2' into 'master'
...
Bugfix/fixed hci uart flow ctrl error on esp32c2
Closes BLE-460, BLE-471, and IDF-6530
See merge request espressif/esp-idf!21882
2023-01-05 10:06:16 +08:00
Adam Múdry
40d1eff2bd
Merge branch 'feature/nvs_tool_refinement' into 'master'
...
nvs: Partition tool refinement
Closes IDF-6061
See merge request espressif/esp-idf!20683
2023-01-05 06:39:01 +08:00
mofeifei
0fc2fbe83f
docs: update cn trans nvs_partition_tool/readme
2023-01-04 18:32:30 +01:00
Mahavir Jain
650fa6dba0
Merge branch 'feature/enable_SHA_and_AES_support_for_esp32c6' into 'master'
...
Feature/enable sha and aes support for esp32c6
Closes IDF-5353 and IDF-5356
See merge request espressif/esp-idf!21782
2023-01-04 23:48:34 +08:00
David Cermak
d964aaceac
lwip: Mark PPP officially supported
...
Closes https://github.com/espressif/esp-idf/issues/10249
2023-01-04 14:20:20 +01:00
Armando
7b3dc05308
mspi: remove mspi 80m ddr mode warning regarding to timing tuning
2023-01-04 12:45:20 +00:00
Wang Meng Yang
068fec4714
Merge branch 'bugfix/access_nullptr_when_ble_disconn' into 'master'
...
Bugfix/Fixed crash caused by accessing nullptr in `btm_acl_disconnected`
See merge request espressif/esp-idf!21877
2023-01-04 20:43:58 +08:00
Adam Múdry
87bdcc89d0
nvs: NVS tool refinement
...
add: JSON output
add: integrity check - correct number of free pages check
change: split to separate files
2023-01-04 12:44:22 +01:00
Island
bdf3001a45
Merge branch 'feature/support_ble_for_esp32c6' into 'master'
...
support ble for esp32c6
See merge request espressif/esp-idf!21866
2023-01-04 19:10:22 +08:00
Konstantin Kondrashov
708a9047e8
Merge branch 'feature/adds_funcs_to_read_efuses_from_cmake' into 'master'
...
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
Closes IDFGH-8890
See merge request espressif/esp-idf!21585
2023-01-04 17:17:47 +08:00
zhangwenxu
0ce075e7fa
ieee802154: fix phy_printf link error when build lib from src
2023-01-04 17:03:53 +08:00
wanlei
120d54d700
test: formate test_spi_slave.c
2023-01-04 15:35:04 +08:00
wanlei
45c1dc424f
spi_slave: add spi 'spi_slave_queue_reset_isr' and add test
2023-01-04 15:35:04 +08:00
wanlei
6ae852f8b0
spi_slave: add api 'queue_trans_isr' and add a test case
2023-01-04 15:35:04 +08:00
wanlei
971eaa0c08
spi_slave: fix spi_slave_isr iram_safe and add test case for it
2023-01-04 15:35:04 +08:00
zhaoweiliang
98c487233c
Fixed task watchdog trigger issue when closed hci uart
2023-01-04 15:27:31 +08:00
morris
781eb0c2ce
Merge branch 'doc/calarify_transmitted_symbols' into 'master'
...
rmt: clarify num_symbols in the tx done event data
Closes IDFGH-9026
See merge request espressif/esp-idf!21807
2023-01-04 14:50:37 +08:00
Guillaume Souchere
8fe13d53b1
Merge branch 'feature/re-enable-newlib-test-c2' into 'master'
...
newlib: Remove tests using RTC related features from the esp32c2 test set
Closes IDF-5057
See merge request espressif/esp-idf!21858
2023-01-04 14:46:58 +08:00
Aditya Patwardhan
be38f94c6c
esp32c6 support: Enable support for SHA and AES in esp32c6
2023-01-04 12:07:32 +05:30
Aditya Patwardhan
04a9366694
esp32c6-SHA/AES support: Added sha_ll.h and aes_ll.h files in hal layer
2023-01-04 12:07:26 +05:30
Guillaume Souchere
ebbe24ac09
Merge branch 'feature/re-enable-intr-alloc-test-c2' into 'master'
...
esp-hw-support: Re-enable intr_alloc tests on esp32c2 target
Closes IDF-5061
See merge request espressif/esp-idf!21836
2023-01-04 14:25:05 +08:00
Harshit Malpani
49ce5ada76
ci: Fix ci failures for target esp32c6
2023-01-04 11:20:52 +05:30
Harshit Malpani
e215ede439
mbedtls: Add support to build for linux target
2023-01-04 11:17:29 +05:30
Harshit Malpani
0635dc36c1
tcp_transport: Update tcp_transport to support linux build
2023-01-04 11:17:29 +05:30
Harshit Malpani
68ded2c350
esp_http_client: fix -Werror-format compile errors for linux target
2023-01-04 11:17:28 +05:30
Harshit Malpani
1c77e13d35
esp_http_client: Update to support build for linux
2023-01-04 11:17:28 +05:30
Harshit Malpani
43e4383bb7
esp-tls: fix build error without -Wno-format compile flag when building for Linux target
2023-01-04 11:17:27 +05:30
Harshit Malpani
aefd3b0aec
esp-tls: update esp-tls to support linux build
2023-01-04 11:17:27 +05:30
Harshit Malpani
a3c7905dc1
linux: Add esp_linux_helper.h header file
2023-01-04 11:17:18 +05:30
Wu Zheng Hui
61a04e2257
Merge branch 'bugfix/workaround_for_esp32c6_bad_mspi_freq_on_hs_mode_reset' into 'master'
...
bugfix: workaround for esp32c6 bad mspi freq on hs mode reset
See merge request espressif/esp-idf!21851
2023-01-04 13:38:32 +08:00
Jin Cheng
2e9a180f43
Fixed crash caused by accessing nullptr in btm_acl_disconnected
2023-01-04 11:47:05 +08:00
chenjianhua
c0dd6896a7
update bt-lib for ESP32
...
fix ble disconnect due to channel map update instant passed
2023-01-04 11:22:33 +08:00
Shen Weilong
e41b35b089
1. Update libbt
...
2. Release the controller's .bss and .data memory
3. Modify the kconfig in nimble host
2023-01-04 11:17:07 +08:00
shenweilong
93fc1bd05f
support ble on esp32c6
2023-01-04 11:10:10 +08:00
KonstantinKondrashov
fd721c5b09
esptool_py: Adds funcs to read eFuses from Cmake during a build stage
...
Closes https://github.com/espressif/esp-idf/issues/10311
2023-01-04 00:30:38 +08:00
zhaoweiliang
2819f9a4c3
Fixed hci uart flow ctrl error on ESP32-C2 and ESP32-H4
2023-01-03 20:48:32 +08:00
Song Ruo Jing
105fe9f950
Merge branch 'bugfix/ledc_channel_update_usage' into 'master'
...
ledc: Fix bug in channel-duty configuration
Closes IDF-6439
See merge request espressif/esp-idf!21635
2023-01-03 20:11:08 +08:00
Zhang Wen Xu
5bbde784de
Merge branch 'feature/support_esp32c6_phy_update' into 'master'
...
phy: update esp32c6 phy lib
See merge request espressif/esp-idf!21875
2023-01-03 19:11:17 +08:00
Guillaume Souchere
ec34a0f5f5
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:33:38 +01:00
gauri patankar
68fb038f43
wpa_supplicant:Remove redundant DEBUG_PRINT in supplicant
2023-01-03 12:52:54 +05:30
Song Ruo Jing
662df0da3b
ledc: Channel configuration requires the ledc core clock on to be effective. Therefore, a clock source is selected for the core clock since the peripheral initialization. Additionally, correct the usage of channel para_up and duty_start bits.
2023-01-03 15:16:00 +08:00
zhangwenxu
1abe00d82b
phy: update esp32c6 phy lib
...
* phy_version 101,587adde,Dec 20 2022,14:21:21
2023-01-03 14:53:33 +08:00
morris
592673b052
mcpwm: support non-varg version of generator functions
...
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-03 14:42:49 +08:00
Rahul Tank
5c8263a08b
Merge branch 'bugfix/peer_dev_rec_add_and_clear_issue' into 'master'
...
NimBLE: Fix incomplete clearing of peer_dev_rec
See merge request espressif/esp-idf!21088
2023-01-03 14:05:46 +08:00
Song Ruo Jing
981d6a67b0
clk: Add basic clock support for esp32h2
2023-01-03 11:00:32 +08:00
Cao Sen Miao
a1285ff4a5
serial_jtag: fix issue that stuck after retart after C6
2023-01-03 10:38:18 +08:00
David Čermák
bef3f2ce9e
Merge branch 'bugfix/esp_netif_ip_reconnect' into 'master'
...
esp_netif: Post IP event for PPP netifs unconditionally
Closes IDFGH-8893 and IDFGH-8899
See merge request espressif/esp-idf!21666
2023-01-03 01:10:07 +08:00
Sudeep Mohanty
4a410391cc
ulp risc-v rtc i2c: Fix a bug where RTC I2C failed to initialize after esp_restart()
...
This commit fixes a bug wherein the RTC I2C peripheral got stuck after
the main CPU performs a soft reset by using esp_restart(). This is
because the RTC domain config registers for the RTC I2C domain are not
cleared after the soft restart and hence need to be cleared manually
while initializing the RTC I2C peripheral again.
Closes https://github.com/espressif/esp-idf/issues/10468
2023-01-02 15:44:03 +01:00
Sudeep Mohanty
4c98bee8a4
Merge branch 'bugfix/ulp_riscv_i2c_example_crashes_on_s2' into 'master'
...
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
Closes IDFGH-8880
See merge request espressif/esp-idf!21463
2023-01-02 20:50:59 +08:00
Guillaume Souchere
b5bacffbd3
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-02 08:41:16 +01:00
Guillaume Souchere
a218139d25
heap: RE-enable ESP32C2 test in test_apps
2023-01-02 08:40:59 +01:00
Guillaume Souchere
979525d0d8
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-02 08:30:20 +01:00
Shreyas Sheth
d5c88500c0
wpa_supplicant: Bugfix wps coverity forward null pointer issue
2023-01-01 19:33:24 +00:00
Shu Chen
0025915dc4
Merge branch 'feature/public_ot_port' into 'master'
...
openthread: open source openthread port layer
See merge request espressif/esp-idf!21803
2022-12-31 09:26:23 +08:00
Sumeet Singh
79fbb4add7
NimBLE: Fix incomplete clearing of peer_dev_rec
2022-12-30 17:26:00 +05:30
wuzhenghui
77f6b70a52
workaround: workaround_for_esp32c6 bad mspi freq on hs mode reset
2022-12-30 19:20:30 +08:00
Shu Chen
094997a2ec
openthread: remove port libs
2022-12-30 09:36:41 +00:00
Shu Chen
c8e98e1de0
openthread: remove the NCP vendor hook for OTA
...
The RCP update uses serial flasher.
2022-12-30 09:36:41 +00:00
Shu Chen
926af9eda1
openthread: open source openthread port layer
2022-12-30 09:36:41 +00:00
Abudl Rehman
ab80e9b5c7
ieee802154: Add linkage target library
2022-12-30 09:21:21 +00:00
zhangwenxu
0479cce5d9
CI: fix fast template app due to function unused.
2022-12-30 15:25:12 +08:00
Kevin (Lao Kaiyao)
42509fa0b3
Merge branch 'bugfix/i2s_pdm_dac_wrong_clock_freq' into 'master'
...
i2s_pdm: fix tx frequency limitation
Closes IDFGH-9010
See merge request espressif/esp-idf!21764
2022-12-30 10:16:03 +08:00
Jiang Jiang Jian
c681c92e4c
Merge branch 'feature/bringup_esp32c6_chip_wifi_rebase_master' into 'master'
...
esp_wifi: add basic support for esp32c6
Closes WIFI-5174, WIFI-5175, WIFI-5176, WIFI-5185, WIFI-5188, WIFI-5193, WIFI-5141, WIFI-5157, WIFI-5154, WIFI-5155, WIFI-5156, WIFI-5200, WIFI-5168, WIFI-5160, and WIFI-5214
See merge request espressif/esp-idf!21715
2022-12-30 10:08:29 +08:00
Shu Chen
2ce330bd34
Merge branch 'feature/add_openthread_and_i154_lib_for_c6' into 'master'
...
openthread: add 802.15.4 and Thread support for ESP32-C6
See merge request espressif/esp-idf!21780
2022-12-30 09:41:39 +08:00
morris
cb7e957cc4
Merge branch 'feature/io_mux_use_pll80_c6' into 'master'
...
io_mux: support change clock source to PLL_F80M
Closes IDF-6342 and IDF-6345
See merge request espressif/esp-idf!21613
2022-12-29 22:06:52 +08:00
Jiang Guang Ming
8464186e67
Merge branch 'bugfix/update_esp_rom_rtc_header' into 'master'
...
update esp rom rtc header
See merge request espressif/esp-idf!21802
2022-12-29 18:16:13 +08:00
Kapil Gupta
7a8a85877d
Removed sha384 hash for certs > 2k
2022-12-29 15:16:58 +05:30
Xu Si Yu
c35759448a
openthread: add 802.15.4 and Thread support lib for ESP32-C6
2022-12-29 17:29:18 +08:00
Sudeep Mohanty
07a506bb02
ulp-riscv-i2c: Updated API documentation about sub register address usage
...
The RTC I2C peripheral always expects a I2C slave sub register address
to be programmed. If it is not programmed then a sub register address
available in SENS_SAR_I2C_CTRL_REG[18:11] is used for I2C read/write.
This commit updates the documentation of the API
ulp_riscv_i2c_master_set_slave_reg_addr() to clarify the same.
2022-12-29 09:58:24 +01:00
laokaiyao
943dcd2cd1
i2s_pdm: fix tx frequency limitation
...
Closes: https://github.com/espressif/esp-idf/issues/10420
2022-12-29 16:31:03 +08:00
laokaiyao
f95c2274b8
i2s: fix some typos
2022-12-29 16:31:03 +08:00
Michael (XIAO Xufeng)
c42fe6769a
Merge branch 'feat/codeowner_spi_flash_docs' into 'master'
...
docs/spi_flash: add peripherals to codowner of spi_flash doc pages
See merge request espressif/esp-idf!20311
2022-12-29 15:56:35 +08:00
morris
d5b4108085
gpio: combine sdm, glitch filter, fast gpio tests into one app
2022-12-29 14:46:16 +08:00
morris
ca1b182b25
glitch_filter: support derive clock source form IO MUX
2022-12-29 14:46:16 +08:00
morris
cbe297e5a0
sdm: support derive clock source from IO MUX
2022-12-29 14:46:16 +08:00
morris
672ac58ad5
io_mux: can set different clock source
2022-12-29 14:46:16 +08:00
wuzhenghui
a5fdc53bb7
clk: initialize wifi lp_clk in esp_perip_clk_init
2022-12-29 13:13:37 +08:00
lvshisheng
bba409eec1
wifi: update wifi libs to support wifi6 features and fix build error
2022-12-29 13:13:35 +08:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
Jakob Hasse
83afda922b
style(freertos/linux): improved docs and coding style
2022-12-29 12:05:15 +08:00
yuexia
6e14adcb44
rom: sync with the rebase
2022-12-29 11:48:36 +08:00
yuexia
032ebd76cb
esp32c6: support wifi 6
2022-12-29 11:48:36 +08:00
yuexia
58b7fc1d8b
esp32c6: enable wifi
2022-12-29 11:48:35 +08:00
morris
7c9e3b60c6
rmt: no auto light sleep if xtal is working as the clock source
2022-12-29 11:33:43 +08:00
KonstantinKondrashov
185262c283
esp_hw_support(esp32): If the MAC_FACTORY CRC check fails, then esp_efuse_mac_get_default returns INVALID_CRC instead of abort
...
Closes https://github.com/espressif/esp-idf/issues/10401
2022-12-29 05:23:18 +08:00
Michael (XIAO Xufeng)
0fcd384677
docs: fix driver sphinx warnings
2022-12-29 00:59:04 +08:00
Michael (XIAO Xufeng)
daa4af1b1f
docs: split spi_flash api-reference documents to peripherals folder
2022-12-29 00:59:03 +08:00
Wu Zheng Hui
8a095a74d4
Merge branch 'feature/add_ieee8020154_only_caps_for_esp32hx' into 'master'
...
soc: add ieee8020154_ble_only cap for esp32hx
See merge request espressif/esp-idf!21824
2022-12-28 20:12:10 +08:00
Mahavir Jain
8437c0d12c
Merge branch 'feature/gcm_operation_using_ctr_based_calculation' into 'master'
...
GCM operation optimisation
Closes IDF-5379
See merge request espressif/esp-idf!21528
2022-12-28 19:33:12 +08:00
jiangguangming
fe2984a52d
esp_hw_support: support riscv call
2022-12-28 17:35:12 +08:00
jiangguangming
42144a7e45
soc: H4/H2/C6 support SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY
2022-12-28 17:35:07 +08:00
jiangguangming
626fb5d426
esp_rom: update H4/H2/C2/C6 rom rtc.h
2022-12-28 17:06:20 +08:00
Darian
1c5ef9cb7c
Merge branch 'refactor/app_trace_use_try_critical_section_macro' into 'master'
...
app_trace: Update esp_apptrace_lock_take() to use portTRY_ENTER_CRITICAL()
See merge request espressif/esp-idf!21094
2022-12-28 16:55:00 +08:00
wuzhenghui
3b43b63d47
soc: add ieee8020154_only cap for esp32hx
2022-12-28 16:15:58 +08:00
Michael (XIAO Xufeng)
84a6c6f7d9
Merge branch 'bugfix/rtc_8md256_deepsleep_time_esp32' into 'master'
...
pm: Fixed sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
Closes IDFGH-4893
See merge request espressif/esp-idf!21558
2022-12-28 15:30:01 +08:00
Guillaume Souchere
a74ae7fba7
Merge branch 'feature/heap-trace-improve-spi-ram-support' into 'master'
...
heap_trace: improvements to formatting, code, comments of heap trace standalone
Closes IDFGH-8699
See merge request espressif/esp-idf!21506
2022-12-28 15:07:30 +08:00
zhiweijian
7c9d47b702
Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing
2022-12-28 14:59:38 +08:00
LiPeng
5c93fe47cb
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.
2022-12-28 12:14:29 +05:30
harshal.patil
f9f10c2590
mbedtls: fix esp_aes_gcm_update_ad()
API implementation
2022-12-28 11:33:09 +05:30
harshal.patil
48840d04f0
mbedtls: fix esp_aes_crypt_ctr writing to null stream block
2022-12-28 11:33:09 +05:30
harshal.patil
06bb0ee077
mbedtls: added SOC_AES_SUPPORT_AES_192 check in esp_aes_gcm_setkey()
2022-12-28 11:33:09 +05:30
harshal.patil
e0f31edab5
test_aes_gcm: fix output_size paramter in mbedtls_get_update()
...
mbedtls_get_update() returned MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL,
as 0 used to get passed in the output_size paramter.
2022-12-28 11:33:09 +05:30
harshal.patil
c15b36b9c4
mbedtls: populate mbedtls_gcm_update() output_length paramater
2022-12-28 11:33:09 +05:30
Li Shuai
3ce896429c
periph clock: implemented the modem module enable, disable and reset for esp32c6
2022-12-27 21:31:59 +08:00
Li Shuai
e9172ddcea
initialize the clock gating control signal of each modem clock domain
2022-12-27 21:31:59 +08:00
Li Shuai
63af1e9631
modem clock(driver): implemented the modem clock driver for esp32c6
2022-12-27 21:31:59 +08:00
Li Shuai
8c05d6fd9d
modem clock(hal): implemented the modem clock hal-layer for esp32c6
2022-12-27 21:31:21 +08:00
Li Shuai
28dfaeaaef
modem clock(ll): implemented the modem clock ll-layer (include modem syscon and lpcon) for esp32c6
2022-12-27 21:31:21 +08:00
wuzhenghui
aa20825659
soc_caps: rename ESP_PD_DOMAIN_RTC8M to ESP_PD_DOMAIN_FOSC
2022-12-27 21:31:21 +08:00
Li Shuai
17f9285524
esp32c6: add SOC_MODEM_CLOCK_IS_INDEPENDENT soc_cap and more pd_caps
2022-12-27 21:31:21 +08:00
wuzhenghui
a898c3ddc6
soc: regenerate modem header with regtool
2022-12-27 21:31:21 +08:00
Kevin (Lao Kaiyao)
4a86240b6e
Merge branch 'feature/support_adc_on_c6' into 'master'
...
adc: support adc on c6
Closes IDF-5310, IDF-5311, IDF-5917, and IDF-6567
See merge request espressif/esp-idf!21431
2022-12-27 21:01:43 +08:00
Jiang Jiang Jian
eab2792735
Merge branch 'bugfix/wps_start_state_issue' into 'master'
...
esp_wifi: Add check for wps start state
See merge request espressif/esp-idf!21100
2022-12-27 17:33:20 +08:00
Guillaume Souchere
89c0a259ee
heap-trace: Add missing tests for heap_trace_summary() and heap_trace_dump_caps()
...
Note: the checks for the tests marked as [test-dump] are done in the pytest function
test_heap_trace_dump() since they are relying on the content of the heap_trace_dump_caps()
output.
2022-12-27 10:24:14 +01:00
Guillaume Souchere
c39a9de344
heap_trace: unify API to pass caps param to heap_trace_dump()
2022-12-27 10:23:30 +01:00
Sudeep Mohanty
099f648686
ulp-riscv: ULP RISC-V I2C example gets stuck on esp32s2
...
This commit fixes an issue where in the ULP RISC-V I2C example causes
a spurious wakeup of the main CPU because of a Trap signal when the ULP
core does not meet the wakeup threshold values. This was due to the fact
that the RTC_CNTL_COCPU_DONE signal was being set before the
RTC_CNTL_COCPU_SHUT_RESET_EN signal which was causing the the ULP RISC-V
core to not reset properly on each cycle.
Closes https://github.com/espressif/esp-idf/issues/10301
2022-12-27 07:44:26 +00:00
Kapil Gupta
142f339642
wpa_supplicant: Update WPS API documentation
2022-12-27 13:04:20 +05:30
Zhang Xiao Yan
b043c55f0a
Merge branch 'docs/fix_typo_in_logging_library' into 'master'
...
docs:fix a typo in logging library
See merge request espressif/esp-idf!21806
2022-12-27 14:17:52 +08:00
Shreyas Sheth
18ea8fd0ce
esp_wifi: Add check for wps start state
2022-12-27 11:14:03 +05:30
Nachiket Kukade
ac7aaabe39
Merge branch 'bugfix/remove_stray_newline_in_supplicant_logging' into 'master'
...
Follow-up changes to remove all stray '\n'
Closes IDFGH-8861
See merge request espressif/esp-idf!21453
2022-12-27 13:02:39 +08:00
Laukik Hase
58530ae070
Merge branch 'esp_local_ctrl/fix_https_server_dep' into 'master'
...
esp_local_ctrl: Add support for insecure HTTP server transport
See merge request espressif/esp-idf!21661
2022-12-27 13:02:03 +08:00
morris
011315a146
Merge branch 'feature/rmt_clock_rc_fast_c6' into 'master'
...
rmt: support PLL clock on esp32c6
Closes IDF-6341
See merge request espressif/esp-idf!21602
2022-12-27 12:53:56 +08:00
morris
080328a664
Merge branch 'feature/gptimer_rc_fast_c6' into 'master'
...
gptimer: support RC_FAST clock source
See merge request espressif/esp-idf!21601
2022-12-27 12:45:03 +08:00
morris
26467f63cd
doc: clarify num_symbols in the tx done event data
...
Closes https://github.com/espressif/esp-idf/issues/10435
2022-12-27 12:08:38 +08:00
Linda
7b6c8d6f8f
docs:fix a typo in logging library
2022-12-27 11:58:47 +08:00
Jiang Jiang Jian
77d220c8e8
Merge branch 'bugfix/fix_reconnect_slowly_due_to_power_save_issue' into 'master'
...
esp_wifi: send null data when state change from association to run
Closes WIFI-5048
See merge request espressif/esp-idf!21587
2022-12-27 11:56:13 +08:00
Omar Chebib
5eb8defb30
Merge branch 'staging/coredump_extram_support' into 'master'
...
coredump: enable support for stacks in external RAM
Closes IDF-5497 and IDF-2391
See merge request espressif/esp-idf!21067
2022-12-26 17:52:41 +08:00
muhaidong
0af89c4611
esp_wifi: send null data when state change from association to run
2022-12-26 17:21:52 +08:00
morris
2f711d1e82
Merge branch 'contrib/github_pr_10331' into 'master'
...
rmt: adding loop_count to the config initializer (GitHub PR)
Closes IDFGH-8912
See merge request espressif/esp-idf!21560
2022-12-26 15:58:20 +08:00
cje
a0ed82525e
sleep: fix sleep time inaccurate bug when select 8MD256 as rtc slow clock on ESP32
...
Related to: https://github.com/espressif/esp-idf/issues/6687
2022-12-26 07:19:13 +00:00
morris
bc2a2d3cde
gptimer: support RC_FAST clock source
...
GPTimer on C6 supports RC_FAST as the clock source. The benefit of this
clock is that, the clock can sustain in light sleep.
Added a new API to return the real resolution of the timer handle.
2022-12-26 13:18:25 +08:00
Darian Leung
cc5ee295ad
app_trace: Update esp_apptrace_lock_take() to use portTRY_ENTER_CRITICAL()
...
Previously, esp_apptrace_lock_take() would manually disable interrupts and
acquire the spinlock in order to allow the criticla section entry to have time
outs, and also be preemptable in between attempts to acquired.
However, the same can be achieved by using portTRY_ENTER_CRITICAL(), thus
allowing us to make spinlock_acquire/spinlock_release private.
2022-12-23 19:20:42 +08:00
Darian
b223baf318
Merge branch 'feature/freertos_xtensa_disable_port_using_mpu_wrappers' into 'master'
...
FreeRTOS: Fix FPU bugs on Amazon SMP FreeRTOS, port over FPU updates to IDF FreeRTOS
Closes IDF-5803
See merge request espressif/esp-idf!20280
2022-12-23 19:17:49 +08:00
gauri patankar
9a1e4e3b7b
wpa_supplicant:Remove stray \n in supplicant logging
2022-12-23 15:55:06 +05:30
chli
e8d652165c
wpa_supplicant: remove stray \n when logging "wifi_wps_enable"
...
Closes https://github.com/espressif/esp-idf/pull/10285
Signed-off-by: gauri patankar <gauri.patankar@espressif.com>
2022-12-23 15:32:58 +05:30
Mahavir Jain
d6dd8a56f3
Merge branch 'feature/logs_for_flash_enc_virtual' into 'master'
...
bootloader_support: Adds better logs for virtual efuses
See merge request espressif/esp-idf!21748
Closes https://github.com/espressif/esp-idf/pull/10383
2022-12-23 16:02:53 +08:00