• Static array declaration crashes application.
    Hi, I'm using Keil IDE V4.23.00.00.0. If I declare some static array in module A like: volatile static unsigned char MyArray[9] then all works fine. If I declare it like: volatile static...
  • Static array declaration crashes application.
    Hi, I'm using Keil IDE V4.23.00.00.0. If I declare some static array in module A like: volatile static unsigned char MyArray[9] then all works fine. If I declare it like: volatile static...
  • When declare a variable to be static?
    Can someone give some explains on when to declare a variable to be static? What is the difference with extern one?
  • When declare a variable to be static?
    Can someone give some explains on when to declare a variable to be static? What is the difference with extern one?
  • Variable declared as static const is being discarded even when used
    Version: 7.3.1 Let's consider following example: static const uint32_t y = 5; void return_variable(uint32_t* val) { *val = y; } int main(void) { uint32_t x = 0; return_variable(&x); } I...