ctr_mcu/trunk/config.h
N2232 a159bca802 お知らせLEDを修正する前にバックアップを兼ね
修正:CTRCでヘッドホンから音が出ない
追加:白箱からの強制OFF
修正・追加:互換アプリのプレイ時間記録のためのフリーレジスタ
   お知らせLEDの仕様追加の件もあるので自己書き換え部分も含め
    RAM関係修正
修正:自己アップデートとWDTリセットの区別が付くようになった
修正:電池挿入直後が、普通に電源OFF時よりも消費電力が大きい
    ポートの初期値設定忘れ(TWL PMIC向けに書いていたときの名残)
無駄にstaticで確保してあるのを適切に
エラーコードが不適切だった物を修正
レジスタの初期値間違い
フリーレジスタを増やして歩数計を減らしたのでいろいろ修正
CTRCででポップ解除を忘れていた(イヤホンから音でない)


git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@126 013db118-44a6-b54f-8bf7-843cb86687b1
2010-04-16 11:07:54 +00:00

59 lines
930 B
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.

#ifndef __config__
#define __config__
//#define _debug_
//#define _debug_led_
#define MCU_VER_MAJOR 0x00
#define MCU_VER_MINOR 0x12
#define _OVERCLOCK_
//#define PM_CCIC_TIM
// 古い(C)電源ボード
//#define _PM_BUG_
//#define _PARRADIUM_
//#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_
// ↑FINAL SoC Type-C
#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