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