Part I: Playing around with GCC (ARM flavor)
It is really useful to understand how the compiler works and I don’t mean you have to dig in until it's darkest secrets guts, but at least is good to
It is really useful to understand how the compiler works and I don’t mean you have to dig in until it's darkest secrets guts, but at least is good to
A real world project is made of several files that needs to be first compiled and then linked, here is the most easy example to compile, just two files with no headers, again
As you remember in our previous post the lines we need to write in our terminal to build the most simple program has been increasing considerably and that represent a problem, it is
This is a very interesting topic we are about to dig in. How the compiler organizes our program, maybe you been wondering all those years how the compiler handles global variables, program code
In our previous post we look into how the compiler organize our code into sections, now is time to see how we can assign those section in different addresses. We are going to
Like I mentioned in the previous post there is something more sophisticated to organize the memory for our program, the linker scripts allows us to do that. lets go back to the most
Before start talking about OpenOCD lets remember the different pieces of software and hardware you should have in order to successfully code, build and flash any microcontroller. The next diagram shows those different