mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-18 16:45:33 -04:00
41 lines
807 B
C
41 lines
807 B
C
#ifndef _WIN32
|
|
#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
|
|
|
|
#endif
|
|
|
|
# ifdef _WIN32
|
|
// VCの赤線をどうにかする
|
|
#include "sim/simOnWin.h"
|
|
# endif
|
|
|
|
|
|
//=========================================================
|
|
#include "jhl_defs.h"
|
|
#include "user_define.h"
|
|
|
|
#include "hal.h"
|
|
|
|
#include "bsr_system.h"
|
|
#include "renge\renge.h"
|
|
|
|
#include "vreg_ctr.h"
|
|
#include "vreg_twl.h"
|
|
|
|
|
|
//=========================================================
|
|
void firm_update( );
|
|
void firm_restore( );
|