TMC32_QJB/App/factorysettings.c
2026-04-30 16:23:12 +08:00

39 lines
1.6 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
******************************************************************************
* @file factorysettings.c
* @author TMS Scan Team
* @version
* @date 2020-03-12
* @brief
******************************************************************************
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, TMC SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* <h2><center>&copy; COPYRIGHT 2020 TMS</center></h2>
******************************************************************************
**/
/********************************End of Head************************************/
#include "global.h"
/*********************************************************************************
* 下载时,SN和PRODUCT_FLAG区域默认清0
* 更新程序时可以加上宏定义UPDATE这样编译程序不处理SN和PRODUCT_FLAG区域
*********************************************************************************/
#ifndef UPDATE
const uint8_t USERSN[FLASHPAGESIZE] __attribute__((at(TUSNADDR))) = {0};
const uint8_t PRODUCT_FLAG[FLASHPAGESIZE] __attribute__((at(PRODUCT_FLAG_ADDR))) = {0};
const uint8_t LICENSE_FLAG[FLASHPAGESIZE] __attribute__((at(LINSCENCE))) = {0};
#endif
/********************************End of File************************************/