]> cloudbase.mooo.com Git - z180-stamp.git/blob - include/config.h
e20e094303a61a8f2614518a600c6af4454d883b
[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 30
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_CPM_MAX_DRIVE 8
45 #define CONFIG_CPM_BASE_DRIVE 'A'
46 #define CONFIG_CPM_BLOCK_SIZE 512
47
48 #define CONFIG_CMD_MEMTEST
49 #define CONFIG_MX_CYCLIC
50 #define CONFIG_SYS_RAMSIZE_MAX (1l<<19) /* max. addressable memory */
51
52 #define CONFIG_CMD_DATE 1
53
54
55 //#define CONFIG_CMD_LOADB
56
57
58 #define CONFIG_SYS_I2C_RTC_ADDR 0x50
59 #define CONFIG_SYS_I2C_BUFSIZE 64
60 #define CONFIG_SYS_I2C_CLOCK 100000L /* SCL clock frequency in Hz */
61
62 #define CONFIG_SYS_CBSIZE 250
63 #define CONFIG_SYS_MAXARGS 20
64 #define CONFIG_SYS_ENV_NAMELEN 16
65
66 #define CONFIG_SYS_PROMPT "=> "
67 #define CONFIG_ESC_CHAR ('^'-0x40)
68
69 #define CONFIG_SYS_FBOOTSIG "Peda"
70
71 /* TODO: */
72 //#define CONFIG_AUTO_COMPLETE 1
73
74 #define CONFIG_SYS_LONGHELP 1
75
76 #endif /* CONFIG_H */