| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
- * All rights reserved.
- *
- * This software is supplied "AS IS" without any warranties.
- * RDA assumes no responsibility or liability for the use of the software,
- * conveys no license or title under any patent, copyright, or mask work
- * right to the product. RDA reserves the right to make changes in the
- * software without notification. RDA also make no representation or
- * warranty that such application will be suitable for the specified use
- * without further testing or modification.
- */
- #ifndef _DRV_CONFIG_H_
- #define _DRV_CONFIG_H_
- // Auto generated. Don't edit it manually!
- /**
- * whether to use IFC for debughost RX
- */
- /* #undef CONFIG_DEBUGHOST_RX_USE_IFC */
- /**
- * debughost rx DMA size in bytes
- */
- /* #undef CONFIG_DEBUGHOST_RX_DMA_SIZE */
- /**
- * debughost rx buffer size in bytes
- *
- * This is the buffer before parsing host packet format.
- */
- #define CONFIG_DEBUGHOST_RX_BUF_SIZE 0x200
- /**
- * whether to support charger
- */
- #define CONFIG_SUPPORT_BATTERY_CHARGER
- /**
- * whether external flash is supported
- */
- /* #undef CONFIG_SUPPORT_EXT_FLASH */
- /**
- * host command engine packet size
- */
- #define CONFIG_HOST_CMD_ENGINE_MAX_PACKET_SIZE 0x2020
- /**
- * whether to reuse uart at blue screen
- */
- #define CONFIG_UART_BLUESCREEN_ENABLE
- /**
- * uart device to be reused at blue screen
- */
- #define CONFIG_UART_BLUESCREEN DRV_NAME_UART1
- /**
- * uart baud rate to be reused at blue screen
- */
- #define CONFIG_UART_BLUESCREEN_BAUD 921600
- /**
- * uart TX baud rate at adaptive mode, before baud rate is detected
- */
- #define CONFIG_UART_AUTOMODE_DEFAULT_BAUD 115200
- /**
- * whether USB is supported
- */
- #define CONFIG_USB_SUPPORT
- #ifdef CONFIG_USB_SUPPORT
- /**
- * usb connect timeout
- */
- #define CONFIG_USB_CONNECT_TIMEOUT 10000
- /**
- * usb debounce time in milliseconds before enumarating
- */
- #define CONFIG_USB_DETECT_DEBOUNCE_TIME 800
- /**
- * udc features, lower 8 bits for config->bmAttributes, higher are software defined
- */
- #define CONFIG_USB_DEVICE_CONTROLLER_FEATURE 0xE0
- #endif
- #endif
|