From 9bf41da1b2c7567f646c56cca68e804fa1b5d79a Mon Sep 17 00:00:00 2001 From: N2232 Date: Wed, 26 May 2010 13:03:22 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=BBADC=E3=81=AEISR=E5=86=85=E3=80=81?= =?UTF-8?q?=E3=81=AE=E5=89=B2=E3=82=8A=E8=BE=BC=E3=81=BF=E7=A6=81=E6=AD=A2?= =?UTF-8?q?=E6=9C=9F=E9=96=93=E3=81=AE=E9=96=A2=E4=BF=82=E3=81=A7I2C=5Ftwl?= =?UTF-8?q?=E3=81=AB=E9=81=85=E5=BB=B6=E3=83=BB=E3=83=AA=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=82=A4=E3=82=92=E5=8F=97=E3=81=91=E3=82=8B=E3=81=93=E3=81=A8?= =?UTF-8?q?=E3=81=8C=E3=81=82=E3=82=8A=E3=80=81=E3=83=87=E3=83=BC=E3=82=BF?= =?UTF-8?q?=E5=8C=96=E3=81=91=E2=86=92=E9=9B=BB=E6=BA=90=E6=96=AD=E3=81=AA?= =?UTF-8?q?=E3=81=A9=E8=B5=B7=E3=81=93=E3=82=8B=E6=81=90=E3=82=8C=E3=81=8C?= =?UTF-8?q?=E3=81=82=E3=81=A3=E3=81=9F=E3=80=82=20=E3=83=BB=E5=90=8C?= =?UTF-8?q?=E3=80=81=E5=BF=B5=E3=81=AE=E3=81=9F=E3=82=81ADC=E7=B5=90?= =?UTF-8?q?=E6=9E=9C=E3=82=92=E3=83=AD=E3=83=BC=E3=82=AB=E3=83=AB=E3=81=AB?= =?UTF-8?q?=E3=82=B3=E3=83=94=E3=83=BC=E3=81=97=E3=81=A6=E3=81=8B=E3=82=89?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E3=81=99=E3=82=8B=20=E3=83=BB=E9=80=90?= =?UTF-8?q?=E6=AC=A1=E5=AE=9F=E8=A1=8C=E3=81=AE=E3=82=BF=E3=82=B9=E3=82=AF?= =?UTF-8?q?=E3=82=B7=E3=82=B9=E3=83=86=E3=83=A0=E3=82=92=E5=A4=89=E3=81=88?= =?UTF-8?q?=E3=81=9F=EF=BC=88=E2=86=91=E3=81=AE=E9=81=85=E5=BB=B6=E3=81=AF?= =?UTF-8?q?=E3=81=93=E3=81=A1=E3=82=89=E3=82=92=E7=96=91=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=9F=E3=81=9F=E3=82=81=EF=BC=89=20=E3=80=80?= =?UTF-8?q?=E3=81=A1=E3=82=87=E3=81=86=E3=81=A9=E3=81=8D=E3=82=8C=E3=81=84?= =?UTF-8?q?=E3=81=AB=E3=81=AA=E3=81=A3=E3=81=9F=E3=81=97=E3=81=97=E3=81=B0?= =?UTF-8?q?=E3=82=89=E3=81=8F=E8=A9=A6=E7=94=A8=E3=81=99=E3=82=8B=E3=80=82?= =?UTF-8?q?=E3=83=80=E3=83=A1=E3=81=AA=E3=82=89=E3=81=95=E3=81=A3=E3=81=95?= =?UTF-8?q?=E3=81=A8=E5=B7=BB=E3=81=8D=E6=88=BB=E3=81=99=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- trunk/adc.c | 17 ++- trunk/pm.c | 2 +- trunk/renge/renge.c | 288 ++++++++++++++++++---------------------- trunk/user_define.h | 3 +- trunk/yav_mcu_bsr.plg | 296 +----------------------------------------- 5 files changed, 144 insertions(+), 462 deletions(-) diff --git a/trunk/adc.c b/trunk/adc.c index c373f68..9d926ac 100644 --- a/trunk/adc.c +++ b/trunk/adc.c @@ -240,17 +240,22 @@ __interrupt void int_adc( ) static u8 hist_bt_temp[3]; static u8 index; -// EI( ); + volatile u8 adc_data; + + adc_data = ADCRH; + + EI(); + switch ( ADS ) { /* case ( ADC_SEL_AMB_BRIT ): // 環境明るさ - vreg_ctr[ VREG_C_AMBIENT_BRIGHTNESS ] = ADCRH; + vreg_ctr[ VREG_C_AMBIENT_BRIGHTNESS ] = adc_data; break; */ case ( ADC_SEL_TUNE ): - hist_tune[index] = ADCRH; + hist_tune[index] = adc_data; #ifdef _MODEL_WM0_ adc_raw_dep = 255 - getmean3( hist_tune ); #else @@ -259,7 +264,7 @@ case ( ADC_SEL_AMB_BRIT ): // break; case ( ADC_SEL_VOL ): - hist_snd_vol[index] = ADCRH; + hist_snd_vol[index] = adc_data; #ifdef _MODEL_CTR_ if( system_status.model == MODEL_TS_BOARD ) { @@ -280,7 +285,7 @@ case ( ADC_SEL_AMB_BRIT ): // break; case ( ADC_SEL_BATT_TEMP ): - hist_bt_temp[index] = ADCRH; + hist_bt_temp[index] = adc_data; raw_adc_temperature = getmean3( hist_bt_temp ); renge_task_immed_add( BT_temp_update ); break; @@ -296,7 +301,7 @@ case ( ADC_SEL_AMB_BRIT ): // if( ADS != ADC_SEL_BATT_TEMP ) { // 電池判別は電源投入の一回のみ ADS += 1; // 次のチャンネル - ADIF = 0; + ADIF = 0; // ←これをしないと、いっこ前のチャンネルのデータの完了で直後に割り込む可能性がある } else { diff --git a/trunk/pm.c b/trunk/pm.c index a2da155..22a5840 100644 --- a/trunk/pm.c +++ b/trunk/pm.c @@ -406,9 +406,9 @@ __interrupt void intp5_shell( ) =========================================================*/ __interrupt void intp6_PM_irq( ) { + EI(); if( system_status.pwr_state == ON ) { - EI(); renge_task_immed_add( ntr_pmic_comm ); } } diff --git a/trunk/renge/renge.c b/trunk/renge/renge.c index a9806a4..b812b26 100644 --- a/trunk/renge/renge.c +++ b/trunk/renge/renge.c @@ -135,35 +135,28 @@ err renge_task_immed_add( task_status* new_task ){ // 重複登録を避ける 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 ) - { - // 重複登録はしない - NOP(); - return( ERR_ERR ); - } + // 空きを見つけた + tasks_immed[ i ] = new_task; + EI(); + return( ERR_SUCCESS ); } else { - // 空きを見つけた - // もたもたしているうちに割り込み等から割り込まれるのを考慮 - // 滅多にないはずだが - for( ; i < TASK_IMMED_RUN_LIST_MAX; i += 1 ) + // 重複登録チェック + /// 歯抜けになってない、前詰めされてる前提 + if( tasks_immed[ i ] == new_task ) { - if( tasks_immed[ i ] == TSK_IMM_EMPTY_ ) - { - tasks_immed[ i ] = new_task; - return( ERR_SUCCESS ); - } + // 重複登録はしない + EI(); + return( ERR_ERR ); } - // 割り込まれてタスク登録できなくなった - return( ERR_ERR ); } + EI(); } // タスク登録しすぎ(無いはず - NOP(); // デバッガで捕まえるため return( ERR_ERR ); } @@ -173,160 +166,127 @@ err renge_task_immed_add( task_status* new_task ){ 逐次実行タスクの実行 **************************************/ err renge_task_immed_run(){ - u8 list_id; - u8 last_task_id; + u8 list_id; - do{ - last_task_id = 0xFF; - for( list_id = 0; list_id < TASK_IMMED_RUN_LIST_MAX; list_id += 1 ){ - if( tasks_immed[ list_id ] != TSK_IMM_EMPTY_ ){ + while( tasks_immed[ 0 ] != TSK_IMM_EMPTY_ ) + { + DI(); + 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_ - if( tasks_immed[ list_id ] == TSK_IMM_DELETED_ ) - { - NOP(); - // タスク管理の不備 - // 存在しないタスクを実行しようとした - // タスクの削除後の処理がまずい - // 予期しないタイミングで immed_run が呼ばれた - } - else + else if( tasks_immed[ list_id ] == TSK_IMM_DELETED_ ) + { + EI(); + NOP(); + // タスク管理の不備 + // 存在しないタスクを実行しようとした + // タスクの削除後の処理がまずい + // 予期しないタイミングで immed_run が呼ばれた + } #endif - { - u8 temp; + else + { + u8 rv; - temp = tasks_immed[ list_id ](); - DI(); - if( temp == ERR_SUCCESS ) - { - tasks_immed[ list_id ] = TSK_IMM_DELETED_; - } - last_task_id = list_id; - EI(); - } - } -#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 - } + EI(); + rv = tasks_immed[ list_id ](); + if( rv == ERR_SUCCESS ) + { + tasks_immed[ list_id ] = TSK_IMM_DELETED_; + } + } + DI(); + } + // リスト上のタスクを一通り実行した - // タスク削除 - { - if( last_task_id != 0xFF ) - { - u8 i,j; - // リスト前詰め + // タスク削除 // + { + u8 i = 0; // リストの並べ替え先 + u8 j = 1; - i = 0; // 前詰め後リストの最後尾 - j = 1; // リストの後ろの方のタスクを探す - for( ; j < TASK_IMMED_RUN_LIST_MAX; j++ ) - { - DI(); - if( tasks_immed[ i ] == TSK_IMM_DELETED_ ) - { - if( tasks_immed[ j ] == TSK_IMM_EMPTY_ ) - { - // リストの最後だった - for( ; i < j ; i += 1 ) - { - tasks_immed[ i ] = TSK_IMM_EMPTY_; - } -#ifdef _renge_test_ - /// ほんと? - j += 1; - for( ; j < TASK_IMMED_RUN_LIST_MAX; j++ ) - { - if( tasks_immed[ j ] != TSK_IMM_EMPTY_ ) - { - NOP(); // ? - } - } -#endif - break; - } - if( tasks_immed[ j ] != TSK_IMM_DELETED_ ) - { - // 探索隊が前詰めすべきタスクを見つけた - tasks_immed[ i ] = tasks_immed[ j ]; - tasks_immed[ j ] = TSK_IMM_DELETED_; - i += 1; - } - } - else - { -#ifdef _renge_test_ - // タスクが滞留 - if( tasks_immed[ i ] == TSK_IMM_EMPTY_ ) - { - NOP(); - // そんなはずない - } -#endif - i += 1; - } - EI(); - if( tasks_immed[ i ] == TSK_IMM_EMPTY_ ) - { -#ifdef _renge_test_ - NOP(); -#endif - break; - // リストの最後だった - } - } + // 必ず i < j、j < TASK_IMMED_RUN_LIST_MAX (でないとタスクあふれ) + while( 1 ) + { + if( tasks_immed[ i ] == TSK_IMM_EMPTY_ ) + { + // 前詰め完了 && リスト空っぽ + // break; + goto imm_list_sort_fin; + } + else if( tasks_immed[ i ] == TSK_IMM_DELETED_ ) + { + for( ; j < TASK_IMMED_RUN_LIST_MAX; j++ ) + { + if( tasks_immed[ j ] == TSK_IMM_DELETED_ ) + { + // 隣(?)も削除対象だった + // next j + } + else + { + DI(); + if( tasks_immed[ j ] == TSK_IMM_EMPTY_ ) + { + do{ + j -= 1; + DI(); + tasks_immed[ j ] = TSK_IMM_EMPTY_; + // リスト前詰め完了 + EI(); + }while( i < j ); + goto imm_list_sort_fin; + } + else + { + // 前詰めすべきタスクを見つけた + tasks_immed[ i ] = tasks_immed[ j ]; + tasks_immed[ j ] = TSK_IMM_DELETED_; + i += 1; + EI(); + } + } + } + } + else + { + // このタスク、滞留 + } + i += 1; + } + } - // ここまでで完全に前詰めされている - for( j = 0; j < TASK_IMMED_RUN_LIST_MAX; j++ ) - { - if( tasks_immed[ j ] == TSK_IMM_EMPTY_ ) - { +imm_list_sort_fin: + // ここまでで完全に前詰めされている #ifdef _renge_test_ - j += 1; - for( ; j < TASK_IMMED_RUN_LIST_MAX; j++ ) - { - if( tasks_immed[ j ] != TSK_IMM_EMPTY_ ) - { - NOP(); // ? - } - } -#endif - break; - // リストの最後 - } - DI(); - if( tasks_immed[ j ] == TSK_IMM_DELETED_ ) - { - tasks_immed[ j ] = TSK_IMM_EMPTY_; - } - EI(); - } - } - EI(); - } - } -#if 0 - while( last_task_id != 0xFF ); // タスクが残っていたら延々再実行 + /// ほんと? + { + u8 a,b; + + a = 0; + for( b = 0 ; b < TASK_IMMED_RUN_LIST_MAX; b++ ) + { + if( tasks_immed[ b ] == TSK_IMM_EMPTY_ ) + { + a = 1; + } + else + { + if( a != 0 ) + { + NOP(); // EMPTYより後ろにタスクやdeletedが有る + } + } + } + } #else - while( 0 ); + NOP(); // リンカが怒る #endif - - if( last_task_id != 0xFF ) - { - // まだタスクが残ってる(また呼んでね) - return( ERR_ERR ); - } - - return( ERR_SUCCESS ); + } + return( ERR_SUCCESS ); } diff --git a/trunk/user_define.h b/trunk/user_define.h index c2e6eda..01c1bd2 100644 --- a/trunk/user_define.h +++ b/trunk/user_define.h @@ -9,7 +9,8 @@ #ifdef _debug_led_ # 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 ) #else diff --git a/trunk/yav_mcu_bsr.plg b/trunk/yav_mcu_bsr.plg index eb1d9e3..b11746d 100644 --- a/trunk/yav_mcu_bsr.plg +++ b/trunk/yav_mcu_bsr.plg @@ -1,45 +1,4 @@ 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 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' @@ -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. "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. -"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 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 @@ -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(84) : CC78K0R warning W0309: Unused 'sndvol_codec' adc.c(85) : CC78K0R warning W0309: Unused 'bt_temp_old' -adc.c(270) : CC78K0R warning W0401: Conversion may lose significant digits -adc.c(305) : CC78K0R warning W0401: Conversion may lose significant digits -adc.c(337) : CC78K0R warning W0851: Data aligned in '@@DATA section' -Compilation complete, 0 error(s) and 12 warning(s) found. +adc.c(275) : CC78K0R warning W0401: Conversion may lose significant digits +adc.c(310) : CC78K0R warning W0401: Conversion may lose significant digits +adc.c(243) : CC78K0R warning W0714: Too many register variables +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 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 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 @@ -317,4 +33,4 @@ intel-HEX to bsr bin converter file converted! -Build Total error(s) : 0 Total warning(s) : 236 +Build Total error(s) : 0 Total warning(s) : 16