-->
Page 5 of 8

Re: API and Documentation

PostPosted: Wed Mar 30, 2016 5:14 pm
by JimDrew
Nobody knows how to access the API through the Arduino IDE?

Re: API and Documentation

PostPosted: Fri Jun 10, 2016 11:07 am
by mrburnette
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

Re: API and Documentation

PostPosted: Thu Jun 16, 2016 8:12 pm
by JimDrew
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.

Re: API and Documentation

PostPosted: Sat Apr 01, 2017 9:10 pm
by urbanze
good job