I am currently using the uart.c file from the FreeRTOS SDK git repository, to play around with the UART.
Unfortunately if I try to compile this file I get the following error :
```
uart.c: In function 'UART_intr_handler_register':
uart.c:270:5: error: too few arguments to function '_xt_isr_attach'
_xt_isr_attach(ETS_UART_INUM, fn);
^
In file included from /home/knifey-spooney/esp_stuff/esp_iot_rtos_sdk//include/freertos/portable.h:318:0,
from /home/knifey-spooney/esp_stuff/esp_iot_rtos_sdk//include/freertos/FreeRTOS.h:87,
from uart.c:8:
/home/knifey-spooney/esp_stuff/esp_iot_rtos_sdk//include/freertos/portmacro.h:185:13: note: declared here
void _xt_isr_attach (uint8 i, _xt_isr func, void *arg);
```
Just wondering if anyone could point me to the documentation on the _xt_isr code, and/or its source code?
Also if I remove this functionality from this file it compiles and works beautifully.
Apologies if this question has been asked before.
Many Thanks,
Andrew.Statistics: Posted by knifey-spooney — Sun Nov 01, 2015 12:26 pm
]]>