Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/CC2640R2F: -- [BUG] project zero disable uartlog fail build

$
0
0

Part Number:CC2640R2F

Tool/software: TI-RTOS

project zero of simplelink_cc2640r2_sdk_2_30_00_28.

disable uartlog by changing defined symbles as described in Uartlog.h.  change UARTLOG_ENABLE to xUARTLOG_ENABLE, then build will fail at linking for symbols Log_xx not defined.

detail message while compiling:

"../PROFILES/led_service.c", line 218: warning #225-D: function "Log_info1" declared implicitly
"../PROFILES/led_service.c", line 233: warning #225-D: function "Log_info1" declared implicitly
"../PROFILES/led_service.c", line 238: warning #225-D: function "Log_warning0" declared implicitly
"../PROFILES/led_service.c", line 268: warning #225-D: function "Log_info2" declared implicitly
"../PROFILES/led_service.c", line 280: warning #225-D: function "Log_error1" declared implicitly
"../PROFILES/led_service.c", line 292: warning #225-D: function "Log_error3" declared implicitly
"../PROFILES/led_service.c", line 319: warning #225-D: function "Log_info2" declared implicitly
"../PROFILES/led_service.c", line 329: warning #225-D: function "Log_error1" declared implicitly
"../PROFILES/led_service.c", line 397: warning #225-D: function "Log_info4" declared implicitly
"../PROFILES/led_service.c", line 417: warning #225-D: function "Log_error0" declared implicitly
"../PROFILES/led_service.c", line 423: warning #225-D: function "Log_error0" declared implicitly
"../PROFILES/led_service.c", line 469: warning #225-D: function "Log_info5" declared implicitly
"../PROFILES/led_service.c", line 493: warning #225-D: function "Log_error0" declared implicitly
"../PROFILES/led_service.c", line 499: warning #225-D: function "Log_error0" declared implicitly
"../PROFILES/led_service.c", line 504: warning #225-D: function "Log_error0" declared implicitly
"../PROFILES/led_service.c", line 513: warning #225-D: function "Log_error0" declared implicitly
Finished building: "../PROFILES/led_service.c"

include of Uartlog.h in the  main.c, project_zero.c, button_service.c, led_service.c, data_service.c, c files should be changed according to the statement of Uartlog.h file.

from

#ifdef UARTLOG_ENABLE
#include <uartlog/UartLog.h>
#endif

to

#ifdef UARTLOG_ENABLE
#include "UartLog.h"
#else
#include <xdc/runtime/Log.h>
#endif

 


Viewing all articles
Browse latest Browse all 262198

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>