mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-19 09:05:48 -04:00

歩数計修正(途中) 電源シーケンス修正 inita時に電源が切れないようにする(PWMを止められたらすぐに勝手にBLを消す) off時32kHzを止めるのを忘れていた git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@34 013db118-44a6-b54f-8bf7-843cb86687b1
54 lines
769 B
C
54 lines
769 B
C
#ifndef __config__
|
|
#define __config__
|
|
|
|
#define _debug_
|
|
// #define _debug_led_
|
|
|
|
|
|
#define MCU_VER_MAJOR 0x00;
|
|
#define MCU_VER_MINOR 0x0C;
|
|
|
|
#define _OVERCLOCK_
|
|
|
|
// 古い(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
|