summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/fe_config.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/fe_config.c b/config/fe_config.c
new file mode 100644
index 0000000..f486cf0
--- /dev/null
+++ b/config/fe_config.c
@@ -0,0 +1,17 @@
+#ifndef __FE_CONFIG_H__
+#define __FE_CONFIG_H__
+
+#include <fe_config_backend.h>
+
+const struct fe_config_def fe_config = {
+ .bootloader_enable_pin = { FE_CONFIG_GPIOB, 0 },
+ .bootloader_enable_level = 1,
+ .signature_disable_pin = { FE_CONFIG_GPIOB, 1 },
+ .signature_disable_level = 1,
+ .usart = FE_CONFIG_USART1_PB7,
+ .baudrate = 115200,
+ /* The following string happens to be a valid COBS frame. */
+ .welcome_string = "Fenris Bootloader\r\n(c) 2020 jaseg\r\nSee https://git.jaseg.de/fenris \r\n",
+};
+
+#endif /* __FE_CONFIG_H__ */