107-systems / 107-Arduino-Cyphal

Arduino library for providing a convenient C++ interface for accessing OpenCyphal.
https://107-systems.org
MIT License
69 stars 31 forks source link

[Feature Request] #257

Closed aentinger closed 11 months ago

aentinger commented 11 months ago

⚡ Feature Request

The conditional compile-time flags #if !defined(__GNUC__) || (__GNUC__ >= 11) are not present for ArduinoCore-renesas, leading to the registry service not being compiled in. Therefore an exception for ArduinoCore-renesas needs to be added in order to enable full Cyphal support.

aentinger commented 11 months ago

It turns out that ArduinoCore-renesas is shipped with GCC version 7, which does not support the code used in the registry API. CC @generationmake .

alex@laptop-165jcrfc:~$ /home/alex/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ --version
arm-none-eabi-g++ (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.