This is an automated email from the ASF dual-hosted git repository.

vipulrahane pushed a commit to branch vipul/juul-master-steam-10-18-2023
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit c24d3c45be25aafb950f1194f3b43e873517b953
Author: Andy Gross <andy.gr...@juul.com>
AuthorDate: Mon May 23 10:04:15 2022 -0500

    da146x: hal_flash: Autodetect and configure flash
    
    This patch adds in autodetection and configuration of Gigadevice and 
Macronix
    flash devices based on the manufacturer and device ID.  The intent in this 
is to
    allow for a single binary to work on devices with different flash.
    
    Signed-off-by: Andy Gross <andy.gr...@juul.com>
---
 hw/mcu/dialog/da1469x/src/hal_flash.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/mcu/dialog/da1469x/src/hal_flash.c 
b/hw/mcu/dialog/da1469x/src/hal_flash.c
index 0ee84923b..2b84da115 100644
--- a/hw/mcu/dialog/da1469x/src/hal_flash.c
+++ b/hw/mcu/dialog/da1469x/src/hal_flash.c
@@ -461,6 +461,7 @@ qspi_read_rdid(const struct hal_flash *dev)
 static sec_text_ram_core void
 da1469x_hff_mcu_custom_init(const struct hal_flash *dev)
 {
+    const struct qspi_flash_config *config = NULL;
     uint32_t primask;
 
     __HAL_DISABLE_INTERRUPTS(primask);

Reply via email to