Hi,
I have to upgrade an C project from compiler version "V5.06 update 4 (build422)" to "V6.18", using µVision. The C/C++ and Asm parts of the project are:
C/C++=====-c --cpu Cortex-M0 -D__MICROLIB -g -O1 -Otime --apcs=interwork --split_sections --asm --interleave --asm_dir ".\\" -I ../ -I ../../LIBRARY/STM32F0-Discovery_FW_V1.0.0/Libraries/CMSIS/Include -I ../../LIBRARY/STM32F0-Discovery_FW_V1.0.0/Libraries/CMSIS/ST/STM32F0xx/Include -I ../../LIBRARY/STM32F0-Discovery_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/inc -I ../../LIBRARY/STM32F0-Discovery_FW_V1.0.0/Utilities/STM32F0-Discovery -DCONTRAST_NORMAL-IC:/Keil/ARM/RV31/INC-IC:/Keil/ARM/CMSIS/Include-IC:/Keil/ARM/Inc/ST/STM32F0xx-D__UVISION_VERSION="522" -DUSE_STDPERIPH_DRIVER -DSTM32F0XX-o .\*.o --list_dir ".\\" --list --omf_browse .\*.crf --depend .\*.d
Asm===--cpu Cortex-M0 -g --apcs=interwork --pd "__MICROLIB SETA 1" -I C:\Keil\ARM\RV31\INC -I C:\Keil\ARM\CMSIS\Include -I C:\Keil\ARM\Inc\ST\STM32F0xx --pd "__UVISION_VERSION SETA 522" --list "*.lst" --xref -o "*.o" --depend "*.d"
Can I use these settings for 6.18 too or do I have to modify them?
Any help appreciated, Hans
Hello Hans, have you seen the document "Arm Compiler for Embedded Migration and Compatibility Guide", specifically:https://developer.arm.com/documentation/100068/0618/Migrating-from-armcc-to-armclang
andhttps://developer.arm.com/documentation/100068/0618/Migrating-from-armasm-to-the-armclang-Integrated-Assembler
Ronan