summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeo C2018-04-04 00:08:52 +0200
committerLeo C2018-07-21 12:02:05 +0200
commit8a2b0da07c62b1ab1d9d2240268fbf71f59421dd (patch)
tree6680c4224313e251cb57635e96dd9cd3d904aacc /include
parent1d390146e3186c0eb94df0a1da8618fc89480127 (diff)
downloadz180-stamp-8a2b0da07c62b1ab1d9d2240268fbf71f59421dd.zip
fat commands are now subcommands of a single fat command. Added 'fat cd' and 'fat pwd'.
Diffstat (limited to 'include')
-rw-r--r--include/cmd_fat.h12
-rw-r--r--include/config.h2
2 files changed, 13 insertions, 1 deletions
diff --git a/include/cmd_fat.h b/include/cmd_fat.h
new file mode 100644
index 0000000..66be559
--- /dev/null
+++ b/include/cmd_fat.h
@@ -0,0 +1,12 @@
+/*
+ * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
+ *
+ * SPDX-License-Identifier: GPL-2.0
+ */
+
+#ifndef CMD_FAT_H
+#define CMD_FAT_H
+
+void setup_fatfs(void);
+
+#endif /* CMD_FAT_H */
diff --git a/include/config.h b/include/config.h
index 630e175..37373c7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -29,7 +29,7 @@
#define CONFIG_ENV_SIZE 1600
#define CONFIG_ENV_OFFSET 0
-#define CONFIG_ENVVAR_MAX 30
+#define CONFIG_ENVVAR_MAX 40
#define CONFIG_BAUDRATE 115200L
#define CONFIG_PWRON_DELAY 2000 /* ms to wait after power on */