Revision 290
New eeprom defines
trunk/common/tooltron.h | ||
---|---|---|
54 | 54 |
// Tool timeout? |
55 | 55 |
#define TIMEOUT_SECONDS 10 |
56 | 56 |
|
57 |
#define SERVER_TIMEOUT_SECONDS 3 |
|
58 |
|
|
57 | 59 |
// Maximum attempts to retry |
58 | 60 |
#define TT_MAX_RETRY 3 |
59 | 61 |
|
60 | 62 |
// Memory locations |
61 |
#define MAIN_ADDR 0x0 // User code starts here |
|
62 |
#define BOOT_START 0x400 // Bootloader code starts here |
|
63 |
#define EEPROM_ADDR 1 // Location of the node's address in the EEPROM |
|
63 |
#define MAIN_ADDR 0x0 // User code starts here |
|
64 |
#define BOOT_START 0x3C0 // Bootloader code starts here |
|
65 |
#define EEPROM_ADDR1 ((void*)1) // Location of the node's address in the EEPROM |
|
66 |
#define EEPROM_ADDR2 ((void*)42) // Location of the node's address in the EEPROM |
|
67 |
#define EEPROM_ADDR3 ((void*)126) // Location of the node's address in the EEPROM |
|
64 | 68 |
|
65 | 69 |
// Debouncing |
66 | 70 |
#define BUTTON_DEBOUNCE 5 |
Also available in: Unified diff