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

@ -52,6 +52,14 @@ extern "C" {
#define ARDUINO_ISR_FLAG (0)
#endif
#ifndef ARDUINO_RUNNING_CORE
#define ARDUINO_RUNNING_CORE CONFIG_ARDUINO_RUNNING_CORE
#endif
#ifndef ARDUINO_EVENT_RUNNING_CORE
#define ARDUINO_EVENT_RUNNING_CORE CONFIG_ARDUINO_EVENT_RUNNING_CORE
#endif
//forward declaration from freertos/portmacro.h
void vPortYield(void);
void yield(void);