mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
割り込み禁止を短くした。まだ変更の予定なので、とりあえずバックアップのつもり。 動いているようではある 歩数計のデバッグコードを抜いた ADCピンの設定を修正 TypeTでカメラLED反転を忘れていた 未使用になったピンの処理 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@66 013db118-44a6-b54f-8bf7-843cb86687b1
56 lines
787 B
C
56 lines
787 B
C
#ifndef __config__
|
|
#define __config__
|
|
|
|
#define _debug_
|
|
#define _debug_led_
|
|
|
|
|
|
#define MCU_VER_MAJOR 0x00;
|
|
#define MCU_VER_MINOR 0x0B;
|
|
|
|
#define _OVERCLOCK_
|
|
|
|
// 古い(C)電源ボード
|
|
//#define _PM_BUG_
|
|
|
|
//#define _PARRADIUM_
|
|
//#define _MODEL_TEG2_
|
|
//#define _MODEL_WM0_
|
|
#define _MODEL_TS0_
|
|
//#define _MODEL_CTR_
|
|
|
|
//#define _SW_HOME_ENABLE_
|
|
|
|
//#define _SAITO_
|
|
|
|
// ---------------------------------- //
|
|
|
|
#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
|