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
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
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
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
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
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
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
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
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