Hi Guys, Does someone have experience with porting ARTX (using Keil tool chain) based application to RTX (using Real View/ARM tool chain)? I am just doing this, and so far I have the following problems: 1) When increasing compilation optimization - some strange behavior of char arrays (one of them is strangely overwritten); 2) When optimization level is set to highest, and is set for "Time optimization" – compilation process hangs (after stopping build, closing the project and uVision Uv3.exe and armcc.exe have to be killed manually via Win Task manager as they keep running); Does someone have something like that as problems? Thank you! Nivelinn
The RTX_CONF file needs to be compiled with Optimize 0. Therefore all RealView configuration (that come with MDK 3.01) have the #pragma O0 included in this file. Other RTX source files can be fully optimized, but the config file contains the context switch which is a bit tricky from the compiler optimization point of view. Note again, that all current versions are correctly configured.