Add option to select the core used for Arduino and it's events

This commit is contained in:
me-no-dev
2020-08-16 17:52:09 +03:00
parent e25ef9e6d0
commit 0ac788f666
6 changed files with 31 additions and 4 deletions

View File

@ -113,6 +113,9 @@ protected:
extern void serialEventRun(void) __attribute__((weak));
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
#ifndef ARDUINO_SERIAL_PORT
#define ARDUINO_SERIAL_PORT 0
#endif
#if ARDUINO_SERIAL_PORT //Serial used for USB CDC
#include "USB.h"
#include "USBCDC.h"