• Linker zero_init Command
    Hello, While porting legacy code from an LPC2103 to a LPC1765 Cortex processor within the Keil environment I came accross the need to implement the linker zero_init attribute for a single byte variable...
  • Problems with placing a variable in a named section with scatter-loading
    Hello I'm having problems placing a variable in a named section with scatter-loading. I'm following Placing functions and data at specific addresses and I can actually see the new section in the map...
  • ARM C/C++ Compiler, RVCT4.0
    Hello ; We were working on a project where we have to change our local time (UTC +2 ) . After development we changed our time from 10.12.2016 to 1.1.2020 to test our application . But accidentally...
  • ARMASM - include file using defined parameter
    Hello, I trying to include .s file into another .s file using INCLUDE directive with defined parameter, but without success. I check 2 scenario. Scenario 1 startup.s file: #include "Configuration...
  • Why are dynamically-sized arrays implemented as malloc()?
    I'm working on a project that should not use a Heap. In the process of revising my code for this, I've discovered that dynamically-sized arrays, e.g. uint8_t my_array[MIN(input_size, MAX_SIZE)]; are...