__test.ino:5:54: error: 'digitalPinToPort' was not declared in this scope
__test.ino:5:55: error: 'portOutputRegister' was not declared in this scope
Obviously the Arduino compatibility layer is not correctly applied for mesh devices, but several of the more recent library ports rely on that compatibility.
(Tested against 0.8.0-rc.27 for mesh and 0.7.0 for Gen1&2)
Building this against Gen1&2 devices works fine
But for mesh devices this results in
Obviously the Arduino compatibility layer is not correctly applied for mesh devices, but several of the more recent library ports rely on that compatibility.
(Tested against 0.8.0-rc.27 for mesh and 0.7.0 for Gen1&2)
Reason: https://github.com/particle-iot/firmware/blob/1b1805fb4afcb93b0e92fbecfd28c082d6310285/user/inc/Arduino.h#L100