• ARM: Compiler bug; omitted subexpression
    This code: unsigned int Argh( unsigned int Word, unsigned int Base ) { return ( ( Word & ~1 ) << 2 ) + Base; } is compiled as: Argh PROC ;;;1 unsigned int Argh( unsigned int Word, unsigned...
  • Omit CheckMedia function in MemoryStorage
    Hi, My SD card detect pin, is not connected so How can I omit USBD_MSC0_CheckMedia() function? I rewrited that function but PC did't detect it. uint32_t USBD_MSC0_CheckMedia (void) { #if (USE_FILE_SYSTEM...
  • Detection of warning depend on optimisation
    Hello arm I use the arm v9-2019-q4-major toolchain. I compile for the STM32H743 (also seen in the setting) I compile using the following settings. CFLAG contains compiler settings. CFLAGS += -D__FPU_PRESENT...
  • ARM Compiler 6 Optimisation
    Hi! Finally I have completed the migration of my project from Compiler 5 to Compiler 6. But that was quite tedious process, and the most actually came from debugging lost variables and functions...
  • How does VFP model omit startup code?
    I noticed most bare-metal examples included with DS-5 that rely on a FVP also include startup code (e.g. startup.s).  However, there's one bare-metal example (Calendar program for Cortex-A8-FVP) that...