Commit Graph

114 Commits

Author SHA1 Message Date
Tomas Rezucha 48fff54a9f ci: Add global pytest.ini settings
Closes https://github.com/espressif/idf-extra-components/issues/67
2022-07-13 13:20:40 +02:00
Tomas Rezucha 9f25a94820 ci: Upgrade upload action
Closes https://github.com/espressif/idf-extra-components/issues/68
2022-07-13 13:07:45 +02:00
Tomas Rezucha b6590fa482
Merge pull request #70 from espressif/misc/pr_template
Add Pull requests templates
2022-07-13 12:56:56 +02:00
Tomas Rezucha be438e5aa7 Create update_component.md 2022-07-12 15:38:23 +02:00
Tomas Rezucha 836e43de73
Create new_component.md 2022-07-12 15:25:18 +02:00
Tomas Rezucha 278cfefa71
Merge pull request #66 from espressif/feature/usb
usb_host: Add CDC-ACM driver
2022-07-12 14:59:39 +02:00
Tomas Rezucha c9fc71aa6e usb_host: Move to idf-extra-components 2022-07-12 08:16:18 +02:00
Tomas Rezucha 65182c35dc usb_host: Fixed CDC endpoint descriptor parsing 2022-07-12 08:15:34 +02:00
Tomas Rezucha c8f20bfaff usb_host: Unify CDC event callbacks
And return error code from C++ close method.
2022-07-12 08:15:34 +02:00
Tomas Rezucha 8a0a831762 usb_host: Propagate new device connection to user
Closes https://github.com/espressif/esp-idf/issues/8762
2022-07-12 08:15:34 +02:00
Tomas Rezucha e6eb7575cb usb_host: Enable custom CDC commands
This new API allows further extension for vendor specific commands
2022-07-12 08:15:34 +02:00
Tomas Rezucha 53a2111127 usb_host: Pin test task to core 0
When we try to uninstall usb_host library on multi-core SoC (ESP32S3)
the USB interrupt can be triggered even after it was disabled on one CPU
2022-07-12 08:15:34 +02:00
Tomas Rezucha d9b8717058 usb_host: Rename symbols that conflict with TinyUSB 2022-07-12 08:15:34 +02:00
Tomas Rezucha fe4b75d4ce usb_host: Use USB_Host library calls for desc printing 2022-07-12 08:15:34 +02:00
Tomas Rezucha 55ec1cf8cc ci: Add USB Host CDC and MSC pytests to pipeline 2022-07-12 08:15:34 +02:00
Tomas Rezucha d8754830a3 usb_host: Add Mock device to CDC tests 2022-07-12 08:15:34 +02:00
Tomas Rezucha 02584155aa usb_host: Update CDC tests for latest USB Host 2022-07-12 08:15:34 +02:00
Tomas Rezucha 77b12508e4 usb_host: Don't build CDC host driver for unsupported targets 2022-07-12 08:15:33 +02:00
Darian Leung ff8b939cbb usb: USB Host stack uses USB PHY driver
This commit updates the USB Host stack to use the USB PHY driver. The
USB PHY and the OTG Controller should now both be setup/deleted using
usb_new_phy() and usb_del_phy() respectively.

- The hcd_install() now expects the USB PHY and OTG Contorller to be
    already setup before it is called
- usb_host_install() now has an option to skip calling usb_del_phy() if
    the user wants to setup their own USB PHY (e.g., in the case of using
    and external PHY).
- CDC-ACM and MSC examples/test updated to use internal PHY

Closes https://github.com/espressif/esp-idf/issues/8061
2022-07-12 08:15:33 +02:00
Tomas Rezucha 52b2f0b137 usb: Add USB host CDC-ACM class driver 2022-07-12 08:15:33 +02:00
Tomas Rezucha a8920be672
Merge pull request #64 from Lapshin/fix/ignore-format-warnings
Ignore format warnings
2022-07-11 11:19:39 +02:00
Alexey Lapshin 6723c4219e Ignore format warnings 2022-07-07 11:48:55 +04:00
Mahavir Jain 7e7eb6b976
Merge pull request #62 from shahpiyushv/task/json_parser_update
json_parser: Minor changes as per changes in upstream json_parser
2022-06-24 10:31:37 +05:30
Piyush Shah 08659fc9e0 json_parser: Minor changes as per changes in upstream json_parser 2022-06-24 10:20:41 +05:30
Mahavir Jain 45d872e6a6
Merge pull request #61 from mrdeep1/mutex_fix
coap_config_posix.h: Set up defines for correct mutex usage
2022-06-14 20:41:33 +05:30
Jon Shallow 448b0b5e7c coap_config_posix.h: Set up defines for correct mutex usage
if COAP_CONSTRAINED_STACK is defined (is for esp-idf), the mutexes set up
to protect the critical sections were not working as expected and were just
dummy entries.

Use the pthread_ version of the mutex instead by defining HAVE_PTHREAD_H
and HAVE_PTHREAD_MUTEX_LOCK.
2022-06-14 12:52:39 +00:00
Tomas Rezucha 289840dcb7
Merge pull request #37 from shahpiyushv/feature/json
json: Add json_generator and json_parser components
2022-05-30 12:27:21 +02:00
Piyush Shah f9dfc02581 json: Add json_parser and json_generator components 2022-05-30 14:41:09 +05:30
Tomas Rezucha 2fea38607c
Merge pull request #60 from espressif/fix/ci-tests-dependabot
Maintenance PR
2022-05-09 17:41:16 +02:00
Tomas Rezucha 0fbc1ac89f ci: Update testing CI for pytest-embedded v0.7.0 2022-05-09 17:04:34 +02:00
Tomas Rezucha 8ed080fed1 Revert "Create dependabot.yml"
This reverts commit 73437887da.

Related to https://github.com/espressif/idf-extra-components/issues/29
2022-05-09 16:31:04 +02:00
Tomas Rezucha cb6028d530
Merge pull request #54 from espressif/feature/add-pcap
Add PCAP component
2022-05-03 09:13:22 +02:00
Tomas Rezucha ff354a61da pcap: Add PCAP component 2022-05-02 16:23:20 +02:00
Tomas Rezucha 19caa3451a ci: add coap to list of build components 2022-05-02 16:00:50 +02:00
Mahavir Jain 123798faa9
Merge pull request #38 from laukik-hase/feature/sh2lib_upgrade_esp_tls
`sh2lib`: Update deprecated `esp_tls` API
2022-04-25 11:06:36 +05:30
Laukik Hase 6737dc5458
sh2lib: Update deprecated esp_tls API 2022-04-25 10:35:42 +05:30
Tomas Rezucha e3f56d39f4
Merge pull request #49 from espressif/clang_tidy_fixes
ci: clang-tidy fixes
2022-04-19 10:36:10 +02:00
Ivan Grokhotkov f42c23218d ci: clang-tidy fixes
- upgrade clang-tidy-runner to 0.2.0.
- use new '--include-paths' and '--exclude-paths' arguments of
  clang-tidy-runner to limit the issues reported.
- don't install codereport and don't build an HTML report, fixing
  the Jinja2 version incompatibility issue.
2022-04-19 10:14:05 +02:00
Tomas Rezucha f7894230ed
Merge pull request #51 from espressif/ci/constant-idf-versions
ci: Fix IDF v4.3 build
2022-04-19 10:13:37 +02:00
Tomas Rezucha 3a139bf59e ci: Use checkout@v1 for compatibility with older git 2022-04-19 09:52:40 +02:00
Mahavir Jain 6d01b4b588
Merge pull request #48 from AdityaHPatwardhan/feature/update_sh2lib
sh2lib: Bump version to 1.0.1
2022-04-13 16:03:48 +05:30
Aditya Patwardhan 237a37adaf sh2lib: Bump version to 1.0.1
Changes:
1) Enabled support for esp_crt_bundle with esp_tls.
2022-04-13 10:37:45 +05:30
Mahavir Jain 6995ee9bf7
Merge pull request #43 from hmalpani/gh_action/update_checkout
gh_action: Update to actions/checkout@v3
2022-04-11 21:26:11 +05:30
Harshit Malpani 371b185ec6 gh_action: Update to actions/checkout@v3 2022-04-11 18:17:39 +05:30
Tomas Rezucha 7e08c20132
Merge pull request #42 from espressif/jsmn/v1.1.0
jsmn: Update to v1.1.0
2022-04-08 09:20:25 +02:00
Tomas Rezucha 29e586c77e jsmn: Update to v1.1.0 2022-04-07 12:40:17 +02:00
Tomas Rezucha 73437887da Create dependabot.yml 2022-03-25 19:45:19 +01:00
Tomas Rezucha d85b1c8724
Merge pull request #30 from espressif/fix/ci-labels
ci: Check runner labels
2022-03-25 08:46:40 +01:00
Tomas Rezucha bb580ebf90 ci: Get runner label from idf_target 2022-03-25 08:19:38 +01:00
Tomas Rezucha 5bcd51088c
Merge pull request #28 from espressif/feature/clang_tidy
ci: add static analysis with clang-tidy
2022-03-22 15:01:21 +01:00