File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
hardware/arduino/avr/cores/arduino Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1- ARDUINO 1.5.8 BETA - not yet release
1+ ARDUINO 1.5.8 BETA - not yet released
22
33[ide]
44* Find/Replace over multiple tabs (Erwin Ried, Fulvio Ieva)
@@ -11,6 +11,11 @@ ARDUINO 1.5.8 BETA - not yet release
1111* FileIO bridge: fixed wrong return value in File::size() for size >32768
1212* Updated Temboo to latest version
1313
14+ The following changes are included also in the (not yet released) Arduino IDE 1.0.6:
15+
16+ [core]
17+ * avr: Added replacement stub for cstdlib atexit() funciton (Christopher Andrews)
18+
1419ARDUINO 1.5.7 BETA - 2014.07.07
1520
1621[core]
@@ -319,6 +324,7 @@ ARDUINO 1.0.6 - not yet released
319324* avr: Improved USB-CDC write speed (Justin Rajewski)
320325* avr: Improved USB-CDC read code (Paul Brook)
321326* avr: Fixed race condition in USB-CDC transmit (Paul Brook)
327+ * avr: Added replacement stub for cstdlib atexit() funciton (Christopher Andrews)
322328* Fixed wrong NULL pointer handling in Stream class (Amulya Kumar Sahoo)
323329* Backported String class from IDE 1.5.x (Matt Jenkins)
324330* Backported Print class from IDE 1.5.x
Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ typedef uint8_t byte;
120120void init (void );
121121void initVariant (void );
122122
123+ int atexit (void (* func )()) __attribute__((weak ));
124+
123125void pinMode (uint8_t , uint8_t );
124126void digitalWrite (uint8_t , uint8_t );
125127int digitalRead (uint8_t );
Original file line number Diff line number Diff line change 1919
2020#include < Arduino.h>
2121
22+ // Declared weak in Arduino.h to allow user redefinitions.
23+ int atexit (void (*func)()) { return 0 ; }
24+
2225// Weak empty variant initialization function.
2326// May be redefined by variant files.
2427void initVariant () __attribute__((weak));
You can’t perform that action at this time.
0 commit comments