mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
SVR2を一時的に64段階に(値が飛び飛びで0-0xFC) BL_OFFコマンド時はウェイトを入れない(PWMが入る前にBL-ONしてシャットダウンの回避を修正) 互換性検証 100208リリース git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@95 013db118-44a6-b54f-8bf7-843cb86687b1
56 lines
791 B
C
56 lines
791 B
C
#ifndef __config__
|
|
#define __config__
|
|
|
|
#define _debug_
|
|
//#define _debug_led_
|
|
|
|
|
|
#define MCU_VER_MAJOR 0x00
|
|
#define MCU_VER_MINOR 0x0E
|
|
|
|
#define _OVERCLOCK_
|
|
|
|
//#define PM_CCIC_TIM
|
|
|
|
// 古い(C)電源ボード
|
|
//#define _PM_BUG_
|
|
|
|
//#define _PARRADIUM_
|
|
//#define _MODEL_TEG2_
|
|
#define _MODEL_WM0_
|
|
//#define _MODEL_TS0_
|
|
//#define _MODEL_CTR_
|
|
|
|
//#define _SW_HOME_ENABLE_
|
|
|
|
// ---------------------------------- //
|
|
|
|
#ifdef _MODEL_TEG2_
|
|
#define _PMIC_TWL_
|
|
#define _MCU_KE3_
|
|
#endif
|
|
|
|
|
|
#ifdef _MODEL_WM0_
|
|
#define _PMIC_TWL_
|
|
#define _MCU_BSR_
|
|
#define _SW_HOME_ENABLE_
|
|
#endif
|
|
|
|
|
|
#ifdef _MODEL_TS0_
|
|
#define _PMIC_CTR_
|
|
#define _MCU_BSR_
|
|
#endif
|
|
|
|
/*
|
|
まだみぬ
|
|
#ifdef _MODEL_CTR_
|
|
#define _PMIC_CTR_
|
|
#define _MCU_BSR_
|
|
#define _SW_HOME_ENABLE_
|
|
#endif
|
|
*/
|
|
|
|
#endif
|