adds missing ehrenberg devices
This commit is contained in:
7
env/ehrenberg/platform.h
vendored
7
env/ehrenberg/platform.h
vendored
@ -18,6 +18,9 @@
|
||||
#include "ehrenberg/devices/timer.h"
|
||||
#include "ehrenberg/devices/aclint.h"
|
||||
#include "ehrenberg/devices/qspi.h"
|
||||
#include "ehrenberg/devices/i2s.h"
|
||||
#include "ehrenberg/devices/camera.h"
|
||||
#include "ehrenberg/devices/dma.h"
|
||||
|
||||
#define PERIPH(TYPE, ADDR) ((volatile TYPE*) (ADDR))
|
||||
|
||||
@ -29,6 +32,10 @@
|
||||
#define aclint PERIPH(aclint_t, APB_BASE+0x30000)
|
||||
#define irq PERIPH(irq_t, APB_BASE+0x40000)
|
||||
#define qspi PERIPH(qspi_t, APB_BASE+0x50000)
|
||||
#define i2s PERIPH(i2s_t, APB_BASE+0x90000)
|
||||
#define camera PERIPH(camera_t, APB_BASE+0xA0000)
|
||||
#define sdma PERIPH(simpledma_t, APB_BASE+0xB0000)
|
||||
|
||||
|
||||
#define XIP_START_LOC 0xE0040000
|
||||
|
||||
|
Reference in New Issue
Block a user