hi,
The "arch_printf()" is frequently used. Then how to make them be called really.
I have defined "#define CFG_PRINTF" in the "da1458x_config_basic.h", but it still cannot work.
thanks.
Keywords:
Device:
static inline void schedule_while_ble_on(void)
{
.....
if (ble_evt_end_set)
{
uint32_t sleep_duration = 0;
rcx20_read_freq ();
//if you have enough time run a temperature calibration of the radio
if (lld_sleep_check(&sleep_duration, 4)) //6 slots -> 3.750 ms
// check time and temperature to run radio calibrations.
conditionally_run_radio_cals();
}
arch_printf_process(); ---------------------------------------------newly add
//grant control to the application, try to go to sleep
//if the applciation returns GOTO_SLEEP
if (!app_asynch_trm()) --------- by default , return false, then break
break;
//SDKIMPROVEMENTS Needs testing!! We can add the following condition and move
// it out of the loop
// we may consider putting it in before the app_asynch_trm
//if (GetBits16(CLK_CTRL_REG, RUNNING_AT_XTAL16M))
// execute the printf process
arch_printf_process();
}