]> cloudbase.mooo.com Git - z180-stamp.git/blame_incremental - include/config.h
Rename getenv() to getenv_char()
[z180-stamp.git] / include / config.h
... / ...
CommitLineData
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/* Environment variables */
11
12#define ENV_BAUDRATE "baudrate"
13#define ENV_BOOTDELAY "bootdelay"
14#define ENV_BOOTCMD "bootcmd"
15
16#define ENV_CPM3_SYSFILE "cpm3_file"
17#define ENV_CPM3_COMMON_BASE "cpm3_commonbase"
18#define ENV_CPM3_BANKED_BASE "cpm3_bankedbase"
19
20#define ENV_PINALIAS "pin_alias"
21#define ENV_STARTADDRESS "startaddress"
22#define ENV_ESC_CHAR "esc_char"
23
24#define CONFIG_ENV_SIZE 1600
25#define CONFIG_ENV_OFFSET 0
26#define CONFIG_ENVVAR_MAX 20
27
28#define CONFIG_BAUDRATE 115200L
29#define CONFIG_PWRON_DELAY 2000 /* ms to wait after power on */
30#define CONFIG_BOOTDELAY 4
31//#define CONFIG_ZERO_BOOTDELAY_CHECK 1
32
33#define CONFIG_CPM3_SYSFILE "1:/cpm3.sys"
34#define CONFIG_CPM3_COMMON_BASE 0xC000
35#define CONFIG_CPM3_BANKED_BASE 0x0
36#define CONFIG_CPM3_COMMON_BASE_STR "C000"
37#define CONFIG_CPM3_BANKED_BASE_STR "0"
38
39#define CONFIG_CMD_MEMTEST
40#define CONFIG_MX_CYCLIC
41#define CONFIG_SYS_RAMSIZE_MAX (1l<<19) /* max. addressable memory */
42
43#define CONFIG_CMD_DATE 1
44
45
46//#define CONFIG_CMD_LOADB
47
48
49#define CONFIG_SYS_I2C_RTC_ADDR 0x50
50#define CONFIG_SYS_I2C_BUFSIZE 64
51#define CONFIG_SYS_I2C_CLOCK 100000L /* SCL clock frequency in Hz */
52
53#define CONFIG_SYS_CBSIZE 250
54#define CONFIG_SYS_MAXARGS 8
55#define CONFIG_SYS_ENV_NAMELEN 16
56
57#define CONFIG_SYS_PROMPT "=> "
58#define CONFIG_ESC_CHAR ('^'-0x40)
59
60#define CONFIG_SYS_FBOOTSIG "Peda"
61
62#define CONFIG_CMDLINE_EDITING 1
63/* TODO: */
64//#define CONFIG_AUTO_COMPLETE 1
65
66#define CONFIG_SYS_LONGHELP 1
67
68#endif /* CONFIG_H */