xiongweichao
0624049a60
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
...
Closes https://github.com/espressif/esp-idf/issues/6486
2023-05-04 14:12:56 +08:00
Laukik Hase
841e033de8
soc/esp32s3: Fix the SOC_MEM_INTERNAL_HIGH
value
...
- As per the memory block diagram for ESP32-S3, the
internal memory address ranges as follows:
DRAM: 0x3FC88000 (== SOC_MEM_INTERNAL_LOW) <-> 0x3FCF0000
IRAM: 0x40378000 <-> 0x403E0000 (== SOC_MEM_INTERNAL_HIGH)
2023-05-04 10:54:35 +05:30
Laukik Hase
e0bedd19ab
esp_hw_support: Update memory ptr location/property checks
...
- to acknowledge the unused DCACHE added to DRAM for ESP32-S3
- For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is added to
the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB (from 0x3C000000).
- But, if we try allocating memory from the 16 kB block and run an `esp_ptr_internal`
check on that memory pointer, it fails as the address block from 0x3C000000
corresponds to the external memory symbols SOC_DROM_LOW and SOC_EXTRAM_DATA_LOW.
(E.g. freertos - If the IDLE task stack buffer gets allocated from this region,
the firmware will abort due to this failure).
- Thus, the checks `esp_ptr_internal`, `esp_ptr_in_drom` and `esp_ptr_byte_accessible`
have been updated to acknowledge this memory as a part of the DRAM.
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-05-04 10:54:34 +05:30
Marius Vikhammer
a4bfa33109
docs: fix wrong link to esp-adf github issues in migration guide
2023-05-04 12:57:24 +08:00
laokaiyao
18d7ecc470
i2s: fix interrupt flag of pdm rx mode
...
Forgot to update in PR https://github.com/espressif/esp-idf/pull/10997
2023-05-04 04:23:30 +00:00
xiongweichao
b631852cb1
Fixed the issue that the a2dp source would not send the media start command due to the connection initiated by the peer device
...
Closes https://github.com/espressif/esp-idf/issues/11170
2023-05-04 12:10:33 +08:00
Myk Melez
7c67245da5
correct typo in reference to ESP-IDF repo
...
There's a reference to the ESP-ADF repo that looks like it was intended to be a reference to the ESP-IDF repo. This branch fixes the reference.
2023-05-04 11:43:17 +08:00
Jens Gutermuth
a2de1f0c67
improve thread safety in esp_timer
...
Inadequate locking in the esp_timer component allowed corruption
of the s_timers linked list:
1. timer_armed(timer) returns false
2. another task arms the timer and adds it to s_timers
3. the list is locked
4. the timer is inserted into s_timers again
The last step results in a loop in the s_timers list, which causes
an infinite loop when iterated. This change always locks the
list before checking if the timer is already armed avoiding
the data race.
2023-05-02 20:22:38 +02:00
isha.pardikar@espressif.com
3654dd0d6f
NimBLE: Removed indicate flag from gatt db, added subscription case and corrected indentation
...
in spp_server example.
2023-05-02 05:58:00 +00:00
KonstantinKondrashov
11e71cd3eb
fixup! efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
2023-05-01 06:23:23 +00:00
Mahavir Jain
da96a8a104
docs: add a note regarding EFuse Block9 key purpose quirk for some chips
2023-05-01 06:23:23 +00:00
KonstantinKondrashov
94ae902d78
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
...
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
- BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-05-01 06:23:23 +00:00
Jin Chen
0f9ba10f4e
ble:fix connection establishemnt timeout issue
2023-04-28 17:47:29 +08:00
Jiang Jiang Jian
f00c78b020
Merge branch 'ci/fix_idf_build_apps_in_5.0' into 'release/v5.0'
...
ci: add missing sdkconfig files (v5.0)
See merge request espressif/esp-idf!23134
2023-04-28 15:54:06 +08:00
Jiang Jiang Jian
04f04d6ccf
Merge branch 'bugfix/owe_assoc_resp_fail_v5.0' into 'release/v5.0'
...
Fix association response processing in OWE (Backport v5.0)
See merge request espressif/esp-idf!23098
2023-04-28 15:53:43 +08:00
Armando
08c77a7eaf
sar: init sar periph power state
2023-04-27 10:52:38 +08:00
Adam Múdry
6bb750901d
sdmmc: sdio combination cards correct setup
...
Co-authored-by: Mau Abata <mauabata@gmail.com>
Closes https://github.com/espressif/esp-idf/issues/9822
Closes https://github.com/espressif/esp-idf/issues/10280
2023-04-26 13:28:09 +02:00
Roman Leonov
424b5c32d1
usb_host: better debugging information during hcd_pipe_alloc() when usb_host_interface_claim() is being fulfiled.
2023-04-25 17:05:17 +02:00
isha.pardikar@espressif.com
8aff96d382
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping.
2023-04-25 15:48:18 +05:30
Peter Dragun
1b03bfb3ea
feat(monitor): flush terminal detection seq
2023-04-24 11:25:47 +02:00
Peter Dragun
f0dea7d9ff
bug(monitor/ansi_converter): fix output decode detection
2023-04-24 11:25:47 +02:00
Peter Dragun
d47c309d7f
fix(monitor/ansi_converter): do not catch status and cursor escape sequences
2023-04-24 11:25:47 +02:00
Peter Dragun
5746495450
bug(idf_monitor): fix color on windows with hints
...
Closes https://github.com/espressif/esp-idf/issues/9610
2023-04-24 11:25:32 +02:00
harshal.patil
35d466b814
mbedtls: fix ci failures for update v3.4.0
...
- While updating to mbedtls release/v3.4.0, building mbedtls/library/psa_crypto.c,
clang produced an unreachable-code warning, so added `-Wno-unreachable-code` compile option for clang.
- In `mbedtls/v3.4.0`, the ECDSA restartable sign and verify functions (`ecdsa.c`) were made public.
- But the `mbedtls_ecdsa_sign_det_restartable` function prototype was declared in the file `ecdsa.h`,
only when `MBEDTLS_ECDSA_SIGN_ALT` was not defined.
- added a patch in mbedtls library to fix it.
2023-04-24 12:07:10 +05:30
harshal.patil
c293708409
mbedtls: replace low-level sha apis with md apis in esp_ssl_tls
2023-04-24 12:03:55 +05:30
harshal.patil
8017e23611
mbedtls: Update config options as per release/v3.4.0
...
- Added a Kconfig option for the newly added mbedtls option MBEDTLS_PKCS7_C
2023-04-24 12:03:55 +05:30
harshal.patil
911c12b7f0
mbedtls: Update to release/v3.4.0
...
- Release Notes: https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.4.0
2023-04-24 12:03:55 +05:30
Marius Vikhammer
b2c883f0c0
system: fix esp32 chip info not listing esp32 pico v3-02 as having embedded spiram
...
Closes https://github.com/espressif/esp-idf/issues/11233
2023-04-24 13:53:34 +08:00
Xiao Xufeng
8227ca97bd
bootloader: enable super WDT and BOD reset on C2
2023-04-24 11:44:53 +08:00
Xiao Xufeng
6ce4fd9eab
bootloader: cleanup ana reset config code
2023-04-24 11:44:53 +08:00
Xiao Xufeng
d43934f32d
bootloader: fixed super watchdog not enabled issue on C3, S3, H4
2023-04-24 11:44:52 +08:00
Xiao Xufeng
1392cce5e1
bootloader: removed unavailable rtc features
2023-04-24 11:44:52 +08:00
Marius Vikhammer
07471019ef
ulp-riscv: enable ULP-RISCV ADC example for esp32s2
...
ADC can now be used from the ULP-RISCV on S2 after the RTC power parameters were
fixed in a624d8d061
Closes https://github.com/espressif/esp-idf/issues/11052
Closes https://github.com/espressif/esp-idf/issues/11040
2023-04-24 10:12:09 +08:00
Peter Dragun
c8e800ce8a
bug(console_reader): replace TIOCSTI with busy wait to suppport kernel > 6.2
...
Closes https://github.com/espressif/esp-idf/issues/11027
2023-04-21 15:35:36 +02:00
Darian Leung
b79cdd7e54
usb_host: Update docs and comments regarding first configuration enumeration
...
This commit updates some comments and documentation regarding changes made in
PR https://github.com/espressif/esp-idf/pull/11113 .
2023-04-21 12:50:00 +08:00
Jason
62e1e5b765
Fix usb enumeration stage error for some device
2023-04-21 12:50:00 +08:00
Wang Zi Yan
72d9b9d94f
docs: remove outdated section on custom toolchain for 64-bit time_t
...
Co-authored-by: Ivan Grokhotkov <ivan@espressif.com>
2023-04-20 17:42:32 +02:00
Suren Gabrielyan
58a3498305
docs: migrated documentetation from github.io to docs.espressif.com
2023-04-20 13:33:52 +04:00
KonstantinKondrashov
b1315b27c5
esp_timer: Adds IRAM_ATTR for esp_timer_restart and esp_timer_is_active
...
Closes https://github.com/espressif/esp-idf/issues/10522
Closes https://github.com/espressif/esp-idf/issues/10859
2023-04-20 14:49:12 +08:00
wuzhenghui
46a1253022
bugfix: fix deepsleep saradc leakage
2023-04-20 11:45:58 +08:00
Li Shuai
d84cdace52
sleep: fix sleep current issue caused by sar adc
2023-04-20 11:45:58 +08:00
chenjianhua
cceb2b4db6
bluedroid: support get bluetooth device name
2023-04-20 10:54:16 +08:00
chenjianhua
3eb5185b7b
bluedroid: report status after clearing the BLE white list
2023-04-20 10:38:23 +08:00
chenjianhua
11147b0473
bluedroid: fix GATTC cache address save
2023-04-20 10:37:13 +08:00
chenjianhua
fa051d8dc4
bluedroid: fix adv and scan state conflict
2023-04-20 10:36:14 +08:00
Fu Hanxi
2a3ee80fba
ci: add missing sdkconfig files
2023-04-20 10:35:16 +08:00
Armando
85980884d7
adc: improve adc power logic
2023-04-20 10:34:37 +08:00
Armando
1ebeea7763
sdmmc: I/O phase adjustments
...
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
with the TRM.
2. Choose input and output phases to satisfy typical timing
requirements.
3. Move use_hold_reg setting into the host driver, since it is related
to timing.
Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-19 15:38:57 +08:00
Fu Hanxi
15a76983a8
ci: add missing sdkconfig files
2023-04-19 15:38:53 +08:00
Peter Dragun
9c4282ac5f
feat(esptool): allow to set force for write_flash
2023-04-18 13:47:09 +02:00