mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-18 16:45:33 -04:00
39 lines
743 B
C
39 lines
743 B
C
#pragma SFR
|
|
#pragma di
|
|
#pragma ei
|
|
#pragma nop
|
|
#pragma stop
|
|
#pragma halt
|
|
|
|
|
|
#pragma section @@CODE LDR_CODE
|
|
#pragma section @@CODEL LDR_CODL
|
|
|
|
//#pragma section @@R_INIT FSL_RINT // これやるとスタートアップルーチンが初期値を
|
|
//#pragma section @@CNST FSL_CNST // セットしてくれない
|
|
#pragma section @@CNSTL LDR_CNSL
|
|
|
|
|
|
|
|
//=========================================================
|
|
#include "jhl_defs.h"
|
|
#include "user_define.h"
|
|
|
|
#include "bsr_system.h"
|
|
#include "renge.h"
|
|
|
|
#include "vreg_ctr.h"
|
|
#include "vreg_twl.h"
|
|
|
|
#include "loader.h"
|
|
|
|
#include "i2c_mcu.h"
|
|
|
|
#include "WDT.h"
|
|
|
|
|
|
|
|
//=========================================================
|
|
err firm_update( );
|
|
err firm_restore( );
|