2014-12-19 04:42 PM
I successfully migrated a CubeMX configuration to Eclipse IDE but got stock at the very basics of telling gcc the correct target processor settings.
In what document can I read about the assembler dialect supported (mthumb marm etc.) and what fpu support is to be selected in arm-gcc for a specific STM MCU. Thank you #stm32f407 #arm-gcc #know-your-tools2014-12-19 06:05 PM
In what document can I read about the assembler dialect supported (mthumb marm etc.) and what fpu support is to be selected in arm-gcc for a specific STM MCU.
A GNU/GCC manual perhaps? -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d162014-12-21 02:15 AM
2014-12-21 08:16 AM
sorry, that is the point I stock at, the linker tells me then that thumb code is not supported by this cpu
This is perhaps something you'd want to discuss with the vendor of your tools. I don't think you're provided enough information here for me to guess at what's wrong with your configuration. GNU/GCC 4.7.2 arm-none-eabi as provided by Yagarto works fine with these command line options, via a makefile There is nothing specific to STM32 parts, most of the peripheral and memory differences are dealt with as library code, or linker scripts. The cortex-mx parts should be intrinsically supported by the right compiler, and those options should be apparent via the compiler's help output, or man page(s)