Closed edwardCao closed 2 years ago
hi, @edwardCao - I confirm that I can reproduce your issue using Adafruit nFR50 Arduino Core. I do not understand why it behaves this way while on other boards same code compiles without issues. I will have to have a look into it further.
I am afraid this is because Adafruit core uses FreeRTOS and there is a forward declaration of a Scheduler, which then conflicts with my class definition of a Scheduler. Name conflict - I do not know what to do about it since changing the class name will instantly make all previous code fail to compile. I need to think if there is a way to make this change backwards-compatible.
Yes, there is an object called Scheduler in rtos.cpp and rtos.h files in Adafruit nRF core. Both Adafruit developer and myself did not think of a more unique name, now here we are...
@arkhipenko thanks for looking into this issue and thanks to @vortigont for providing a solution/patch. I will try this solution on user side (my knowledge about the IDE is limited to using only one sketch file :-) ).
Fixed by 3.6.2 (in testing branch for now)
Hi!
I am a Arduino newbie trying out the library but cannot compile within Arduino IDE the LED blinking example in examples folder.
Arduino IDE 2.0.0 Board: Adafruit Feather nRF52840 Sense
Error message: