adds missing ehrenberg devices

This commit is contained in:
2024-06-10 12:21:20 +02:00
parent 231366cc94
commit daa1ed184d
6 changed files with 28 additions and 5 deletions

View File

@ -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