浏览代码

fw/boards/asterix: map I2S IRQ

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Gerard Marull-Paretas 1 月之前
父节点
当前提交
db3f382f1b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/fw/board/boards/board_asterix.c

+ 3 - 0
src/fw/board/boards/board_asterix.c

@@ -161,6 +161,8 @@ static const I2CSlavePort I2C_SLAVE_DA7212 = {
 
 I2CSlavePort *const I2C_DA7212 = &I2C_SLAVE_DA7212;
 
+IRQ_MAP_NRFX(I2S, nrfx_i2s_0_irq_handler);
+
 /* PERIPHERAL ID 11 */
 
 /* sensor SPI bus */
@@ -179,6 +181,7 @@ void board_early_init(void) {
   nrf_gpio_cfg_output(15);
   nrf_gpio_cfg_output(16);
   nrf_gpio_pin_set(15);
+  
   nrf_gpio_pin_set(16);
 
   nrf_clock_lf_src_set(NRF_CLOCK, NRF_CLOCK_LFCLK_XTAL);