Commit Graph

37862 Commits

Author SHA1 Message Date
Sudeep Mohanty
e7b582d472 fix(adc): Corrected the ADC channel number caps for esp32p4
This commit fixes the incorrect soc_caps for the ADC channel numbers on
the esp32p4.
2024-09-02 08:41:22 +02:00
laokaiyao
c518c281dd change(i2s): add warning for inaccurate sample rate 2024-08-30 15:56:28 +08:00
laokaiyao
5bca458dbc fix(i2s): fixed alignment of max DMA buffer length on P4
Closes https://github.com/espressif/esp-idf/issues/14448
2024-08-30 15:56:25 +08:00
Sudeep Mohanty
c3a79c301d test(freertos): Added build test for function in flash with -Os optimation
This commit adds a build test for when FreeRTOS and esp_ringbuf functions
are placed in flash and the compiler optimizes for code size.
2024-08-30 09:15:15 +02:00
Sudeep Mohanty
99b18665a4 fix(freertos): Added freertos fragments to the exception list of ldgen mapping checks
This commit adds freertos and esp_ringbuf linker fragment sections
to the exception list of the ldgen mappings checker script.
2024-08-30 09:15:15 +02:00
zwl
a5f0f83c05 fix(ble): fixed crash issue during deinit host after deinit controller on ESP32-C2 2024-08-30 12:02:53 +08:00
Ivan Grokhotkov
fa13b31dca ci(sdspi): clean up newlib memory, reset between tests
Two changes to make the tests less susceptible to random failures:
- Free up newlib memory to not have false-positive memory leaks due to
  lazy allocations in reent structure
- Reset between tests, so that one failing test doesn't cause
  subsequent tests to fail

Both changes are already applied to esp_driver_sdmmc test app.
2024-08-30 11:54:29 +08:00
Ivan Grokhotkov
db389c7a55 ci(sdspi): re-enable probe/rw tests for slot 1
These tests were disabled since SDMMC_FREQ_HIGHSPEED with sdspi didn't
work on ESP32 and ESP32-S3. However we don't have other tests for
slot 1, meaning that we weren't running probe and perf tests at all.

This commit re-enables the tests, keeping them with SDMMC_FREQ_DEFAULT
2024-08-30 11:53:40 +08:00
Ivan Grokhotkov
a89f1fcfaf fix(sdspi): fix memory leak in do_one_sdspi_probe test 2024-08-30 11:53:14 +08:00
Armando
4922c67780 fix(sdspi): fixed sdspi on p4, s3 2024-08-30 11:50:45 +08:00
Rahul Tank
8c632f4560 fix(wifi_prov): Add support for ESP IP controller chips in bluedroid 2024-08-29 15:05:00 +05:30
zhanghaipeng
01f46017d9 docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates 2024-08-29 16:38:17 +08:00
zhanghaipeng
d02df53fd8 feat(ble/bluedroid): Support getting BLE address type in bond list 2024-08-29 16:37:15 +08:00
zhanghaipeng
dc428a3854 docs(ble/bluedroid): Optimize BLE example documentation for getting characteristic 2024-08-29 16:17:39 +08:00
Nebojša Cvetković
c100af18e6 fix(bt/bluedroid): Resolve warning: unused variable 'pp' 2024-08-29 16:17:39 +08:00
wanckl
fdbdeaaae2 fix(driver_spi): fix p4 cache auto writeback during spi(dma) rx 2024-08-29 14:18:12 +08:00
Jiang Jiang Jian
2c46030bbf Merge branch 'fix/fix_wrong_ap3204_id_check_v5.3' into 'release/v5.3'
Some checks failed
docker / docker (push) Has been cancelled
fix(psram): fixed ap3204 id check (v5.3)

See merge request espressif/esp-idf!33109
2024-08-29 11:02:09 +08:00
Alexey Gerenkov
6adb58833f feat(tools): update openocd version to v0.12.0-esp32-20240821 2024-08-28 13:18:15 +03:00
chenqingqing
020276b94a fix(bt): Add a parameter in the two least significant bits of Class of Device 2024-08-28 16:46:31 +08:00
WebDust21
4d8825dfa6 fix(bt): Enable use of RESERVED bits in COD (GitHub PR) 2024-08-28 16:46:21 +08:00
Linda
2bb7b51449 docs: delete unavailable document links for ESP32-P4 2024-08-28 15:57:42 +08:00
Lou Tianhao
45990692d1 change(pm): change dependence of pm_slp_iram_opt 2024-08-28 14:22:18 +08:00
David Roman
e9df36a2df fix(esp_eth): fix C++ invalid type conversion error
Closes https://github.com/espressif/esp-idf/issues/14265
2024-08-27 20:02:07 +08:00
Armando
475825c436 fix(psram): fixed ap3204 id check 2024-08-27 15:50:08 +08:00
muhaidong
c7c0fefd13 fix(wifi): fix wifi example itwt build fail issue 2024-08-27 15:48:20 +08:00
Omar Chebib
99b30023f8 fix(ldgen): fix linker script generation from a single-entry fragment file 2024-08-27 11:41:07 +08:00
liqigan
c986991d90 fix(esp_hid): Loose the check of input report length to be more compatible
Closes https://github.com/espressif/esp-idf/issues/14259
2024-08-27 10:14:31 +08:00
Erhan Kurubas
d72b765404 fix(coredump): fix buffer overflow inside esp_core_dump_get_summary
Closes https://github.com/espressif/esp-idf/issues/13754
2024-08-26 12:17:25 +03:00
Erhan Kurubas
8dd40eeeda ci(panic): add flash encrypted coredump tests 2024-08-26 12:17:18 +03:00
Sudeep Mohanty
3767ec04ae fix(cmake): Fixed linker not supporting -warn_commons for linux target on MacOS
This commit updates the ld linker flags to conditionally include the
-warn_commons flag when the linux target is built on MacOS. This is
because, not all versions of ld support the -warn_commons option.

Closes https://github.com/espressif/esp-idf/issues/13185
2024-08-26 09:53:24 +02:00
Tomas Rezucha
d36469fa59 docs(usb/host): Update USB host docs for ESP32-P4 2024-08-26 08:40:48 +02:00
Tomas Rezucha
e94176c44e docs(usb/device): Update USB device docs for ESP32-P4 2024-08-26 08:40:19 +02:00
Tomas Rezucha
8f38d943b6 docs(usb/host): Update maintainer docs for ESP32-P4 2024-08-26 08:36:06 +02:00
Tomas Rezucha
8f7dcc1eab fix(usb/host): Use new cache aligned DMA alloc functions 2024-08-26 08:32:16 +02:00
chenjianhua
023aadac0f fix(bt/bluedroid): Fixed work queue delete when create thread failed 2024-08-26 12:13:33 +08:00
chenjianhua
cbefea95e4 feat(bt/bluedroid): Report HCI error code to app when command fails 2024-08-26 12:12:43 +08:00
chenjianhua
f199eeee90 fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist 2024-08-26 12:12:43 +08:00
chenjianhua
7096ac8c29 feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-26 12:12:43 +08:00
zwl
bd8e4e8cd1 fix(ble): fixed ble controller issues on ESP32-H2 2024-08-24 14:34:08 +08:00
zwl
8a4b12a7a7 fix(ble): fixed ble controller issues on ESP32-C6 2024-08-24 14:34:04 +08:00
zwl
4768c57ad2 fix(ble): fixed ble controller issues on ESP32-C2 2024-08-24 13:57:27 +08:00
David Cermak
d645030210 fix(esp_netif): Correct spelling erros 2024-08-23 12:57:52 +02:00
Abhik Roy
a84d136002 fix(lwip): Fixed incorrect handling of 0.0.0.0 in dns (v5.3)
LWIP submodule update: git log --oneline e8d05138..bced058f
  - dns: Fixed incorrect handling of 0.0.0.0
    (espressif/esp-lwip@bced058f)
2024-08-23 11:38:03 +02:00
David Cermak
fec0c43edd fix(esp_netif): Remove unused leftover pppapi_set_auth() call 2024-08-23 11:37:33 +02:00
David Cermak
1237b8c669 feat(lwip): Add support for PPP Auth using mbedTLS (v5.3)
LWIP submodule update (v5.3): git log --oneline 3a3d1fb3..e8d05138
  - PPP/Auth: Add mbedtls includes if lwip uses it
    (espressif/esp-lwip@e8d05138)

Closes https://github.com/espressif/esp-idf/issues/13597
2024-08-23 11:37:09 +02:00
David Cermak
d716e64138 fix(esp_netif): Add unit test of getter/setter API for DNS servers 2024-08-23 11:36:03 +02:00
David Cermak
cf65f557cc fix(esp_netif): Restore DNS servers per netif when setting it default(5.3)
Introducing config option `CONFIG_ESP_NETIF_SET_DNS_PER_DEFAULT_NETIF`
to overcome LWIP limitation of using global DNS server info.
This config option enables LWIP callbacks to collect per netif DNS
server info and then restores global DNS servers of whichever network
interface is selected as default.

LWIP submodule update v5.3: git log --oneline f1746813..3a3d1fb3
  - dns: Allow storing dnsserver per netif (espressif/esp-lwip@3a3d1fb3)
  - api_msg: Fix unused local variable if LWIP_NETCONN_SEM_PER_THREAD=1
    (espressif/esp-lwip@aa4f6e78)
  - lwip: fix gcc -fanalyzer warnings (espressif/esp-lwip@4297782b)
2024-08-23 11:35:36 +02:00
Abhik Roy
0f08a5b123 feat(lwip): Added multiple dns ip support (v5.3)
LWIP submodule update on v5.3: git log --oneline f7922143..f1746813
  - feat(lwip): Added multiple dns ip support
    (espressif/esp-lwip@f1746813)
  - api_msg: Fix crash to fail-safe error if cannot get semaphore
    (espressif/esp-lwip@a1bd9e44)
2024-08-23 11:33:44 +02:00
Frantisek Hrbata
6f97a18e44 docs(size): remove -DOUTPUT_FORMAT output format option for idf.py size
Setting OUTPUT_FORMAT through the CMake variable probably never
functioned and seems to be a remnant (possibly a typo in the
documentation) from the time when the -DOUTPUT_JSON=1 CMake variable was
used to specify the JSON output format, prior to the introduction of the
--format option. This removes the note regarding the option to choose
the output format using -DOUTPUT_FORMAT.

Closes https://github.com/espressif/esp-idf/issues/14383

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-08-22 13:04:47 +02:00
morris
80bc9a3845 refactor(i80): use the gdma link list driver 2024-08-22 15:47:46 +08:00