add communication controller register interface
This commit is contained in:
2
env/ehrenberg/platform.h
vendored
2
env/ehrenberg/platform.h
vendored
@ -21,6 +21,7 @@
|
||||
#include "ehrenberg/devices/i2s.h"
|
||||
#include "ehrenberg/devices/camera.h"
|
||||
#include "ehrenberg/devices/dma.h"
|
||||
#include "ehrenberg/devices/msg_if.h"
|
||||
|
||||
#define PERIPH(TYPE, ADDR) ((volatile TYPE*) (ADDR))
|
||||
|
||||
@ -35,6 +36,7 @@
|
||||
#define i2s PERIPH(i2s_t, APB_BASE+0x90000)
|
||||
#define camera PERIPH(camera_t, APB_BASE+0xA0000)
|
||||
#define dma PERIPH(dma_t, APB_BASE+0xB0000)
|
||||
#define msgif PERIPH(msgif_t, APB_BASE+0xC0000)
|
||||
|
||||
|
||||
#define XIP_START_LOC 0xE0040000
|
||||
|
Reference in New Issue
Block a user