Would be the part of the program code executed faster if its section was linked to be moved from flash to ram on startup? This code is executed many times.
Thanks!I tried on purpose with non-optimal code and its execution in RAM was 11% faster than in flash. Reallocation in RAM is only on the code, without the vector table. uint32_t t1, t2, su, in; t1 = Millis(); su = 0; in = 1; la1: su += in;...
I'm using STM32F10x_StdPeriph_Lib_V3.5.0 and the programme becomes more readable./** * @brief Configure the EXTI 4. * The external signal is connected to EXTI4 pin (PB.4) * The Rising edge is used as active edge * @param None * @re...