applies clang--format
This commit is contained in:
@@ -1,24 +1,23 @@
|
||||
#include "uart.h"
|
||||
#include "gen/ethmac.h"
|
||||
#include "aclint.h"
|
||||
#include "gen/ethmac.h"
|
||||
#include "riscv-csr.h"
|
||||
#include "riscv-traps.h"
|
||||
#include "uart.h"
|
||||
|
||||
#define PERIPH(TYPE, ADDR) ((volatile TYPE*)(ADDR))
|
||||
#define PERIPH_BASE 0x10000000
|
||||
#define uart PERIPH(uart_t, PERIPH_BASE + 0x01000)
|
||||
#define aclint PERIPH(aclint_t, PERIPH_BASE + 0x30000)
|
||||
#define ethmac0 PERIPH(ethmac_t, PERIPH_BASE + 0x1000000)
|
||||
#define ethmac1 PERIPH(ethmac_t, PERIPH_BASE + 0x1001000)
|
||||
#define PERIPH_BASE 0x10000000
|
||||
#define uart PERIPH(uart_t, PERIPH_BASE + 0x01000)
|
||||
#define aclint PERIPH(aclint_t, PERIPH_BASE + 0x30000)
|
||||
#define ethmac0 PERIPH(ethmac_t, PERIPH_BASE + 0x1000000)
|
||||
#define ethmac1 PERIPH(ethmac_t, PERIPH_BASE + 0x1001000)
|
||||
|
||||
#define UART0_IRQ 16
|
||||
#define UART0_IRQ 16
|
||||
#define TIMER0_IRQ0 17
|
||||
#define TIMER0_IRQ1 18
|
||||
#define QSPI_IRQ 19
|
||||
#define I2S_IRQ 20
|
||||
#define CAM_IRQ 21
|
||||
#define DMA_IRQ 22
|
||||
#define GPIO_ORQ 23
|
||||
#define ETH0_IRQ 24
|
||||
#define ETH1_IRQ 25
|
||||
|
||||
#define QSPI_IRQ 19
|
||||
#define I2S_IRQ 20
|
||||
#define CAM_IRQ 21
|
||||
#define DMA_IRQ 22
|
||||
#define GPIO_ORQ 23
|
||||
#define ETH0_IRQ 24
|
||||
#define ETH1_IRQ 25
|
||||
|
||||
Reference in New Issue
Block a user