1#ifndef __CONFIG_H_
2#define __CONFIG_H_
3
4#define POT_MTD			"/dev/mtd12"
5#define POT_FILENAME		"/tmp/pot_value"
6
7#define POT_MAX_VALUE	4320		/* 4320 minutes */
8#define POT_RESOLUTION	1		/* minute */
9#define POT_PORT	3333		/* potval listen this port */
10
11#define NAND_FLASH_BLOCKSIZE	(128 * 1024) /* bytes, 128KB */
12#define NAND_FLASH_PAGESIZE	2048
13#define FIRST_NTP_TIME_OFFSET	(2 * NAND_FLASH_BLOCKSIZE)
14#define FIRST_WIFISTATION_MAC_OFFSET	(FIRST_NTP_TIME_OFFSET + NAND_FLASH_PAGESIZE)
15
16#endif
17