Commit Graph

205 Commits

Author SHA1 Message Date
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
Ivan Grokhotkov 2ecf68c253
ci: add static analysis with clang-tidy 2022-03-22 12:42:20 +01:00
Tomas Rezucha 0d69218634
Merge pull request #27 from espressif/feature/ci/scheduled_tests
ci: Run nightly tests
2022-03-21 08:46:09 +01:00
Tomas Rezucha 535be7b79f ci: Run nightly tests
This catches regressions on 4.3, 4.4 and latest release branches
2022-03-18 15:08:54 +01:00
Mahavir Jain e876229ec1
Merge pull request #24 from laukik-hase/bugfix/libsodium_build
`libsodium`: Added forward compatibility with `mbedtls-3.x`
2022-03-11 19:14:42 +05:30
Laukik Hase 0520ca919d
libsodium: Added forward compatibility with `mbedtls-3.x` 2022-03-11 17:41:04 +05:30
Mahavir Jain 71142723e2
Merge pull request #23 from MacDue/const_correct
esp_encrypted_img: make code const-correct
2022-03-11 12:26:27 +05:30
MacDue 8486f8bddb esp_encrypted_img: make code const-correct
`pre_enc_decrypt_arg_t.data_in` is not modified so can be const
2022-03-10 16:09:58 +00:00
Tomas Rezucha 35df97f987
Merge pull request #22 from espressif/libsodium/bump-version
libsodium: Bump version to 1.0.19
2022-03-09 18:36:55 +01:00
Tomas Rezucha 78303a91bd libsodium: Bump version to 1.0.19
This breaks alignment with upstream libsodium versioning.
libsodium doesn't use semantic versioning,
version 1.0.18 is being continuously updated.
2022-03-09 17:30:29 +01:00