• Common Block Subroutines - Selective
    I have a project for which the overall level of optimisation is set to the maximum. However, for a few modules (e.g. ISRs) I tried to set an optimisation level below that of Common Block Subroutines....
  • call tree manipulation and common block subroutines
    Hello, I am using a function pointer table, defined in an independent c file as this: /* file: sensor_interface.c */ sensor_driver_t code sensor_drivers[Sensor_Drv_MAX] = { { &elect_Initialize...
  • How to analyze common block subroutines and its call tree?
    I got a problem while my compiler works with OT(9), the problem is the stack pointer underflow and I have validated. The reason is OT(9) created new Common Block Subroutines in application, and some...
  • Nested Subroutines?
    Hello, I was wondering how to use routines in a subroutine (called nested subroutines?). For example, let's say I have MOV r0, #0 start BL firstLoop stop B stop firstLoop ADD r0,...
  • Subroutines
    I have file with many subroutines. How can I use this file in my project? I have problem that in output hex file are all subroutines (used and NOT USED) example: main.c extern void Sub1(void);...