]> cloudbase.mooo.com Git - z180-stamp.git/blame - include/config.h
f_sync only, when timout (currently 1s) after last write operation.
[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"
c0abd68b 15#define ENV_PATH_CPM3SYS "cpm3_file"
70c99491 16#define ENV_PINALIAS "pin_alias"
c0abd68b
L
17#define ENV_STARTADDRESS "startaddress"
18
19#define CONFIG_PATH_CPM3SYS "1:/cpm3.sys"
70c99491 20
323398b1 21#define CONFIG_ENV_SIZE 1600
d684c216
L
22#define CONFIG_ENV_OFFSET 0
23#define CONFIG_ENVVAR_MAX 20
24
f14850db 25#define CONFIG_BAUDRATE 115200L
c93a1fd4 26#define CONFIG_PWRON_DELAY 2000 /* ms to wait after power on */
d684c216
L
27#define CONFIG_BOOTDELAY 4
28//#define CONFIG_ZERO_BOOTDELAY_CHECK 1
29
5480dc65
L
30#define CONFIG_CMD_MEMTEST
31#define CONFIG_MX_CYCLIC
32#define CONFIG_SYS_RAMSIZE_MAX (1l<<19) /* max. addressable memory */
72f58822 33
61b0cfe9
L
34#define CONFIG_CMD_DATE 1
35
393b1897
L
36
37//#define CONFIG_CMD_LOADB
38
39
61b0cfe9
L
40#define CONFIG_SYS_I2C_RTC_ADDR 0x50
41#define CONFIG_SYS_I2C_BUFSIZE 64
35e9ec0c 42#define CONFIG_SYS_I2C_CLOCK 100000L /* SCL clock frequency in Hz */
61b0cfe9 43
d684c216 44#define CONFIG_SYS_CBSIZE 250
d684c216 45#define CONFIG_SYS_MAXARGS 8
deb08cb6 46#define CONFIG_SYS_ENV_NAMELEN 16
d684c216
L
47
48#define CONFIG_SYS_PROMPT "=> "
89adce76 49#define CONFIG_ESC_CHAR ('^'-0x40)
d684c216 50
c748023e
L
51#define CONFIG_SYS_FBOOTSIG "Peda"
52
d684c216 53
dea9a315 54/* TODO: */
d684c216
L
55//#define CONFIG_CMDLINE_EDITING 1
56//#define CONFIG_AUTO_COMPLETE 1
57
58#define CONFIG_SYS_LONGHELP 1
59
60#endif /* CONFIG_H */