fixes include paths
This commit is contained in:
1
env/ehrenberg/init.c
vendored
1
env/ehrenberg/init.c
vendored
@ -4,7 +4,6 @@
|
||||
|
||||
#include "platform.h"
|
||||
#include "encoding.h"
|
||||
#include <ehrenberg/devices.h>
|
||||
|
||||
#if __riscv_xlen == 32
|
||||
#define MCAUSE_INT 0x80000000UL
|
||||
|
12
env/ehrenberg/platform.h
vendored
12
env/ehrenberg/platform.h
vendored
@ -7,15 +7,13 @@
|
||||
#define MCAUSE_INT 0x80000000
|
||||
#define MCAUSE_CAUSE 0x7FFFFFFF
|
||||
|
||||
#include "ehrenberg/const.h"
|
||||
|
||||
#define APB_BUS
|
||||
|
||||
#include "devices/gpio.h"
|
||||
#include "devices/interrupt.h"
|
||||
#include "devices/timer.h"
|
||||
#include "devices/uart.h"
|
||||
#include "devices/qspi.h"
|
||||
#include "ehrenberg/devices/gpio.h"
|
||||
#include "ehrenberg/devices/interrupt.h"
|
||||
#include "ehrenberg/devices/timer.h"
|
||||
#include "ehrenberg/devices/uart.h"
|
||||
#include "ehrenberg/devices/qspi.h"
|
||||
|
||||
#define PERIPH(TYPE, ADDR) ((volatile TYPE*) (ADDR))
|
||||
|
||||
|
Reference in New Issue
Block a user