Skip to content

Commit

Permalink
vD4.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lincomatic committed Dec 14, 2016
1 parent 1b92d75 commit 80dc825
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
9 changes: 9 additions & 0 deletions firmware/open_evse/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
Change Log

vD4.5.1 20161213 SCL
- fix broken watchdog when compiling with AVR 1.6.10+. optimizer was
eliminating wdt_init(), so we add "used" attribute to it
- Adafruit_TMP007.cpp - fix 1.6.10+ compiler warning
- turn on RAPI_SEQUENCE_ID by default
- compile with AVR board support 1.6.10+ from now on to save 2K+ code space
if using an older compiler and output is too big,
disable RAPI_SEQUENCE_ID

20161212 SCL
- fix compile errors when GFI not defined
- fix compile errors when AUTH_LOCK && !RAPI
Expand Down
7 changes: 2 additions & 5 deletions firmware/open_evse/open_evse.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,13 @@
#else
#include "WProgram.h" // shouldn't need this but arduino sometimes messes up and puts inside an #ifdef
#endif // ARDUINO

#define VERSION "D4.4.0"
#define VERSION "D4.5.1"

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

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

//#define NOCHECKS

//-- begin features

// auto detect L1/L2
Expand All @@ -68,7 +65,7 @@
#define RAPI

// optional sequence id can be inserted as last parameter to commands/responses
//#define RAPI_SEQUENCE_ID
#define RAPI_SEQUENCE_ID

// add checksum to RAPI responses RAPI v2.0.0+
#define RAPI_RESPONSE_CHK
Expand Down
3 changes: 2 additions & 1 deletion firmware/open_evse/open_evse.ino
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ void EvseReset();

// wdt_init turns off the watchdog timer after we use it
// to reboot
void wdt_init(void) __attribute__((naked)) __attribute__((section(".init3")));

void wdt_init(void) __attribute__((naked,used)) __attribute__((section(".init3")));
void wdt_init(void)
{
MCUSR = 0;
Expand Down

0 comments on commit 80dc825

Please sign in to comment.