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 <[email protected]>
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;

Reply via email to