• Dynamic Syntax Checking not working
    I am having a very frustrating time with Keil lately. I have create project using STMCubeMX that generates the configuration file for the STM32 Nucelo476 dev kit. The problem I am having is that...
  • switch case statement bouncing
    switch(periodplay) { default : NVIC_ST_RELOAD_R = 0;Sound_Off(); break; case 0x01: NVIC_ST_RELOAD_R = beatC0 ; break; case 0x02: NVIC_ST_RELOAD_R = beatD; break; case 0x04 : NVIC_ST_RELOAD_R =...
  • Switch Case Statement problem
    I am using switch statement as follows uint16 val; switch (val) { case 0x0000: ... break case 0x0001: ... break case 0x0000: ... break case 0x0000: ... break case 0x0000: ... break...
  • dynamic syntax check use clang?
    uVision version is V5.26 ARM Compiler version is V5 #ifdef __clang__ code... #endif The code is not gray,as if __clang__ is pre-defined, but i use armcc. I try __clang_major__ and __clang_minor__...
  • Inexecutable statements inside switch case
    I have a segment of codes as follows. 'app' is a structure variable. The code can successfully pass the compiling process and run but contains some inexecutable important commands, which can't be...