1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pyboard: add usbdev feature

This commit is contained in:
Koen Zandberg 2019-10-24 16:57:11 +02:00
parent 08c74db3d9
commit 7f1325e48c
No known key found for this signature in database
GPG Key ID: 0E63411F8FCA8247
3 changed files with 5 additions and 0 deletions

View File

@ -7,3 +7,4 @@ FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += periph_usbdev

View File

@ -1,3 +1,6 @@
# we use shared STM32 configuration snippets
INCLUDES += -I$(RIOTBOARD)/common/stm32/include
# define the default port depending on the host OS
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))

View File

@ -22,6 +22,7 @@
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "cfg_usb_otg_fs.h"
#ifdef __cplusplus
extern "C" {