mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/serpente: properly configure USB ID
This commit is contained in:
parent
bc12d2e3b9
commit
cb21aea5f6
@ -1,9 +1,6 @@
|
||||
PORT_LINUX ?= /dev/ttyACM0
|
||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
|
||||
CONFIG_USB_VID=0x239A
|
||||
CONFIG_USB_PID=0x0057
|
||||
|
||||
CFLAGS += -DBOOTLOADER_UF2
|
||||
|
||||
# setup serial terminal
|
||||
|
@ -82,6 +82,14 @@ extern mtd_dev_t *mtd0;
|
||||
#define MTD_0 mtd0
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name USB configuration
|
||||
* @{
|
||||
*/
|
||||
#define INTERNAL_PERIPHERAL_VID (0x239A)
|
||||
#define INTERNAL_PERIPHERAL_PID (0x0057)
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user