From 69fce77718ab564c16a47f4891f0f4e814de068a Mon Sep 17 00:00:00 2001 From: "Virus.V" Date: Wed, 9 Jun 2021 18:40:56 +0800 Subject: [PATCH] risc-v/bl602: update firmware to fix undefined up_irq_* symbols when linking Signed-off-by: Virus.V --- arch/risc-v/src/bl602/Make.defs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/risc-v/src/bl602/Make.defs b/arch/risc-v/src/bl602/Make.defs index f0af3cb0a5..213d960386 100644 --- a/arch/risc-v/src/bl602/Make.defs +++ b/arch/risc-v/src/bl602/Make.defs @@ -52,11 +52,11 @@ CHIP_CSRCS += bl602_idle.c bl602_irq.c bl602_irq_dispatch.c CHIP_CSRCS += bl602_serial.c bl602_lowputc.c bl602_tim.c CHIP_CSRCS += bl602_start.c bl602_timerisr.c -ifeq ($(CONFIG_I2C),y) +ifeq ($(CONFIG_I2C),y) CHIP_CSRCS += bl602_i2c.c endif -ifeq ($(CONFIG_SPI),y) +ifeq ($(CONFIG_SPI),y) CHIP_CSRCS += bl602_spi.c endif @@ -84,7 +84,7 @@ CHIP_CSRCS += bl602_glb.c bl602_gpio.c bl602_hbn.c bl602_systemreset.c ifeq ($(CONFIG_BL602_WIRELESS),y) WIRELESS_DRV_UNPACK = bl_blob WIRELESS_DRV_VERSION = v1.6.19 -WIRELESS_DRV_ID = main +WIRELESS_DRV_ID = dev_irq WIRELESS_DRV_ZIP = $(WIRELESS_DRV_ID).zip WIRELESS_DRV_URL = https://github.com/bouffalolab/bl_blob/archive