update include paths
This commit is contained in:
@@ -1,24 +1,20 @@
|
||||
/* See LICENSE of license details. */
|
||||
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#if defined(BOARD_ehrenberg)
|
||||
#include "platform.h"
|
||||
#endif
|
||||
#include "../../include/tgc-vp/devices/uart.h"
|
||||
#include "/scratch/gabriel/repos/Firmwares/bare-metal-bsp/env/tgc-vp/platform.h"
|
||||
#include <unistd.h>
|
||||
|
||||
#include "platform.h"
|
||||
#include "semihosting.h"
|
||||
#include "stub.h"
|
||||
#include "weak_under_alias.h"
|
||||
#include "semihosting.h"
|
||||
|
||||
ssize_t __wrap_read(int fd, void* ptr, size_t len) {
|
||||
uint8_t * current = (uint8_t *)ptr;
|
||||
ssize_t __wrap_read(int fd, void *ptr, size_t len) {
|
||||
uint8_t *current = (uint8_t *)ptr;
|
||||
#if defined(SEMIHOSTING)
|
||||
sh_read(current, fd, len);
|
||||
return;
|
||||
int i = sh_read(current, fd, len);
|
||||
return i;
|
||||
#endif
|
||||
#if defined(BOARD_hifive1)
|
||||
volatile uint32_t *uart_rx = (uint32_t *)(UART0_CTRL_ADDR + UART_REG_RXFIFO);
|
||||
|
Reference in New Issue
Block a user