• memcmp function
    I'm having a problem with the memcmp library function. Even though the buffers match, it returns a value that is not 0. Here is the code: if (sx == app_id[0]) { sx = memcmp((rx1_buf+y),app_id,8);...
  • memcmp failed
    Hi, I've a lot of troubles working with the memcmp command. I want to compare two strings, which are equal, but the programm tells me that they are not equal. Both memory locations have the same...
  • optimalization
    Hi. Can you tell me which level of optimalization I have to choose i Keil ARM? I'm working whith STM32F103. In WinAVR I allways had -Os (speed) but what i Keil ARM?
  • ARM Compiler optimization effects
    Hello, I'm using Keil uVision V5.24.2.0 with ARM Compiler V5.06 update 5 (build 528). Initially, compiler optimization level was set to 1. With this level, I found that the address assigned...
  • Arm GCC lambda optimization
    Hello, I am working on an IoT project, mixing C and C++, and I am having stack issues with lambdas. The following code was compiled by gcc-arm-none-eabi-8-2018-q4-major-win32 , with -Os and runs on...