This question relates to arm-none-eabi-gcc version 5.4.1. (I know is rather old but I must use it). This produces the following assembly: When l ...
This question relates to arm-none-eabi-gcc version 5.4.1. (I know is rather old but I must use it). This produces the following assembly: When l ...
I got below error message when compile a simple c file with an __asm function. It seems "MSP" is not recognized. I can build after comment out "MRS R0 ...
I'm trying to get a bunch of C modules written in 1994 for a Panasonic 3DO lib to compile with armcc. I've run into an error which I'm kind of confuse ...
I am workin on a project with TM4C123GH6PM micro-controller using keil uvision version 4.7. When I assign a value to a variable in binary format like ...
I am working on a CMAKE build system that cross compile ARM CortexM4 using Keil ARMCC toolset in Windows I set the c compiler flags as the following ...
There are predefined macros such as __OPTIMIZE__ (defined in all optimizing compilations) and __OPTIMIZE_SIZE__ (defined if the compiler is ...
I found out (i.function name) section in map file after build completion. ====================================================== ex) [foo1.h] // i ...
I'm building an application for which I'd like to support a certain proprietary platform. It uses a modified version of ARMCC which CMake doesn't seem ...
I have read some documents regarding on gcc on copy-elision and they provide options "-fno-elide-constructors" to disable copy-elision. I am wondering ...
I'm trying to understand exactly how the exception table (.arm.extab) works. I'm aware that this is compiler dependent, so i'll restrict myself to arm ...
I'm attempting to add instrumenting/profiling calls to C source. Many compilers I have found have flags that let you do this (--gnu_instrument, -finst ...
I'm trying to link a symbol's file with mangled generated ones from the header. (matching ROM located functions to the RAM ones.) In the .sym I have ...
I am trying to do the ASM instruction DCD 0xf7f0a000 in ARM C code. The below methods I tried and errors I got: Error : #3061: unrecognized ins ...
Consider the following code: Which generates this machine code (produced with the toolchain's objdump): Now, since status is volatile, it shoul ...
I am working with the ARM compiler and have a HW peripheral (having direct memory access) which is requiring a specific alignment for the memory buffe ...
I'm trying, and failing, to get the ARMCC linker to put variables into an area of RAM which is NOT initialised (because I need them to survive across ...
I'm using ARM Compiler 5 (ARMCC) in Keil 5.25. I'm using c++11. I'm using c++11 with self-made analogue of std::function (since there is no std::func ...
I am trying to compile the following code in C (armcc file.c): I get a warning only for the enum assignment and not for integer variable assignment ...
I'm migrating an application I was developing in CodeWarrior v5.2 to Keil uVision v5.25, which uses the ARM C compiler v5.06. Throughout my code I've ...
I am having trouble understanding my compiler. We use the Scons utility to compile ARM code for an M0+ processor (on Windows, if it matters. It's an A ...