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