update clock blk
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "rtos_qspi_flash.h"
|
||||
#include "swlock.h"
|
||||
#include "debug_print.h"
|
||||
#include "uac_hwresources.h"
|
||||
#if HID_DFU_EN
|
||||
#include "dfu_upgrade.h"
|
||||
#endif
|
||||
@@ -14,7 +15,7 @@ lfs_file_t file;
|
||||
swlock_t lfs_lock = SWLOCK_INITIAL_VALUE;
|
||||
|
||||
static rtos_qspi_flash_t qspi_flash_ctx_s;
|
||||
#define FLASH_CLKBLK XS1_CLKBLK_1
|
||||
#define FLASH_CLKBLK CLKBLK_FLASHLIB
|
||||
#ifndef FS_BASE_ADDR
|
||||
#define FS_BASE_ADDR (2500 * 1024)
|
||||
#endif
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <quadflashlib.h>
|
||||
#include <xcore/chanend.h>
|
||||
#include <xcore/channel.h>
|
||||
#include "uac_hwresources.h"
|
||||
#include "hmac.h"
|
||||
#include "xua_conf.h"
|
||||
|
||||
@@ -87,7 +88,7 @@ fl_QSPIPorts p_qflash_tile0 =
|
||||
XS1_PORT_1B,
|
||||
XS1_PORT_1C,
|
||||
XS1_PORT_4B,
|
||||
XS1_CLKBLK_1
|
||||
CLKBLK_FLASHLIB
|
||||
};
|
||||
|
||||
fl_QSPIPorts p_qflash_tile1 =
|
||||
@@ -95,7 +96,7 @@ fl_QSPIPorts p_qflash_tile1 =
|
||||
XS1_PORT_1F,
|
||||
XS1_PORT_1G,
|
||||
XS1_PORT_4D,
|
||||
XS1_CLKBLK_1
|
||||
CLKBLK_FLASHLIB
|
||||
};
|
||||
|
||||
/* return 1 for opened ports successfully */
|
||||
|
||||
Reference in New Issue
Block a user