- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Default DE10Nano image for SD card is supposed to have mraa library.that has declared UART functions but it seems like source files are missing. All I found is this:
My code
#include "mraa/uart.h"
#include "mraa/common.h"
#include "mraa/firmata.h"
#include "mraa/gpio.h"
#include "mraa/pwm.h"
#include "mraa/i2c.h"
#include "mraa/iio.h"
#include "mraa/spi.h"
#include "mraa/types.h"
#include "mraa/uart_ow.h"
#include <stdio.h>
int main(void)
{
mraa_uart_context uart;
uart=mraa_uart_init_raw("/dev/ttyS0");
if (uart!=NULL)
{
printf("Error\n");
}
return 0;
}
Error:
Thanks a lot for pointing me into right direction.
- Tags:
- Include
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Welcome to INTEL forum. The DE10-Nano Board belong to Terasic. It would be better if you could contact Terasic for enquiry related to Terasic board. https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=12&No=20
Please accept my apologies for not being able to assist you fully as this is out of my expertise.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page