SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
SensorLibExceptionFix.cpp File Reference

Exception compatibility layer for Arduino nRF52 platform without C++ exceptions support. More...

Go to the source code of this file.

Detailed Description

Exception compatibility layer for Arduino nRF52 platform without C++ exceptions support.

This file provides minimal implementations of missing C++ standard library functions required for compiling with -fno-exceptions flag (default in Arduino nRF52 BSP).

Note
This file is only compiled when targeting Arduino nRF52 architecture with C++ exceptions disabled (Only Arduino IDE). It uses weak symbol attributes to avoid conflicts with any potential existing implementations.

Definition in file SensorLibExceptionFix.cpp.