ctr_mcu/branches/nup0/config.h
n2232 5d39dbe347 [branch] 0nup 1.33
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@339 013db118-44a6-b54f-8bf7-843cb86687b1
2011-06-09 08:44:21 +00:00

78 lines
1.6 KiB
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.

#ifndef __config__
#define __config__
//#define _debug_led_
//#define _ALLOW_NOBATT_
//#define _DEBUG_BT_FUEL_
//#define _DEBUG_BT_TEMP_
//#define _DBG_PEDO_AUTO_ENABLE_
//#define _DBG_LED_PRINT_
//#define _DBG_FORCE_FULLCOLOR_
//#define _PMIC_TEST_
//#define _ENABLE_WDT_TEST_
//#define _FORCE_TAIKENDAI_
//#define _FORCE_TAIKENDAI_NBD_
//#define _TAIKENDAI_SEISAN_SPECIAL_
// 生産中に体験台向け使用が発症すると、アダプタがないと電源が入らずに検査に支障があるので一時ファーム
//#define _TAIKENDAI_
// homeメニューに入れてしまうのを回避する特殊ファームをつくる。ROMが足りないので電池パラメータ周りをパスする
#define MCU_VER_MAJOR 0x01
#define MCU_VER_MINOR 0x33
// ↑改訂の時は↓気をつけないと体験台の生産できないからね!
#ifdef _TAIKENDAI_SEISAN_SPECIAL_
#define MCU_VER_MINOR 0x80
#endif
#ifdef _TAIKENDAI_
#define MCU_VER_MINOR 0x90
// 0x90 1.31 相当 HOMEに入れてしまうのをスイッチのマスクで対策
// ROM不足のため、電池パラメータ削除
#endif
#define _firm_format_v3_
//#define _MODEL_TEG2_
// ↑TEG2 CPU Type-T
//#define _MODEL_WM0_
//#define _MODEL_WM0_TEG2_CTRC_
//#define _MODEL_TS0_
// ↑TEG2 CPU Type-C
#define _MODEL_CTR_
// ↑TS board, WM1,1 TS-CTRC, 実機
// 特殊仕様 //
//#define _SW_HOME_ENABLE_
// ---------------------------------- //
#ifdef _MODEL_TEG2_
unsupported!
#endif
#ifdef _MODEL_WM0_
unsupported!
#endif
#ifdef _MODEL_TS0_
unsupported!
#endif
#ifdef _MODEL_CTR_
#define _PMIC_CTR_
#define _MCU_BSR_
#define _SW_HOME_ENABLE_
#endif
#endif