You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/05/02 08:10:53 UTC
[incubator-nuttx] branch master updated: RISC-V: Fix crt0 file compilation
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 6bf8623897 RISC-V: Fix crt0 file compilation
6bf8623897 is described below
commit 6bf86238973026a698a1e1384f3fef7ec97a2d5d
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Mon May 2 09:35:39 2022 +0300
RISC-V: Fix crt0 file compilation
Definition of STACK_FRAME_SIZE was moved
---
arch/risc-v/src/common/crt0.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/risc-v/src/common/crt0.c b/arch/risc-v/src/common/crt0.c
index f9073071b6..0ca5815d68 100644
--- a/arch/risc-v/src/common/crt0.c
+++ b/arch/risc-v/src/common/crt0.c
@@ -32,6 +32,8 @@
#include <sys/types.h>
#include <stdlib.h>
+#include "riscv_internal.h"
+
#ifdef CONFIG_BUILD_KERNEL
/****************************************************************************