Skip to content

Commit 80dc825

Browse files
committed
vD4.5.1
1 parent 1b92d75 commit 80dc825

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

firmware/open_evse/CHANGELOG

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
Change Log
22

3+
vD4.5.1 20161213 SCL
4+
- fix broken watchdog when compiling with AVR 1.6.10+. optimizer was
5+
eliminating wdt_init(), so we add "used" attribute to it
6+
- Adafruit_TMP007.cpp - fix 1.6.10+ compiler warning
7+
- turn on RAPI_SEQUENCE_ID by default
8+
- compile with AVR board support 1.6.10+ from now on to save 2K+ code space
9+
if using an older compiler and output is too big,
10+
disable RAPI_SEQUENCE_ID
11+
312
20161212 SCL
413
- fix compile errors when GFI not defined
514
- fix compile errors when AUTH_LOCK && !RAPI

firmware/open_evse/open_evse.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,13 @@
3737
#else
3838
#include "WProgram.h" // shouldn't need this but arduino sometimes messes up and puts inside an #ifdef
3939
#endif // ARDUINO
40-
41-
#define VERSION "D4.4.0"
40+
#define VERSION "D4.5.1"
4241

4342
#include "Language_default.h" //Default language should always be included as bottom layer
4443

4544
//Language preferences: Add your custom languagefile here. See Language_default.h for more info.
4645
//#include "Language_norwegian.h"
4746

48-
//#define NOCHECKS
49-
5047
//-- begin features
5148

5249
// auto detect L1/L2
@@ -68,7 +65,7 @@
6865
#define RAPI
6966

7067
// optional sequence id can be inserted as last parameter to commands/responses
71-
//#define RAPI_SEQUENCE_ID
68+
#define RAPI_SEQUENCE_ID
7269

7370
// add checksum to RAPI responses RAPI v2.0.0+
7471
#define RAPI_RESPONSE_CHK

firmware/open_evse/open_evse.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ void EvseReset();
235235

236236
// wdt_init turns off the watchdog timer after we use it
237237
// to reboot
238-
void wdt_init(void) __attribute__((naked)) __attribute__((section(".init3")));
238+
239+
void wdt_init(void) __attribute__((naked,used)) __attribute__((section(".init3")));
239240
void wdt_init(void)
240241
{
241242
MCUSR = 0;

0 commit comments

Comments
 (0)