vstmdb/vldmia not supported in thumb mode
I am trying to compile a project for Cortex M7 processor (STM32F767BIT6)
With following assembler options
arm-none-eabi-as -g -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard
i am getting the error:
startup/os_cpu_a.s:231: Error: selected processor does not support `vstmdb R0!,{S16-S31}’ in Thumb mode
startup/os_cpu_a.s:252: Error: selected processor does not support `vldmia R0!,{S16-S31}’ in Thumb mode
Even when compile with -mcpu=cortex-m7 the same error is shown.
please help