]> cloudbase.mooo.com Git - z180-stamp.git/blame - include/config.h
Don't wait forever, if memfifo for console out is not initialized.
[z180-stamp.git] / include / config.h
CommitLineData
35edb766
L
1/*
2 * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
c93a1fd4 7#ifndef CONFIG_H
d684c216
L
8#define CONFIG_H
9
70c99491
L
10/* Environment variables */
11
12#define ENV_BAUDRATE "baudrate"
13#define ENV_BOOTDELAY "bootdelay"
c93a1fd4 14#define ENV_BOOTCMD "bootcmd"
70c99491
L
15#define ENV_PINALIAS "pin_alias"
16
323398b1 17#define CONFIG_ENV_SIZE 1600
d684c216
L
18#define CONFIG_ENV_OFFSET 0
19#define CONFIG_ENVVAR_MAX 20
20
f14850db 21#define CONFIG_BAUDRATE 115200L
c93a1fd4 22#define CONFIG_PWRON_DELAY 2000 /* ms to wait after power on */
d684c216
L
23#define CONFIG_BOOTDELAY 4
24//#define CONFIG_ZERO_BOOTDELAY_CHECK 1
25
72f58822
L
26//#define CONFIG_LOOPW
27//#define CONFIG_CMD_MEMTEST
28//#define CONFIG_MX_CYCLIC
29
61b0cfe9
L
30#define CONFIG_CMD_DATE 1
31
32#define CONFIG_SYS_I2C_RTC_ADDR 0x50
33#define CONFIG_SYS_I2C_BUFSIZE 64
35e9ec0c 34#define CONFIG_SYS_I2C_CLOCK 100000L /* SCL clock frequency in Hz */
61b0cfe9 35
d684c216 36#define CONFIG_SYS_CBSIZE 250
d684c216 37#define CONFIG_SYS_MAXARGS 8
deb08cb6 38#define CONFIG_SYS_ENV_NAMELEN 16
d684c216
L
39
40#define CONFIG_SYS_PROMPT "=> "
89adce76 41#define CONFIG_ESC_CHAR ('^'-0x40)
d684c216
L
42
43
dea9a315 44/* TODO: */
d684c216
L
45//#define CONFIG_CMDLINE_EDITING 1
46//#define CONFIG_AUTO_COMPLETE 1
47
48#define CONFIG_SYS_LONGHELP 1
49
50#endif /* CONFIG_H */