-
Notifications
You must be signed in to change notification settings - Fork 5
/
eeprom_addr.h
34 lines (23 loc) · 954 Bytes
/
eeprom_addr.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef EEPROM_ADDR_H
#define EEPROM_ADDR_H
/*-----------------------------------------------------*/
#define GSM_BOOTLOADER_MAJVER (E2END - 0)
#define GSM_BOOTLOADER_MINVER (E2END - 1)
#define OTA_INIT_SIG_ADDR (E2END - 2)
#define OTA_ATTEMPTED_ADDR (E2END - 3)
#define OTA_STAUS_ADDR (E2END - 4)
#define GSM_REG_PORT_ADDR (E2END - 5)
#define GSM_REG_PIN_ADDR (E2END - 6)
#define GSM_REG_PIN_ON_LOGIC_ADDR (E2END - 7)
#define OTA_SERVER_IP_0 (E2END - 8)
#define OTA_SERVER_IP_1 (E2END - 9)
#define OTA_SERVER_IP_2 (E2END - 10)
#define OTA_SERVER_IP_3 (E2END - 11)
#define OTA_SERVER_PORT_H (E2END - 12)
#define OTA_SERVER_PORT_L (E2END - 13)
/*-----------------------------------------------------*/
#define OTA_START_SIG (uint8_t)(0xBE)
#define OTA_ATTEMPTED_SIG (uint8_t)(0xBE)
#define OTA_COMPLETED (uint8_t)(0xBE)
/*-----------------------------------------------------*/
#endif