Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Source Navigator in Segger Embedded Studio reports "unknown register name 'vfpcc' in asm"

Using SEGGER Embedded Studio for ARM
Release 3.34a  Build 2018022300.35192
Windows x64

with

GCC/BINUTILS: Built using the GNU ARM Embedded Toolchain version 6-2017-q2-update source distribution

In the Output pane with "Source Navigator" selected, every file gets this error:

unknown register name 'vfpcc' in asm

Error line is in cmsis_gcc.h

/**
\brief Set FPSCR
\details Assigns the given value to the Floating Point Status/Control register.
\param [in] fpscr Floating Point Status/Control value to set
*/
__attribute__( ( always_inline ) ) __STATIC_INLINE void __set_FPSCR(uint32_t fpscr)
{
#if (__FPU_PRESENT == 1U) && (__FPU_USED == 1U)
/* Empty asm statement works as a scheduling barrier */
__ASM volatile ("");
__ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc");
__ASM volatile ("");
#endif
}

NOTE: This does not appear to prevent building.  It is distracting and can misdirect new users.

Is there any workaround or fix for this issue?

Parents Reply Children
Related