1
0
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:
Benjamin Valentin 2020-06-02 14:17:34 +02:00
parent bc12d2e3b9
commit cb21aea5f6
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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
*/