Skip to content

Commit

Permalink
pyboard: add usbdev feature
Browse files Browse the repository at this point in the history
  • Loading branch information
bergzand committed Feb 11, 2020
1 parent 08c74db commit 7f1325e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/pyboard/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
FEATURES_PROVIDED += periph_usbdev
3 changes: 3 additions & 0 deletions boards/pyboard/Makefile.include
Original file line number Diff line number Diff line change
@@ -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*)))
Expand Down
1 change: 1 addition & 0 deletions boards/pyboard/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#define PERIPH_CONF_H

#include "periph_cpu.h"
#include "cfg_usb_otg_fs.h"

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 7f1325e

Please sign in to comment.