diff --git a/build/components/hyena.TWL/hyena.lsf b/build/components/hyena.TWL/hyena.lsf index 43fabadd..8585b7d5 100644 --- a/build/components/hyena.TWL/hyena.lsf +++ b/build/components/hyena.TWL/hyena.lsf @@ -53,6 +53,7 @@ Autoload WRAM libcdc_sp$(LIBSUFFIX).a \ libtpex_sp$(LIBSUFFIX).a \ libmicex_sp$(LIBSUFFIX).a \ + libmcu_sp$(LIBSUFFIX).a \ libboot_sp$(LIBSUFFIX).a \ libreboot_sp$(LIBSUFFIX).a \ libcardboot_sp$(LIBSUFFIX).a \ diff --git a/build/components/hyena.TWL/src/main.c b/build/components/hyena.TWL/src/main.c index a7c7e3c9..8d0b782e 100644 --- a/build/components/hyena.TWL/src/main.c +++ b/build/components/hyena.TWL/src/main.c @@ -46,6 +46,7 @@ /* Priorities of each threads */ #define THREAD_PRIO_SPI 2 +#define THREAD_PRIO_MCU 4 // 暫定 #define THREAD_PRIO_SND 6 #define THREAD_PRIO_FATFS 8 #define THREAD_PRIO_RTC 12 @@ -158,6 +159,7 @@ TwlSpMain(void) #ifndef SDK_NOCRYPTO AES_Init(); // AES 初期化 #endif + MCU_InitIrq(THREAD_PRIO_MCU); // MCU 初期化 } if (OSi_IsCodecTwlMode() == TRUE)