2022-01-03 21:17:32 -05:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-03-06 09:04:06 -05:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "tusb.h"
|
2020-08-06 08:41:32 -04:00
|
|
|
#include "tinyusb_types.h"
|
2020-03-06 09:04:06 -05:00
|
|
|
|
2020-08-06 08:41:32 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2020-03-06 09:04:06 -05:00
|
|
|
|
2020-08-06 08:41:32 -04:00
|
|
|
#define _PID_MAP(itf, n) ((CFG_TUD_##itf) << (n))
|
2020-03-06 09:04:06 -05:00
|
|
|
|
2020-08-06 08:41:32 -04:00
|
|
|
extern tusb_desc_device_t descriptor_tinyusb;
|
|
|
|
extern tusb_desc_strarray_device_t descriptor_str_tinyusb;
|
2020-03-06 09:04:06 -05:00
|
|
|
|
2022-02-10 08:49:11 -05:00
|
|
|
extern const tusb_desc_device_t descriptor_dev_kconfig;
|
2020-08-06 08:41:32 -04:00
|
|
|
extern tusb_desc_strarray_device_t descriptor_str_kconfig;
|
2022-02-10 08:49:11 -05:00
|
|
|
extern const uint8_t descriptor_cfg_kconfig[];
|
2020-03-06 09:04:06 -05:00
|
|
|
|
2020-08-06 08:41:32 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|