void led_timer_cb (
gpio_set_value (FW_LED_GRREN_GPIO_PORT_PIN, !(gpio_read_value (FW_LED_GRREN_GPIO_PORT_PIN)));
timer_start (0, LED_TIMER_ID, LED_TIMER_PERIOD, led_timer_cb);
if i put more code i have stack overflow for example send I2C master and expeted recieve answer from slave
It should be no issue to add send I2C master (Write or read) in the timer call back function. Could you please kindly screen shot the error you have been met for stack overflow?