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 1399d64 commit 48c612eCopy full SHA for 48c612e
cores/arduino/Arduino.h
@@ -57,10 +57,12 @@ extern "C"{
57
#define NOT_AN_INTERRUPT 255
58
59
// undefine stdlib's abs if encountered
60
+#if __cplusplus < 201703L
61
#ifdef abs
62
#undef abs
63
#endif // abs
64
#define abs(x) ((x)>0?(x):-(x))
65
+#endif
66
67
#define interrupts() __enable_irq()
68
#define noInterrupts() __disable_irq()
variants/GIGA/cxxflags.txt
@@ -1,7 +1,7 @@
1
-Wvla
2
-c
3
-fno-rtti
4
--std=gnu++14
+-std=gnu++17
5
-DAPPLICATION_ADDR=0x8040000
6
-DAPPLICATION_RAM_ADDR=0x24000000
7
-DAPPLICATION_RAM_SIZE=0x80000
0 commit comments