This commit is contained in:
Sin Shimozono 2014-07-14 10:35:01 +09:00
parent 87d2b6dfce
commit 0a8a67e352
7 changed files with 28 additions and 5 deletions

View File

@ -0,0 +1 @@
/Debug/

View File

@ -0,0 +1,7 @@
avrtarget/ClockFrequency=16000000
avrtarget/ExtRAMSize=0
avrtarget/ExtendedRAM=false
avrtarget/MCUType=atmega1284p
avrtarget/UseEEPROM=false
avrtarget/UseExtendedRAMforHeap=true
eclipse.preferences.version=1

View File

@ -0,0 +1,11 @@
eclipse.preferences.version=1
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/LANG/delimiter=\:
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/LANG/operation=append
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/LANG/value=en-US
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/append=true
environment/project/de.innot.avreclipse.configuration.app.debug.674828633/appendContributed=true
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/LANG/delimiter=\:
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/LANG/operation=append
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/LANG/value=en-US
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/append=true
environment/project/de.innot.avreclipse.configuration.app.release.1024470171/appendContributed=true

View File

@ -36,7 +36,7 @@
#include <Sd2Card.h>
#include "..\millitimer.h"
#include "../millitimer.h"
//------------------------------------------------------------------------------
#ifndef SOFTWARE_SPI

View File

@ -30,12 +30,14 @@
#include "diskmenu.h"
#include "cardtest.h"
#ifdef PROGMEM_WORKAROUND
// work-around for compiler bug
#undef PROGMEM
#define PROGMEM __attribute__(( section(".progmem.data") ))
#undef PSTR
#define PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))
#endif
#define STATUS_LED_PORT B
#define STATUS_LED_PIN 3
@ -213,4 +215,4 @@ void CardTest()
while(1);
}
}

View File

@ -31,11 +31,13 @@
#include "ports.h"
#include "diskmenu.h"
#ifdef PROGMEM_WORKAROUND
// work-around for compiler bug
#undef PROGMEM
#define PROGMEM __attribute__(( section(".progmem.data") ))
#undef PSTR
#define PSTR(s) (__extension__({static prog_char __c[] PROGMEM = (s); &__c[0];}))
#endif
// I/O pin assignments
#define CPLD_RESET_PORT B
@ -2014,4 +2016,4 @@ restart: ;
}
}
}
}
}

View File

@ -306,7 +306,7 @@ void LcdClear(void)
void LcdReset(void)
{
lcd_vop = 0xBF;
lcd_vop = 0xa4; //0xBF;
lcd_bias = 0x14;
lcd_tempCoef = 0x04;