mirror of
https://github.com/RoCry/blozi-etag.git
synced 2025-12-06 09:02:49 +08:00
53 lines
1.4 KiB
C
53 lines
1.4 KiB
C
/********************************************************************************************************
|
|
* @file config.h
|
|
*
|
|
* @brief This is the header file for TLSR8258
|
|
*
|
|
* @author author@telink-semi.com;
|
|
* @date May 8, 2018
|
|
*
|
|
* @par Copyright (c) 2018, Telink Semiconductor (Shanghai) Co., Ltd.
|
|
* All rights reserved.
|
|
*
|
|
* The information contained herein is confidential property of Telink
|
|
* Semiconductor (Shanghai) Co., Ltd. and is available under the terms
|
|
* of Commercial License Agreement between Telink Semiconductor (Shanghai)
|
|
* Co., Ltd. and the licensee or the terms described here-in. This heading
|
|
* MUST NOT be removed from this file.
|
|
*
|
|
* Licensees are granted free, non-transferable use of the information in this
|
|
* file under Mutual Non-Disclosure Agreement. NO WARRENTY of ANY KIND is provided.
|
|
*
|
|
*******************************************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
|
|
#define CHIP_TYPE_8255 1
|
|
#define CHIP_TYPE_8258 2
|
|
|
|
|
|
|
|
#ifndef CHIP_TYPE
|
|
#define CHIP_TYPE 1000
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MCU_CORE_8255 1
|
|
#define MCU_CORE_8258 2
|
|
|
|
|
|
#if(CHIP_TYPE == CHIP_TYPE_8255)
|
|
#define MCU_CORE_TYPE MCU_CORE_8255
|
|
#elif(CHIP_TYPE == CHIP_TYPE_8258)
|
|
#define MCU_CORE_TYPE MCU_CORE_8258
|
|
#else
|
|
#define MCU_CORE_TYPE 1000
|
|
#endif
|
|
|
|
|