From: asterix Date: Tue, 16 Nov 2010 22:34:41 +0000 (+0000) Subject: Update stm32 examples cfg. X-Git-Tag: 2.7.0~374 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=0d810de14a97893f7a7d08dfcc87c5ab1bdd0a77;p=bertos.git Update stm32 examples cfg. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4562 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/boards/sam3n-ek/examples/display/cfg/cfg_menu.h b/boards/sam3n-ek/examples/display/cfg/cfg_menu.h new file mode 100644 index 00000000..bbfa1e76 --- /dev/null +++ b/boards/sam3n-ek/examples/display/cfg/cfg_menu.h @@ -0,0 +1,67 @@ +/** + * \file + * + * + * \brief Configuration file for Menu module. + * + * \author Daniele Basile + */ + +#ifndef CFG_MENU_H +#define CFG_MENU_H + +/** + * Enable button bar behind menus + * $WIZ$ type = "boolean" + */ +#define CONFIG_MENU_MENUBAR 0 + +/** + * Level Edit Timeout + * $WIZ$ type = "boolean" + */ +#define CONFIG_LEVELEDIT_TIMEOUT 0 + +/** + * Menu timeout + * $WIZ$ type = "boolean" + */ +#define CONFIG_MENU_TIMEOUT 0 + +/** + * Enable smooth scrolling in menus + * $WIZ$ type = "boolean" + */ +#define CONFIG_MENU_SMOOTH 1 + + +#endif /* CFG_MENU_H */ + diff --git a/boards/stm32-p103/examples/usbkeyboard/cfg/cfg_usbkbd.h b/boards/stm32-p103/examples/usbkeyboard/cfg/cfg_usbkbd.h index f01088ee..0865f864 100644 --- a/boards/stm32-p103/examples/usbkeyboard/cfg/cfg_usbkbd.h +++ b/boards/stm32-p103/examples/usbkeyboard/cfg/cfg_usbkbd.h @@ -61,4 +61,18 @@ */ #define USB_KEYBOARD_LOG_FORMAT LOG_FMT_TERSE +/** + * USB vendor ID (please change this in your project, using a valid ID number!). + * + * $WIZ$ type = "hex" + */ +#define USB_KEYBOARD_VENDOR_ID 0x046d + +/** + * USB product ID (please change this in your project, using a valid ID number!). + * + * $WIZ$ type = "hex" + */ +#define USB_KEYBOARD_PRODUCT_ID 0xffff + #endif /* CFG_USB_KEYBOARD_H */ diff --git a/boards/stm32-p103/examples/usbmouse/cfg/cfg_usbmouse.h b/boards/stm32-p103/examples/usbmouse/cfg/cfg_usbmouse.h index 5be32dba..1af387c3 100644 --- a/boards/stm32-p103/examples/usbmouse/cfg/cfg_usbmouse.h +++ b/boards/stm32-p103/examples/usbmouse/cfg/cfg_usbmouse.h @@ -61,4 +61,18 @@ */ #define USB_MOUSE_LOG_FORMAT LOG_FMT_TERSE +/** + * USB vendor ID (please change this in your project, using a valid ID number!). + * + * $WIZ$ type = "hex" + */ +#define USB_MOUSE_VENDOR_ID 0xffff + +/** + * USB product ID (please change this in your project, using a valid ID number!). + * + * $WIZ$ type = "hex" + */ +#define USB_MOUSE_PRODUCT_ID 0x0000 + #endif /* CFG_USBMOUSE_H */ diff --git a/boards/stm32-p103/examples/usbmouse/cfg/cfg_usbser.h b/boards/stm32-p103/examples/usbmouse/cfg/cfg_usbser.h index 6e47012a..f8b87bd1 100644 --- a/boards/stm32-p103/examples/usbmouse/cfg/cfg_usbser.h +++ b/boards/stm32-p103/examples/usbmouse/cfg/cfg_usbser.h @@ -43,7 +43,7 @@ * * $WIZ$ type = "autoenabled" */ -#define CONFIG_USBSER 0 +#define CONFIG_USBSER 1 /** * Module logging level. @@ -61,4 +61,18 @@ */ #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 */ diff --git a/boards/stm32-p103/examples/usbserial/cfg/cfg_usbser.h b/boards/stm32-p103/examples/usbserial/cfg/cfg_usbser.h index 191409c2..f8b87bd1 100644 --- a/boards/stm32-p103/examples/usbserial/cfg/cfg_usbser.h +++ b/boards/stm32-p103/examples/usbserial/cfg/cfg_usbser.h @@ -61,4 +61,18 @@ */ #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 */