Skip to content

Commit

Permalink
Add ini files
Browse files Browse the repository at this point in the history
  • Loading branch information
harbaum committed Nov 24, 2023
1 parent 85ceff3 commit d8c00ac
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
12 changes: 12 additions & 0 deletions bl616/misterynano_fw/misterynano_fw_bl616_cfg.ini
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion bl616/misterynano_fw/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions bl616/usb_hid/usbhost_bl616_cfg.ini
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d8c00ac

Please sign in to comment.