X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3x-ek%2Ftemplates%2Fempty%2Fcfg%2Fcfg_usbser.h;fp=boards%2Fsam3x-ek%2Ftemplates%2Fempty%2Fcfg%2Fcfg_usbser.h;h=1fa44e7329320d1419e563f1b8ece35f9759aa8b;hb=97a3b5115cb89465a7f9bf16cb657aca46ff9841;hp=0000000000000000000000000000000000000000;hpb=b3eb079f0ff76073493cba30f64783f94c044b95;p=bertos.git diff --git a/boards/sam3x-ek/templates/empty/cfg/cfg_usbser.h b/boards/sam3x-ek/templates/empty/cfg/cfg_usbser.h new file mode 100644 index 00000000..1fa44e73 --- /dev/null +++ b/boards/sam3x-ek/templates/empty/cfg/cfg_usbser.h @@ -0,0 +1,78 @@ +/** + * \file + * + * + * \author Andrea Righi + * + * \brief Configuration file for the USB serial driver module + */ + +#ifndef CFG_USBSER_H +#define CFG_USBSER_H + +/** + * Enable the usb-serial module. + * + * $WIZ$ type = "autoenabled" + */ +#define CONFIG_USBSER 0 + +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define USB_SERIAL_LOG_LEVEL LOG_LVL_INFO + +/** + * module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define USB_SERIAL_LOG_FORMAT LOG_FMT_TERSE + +/** + * USB vendor ID (please change this in your project, using a valid ID number!). + * + * $WIZ$ type = "hex" + */ +#define USB_SERIAL_VENDOR_ID 0x05f9 + +/** + * USB product ID (please change this in your project, using a valid ID number!). + * + * $WIZ$ type = "hex" + */ +#define USB_SERIAL_PRODUCT_ID 0xffff + +#endif /* CFG_USBSER_H */