Marius Vikhammer
798dac6225
gdma: fixed crash from logging when using newlib nano
...
Newlib nano printf formatting do not support %z, and will crash if such an identifier
is followed by a %s indentifier.
Closes https://github.com/espressif/esp-idf/issues/9631
2023-05-06 13:48:48 +08:00
Justin Ong
e33ec673ed
Fix references to IDF_ADD_PATHS_EXTRAS before being declared
2023-05-05 11:17:39 +02:00
zwj
cd1b88c97e
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32
2023-05-04 06:37:19 +00:00
wangmengyang
239e97ff7e
bt: added coex adapter operation to get version of coexist module to ESP32 Bluetooth Controller
2023-05-04 06:37:19 +00:00
xiongweichao
a83b16f18d
bt:Fixed esp32 controller bug
...
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state
3. Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state
4. Fixed crash caused by supervision timeout greater than sniff interval
Closes https://github.com/espressif/esp-idf/issues/11164
Closes https://github.com/espressif/esp-idf/issues/10835
2023-05-04 06:37:19 +00:00
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
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
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
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
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
morris
2b9ca66752
spi_lcd: test spi lcd io can transfer color data to a fixed window region
...
also test the io tx_param and tx_color can skip the command phase
2023-04-18 10:46:52 +08:00
morris
f4d27b0f92
spi_lcd: maximum transfer size should respect bus configuration
...
Also this commit added the SPI_TRANS_CS_KEEP_ACTIVE flag for io_tx_color
2023-04-18 10:46:52 +08:00
Sudeep Mohanty
dc53189e46
esp_ringbuf: Added functions to linker.lf file which can be placed in Flash
...
This commit adds symbols from the ringbuf.c file which can be placed in
Flash in order to free up IRAM space.
2023-04-17 16:11:23 +02:00