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 2020/03/13 13:56:06 UTC

[mynewt-core] branch master updated (7b8bc8d -> 6fb2713)

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

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


    from 7b8bc8d  sys/console: Add auto search to ram based history
     new 4ebb77b  bsp/hifive1: Reduce size of interrupt stack
     new 6fb2713  bsp/hifive1: Add config and reboot fcb

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 hw/bsp/hifive1/hifive1.ld | 2 +-
 hw/bsp/hifive1/syscfg.yml | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)


[mynewt-core] 01/02: bsp/hifive1: Reduce size of interrupt stack

Posted by je...@apache.org.
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

commit 4ebb77b89d0eb38af133ef02e15c60c54393877e
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Fri Mar 13 13:16:18 2020 +0100

    bsp/hifive1: Reduce size of interrupt stack
    
    Interrupt stack was unreasonable large 2kB now it is
    reduced to 512 bytes leaving more ram for application.
---
 hw/bsp/hifive1/hifive1.ld | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/bsp/hifive1/hifive1.ld b/hw/bsp/hifive1/hifive1.ld
index fb398f9..8aa73da 100644
--- a/hw/bsp/hifive1/hifive1.ld
+++ b/hw/bsp/hifive1/hifive1.ld
@@ -23,7 +23,7 @@ ENTRY( _reset_handler )
 
 SECTIONS
 {
-  __stack_size = DEFINED(__stack_size) ? __stack_size : 2K;
+  __stack_size = DEFINED(__stack_size) ? __stack_size : 512;
   .imghdr (NOLOAD):
   {
       . = . + _imghdr_size;


[mynewt-core] 02/02: bsp/hifive1: Add config and reboot fcb

Posted by je...@apache.org.
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

commit 6fb27132902ff79f0454619e3a555f891858fbb4
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Fri Mar 13 13:18:16 2020 +0100

    bsp/hifive1: Add config and reboot fcb
    
    Flash areas were already configured in bsp but
    two syscfg values were missing to be able to
    use reboot log and config fcb as in other platforms.
---
 hw/bsp/hifive1/syscfg.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/bsp/hifive1/syscfg.yml b/hw/bsp/hifive1/syscfg.yml
index fb1be87..63d4af9 100644
--- a/hw/bsp/hifive1/syscfg.yml
+++ b/hw/bsp/hifive1/syscfg.yml
@@ -24,6 +24,8 @@ syscfg.vals:
     TIMER_0: 1
     TIMER_1: 1
     TIMER_2: 1
+    REBOOT_LOG_FLASH_AREA: FLASH_AREA_REBOOT_LOG
+    CONFIG_FCB_FLASH_AREA: FLASH_AREA_NFFS
 
 syscfg.defs.BUS_DRIVER_PRESENT:
     BSP_FLASH_SPI_NAME: