atmel-samd: Fix CDC by making sure we define (#294)
CONF_USB_COMPOSITE_CDC_ACM_EN before including ASF4 files.
This commit is contained in:
parent
0bbb7a8199
commit
bac841df61
|
@ -28,6 +28,10 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
// We must include this early because it sets values used in the ASF4 includes
|
||||||
|
// below.
|
||||||
|
#include "py/mpconfig.h"
|
||||||
|
|
||||||
#include "hal/include/hal_gpio.h"
|
#include "hal/include/hal_gpio.h"
|
||||||
#include "usb/class/cdc/device/cdcdf_acm.h"
|
#include "usb/class/cdc/device/cdcdf_acm.h"
|
||||||
// #include "hiddf_mouse.h"
|
// #include "hiddf_mouse.h"
|
||||||
|
|
Loading…
Reference in New Issue