- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quartus Prime Lite Ver 21.1.0 Build 842 10/21/21 - Windows 10 Host system
Eclipse Mars.2 rel 4.5.2
Trying to access a uart port via HAL API calls. The application is based on the hello world small template. The following code attempt to open to get the file pointer integer.
int fp_uart_0;
fp_uart_0 = ALT_OPEN(UART_0_NAME,2);
When I compile the program, I get the following warning:
hello_world_small.c:96: warning: warning: open is not implemented and will always fail
When I step through the code, it does fail to get a value. I see the wrapper for ALT_OPEN for open(). Is there something missing in Eclipse library?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for using Intel community forum,
Kindly expect some delay in the reply due to holiday.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Kenny_Tan Thanks, but after some more digging and digging, I simply recreated the project from scratch and the problem is no longer there. In the new project, I choose a Blank Application template, modified the BSP to use small C library and didn't check small drivers. No problems opening a serial port for access.
-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since the issue has been addressed. I'll now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts.

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