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 2021/05/19 08:11:28 UTC
[mynewt-core] 01/02: hw/drivers/spiram: Fix spiram link error
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 c755a17bc97231155072375b624128edae049bed
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Wed May 19 08:58:09 2021 +0200
hw/drivers/spiram: Fix spiram link error
spiram_init is only defined in spiram.c when SPIRAM_0 is set.
Now package initialization is conditional on SPIRAM_0.
---
hw/drivers/ram/spiram/pkg.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/drivers/ram/spiram/pkg.yml b/hw/drivers/ram/spiram/pkg.yml
index 222ed01..991c3d1 100644
--- a/hw/drivers/ram/spiram/pkg.yml
+++ b/hw/drivers/ram/spiram/pkg.yml
@@ -26,5 +26,5 @@ pkg.keywords:
pkg.deps:
- "@apache-mynewt-core/hw/hal"
-pkg.init:
+pkg.init.SPIRAM_0:
spiram_init: 'MYNEWT_VAL(SPIRAM_SYSINIT_STAGE)'