• Shifted binary generated by arm-none-eabi-objcopy

  • Warning: It blocks containing 32-bit Thumb instructions are deprecated in ARMv8 with GCC 4.9

    Dear colleagues.

    I am compiling the Intel TBB in an effort to optimize my code to the Cortex-M53, however, because I was still forced to use GCC 4.9 I'm getting some warning messages about the use of  32bit Thumb Instrucions in IT blocks:

    Warning…
  • arm-none-eabi-gcc (bleeding-edge-toolchain) 9.1.0

    I've just created another release of my bleeding-edge-toolchain script, which builds a complete toolchain for ARM microcontrollers. This toolchain uses the most recent versions of all possible components:

    • gcc-9.1.0
    • newlib-3.1.0
    • binutils-2.32
    • gdb…
  • Linker in gnu arm toolchain says "group ended without start" thought there is no such option in my build

    shyam@shyam:~/projects/zynq/microzed/linux_source/Test_Chips$ make
    make -C  /home/shyam/projects/zynq/microzed/linux_source/Test_Chips/../dev_tools/build
    make[1]: Entering directory `/home/shyam/projects/zynq/microzed/linux_source/dev_tools/build'
    Making…

  • Gcc naked attribute leaves some trailing function prologue asm instructions

      I've the following implementation for a svc exception handler on a cortex-m0:

        int  __attribute__((naked))  
        sv_call_handler(uint32_t n, uint32_t arg1, uint32_t arg2, uint32_t arg3,  
                        uint32_t arg4, uint32_t arg5)
         {
              irq_off();


    When I built it for cortex…

  • How much stack memory do I need for my Arm Cortex-M applications?

    Overview of stack size requirement estimations in Cortex-M based applications

    1 - Overview

    “How much stack memory do I need for this application?” - This is a common question for many software developers working on applications that run on microcontroller…