adds missing ehrenberg devices
This commit is contained in:
6
include/ehrenberg/devices/camera.h
Normal file
6
include/ehrenberg/devices/camera.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _BSP_CAM_H
|
||||
#define _BSP_CAM_H
|
||||
|
||||
#include "gen/camera.h"
|
||||
|
||||
#endif /* _BSP_CAM_H */
|
6
include/ehrenberg/devices/dma.h
Normal file
6
include/ehrenberg/devices/dma.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _BSP_DMA_H
|
||||
#define _BSP_DMA_H
|
||||
|
||||
#include "gen/simpledma.h"
|
||||
|
||||
#endif /* _BSP_DMA_H */
|
6
include/ehrenberg/devices/i2s.h
Normal file
6
include/ehrenberg/devices/i2s.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _BSP_IIS_H
|
||||
#define _BSP_IIS_H
|
||||
|
||||
#include "gen/i2s.h"
|
||||
|
||||
#endif /* _BSP_IIS_H */
|
@ -2,13 +2,10 @@
|
||||
#define _BSP_INTERRUPT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "gen/Apb3IrqCtrl.h"
|
||||
|
||||
#define irq_t apb3irqctrl_t
|
||||
#define irq_t void*
|
||||
|
||||
inline void irq_init(irq_t* reg){
|
||||
set_irq_masksReg(reg, 0);
|
||||
set_irq_pendingsReg(reg, 0xff);
|
||||
inline void irq_init(volatile irq_t* reg){
|
||||
}
|
||||
|
||||
#endif /* _BSP_INTERRUPT_H */
|
||||
|
Reference in New Issue
Block a user