Jeroen Domburg
a1ba660b4a
change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it
...
The implicit promise of heap_alloc_caps() and friends is that the memory it
returns is fit for the purpose as requested in the caps field. Before
this commit, that did not happen; e.g. DMA-capable memory wass returned
from a correct region, but not aligned/sized to something the DMA subsystem
can handle.
This commit adds an API to the esp_mm component that is then used by the
heap component to adjust allocation alignment, caps and size dependent on
the hardware requirement of the requested allocation caps.
2024-05-27 12:41:18 +08:00
Kevin (Lao Kaiyao)
b1a5d80bcc
Merge branch 'bugfix/check_i2s_intr_alloc_failure' into 'master'
...
fix(i2s): check gdma callback register state and add missed port2 on p4
See merge request espressif/esp-idf!31018
2024-05-27 11:15:00 +08:00
laokaiyao
42cee2b94a
fix(i2s): reserve some invalid registers on S2
2024-05-27 10:46:48 +08:00
laokaiyao
d2468b8d0e
fix(i2s): add the missed port2 for p4
2024-05-27 10:46:48 +08:00
laokaiyao
3728dac3df
fix(i2s): add check to gdma callback register
2024-05-27 10:46:48 +08:00
Zhi Wei Jian
ea2f512cb5
Merge branch 'feat/add_hci_log_record_for_nimble' into 'master'
...
Feat/add hci log record for nimble
See merge request espressif/esp-idf!30924
2024-05-27 09:33:14 +08:00
Sudeep Mohanty
003f3bb5dc
Merge branch 'task/macos_hello_world_ci_test' into 'master'
...
feat(ci): Fixed linux build on MacOS + Added host_test for the hello_world linux app for MacOS runners
Closes IDF-9208
See merge request espressif/esp-idf!30800
2024-05-25 02:14:15 +08:00
Konstantin Kondrashov
13cfcc463f
Merge branch 'feature/flockfile' into 'master'
...
feat(newlib): Adds flockfile/funlockfile for safe multi-line printing
Closes IDF-2078
See merge request espressif/esp-idf!31009
2024-05-24 23:08:32 +08:00
Sudeep Mohanty
00efba0565
fix(linux): Added instructions to ignore build warnings in CI for MacOS
...
This commit updates the host-test.yml to add instructions to ignore
certain build warnings when the linux target is built on MacOS. This way
the test doesn't get flagged as failed in CI for the warnings and can run.
2024-05-24 16:29:47 +02:00
Sudeep Mohanty
e5fb198adc
fix(linux): Fixed linux target build failure in esp_app_format for MacOS
...
This commit fixes a build failure in the esp_app_format component
for the linux target when built on a MacOS machine.
2024-05-24 16:29:43 +02:00
Fu Hanxi
61559dc3e4
ci: ignore collect import error on CI with env var
2024-05-24 16:29:39 +02:00
Sudeep Mohanty
50460d3483
feat(ci): Added CI host test for the linux target on MacOS runners
...
This commit adds a CI host test for the linux target to build and run
MacOS runners. Additionally, it adds a MacOS test for the hellow_world
app.
2024-05-24 16:29:22 +02:00
Sudeep Mohanty
ac64aa0c60
fix(linux): Miscellaneous fixes for linux build on MacOS
...
This commit fixes some compilation errors for the linux build on MacOS.
2024-05-24 16:23:54 +02:00
Darian
19c784efef
Merge branch 'refactor/usb_mock_classes' into 'master'
...
refactor(usb): Split test device descriptors from mock classes
See merge request espressif/esp-idf!30685
2024-05-24 22:22:18 +08:00
Wan Lei
e1ed893550
Merge branch 'fix/spi_flash_replace_gpio_hal' into 'master'
...
fix(spi_flash): replace gpio_hal_iomux_func_sel
See merge request espressif/esp-idf!29478
2024-05-24 22:15:34 +08:00
Michael (XIAO Xufeng)
3e877842cd
Merge branch 'feat/sdmmc_spi_no_crc' into 'master'
...
feat(sdmmc_io): support sending CMD53 with fixed address, bypass sdspi crc check
Closes IDF-9387
See merge request espressif/esp-idf!30643
2024-05-24 20:27:28 +08:00
Song Ruo Jing
2621d67da2
Merge branch 'feature/esp32p4_ppa_driver_support' into 'master'
...
feat(ppa): add PPA driver support for ESP32P4
Closes IDF-6878
See merge request espressif/esp-idf!29301
2024-05-24 19:22:58 +08:00
Konstantin Kondrashov
b0457ee0ac
feat(newlib): Adds flockfile/funlockfile for safe multi-line printing
...
for printf, vprintf, etc.
Closes https://github.com/espressif/esp-idf/issues/2565
2024-05-24 14:16:16 +03:00
Darian Leung
6a3bb3294d
refactor(usb): Split test device descriptors from mock class files
...
Previously, descriptors of the test devices were stored direclty in the mock
device files (e.g., "mock_[hid|msc].[h|c]"). This commit splits out the device
descriptors to separate files (e.g., "dev_[hid|msc].c") along with getter
functions.
Users that want to run the tests locally on a different device simply need to
update the "dev_[hid|msc].c" file for their device.
2024-05-24 17:43:40 +08:00
Armando (Dou Yiwen)
c9167ef782
Merge branch 'feat/isp_bf_feature' into 'master'
...
feat(isp): added isp bf driver
Closes IDF-9999
See merge request espressif/esp-idf!30968
2024-05-24 16:43:55 +08:00
morris
404ffa299b
Merge branch 'feat/rmt_support_esp32c5mp' into 'master'
...
feat(rmt): add driver support on esp32c5
Closes IDF-8726
See merge request espressif/esp-idf!30879
2024-05-24 16:30:48 +08:00
Konstantin Kondrashov
2edf936984
Merge branch 'feature/coverity_fix_esp_timer_impl_early_init' into 'master'
...
fix(esp_timer): Fix Coverity issue - logically dead code in esp_timer_impl_early_init
Closes IDF-10005
See merge request espressif/esp-idf!31019
2024-05-24 15:12:51 +08:00
Wang Qixiang
a2be60a697
Merge branch 'bugfix/mldv6_report_memory_leak' into 'master'
...
fix(esp_netif): Fix mldv6 report memory leak in esp_netif
Closes IDF-9990
See merge request espressif/esp-idf!30916
2024-05-24 15:06:13 +08:00
zhiweijian
9946315a5f
feat(bt/nimble): support hci log for nimble
2024-05-24 14:51:06 +08:00
Song Ruo Jing
ea7d496e58
feat(ppa): add PPA driver support for ESP32P4
...
Remove L4/L8, YUV422 in PPA driver
Clean up
2024-05-24 14:23:54 +08:00
Song Ruo Jing
d956ba2a6c
feat(ppa): add PPA driver support for ESP32P4
...
Add burst_length option to client
Change uint32_t to color_pixel_rgb888_data_t
Descriptor always malloc with MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT
Add dscr-port mode block size configuration as a separate API in 2D-DMA driver
Do writeback only on an extended window, instead of entire picture
2024-05-24 14:23:14 +08:00
Island
657b35cfea
Merge branch 'fix/ble_mesh_gatts_bugfix' into 'master'
...
fix(ble_mesh): Create service after service register success
Closes BLERP-758
See merge request espressif/esp-idf!30877
2024-05-24 14:09:31 +08:00
Island
039c6d7380
Merge branch 'fix/fix/ble_mesh_sar_bugfix' into 'master'
...
BLE Mesh SAR bugfix
Closes BLERP-761 and BLERP-762
See merge request espressif/esp-idf!30880
2024-05-24 14:09:14 +08:00
Armando
6e3efc7b9f
feat(isp): added isp bf driver
2024-05-24 10:25:42 +08:00
Adam Múdry
050db26419
Merge branch 'fix/coverity_use_after_free_partition.c' into 'master'
...
fix(partition): Simplify macro loop in esp_partition_unload_all, should fix Coverity problem
Closes IDF-9837
See merge request espressif/esp-idf!30853
2024-05-23 23:08:11 +08:00
Sonika Rathi
83d58f9b59
Merge branch 'fix/coverity_vfs_fat_mem_overlapping' into 'master'
...
fix(fatfs): fix memory overlapping issue in vfs_fat.c
See merge request espressif/esp-idf!31026
2024-05-23 22:13:25 +08:00
Rahul Tank
946d25a884
Merge branch 'bugfix/restart_advertising_if_slave_23e' into 'master'
...
fix(nimble): start advertising if disconnect due to 0x3E in slave
Closes BLERP-618 and BLERP-757
See merge request espressif/esp-idf!30707
2024-05-23 20:17:37 +08:00
Shu Chen
17c9650885
Merge branch 'fix/release_ot_lock_before_call_tcpip_callback' into 'master'
...
feat(openthread): update openthread br lib
See merge request espressif/esp-idf!30546
2024-05-23 20:08:02 +08:00
Darian Leung
94e3b83bc0
refactor(usb): Rename mock class files
...
- Rename "test_usb_mock_..." class files to "mock_..."
- Fixed some codespell issues
- Fixed comment spacing
2024-05-23 17:47:24 +08:00
Xu Si Yu
ae2b0f8ee1
feat(openthread): update openthread br lib
2024-05-23 17:39:14 +08:00
Jakob Hasse
6d5d4f8fc1
Merge branch 'feature/esp_app_desc_linux' into 'master'
...
feat(linux): esp_app_format now works on Linux
See merge request espressif/esp-idf!30781
2024-05-23 17:27:09 +08:00
Fu Hanxi
9250726dc8
Merge branch 'ci/ignore_import_error_while_collecting_pytest_cases_locally' into 'master'
...
ci: ignore import error when collecting pytest cases locally
Closes IDFCI-1877
See merge request espressif/esp-idf!30984
2024-05-23 17:08:58 +08:00
Song Ruo Jing
8464fac845
feat(ppa): add PPA driver support for ESP32P4
...
Remove the check for in_accepting_trans_state
Add color_pixel_xxxx_data_t structures to color_types.h
Fix PM lock protection (Tested, now works well)
* CPU_MAX, PM lock and semaphore order
* Remove ppa_driver PM lock
Modify concurrency (queue, trans recycle, semaphore, ...)
Add programming guide
Add test apps
2024-05-23 16:40:56 +08:00
Song Ruo Jing
916c0ef8d1
feat(ppa): add PPA driver support for ESP32P4
...
Fix pm_lock assert and assign to NULL
Alpha value union
Tested with CONFIG_PM_ENABLE
2024-05-23 16:40:56 +08:00
Song Ruo Jing
01bc7dcc56
feat(ppa): add PPA driver support for ESP32P4
...
Separate callback registration to individual API
Fix YUV420 output
Separate source files into operations
2024-05-23 16:40:56 +08:00
Song Ruo Jing
fd1a718f62
feat(ppa): add PPA driver support for ESP32P4
...
Modified API operation configuration structure
Rename invoker to client
Support YUV420 color mode for SRM
Move PPA srm/blending engine reset ahead of any 2D-DMA channel configurations
2024-05-23 16:40:56 +08:00
Song Ruo Jing
346bc077c5
feat(ppa): add PPA driver support for ESP32P4
...
Added doxygen
Refactored driver to malloc trans_elm memory when registering the client
Cleaned up driver
Added API check
One client now only responsible for one operation
2024-05-23 16:40:56 +08:00
Song Ruo Jing
95ee1595f9
feat(ppa): add PPA driver support for ESP32P4
...
Add out_buffer_size field to all oper_config_t
Add strict check for out buffer addr and size alignment
2024-05-23 16:40:55 +08:00
Song Ruo Jing
963c893cc7
feat(ppa): add PPA driver support for ESP32P4
...
Fix bugs found in AE lvgl demo examples
Add color keying feature to blending
2024-05-23 16:40:55 +08:00
Song Ruo Jing
a86e03cba3
feat(ppa): add PPA driver support for ESP32P4
...
Renamed SR to SRM
2024-05-23 16:40:55 +08:00
Song Ruo Jing
368ef8b472
feat(ppa): add PPA driver support for ESP32P4
...
Improved/Refactored on the APIs
2024-05-23 16:40:55 +08:00
Song Ruo Jing
776c3ef392
feat(ppa): add PPA driver support for ESP32P4
...
Add fill operation
Split ppa_do_operation, pre-process some trans config
2024-05-23 16:40:55 +08:00
Song Ruo Jing
fd19979d88
feat(ppa): add PPA driver support for ESP32P4
...
cleaned up a bit, unify to some static functions
2024-05-23 16:40:55 +08:00
Song Ruo Jing
715004f07e
feat(ppa): add PPA driver support for ESP32P4
...
Add invoker concept
Add blend operation
2024-05-23 16:40:55 +08:00
Song Ruo Jing
36732fbcb4
feat(ppa): add PPA driver support for ESP32P4
2024-05-23 16:40:55 +08:00