Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cores/arduino/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ extern "C"{
#define NOT_AN_INTERRUPT 255

// undefine stdlib's abs if encountered
#if __cplusplus < 201703L
#ifdef abs
#undef abs
#endif // abs
#define abs(x) ((x)>0?(x):-(x))
#endif

#define interrupts() __enable_irq()
#define noInterrupts() __disable_irq()
Expand Down
2 changes: 1 addition & 1 deletion variants/GIGA/cxxflags.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-Wvla
-c
-fno-rtti
-std=gnu++14
-std=gnu++17
-DAPPLICATION_ADDR=0x8040000
-DAPPLICATION_RAM_ADDR=0x24000000
-DAPPLICATION_RAM_SIZE=0x80000
Expand Down