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