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
gaoxu
40f38bea6f
feat(dma): refactor dma calloc function
2024-04-02 14:30:14 +08:00
Armando
f0518b3c16
feat(dma): advanced dma malloc helper
2024-04-02 14:30:14 +08:00
Tomas Rezucha
72f00d7c6d
feat(usb/host): Update ISOC scheduler for HS endpoints
...
USB-OTG uses 'sched_info' field of HCTSIZ register to schedule transactions
in USB microframes.
2024-03-01 18:05:40 +01:00
Peter Marcisovsky
51d6296fde
ci: Added esp32p4 usb tests to CI:
...
- added new test for usb_host_lib example for all targets
- CI USB host test are run on esp32p4
- CI USB device tests temporarily disabled until usb_device runner is fixed
- hcd and usb_host tests which do not require PHY are run on esp32p4
2024-02-29 10:35:09 +01:00
Erhan Kurubas
f4acf0b378
refactor(espcoredump): format coredump component with astyle
2024-02-19 21:57:28 +01:00
Tomas Rezucha
f13ae0fc08
feat(esp32p4): Add USB-OTG support for ESP32-P4
2024-01-30 15:07:11 +01:00
Fu Hanxi
37a4c2ea01
Merge branch 'ci/nested_dynamic_pipeline' into 'master'
...
CI: Dynamic Pipeline!!!
Closes IDFCI-1211, IDFCI-1729, IDF-8500, IDF-8456, IDFCI-1828, RDT-610, and RDT-615
See merge request espressif/esp-idf!26662
2024-01-11 13:08:28 +08:00
Fu Hanxi
d44f236f7b
ci(usb): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml
2024-01-10 15:29:44 +01:00
Tomas Rezucha
ec004c788b
fix(usb/host): Sync cache for memory shared by CPU and USB-OTG
...
Transfer descriptor list, frame list and transfer data buffers
are accessed by both CPU and USB-OTG. Sync CPU cache between the accesses.
2024-01-10 15:23:24 +01:00
Darian Leung
d7b83bfd3b
refactor(usb/host): reformat code with astyle_py
2023-12-15 04:44:02 +08:00
Tomas Rezucha
c2660ce7c6
fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
...
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2023-12-12 21:10:37 +01:00
Chen Yudong
2e11919f70
fix(ci): change build-test-rules files folder
2023-09-20 19:17:06 +08:00
Darian Leung
287bdc5e61
fix(test_apps): Trim builds of component test apps
...
Some component test apps do not use the "set(COMPONENTS main)" command in their
project level "CMakeLists.txt", thus leading to their builds pulling in all
ESP-IDF components.
This commit trims the build of multiple component test apps:
- Add "set(COMPONENTS main ...)" to project level "CMakeLists.txt"
- Add missing "PRIV_REQUIRES" in some "main" component "CMakeLists.txt"
Also removed repeated configuraiton options in legacy_i2c_driver/sdkconfig.ci.defaults
as they are already specified in legacy_i2c_driver/sdkconfig.defaults
2023-09-18 17:16:37 +08:00
Tomas Rezucha
f2f6278ba6
usb_host: Use up-to-date syntax in pytest
2023-04-19 11:06:25 +02:00
Tomas Rezucha
645592e157
usb: Refactor USB Host tests
...
* USB tests migrated to pytest
* Error messages improved
* Configurable for different mock devices
2022-11-30 18:12:54 +01:00