]> cloudbase.mooo.com Git - z180-stamp.git/blob - include/config.h
9217a5464b308656324bf84fb07dbcf98cfd0be5
[z180-stamp.git] / include / config.h
1 /*
2 * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
3 *
4 * SPDX-License-Identifier: GPL-2.0
5 */
6
7 #ifndef CONFIG_H
8 #define CONFIG_H
9
10 /* Version */
11 #define VERSION "0.6.6.1"
12
13 /* Environment variables */
14
15 #define ENV_BAUDRATE "baudrate"
16 #define ENV_BOOTDELAY "bootdelay"
17 #define ENV_BOOTCMD "bootcmd"
18
19 #define ENV_CPM3_SYSFILE "cpm3_file"
20 #define ENV_CPM3_COMMON_BASE "cpm3_commonbase"
21 #define ENV_CPM3_BANKED_BASE "cpm3_bankedbase"
22
23 #define ENV_PINALIAS "pin_alias"
24 #define ENV_STARTADDRESS "startaddress"
25 #define ENV_ESC_CHAR "esc_char"
26
27 #define ENV_SINGLESTEP "singlestep"
28
29 #define CONFIG_ENV_SIZE 1600
30 #define CONFIG_ENV_OFFSET 0
31 #define CONFIG_ENVVAR_MAX 20
32
33 #define CONFIG_BAUDRATE 115200L
34 #define CONFIG_PWRON_DELAY 2000 /* ms to wait after power on */
35 #define CONFIG_BOOTDELAY 4
36 //#define CONFIG_ZERO_BOOTDELAY_CHECK 1
37
38 #define CONFIG_CPM3_SYSFILE "0:/cpm3.sys"
39 #define CONFIG_CPM3_COMMON_BASE 0xF000
40 #define CONFIG_CPM3_BANKED_BASE 0x0
41 //#define CONFIG_CPM3_COMMON_BASE_STR "F000"
42 #define CONFIG_CPM3_BANKED_BASE_STR "0"
43
44 #define CONFIG_CMD_MEMTEST
45 #define CONFIG_MX_CYCLIC
46 #define CONFIG_SYS_RAMSIZE_MAX (1l<<19) /* max. addressable memory */
47
48 #define CONFIG_CMD_DATE 1
49
50
51 //#define CONFIG_CMD_LOADB
52
53
54 #define CONFIG_SYS_I2C_RTC_ADDR 0x50
55 #define CONFIG_SYS_I2C_BUFSIZE 64
56 #define CONFIG_SYS_I2C_CLOCK 100000L /* SCL clock frequency in Hz */
57
58 #define CONFIG_SYS_CBSIZE 250
59 #define CONFIG_SYS_MAXARGS 8
60 #define CONFIG_SYS_ENV_NAMELEN 16
61
62 #define CONFIG_SYS_PROMPT "=> "
63 #define CONFIG_ESC_CHAR ('^'-0x40)
64
65 #define CONFIG_SYS_FBOOTSIG "Peda"
66
67 /* TODO: */
68 //#define CONFIG_AUTO_COMPLETE 1
69
70 #define CONFIG_SYS_LONGHELP 1
71
72 #endif /* CONFIG_H */