diff options
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h new file mode 100644 index 0000000..1a82123 --- /dev/null +++ b/include/config.h @@ -0,0 +1,87 @@ +/* + * (C) Copyright 2014-2018 Leo C. <erbl259-lmu@yahoo.de> + * + * SPDX-License-Identifier: GPL-2.0 + */ + +#ifndef CONFIG_H +#define CONFIG_H + +/* Version */ +#define VERSION "0.6.8.3" + +/* Environment variables */ + +#define ENV_FMON "fmon" +#define ENV_BAUDRATE "baudrate" +#define ENV_BOOTDELAY "bootdelay" +#define ENV_BOOTCMD "bootcmd" + +#define ENV_CPU_FREQ "fcpu" +#define ENV_CPU "CPU" + +#define ENV_CPM3_SYSFILE "cpm3_file" +#define ENV_CPM3_COMMON_BASE "cpm3_commonbase" +#define ENV_CPM3_BANKED_BASE "cpm3_bankedbase" +#define ENV_CPM3_SCB "cpm3_scb" + +#define ENV_PINALIAS "pin_alias" +#define ENV_STARTADDRESS "startaddress" +#define ENV_ESC_CHAR "esc_char" + +#define ENV_HOME "HOME" +#define ENV_SINGLESTEP "singlestep" + +#define CONFIG_ENV_SIZE 1600 +#define CONFIG_ENV_OFFSET 0 +#define CONFIG_ENVVAR_MAX 40 + +#define CONFIG_BAUDRATE 115200 +#define CONFIG_PWRON_DELAY 2000 /* ms to wait after power on */ +#define CONFIG_BOOTDELAY 4 + +#define CONFIG_CPM3_SYSFILE "0:/cpm3.sys" +#define CONFIG_CPM3_COMMON_BASE 0xF000 +#define CONFIG_CPM3_BANKED_BASE 0x0 +//#define CONFIG_CPM3_COMMON_BASE_STR "F000" +#define CONFIG_CPM3_BANKED_BASE_STR "0" + +#define CONFIG_CPM_MAX_DRIVE 8 +#define CONFIG_CPM_MAX_DRNR_STR "7" +#define CONFIG_CPM_BASE_DRIVE 'A' +#define CONFIG_CPM_BLOCK_SIZE 512 + +#define CONFIG_CMD_MEMTEST +#define CONFIG_MX_CYCLIC +#define CONFIG_SYS_RAMSIZE_MAX (1l<<19) /* max. addressable memory */ + +#define CONFIG_CMD_DATE 1 + + +//#define CONFIG_CMD_LOADB + + +#define CONFIG_SYS_I2C_RTC_ADDR 0x50 +#define CONFIG_SYS_I2C_BUFSIZE 64 +#define CONFIG_SYS_I2C_CLOCK 100000L /* SCL clock frequency in Hz */ + +#define CONFIG_SYS_CBSIZE 250 +#define CONFIG_SYS_HIST_MAX 20 +#define CONFIG_SYS_MAXARGS 20 +#define CONFIG_SYS_ENV_NAMELEN 16 +#define CONFIG_SYS_HISTSIZE (CONFIG_SYS_CBSIZE*2) +#define CONFIG_SYS_MAX_PATHLEN 200 +#define CONFIG_SYS_MALLOC_MARGIN 256 + +#define CONFIG_SYS_PROMPT "-> " +#define CONFIG_SYS_PROMPT_REPEAT "=> " +#define CONFIG_ESC_CHAR ('^'-0x40) + +#define CONFIG_SYS_FBOOTSIG "Peda" + +/* TODO: */ +//#define CONFIG_AUTO_COMPLETE 1 + +#define CONFIG_SYS_LONGHELP 1 + +#endif /* CONFIG_H */ |