・ADCのISR内、の割り込み禁止期間の関係でI2C_twlに遅延・リトライを受けることがあり、データ化け→電源断など起こる恐れがあった。

・同、念のためADC結果をローカルにコピーしてから使用する
・逐次実行のタスクシステムを変えた(↑の遅延はこちらを疑っていたため)
 ちょうどきれいになったししばらく試用する。ダメならさっさと巻き戻す。


git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@179 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
N2232 2010-05-26 13:03:22 +00:00
parent 271d9fdda8
commit 9bf41da1b2
5 changed files with 144 additions and 462 deletions

View File

@ -240,17 +240,22 @@ __interrupt void int_adc( )
static u8 hist_bt_temp[3]; static u8 hist_bt_temp[3];
static u8 index; static u8 index;
// EI( ); volatile u8 adc_data;
adc_data = ADCRH;
EI();
switch ( ADS ) switch ( ADS )
{ {
/* /*
case ( ADC_SEL_AMB_BRIT ): // 環境明るさ case ( ADC_SEL_AMB_BRIT ): // 環境明るさ
vreg_ctr[ VREG_C_AMBIENT_BRIGHTNESS ] = ADCRH; vreg_ctr[ VREG_C_AMBIENT_BRIGHTNESS ] = adc_data;
break; break;
*/ */
case ( ADC_SEL_TUNE ): case ( ADC_SEL_TUNE ):
hist_tune[index] = ADCRH; hist_tune[index] = adc_data;
#ifdef _MODEL_WM0_ #ifdef _MODEL_WM0_
adc_raw_dep = 255 - getmean3( hist_tune ); adc_raw_dep = 255 - getmean3( hist_tune );
#else #else
@ -259,7 +264,7 @@ case ( ADC_SEL_AMB_BRIT ): //
break; break;
case ( ADC_SEL_VOL ): case ( ADC_SEL_VOL ):
hist_snd_vol[index] = ADCRH; hist_snd_vol[index] = adc_data;
#ifdef _MODEL_CTR_ #ifdef _MODEL_CTR_
if( system_status.model == MODEL_TS_BOARD ) if( system_status.model == MODEL_TS_BOARD )
{ {
@ -280,7 +285,7 @@ case ( ADC_SEL_AMB_BRIT ): //
break; break;
case ( ADC_SEL_BATT_TEMP ): case ( ADC_SEL_BATT_TEMP ):
hist_bt_temp[index] = ADCRH; hist_bt_temp[index] = adc_data;
raw_adc_temperature = getmean3( hist_bt_temp ); raw_adc_temperature = getmean3( hist_bt_temp );
renge_task_immed_add( BT_temp_update ); renge_task_immed_add( BT_temp_update );
break; break;
@ -296,7 +301,7 @@ case ( ADC_SEL_AMB_BRIT ): //
if( ADS != ADC_SEL_BATT_TEMP ) if( ADS != ADC_SEL_BATT_TEMP )
{ // 電池判別は電源投入の一回のみ { // 電池判別は電源投入の一回のみ
ADS += 1; // 次のチャンネル ADS += 1; // 次のチャンネル
ADIF = 0; ADIF = 0; // ←これをしないと、いっこ前のチャンネルのデータの完了で直後に割り込む可能性がある
} }
else else
{ {

View File

@ -406,9 +406,9 @@ __interrupt void intp5_shell( )
=========================================================*/ =========================================================*/
__interrupt void intp6_PM_irq( ) __interrupt void intp6_PM_irq( )
{ {
EI();
if( system_status.pwr_state == ON ) if( system_status.pwr_state == ON )
{ {
EI();
renge_task_immed_add( ntr_pmic_comm ); renge_task_immed_add( ntr_pmic_comm );
} }
} }

View File

@ -135,35 +135,28 @@ err renge_task_immed_add( task_status* new_task ){
// 重複登録を避ける // 重複登録を避ける
for( i = 0; i < TASK_IMMED_RUN_LIST_MAX; i += 1 ) for( i = 0; i < TASK_IMMED_RUN_LIST_MAX; i += 1 )
{ {
if( tasks_immed[ i ] != TSK_IMM_EMPTY_ ) DI();
if( tasks_immed[ i ] == TSK_IMM_EMPTY_ )
{ {
// 重複登録チェック // 空きを見つけた
if( tasks_immed[ i ] == new_task ) tasks_immed[ i ] = new_task;
{ EI();
// 重複登録はしない return( ERR_SUCCESS );
NOP();
return( ERR_ERR );
}
} }
else else
{ {
// 空きを見つけた // 重複登録チェック
// もたもたしているうちに割り込み等から割り込まれるのを考慮 /// 歯抜けになってない、前詰めされてる前提
// 滅多にないはずだが if( tasks_immed[ i ] == new_task )
for( ; i < TASK_IMMED_RUN_LIST_MAX; i += 1 )
{ {
if( tasks_immed[ i ] == TSK_IMM_EMPTY_ ) // 重複登録はしない
{ EI();
tasks_immed[ i ] = new_task; return( ERR_ERR );
return( ERR_SUCCESS );
}
} }
// 割り込まれてタスク登録できなくなった
return( ERR_ERR );
} }
EI();
} }
// タスク登録しすぎ(無いはず // タスク登録しすぎ(無いはず
NOP(); // デバッガで捕まえるため
return( ERR_ERR ); return( ERR_ERR );
} }
@ -173,160 +166,127 @@ err renge_task_immed_add( task_status* new_task ){
**************************************/ **************************************/
err renge_task_immed_run(){ err renge_task_immed_run(){
u8 list_id; u8 list_id;
u8 last_task_id;
do{ while( tasks_immed[ 0 ] != TSK_IMM_EMPTY_ )
last_task_id = 0xFF; {
for( list_id = 0; list_id < TASK_IMMED_RUN_LIST_MAX; list_id += 1 ){ DI();
if( tasks_immed[ list_id ] != TSK_IMM_EMPTY_ ){ for( list_id = 0; list_id < TASK_IMMED_RUN_LIST_MAX; list_id += 1 ){
if( tasks_immed[ list_id ] == TSK_IMM_EMPTY_ ){
// リスト完了
EI();
break;
}
#ifdef _renge_test_ #ifdef _renge_test_
if( tasks_immed[ list_id ] == TSK_IMM_DELETED_ ) else if( tasks_immed[ list_id ] == TSK_IMM_DELETED_ )
{ {
NOP(); EI();
// タスク管理の不備 NOP();
// 存在しないタスクを実行しようとした // タスク管理の不備
// タスクの削除後の処理がまずい // 存在しないタスクを実行しようとした
// 予期しないタイミングで immed_run が呼ばれた // タスクの削除後の処理がまずい
} // 予期しないタイミングで immed_run が呼ばれた
else }
#endif #endif
{ else
u8 temp; {
u8 rv;
temp = tasks_immed[ list_id ](); EI();
DI(); rv = tasks_immed[ list_id ]();
if( temp == ERR_SUCCESS ) if( rv == ERR_SUCCESS )
{ {
tasks_immed[ list_id ] = TSK_IMM_DELETED_; tasks_immed[ list_id ] = TSK_IMM_DELETED_;
} }
last_task_id = list_id; }
EI(); DI();
} }
} // リスト上のタスクを一通り実行した
#ifdef _renge_test_
else
{
list_id += 1;
for( ; list_id < TASK_IMMED_RUN_LIST_MAX; list_id++ )
{
if( tasks_immed[ list_id ] != TSK_IMM_EMPTY_ )
{
NOP(); // ?
}
}
break;
}
#endif
}
// タスク削除 // タスク削除 //
{ {
if( last_task_id != 0xFF ) u8 i = 0; // リストの並べ替え先
{ u8 j = 1;
u8 i,j;
// リスト前詰め
i = 0; // 前詰め後リストの最後尾 // 必ず i < j、j < TASK_IMMED_RUN_LIST_MAX (でないとタスクあふれ)
j = 1; // リストの後ろの方のタスクを探す while( 1 )
for( ; j < TASK_IMMED_RUN_LIST_MAX; j++ ) {
{ if( tasks_immed[ i ] == TSK_IMM_EMPTY_ )
DI(); {
if( tasks_immed[ i ] == TSK_IMM_DELETED_ ) // 前詰め完了 && リスト空っぽ
{ // break;
if( tasks_immed[ j ] == TSK_IMM_EMPTY_ ) goto imm_list_sort_fin;
{ }
// リストの最後だった else if( tasks_immed[ i ] == TSK_IMM_DELETED_ )
for( ; i < j ; i += 1 ) {
{ for( ; j < TASK_IMMED_RUN_LIST_MAX; j++ )
tasks_immed[ i ] = TSK_IMM_EMPTY_; {
} if( tasks_immed[ j ] == TSK_IMM_DELETED_ )
#ifdef _renge_test_ {
/// ほんと? // 隣(?)も削除対象だった
j += 1; // next j
for( ; j < TASK_IMMED_RUN_LIST_MAX; j++ ) }
{ else
if( tasks_immed[ j ] != TSK_IMM_EMPTY_ ) {
{ DI();
NOP(); // ? if( tasks_immed[ j ] == TSK_IMM_EMPTY_ )
} {
} do{
#endif j -= 1;
break; DI();
} tasks_immed[ j ] = TSK_IMM_EMPTY_;
if( tasks_immed[ j ] != TSK_IMM_DELETED_ ) // リスト前詰め完了
{ EI();
// 探索隊が前詰めすべきタスクを見つけた }while( i < j );
tasks_immed[ i ] = tasks_immed[ j ]; goto imm_list_sort_fin;
tasks_immed[ j ] = TSK_IMM_DELETED_; }
i += 1; else
} {
} // 前詰めすべきタスクを見つけた
else tasks_immed[ i ] = tasks_immed[ j ];
{ tasks_immed[ j ] = TSK_IMM_DELETED_;
#ifdef _renge_test_ i += 1;
// タスクが滞留 EI();
if( tasks_immed[ i ] == TSK_IMM_EMPTY_ ) }
{ }
NOP(); }
// そんなはずない }
} else
#endif {
i += 1; // このタスク、滞留
} }
EI(); i += 1;
if( tasks_immed[ i ] == TSK_IMM_EMPTY_ ) }
{ }
#ifdef _renge_test_
NOP();
#endif
break;
// リストの最後だった
}
}
// ここまでで完全に前詰めされている imm_list_sort_fin:
for( j = 0; j < TASK_IMMED_RUN_LIST_MAX; j++ ) // ここまでで完全に前詰めされている
{
if( tasks_immed[ j ] == TSK_IMM_EMPTY_ )
{
#ifdef _renge_test_ #ifdef _renge_test_
j += 1; /// ほんと?
for( ; j < TASK_IMMED_RUN_LIST_MAX; j++ ) {
{ u8 a,b;
if( tasks_immed[ j ] != TSK_IMM_EMPTY_ )
{ a = 0;
NOP(); // ? for( b = 0 ; b < TASK_IMMED_RUN_LIST_MAX; b++ )
} {
} if( tasks_immed[ b ] == TSK_IMM_EMPTY_ )
#endif {
break; a = 1;
// リストの最後 }
} else
DI(); {
if( tasks_immed[ j ] == TSK_IMM_DELETED_ ) if( a != 0 )
{ {
tasks_immed[ j ] = TSK_IMM_EMPTY_; NOP(); // EMPTYより後ろにタスクやdeletedが有る
} }
EI(); }
} }
} }
EI();
}
}
#if 0
while( last_task_id != 0xFF ); // タスクが残っていたら延々再実行
#else #else
while( 0 ); NOP(); // リンカが怒る
#endif #endif
}
if( last_task_id != 0xFF ) return( ERR_SUCCESS );
{
// まだタスクが残ってる(また呼んでね)
return( ERR_ERR );
}
return( ERR_SUCCESS );
} }

View File

@ -9,7 +9,8 @@
#ifdef _debug_led_ #ifdef _debug_led_
# define DBG_LED_on { PM2.1 = 0; P2.1 = 1; } # define DBG_LED_on { PM2.1 = 0; P2.1 = 1; }
# define DBG_LED_off { PM2.1 = 1; P2.1 = 0; } //# define DBG_LED_off { PM2.1 = 1; P2.1 = 0; }
# define DBG_LED_off { P2.1 = 0; }
# define DBG_LED_toggle ( P2.1 ^= 1 ) # define DBG_LED_toggle ( P2.1 ^= 1 )
#else #else

View File

@ -1,45 +1,4 @@
C:\WINDOWS\system32\cmd.exe /c touch magic.c C:\WINDOWS\system32\cmd.exe /c touch magic.c
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no pm.c
batt_params.h(74) : CC78K0R warning W0851: Data aligned in 'struct tag'
batt_params.h(82) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
batt_params.h(82) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
batt_params.h(87) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
batt_params.h(87) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
pm.c(63) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(100) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(184) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(192) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(479) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(482) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(606) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
pm.c(942) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
pm.c(1007) : CC78K0R warning W0401: Conversion may lose significant digits
batt_params.h(82) : CC78K0R warning W0401: Conversion may lose significant digits
batt_params.h(82) : CC78K0R warning W0401: Conversion may lose significant digits
batt_params.h(87) : CC78K0R warning W0401: Conversion may lose significant digits
pm.c(136) : CC78K0R warning W0714: Too many register variables
pm.c(138) : CC78K0R warning W0714: Too many register variables
pm.c(188) : CC78K0R warning W0714: Too many register variables
pm.c(423) : CC78K0R warning W0714: Too many register variables
pm.c(424) : CC78K0R warning W0714: Too many register variables
pm.c(486) : CC78K0R warning W0714: Too many register variables
pm.c(699) : CC78K0R warning W0714: Too many register variables
pm.c(27) : CC78K0R warning W0851: Data aligned in '@@DATA section'
pm.c(1009) : CC78K0R warning W0851: Data aligned in '@@CNST section'
Compilation complete, 0 error(s) and 26 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\pm.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no i2c_ctr.c
i2c_ctr.c(78) : CC78K0R warning W0309: Unused 'reg_adrs_internal'
i2c_ctr.c(285) : CC78K0R warning W0851: Data aligned in '@@DATA section'
i2c_ctr.c(285) : CC78K0R warning W0851: Data aligned in '@@INIT section'
Compilation complete, 0 error(s) and 3 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\i2c_ctr.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no main.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\main.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no magic.c "C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no magic.c
magic.c(13) : CC78K0R warning W0871: Data aligned after 'MGC_HEAD'in 'MGC_MIMI section' magic.c(13) : CC78K0R warning W0871: Data aligned after 'MGC_HEAD'in 'MGC_MIMI section'
magic.c(16) : CC78K0R warning W0871: Data aligned after 'MGC_TAIL'in 'MGC_TAIL section' magic.c(16) : CC78K0R warning W0871: Data aligned after 'MGC_TAIL'in 'MGC_TAIL section'
@ -47,48 +6,6 @@ magic.c(10) : CC78K0R warning W0871: Data aligned after 'MGC_LOAD'in 'MGC_LOAD s
Compilation complete, 0 error(s) and 3 warning(s) found. Compilation complete, 0 error(s) and 3 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\magic.asm "C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\magic.asm
Assembly complete, 0 error(s) and 0 warning(s) found. Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no i2c_twl.c
i2c_twl.c(125) : CC78K0R warning W0503: Possible use of 'vreg_adrs' before definition
i2c_twl.c(92) : CC78K0R warning W0309: Unused 'pre_dat'
i2c_twl.c(91) : CC78K0R warning W0714: Too many register variables
i2c_twl.c(92) : CC78K0R warning W0714: Too many register variables
i2c_twl.c(93) : CC78K0R warning W0714: Too many register variables
i2c_twl.c(94) : CC78K0R warning W0714: Too many register variables
i2c_twl.c(95) : CC78K0R warning W0714: Too many register variables
i2c_twl.c(104) : CC78K0R warning W0714: Too many register variables
Compilation complete, 0 error(s) and 8 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\i2c_twl.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no led.c
led.c(89) : CC78K0R warning W0745: Expected function prototype
led.c(149) : CC78K0R warning W0411: Illegal pointer combination
led.c(164) : CC78K0R warning W0411: Illegal pointer combination
led.c(576) : CC78K0R warning W0401: Conversion may lose significant digits
led.c(732) : CC78K0R warning W0851: Data aligned in '@@DATA section'
Compilation complete, 0 error(s) and 5 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\led.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no rtc.c
rtc.c(180) : CC78K0R warning W0851: Data aligned in '@@DATA section'
Compilation complete, 0 error(s) and 1 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\rtc.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no vreg_ctr.c
vreg_ctr.c(146) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(147) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(149) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(151) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(152) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_ctr.c(454) : CC78K0R warning W0714: Too many register variables
Compilation complete, 0 error(s) and 6 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\vreg_ctr.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no vreg_twl.c
vreg_twl.c(54) : CC78K0R warning W0401: Conversion may lose significant digits
vreg_twl.c(58) : CC78K0R warning W0401: Conversion may lose significant digits
Compilation complete, 0 error(s) and 2 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\vreg_twl.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no adc.c "C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no adc.c
adc.c(93) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format adc.c(93) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
adc.c(112) : CC78K0R warning W0745: Expected function prototype adc.c(112) : CC78K0R warning W0745: Expected function prototype
@ -99,214 +16,13 @@ adc.c(172) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(83) : CC78K0R warning W0309: Unused 'old_tune' adc.c(83) : CC78K0R warning W0309: Unused 'old_tune'
adc.c(84) : CC78K0R warning W0309: Unused 'sndvol_codec' adc.c(84) : CC78K0R warning W0309: Unused 'sndvol_codec'
adc.c(85) : CC78K0R warning W0309: Unused 'bt_temp_old' adc.c(85) : CC78K0R warning W0309: Unused 'bt_temp_old'
adc.c(270) : CC78K0R warning W0401: Conversion may lose significant digits adc.c(275) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(305) : CC78K0R warning W0401: Conversion may lose significant digits adc.c(310) : CC78K0R warning W0401: Conversion may lose significant digits
adc.c(337) : CC78K0R warning W0851: Data aligned in '@@DATA section' adc.c(243) : CC78K0R warning W0714: Too many register variables
Compilation complete, 0 error(s) and 12 warning(s) found. adc.c(342) : CC78K0R warning W0851: Data aligned in '@@DATA section'
Compilation complete, 0 error(s) and 13 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\adc.asm "C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\adc.asm
Assembly complete, 0 error(s) and 0 warning(s) found. Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no accero.c
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(15) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(23) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(23) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(24) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(24) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(25) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(25) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(26) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(26) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(26) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(27) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(27) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(28) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(28) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(29) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(29) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(30) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(30) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(31) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(31) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(32) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(32) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(33) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(33) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(34) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(34) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(35) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(35) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(36) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(36) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(37) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(37) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(38) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(38) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(38) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(39) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(39) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(39) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(40) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(40) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(41) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(41) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(42) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(42) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(43) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(43) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(44) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(44) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(44) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(69) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(69) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(70) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(70) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(70) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(74) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(74) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(75) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(75) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(75) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
accero.c(272) : CC78K0R warning W0851: Data aligned in '@@DATA section'
Compilation complete, 0 error(s) and 60 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\accero.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no self_flash.c
self_flash.c(200) : CC78K0R warning W0401: Conversion may lose significant digits
self_flash.c(98) : CC78K0R warning W0714: Too many register variables
self_flash.c(99) : CC78K0R warning W0714: Too many register variables
self_flash.c(138) : CC78K0R warning W0714: Too many register variables
self_flash.c(139) : CC78K0R warning W0714: Too many register variables
self_flash.c(194) : CC78K0R warning W0714: Too many register variables
self_flash.c(195) : CC78K0R warning W0714: Too many register variables
self_flash.c(314) : CC78K0R warning W0714: Too many register variables
self_flash.c(315) : CC78K0R warning W0714: Too many register variables
self_flash.c(316) : CC78K0R warning W0714: Too many register variables
self_flash.c(335) : CC78K0R warning W0714: Too many register variables
self_flash.c(336) : CC78K0R warning W0714: Too many register variables
Compilation complete, 0 error(s) and 12 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\self_flash.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no sw.c
sw.c(100) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
sw.c(164) : CC78K0R warning W0851: Data aligned in '@@DATA section'
sw.c(164) : CC78K0R warning W0851: Data aligned in '@@INIT section'
Compilation complete, 0 error(s) and 3 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\sw.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no task_debug.c
task_debug.c(15) : CC78K0R warning W0309: Unused 'temp'
task_debug.c(16) : CC78K0R warning W0310: 'count' is assigned a value which is never used
task_debug.c(17) : CC78K0R warning W0309: Unused 'task_interval'
task_debug.c(74) : CC78K0R warning W0851: Data aligned in '@@DATA section'
task_debug.c(74) : CC78K0R warning W0851: Data aligned in '@@INIT section'
Compilation complete, 0 error(s) and 5 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\task_debug.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no task_misc.c
Compilation complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\task_misc.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no task_sys.c
task_sys.c(176) : CC78K0R warning W0401: Conversion may lose significant digits
task_sys.c(423) : CC78K0R warning W0401: Conversion may lose significant digits
task_sys.c(471) : CC78K0R warning W0851: Data aligned in '@@INIT section'
Compilation complete, 0 error(s) and 3 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\task_sys.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no pedo_alg_thre_det2.c
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(15) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(23) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(23) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(24) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(24) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(25) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(25) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(26) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(26) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(26) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(27) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(27) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(28) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(28) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(29) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(29) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(30) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(30) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(31) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(31) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(32) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(32) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(33) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(33) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(34) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(34) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(35) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(35) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(36) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(36) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(37) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(37) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(38) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(38) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(38) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(39) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(39) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(39) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(40) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(40) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(41) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(41) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(42) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(42) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(43) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(43) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(44) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(44) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(44) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(69) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(69) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(70) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(70) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(70) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(74) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(74) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(75) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(75) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\..\inc78k0r\math.h(75) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
pedo_alg_thre_det2.c(58) : CC78K0R warning W0745: Expected function prototype
pedo_alg_thre_det2.c(73) : CC78K0R warning W0401: Conversion may lose significant digits
pedo_alg_thre_det2.c(140) : CC78K0R warning W0401: Conversion may lose significant digits
pedo_alg_thre_det2.c(153) : CC78K0R warning W0401: Conversion may lose significant digits
pedo_alg_thre_det2.c(54) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(56) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(58) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(59) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(60) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(217) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(218) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(219) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(245) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(263) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(353) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(354) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(421) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(422) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(423) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(424) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(425) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(529) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(529) : CC78K0R warning W0714: Too many register variables
pedo_alg_thre_det2.c(413) : CC78K0R warning W0851: Data aligned in '@@CNST section'
pedo_alg_thre_det2.c(547) : CC78K0R warning W0851: Data aligned in '@@DATA section'
Compilation complete, 0 error(s) and 84 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\pedo_alg_thre_det2.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\bin\cc78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -irenge -i"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\inc78k0r" -ms -qvjl2wt -sainter_asm -zpb -w2 -no task_status.c
task_status.c(37) : CC78K0R warning W0760: Double and long double are treated as IEEE 754 single format
task_status.c(92) : CC78K0R warning W0851: Data aligned in '@@DATA section'
task_status.c(92) : CC78K0R warning W0851: Data aligned in '@@INIT section'
Compilation complete, 0 error(s) and 3 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\ra78k0r.exe" -c9F0104 -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff inter_asm\task_status.asm
Assembly complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\lk78k0r.exe" -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -obsr.lmf "..\..\..\Program Files\NEC Electronics Tools\CC78K0R\W2.10\lib78k0r\s0rm.rel" -go85h,0FC00h,1024 -gi0FFFFFFFFFFFFFFFFFFFFh -pbsr_k0r.map -nkd -gb7EFBFFh -b"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\lib78k0r\fsl.lib" -bcl0rdm.lib -bcl0rm.lib -bcl0rmf.lib -i"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\lib78k0r" -dbsr_mcu.dr -s -w0 loader.rel pm.rel i2c_ctr.rel main.rel magic.rel WDT.rel i2c_mcu.rel i2c_twl.rel led.rel rtc.rel vreg_ctr.rel vreg_twl.rel adc.rel renge.rel accero.rel self_flash.rel sw.rel task_debug.rel task_misc.rel task_sys.rel pedo_alg_thre_det2.rel ini_VECT.rel task_status.rel "C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\lk78k0r.exe" -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -obsr.lmf "..\..\..\Program Files\NEC Electronics Tools\CC78K0R\W2.10\lib78k0r\s0rm.rel" -go85h,0FC00h,1024 -gi0FFFFFFFFFFFFFFFFFFFFh -pbsr_k0r.map -nkd -gb7EFBFFh -b"C:\Program Files\NEC Electronics Tools\FSL78K0R_Type02ES\V1.20\lib78k0r\fsl.lib" -bcl0rdm.lib -bcl0rm.lib -bcl0rmf.lib -i"C:\Program Files\NEC Electronics Tools\CC78K0R\W2.10\lib78k0r" -dbsr_mcu.dr -s -w0 loader.rel pm.rel i2c_ctr.rel main.rel magic.rel WDT.rel i2c_mcu.rel i2c_twl.rel led.rel rtc.rel vreg_ctr.rel vreg_twl.rel adc.rel renge.rel accero.rel self_flash.rel sw.rel task_debug.rel task_misc.rel task_sys.rel pedo_alg_thre_det2.rel ini_VECT.rel task_status.rel
Link complete, 0 error(s) and 0 warning(s) found. Link complete, 0 error(s) and 0 warning(s) found.
"C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\oc78k0r.exe" -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -o.\bsr.hex -nu -ki bsr.lmf "C:\Program Files\NEC Electronics Tools\RA78K0R\W1.31\bin\oc78k0r.exe" -y"C:\Program Files\NEC Electronics Tools\DEV" -_msgoff -o.\bsr.hex -nu -ki bsr.lmf
@ -317,4 +33,4 @@ intel-HEX to bsr bin converter
file converted! file converted!
Build Total error(s) : 0 Total warning(s) : 236 Build Total error(s) : 0 Total warning(s) : 16