From d8c00ac666cd5cceb90d9270babf99fbedc3abb1 Mon Sep 17 00:00:00 2001 From: harbaum Date: Fri, 24 Nov 2023 08:19:03 +0100 Subject: [PATCH] Add ini files --- bl616/misterynano_fw/misterynano_fw_bl616_cfg.ini | 12 ++++++++++++ bl616/misterynano_fw/spi.h | 2 +- bl616/usb_hid/usbhost_bl616_cfg.ini | 12 ++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 bl616/misterynano_fw/misterynano_fw_bl616_cfg.ini create mode 100644 bl616/usb_hid/usbhost_bl616_cfg.ini diff --git a/bl616/misterynano_fw/misterynano_fw_bl616_cfg.ini b/bl616/misterynano_fw/misterynano_fw_bl616_cfg.ini new file mode 100644 index 0000000..80fe340 --- /dev/null +++ b/bl616/misterynano_fw/misterynano_fw_bl616_cfg.ini @@ -0,0 +1,12 @@ +[cfg] +# 0: no erase, 1:programmed section erase, 2: chip erase +erase = 1 +# skip mode set first para is skip addr, second para is skip len, multi-segment region with ; separated +skip_mode = 0x0, 0x0 +# 0: not use isp mode, #1: isp mode +boot2_isp_mode = 0 + +[FW] +filedir = ./misterynano_fw_bl616.bin +address = 0x000000 + diff --git a/bl616/misterynano_fw/spi.h b/bl616/misterynano_fw/spi.h index 52c57c3..63bc1fa 100644 --- a/bl616/misterynano_fw/spi.h +++ b/bl616/misterynano_fw/spi.h @@ -20,7 +20,7 @@ #define SPI_SDC_STATUS 1 // get sd card status #define SPI_SDC_READ 2 // trigger core read #define SPI_SDC_MCU_READ 3 // read sector into MCU (e.g. for dir listing) -#define SPI_SDC_INSERTED 4 // inform core that some disk image has been insered +#define SPI_SDC_INSERTED 4 // inform core that some disk image has been inserted typedef struct { #ifndef SDL diff --git a/bl616/usb_hid/usbhost_bl616_cfg.ini b/bl616/usb_hid/usbhost_bl616_cfg.ini new file mode 100644 index 0000000..c6fc8dc --- /dev/null +++ b/bl616/usb_hid/usbhost_bl616_cfg.ini @@ -0,0 +1,12 @@ +[cfg] +# 0: no erase, 1:programmed section erase, 2: chip erase +erase = 1 +# skip mode set first para is skip addr, second para is skip len, multi-segment region with ; separated +skip_mode = 0x0, 0x0 +# 0: not use isp mode, #1: isp mode +boot2_isp_mode = 0 + +[FW] +filedir = ./usbhost_bl616.bin +address = 0x000000 +