non working uvc example

This commit is contained in:
aprochazka
2023-03-27 15:38:58 +02:00
parent 17bddacf68
commit e721498e1c
5 changed files with 1698 additions and 323 deletions

File diff suppressed because it is too large Load Diff

View File

@ -28,10 +28,12 @@ extern "C"
#endif
/* Includes ------------------------------------------------------------------*/
#define USE_HAL_DRIVER
#include "stm32l4xx_hal.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#define CFG_EXAMPLE_VIDEO_READONLY
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

View File

@ -27,6 +27,8 @@
#ifndef _USB_DESCRIPTORS_H_
#define _USB_DESCRIPTORS_H_
#define CFG_EXAMPLE_VIDEO_READONLY
/* Time stamp base clock. It is a deprecated parameter. */
#define UVC_CLOCK_FREQUENCY 27000000
/* video capture path */
@ -35,7 +37,7 @@
#define FRAME_WIDTH 128
#define FRAME_HEIGHT 96
#define FRAME_RATE 10
#define FRAME_RATE 8
enum {
ITF_NUM_VIDEO_CONTROL,