Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By mrburnette
#48941
JimDrew wrote:Nobody knows how to access the API through the Arduino IDE?


I answered prematurely and did not read deep enough back in the thread to get the correct context for you question. Regrets... a bad habit of mine.

That being said, there is the gdbstuf.c which creates the function:
Code: Select allstatic void ATTR_GDBINIT install_uart_hdlr() {
   ets_isr_attach(ETS_UART_INUM, uart_hdlr, NULL);
   SET_PERI_REG_MASK(UART_INT_ENA(0), UART_RXFIFO_FULL_INT_ENA|UART_RXFIFO_TOUT_INT_ENA);
   ets_isr_unmask((1<<ETS_UART_INUM)); //enable uart interrupt
}



Ray
User avatar
By JimDrew
#49302 Ray, thanks for the response. I am not sure that this will actually work with the Arduino IDE though. I will look into the gdbstuf.c file though.