2010-09-02 22:13:41 +02:00
|
|
|
/*
|
|
|
|
* board.h
|
|
|
|
*
|
|
|
|
* Created on: 2010/08/31
|
|
|
|
* Author: Programacao
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BOARD_H_
|
|
|
|
#define BOARD_H_
|
|
|
|
|
|
|
|
#define deviceID 69
|
|
|
|
|
|
|
|
#define board_can_read 1
|
|
|
|
#define board_can_write 1
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************/
|
|
|
|
/* OP_DFU Memory locations */
|
|
|
|
/**************************************************/
|
|
|
|
|
|
|
|
#define StartOfUserCode 0x08006000
|
|
|
|
|
|
|
|
/**************************************************/
|
|
|
|
/* OP_DFU Mem Sizes */
|
|
|
|
/**************************************************/
|
|
|
|
|
2010-09-04 03:06:40 +02:00
|
|
|
#define SizeOfHash 20//0x14
|
|
|
|
#define SizeOfDescription 100 //0x64 start=807FFEC
|
2010-09-02 22:13:41 +02:00
|
|
|
#define SizeOfCode 499712-SizeOfHash-SizeOfDescription //488K
|
2010-09-04 03:06:40 +02:00
|
|
|
//524288
|
2010-09-02 22:13:41 +02:00
|
|
|
#endif /* BOARD_H_ */
|