We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a8c9e2 commit 1bd4e01Copy full SHA for 1bd4e01
platform/Callback.h
@@ -30,6 +30,13 @@
30
// MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL - support storing non-trivial function objects
31
// MBED_CONF_PLATFORM_CALLBACK_COMPARABLE - support memcmp comparing stored objects (requires zero padding)
32
33
+#ifdef __ICCARM__
34
+/* Force callback.non-trivial for IAR */
35
+#undef MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL
36
+#define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL 1
37
+#endif
38
+
39
40
namespace mbed {
41
/** \addtogroup platform-public-api */
42
/** @{*/
0 commit comments