• OOP rules for global objects
    Hi, What I do in my current project: 1- I've developed a library by using C++ (compiler: arm-none-eabi-g++ -std=c++17) and generated a static library (arm-none-eabi-ar) with some c-api wrapper functions...
  • Multiple objects problem ***
    I am having trouble using the linker "L51.exe". I am trying to link several OBJ files. This is my command line. L51 @files TO PRO3MAIN.LNK RAMSIZE(256) What is wrong? It doesn't create the output...
  • Global Object Pointer - C++ LPC1768
    Hi, I have a problem about Global Pointer of an Object. Here is my simple code #include "LPC17xx.h" #include "class.h" Class1* Pot; /* Interrupt every 100ms */ extern "C" void SysTick_Handler...
  • Stack corruption during global objects creation
    Hello, The progject I'm working on suppresses global objects creation using $Super$$__cpp_initialize__aeabi_, because some .cpp code contains OS calls so the construction is deferred to after the...
  • global variable/MULTIPLE PUBLIC DEFINITIONS
    Hi, I've split my project into files. I've defined some global variables in one of the header files as follows: unsigned char ToneDisp[16] = {'D','1','2','3','4','5','6','7','8','9','0',0x2A,0x23...