Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RISC-V and AARCH64 compatibility for cmsis-dsp library #1610

Open
ua1arn opened this issue Mar 15, 2023 · 0 comments
Open

RISC-V and AARCH64 compatibility for cmsis-dsp library #1610

ua1arn opened this issue Mar 15, 2023 · 0 comments

Comments

@ua1arn
Copy link
Contributor

ua1arn commented Mar 15, 2023

Only two lines.,.. Same problem and similar for aarch64 processors
`From 909ee3f39a3c5f6cc2d99fcab48ae6fc4e09371a Mon Sep 17 00:00:00 2001
From: ua1arn mgs2001@mail.ru
Date: Wed, 15 Mar 2023 18:09:59 +0300
Subject: [PATCH] risc-v compatibility


CMSIS/Core_A/Include/cmsis_gcc.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/CMSIS/Core_A/Include/cmsis_gcc.h b/CMSIS/Core_A/Include/cmsis_gcc.h
index f468844c9..36393a7b2 100644
--- a/CMSIS/Core_A/Include/cmsis_gcc.h
+++ b/CMSIS/Core_A/Include/cmsis_gcc.h
@@ -113,6 +113,7 @@
#endif

+#if ! defined __riscv
/* ########################## Core Instruction Access ######################### /
/
*
\brief No Operation
@@ -966,6 +967,7 @@ __STATIC_INLINE void __FPU_Enable(void)

/*@} end of group CMSIS_Core_intrinsics */

+#endif /* ! defined __riscv */
#pragma GCC diagnostic pop

#endif /* __CMSIS_GCC_H */

2.32.0.windows.2

`

@ua1arn ua1arn changed the title RISC-V abd AARCH66 compatibility for cmsis-dsp library RISC-V abd AARCH64 compatibility for cmsis-dsp library Mar 15, 2023
@ua1arn ua1arn changed the title RISC-V abd AARCH64 compatibility for cmsis-dsp library RISC-V and AARCH64 compatibility for cmsis-dsp library Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant