EEPROM async write bug solved. Progress bar. Popup on MODELSEL. Simu EEPROM async write.

This commit is contained in:
bsongis
2011-11-26 12:55:00 +00:00
parent 9761da9de3
commit 5e633363a9
14 changed files with 129 additions and 103 deletions
+7 -1
View File
@@ -22,6 +22,10 @@
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
#include <pthread.h>
#include <semaphore.h>
#define APM
typedef unsigned char prog_uchar;
typedef const char prog_char;
@@ -30,7 +34,7 @@ typedef const uint8_t prog_uint8_t;
typedef const int16_t prog_int16_t;
typedef const int8_t prog_int8_t;
extern sem_t eeprom_write_sem;
#define PROGMEM
#define pgm_read_byte(address_short) (*(uint8_t*)(address_short))
@@ -76,6 +80,8 @@ typedef const int8_t prog_int8_t;
extern volatile unsigned char pinb,pinc,pind,pine,ping;
extern unsigned char portb,dummyport;
void InitEepromThread();
extern const char *eepromFile;
void eeprom_read_block (void *pointer_ram,
const void *pointer_eeprom,