diff --git a/env/ehrenberg/platform.h b/env/ehrenberg/platform.h index 50a19c8..0f82b0a 100644 --- a/env/ehrenberg/platform.h +++ b/env/ehrenberg/platform.h @@ -16,6 +16,7 @@ #include "ehrenberg/devices/aclint.h" #include "ehrenberg/devices/camera.h" #include "ehrenberg/devices/dma.h" +#include "ehrenberg/devices/gen/sysctrl.h" #include "ehrenberg/devices/gpio.h" #include "ehrenberg/devices/i2s.h" #include "ehrenberg/devices/msg_if.h" @@ -31,7 +32,7 @@ #define uart PERIPH(uart_t, APB_BASE + 0x01000) #define timer PERIPH(timercounter_t, APB_BASE + 0x20000) #define aclint PERIPH(aclint_t, APB_BASE + 0x30000) -// #define irq PERIPH(irq_t, APB_BASE+0x40000) +#define sysctrl PERIPH(sysctrl_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)