RTEMS | stm32u5-grisp-nano: Multiple build errors plus warnings (#5289)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu Jul 3 16:35:32 UTC 2025
Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5289
## Summary
The stmu5-grisp-nano BSP does not compile or link cleanly. I have checked this with GCC 13 and GCC 15 and both give build errors. The first block of errors start with this:
```
In file included from ../../../bsps/arm/stm32u5/include/chip.h:39,
from ../../../bsps/arm/shared/cache/cache-v7m.c:29:
../../../bsps/arm/include/core_cm33.h:166:8: error: #error "Compiler generates DSP (SIMD) instructions for a devices without DSP extensions (check __DSP_PRESENT)"
166 | #error "Compiler generates DSP (SIMD) instructions for a devices without DSP extensions (check __DSP_PRESENT)"
| ^~~~~
../../../bsps/arm/include/core_cm33.h:2416:39: error: unknown type name 'IRQn_Type'; did you mean 'ITM_Type'?
2416 | __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
| ^~~~~~~~~
| ITM_Type
../../../bsps/arm/include/core_cm33.h:2435:46: error: unknown type name 'IRQn_Type'; did you mean 'ITM_Type'?
2435 | __STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
```
The second errors are like this one:
```
In file included from /home/joel/rtems-work/rtems/testsuites/libtests/dl13/dl13-o1.c:28:
/home/joel/rtems-work/rtems/testsuites/libtests/dl13/dl13-arm_mode.h:31:1: error: target CPU does not support ARM mode
31 | void arm_mode_func (void)__attribute__((target("arm")));
| ^~~~
```
There are also over 40 warnings. All this needs to be resolved.
## Steps to reproduce
I build with the following configuration but I do not think RTEMS_DEBUG or the GCC version have any impact:
```
[arm/stm32u5-grisp-nano]
BUILD_SAMPLES=True
BUILD_TESTS=True
RTEMS_DEBUG=True
```
### Pre-set options
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5289
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250703/78d955d8/attachment.htm>
More information about the bugs
mailing list