You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2022/02/09 11:16:28 UTC

[mynewt-core] branch master updated: mcu/da1469x: Increase retained GPIO number

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

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 1b66c87  mcu/da1469x: Increase retained GPIO number
1b66c87 is described below

commit 1b66c87203242449f1f360c2ef1de40bed7d84d4
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Wed Feb 9 10:34:04 2022 +0100

    mcu/da1469x: Increase retained GPIO number
    
    MCU_GPIO_RETAINABLE_NUM default value 4 is optimized to reduce
    RAM usage.
    Unfortunately it leads very difficult problems.
    If BSP tries to configure more GPIO then system asserts at run time.
    It is even harder if this happens in flash_loader.
    
    This changes MCU_GPIO_RETAINABLE_NUM to 32 by default
---
 hw/mcu/dialog/da1469x/syscfg.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/mcu/dialog/da1469x/syscfg.yml b/hw/mcu/dialog/da1469x/syscfg.yml
index 8273da4..e3a446f 100644
--- a/hw/mcu/dialog/da1469x/syscfg.yml
+++ b/hw/mcu/dialog/da1469x/syscfg.yml
@@ -41,7 +41,7 @@ syscfg.defs:
             If set to -1, power domain which controls GPIO pins will be
             always active and thus retaining and restoring of GPIO pins
             state is disabled.
-        value: 4
+        value: 32
     MCU_GPIO_MAX_IRQ:
         description: >
             Maximum number of GPIO interrupts that can be configured at