• bitband error in cmsis
    please, "--bitband" error when line 114 and line 128 in "cmsis\core_cmInstr.h" were not commented. And it will faster when rebuild if both line 114 and line 128 were commented.
  • __attribute__((bitband)) address miscalculation?
    Hello, I'm using Keil MDK 3.80a on STM32 and trying to use the bitband attribute to access individual bits in a 32bit register. typedef struct { uint32_t a0: 1; uint32_t b0: 1; uint32_t c0...
  • Fast bitband access Cortex M3
    Hi every one ! I normal use macro : #define x_bit(var,bit) *(__IO uint32_t *)(SRAM_BB_BASE|(((uint32_t)&(var)-SRAM_BASE)<< 5)| ((bit) << 2)) to calculate address of bit in variable.I'm using STM32f103...
  • bank switch link fail
    Link fail !! when I set the bank switch area to 0000h~efffh , error message : ADRESS SPACE OVERFLOW CODE but , 0000h~ffffh bank setting is OK ,and I'm sure My bank0&1 code size < 40k. Did I missing...
  • switch case fail
    void xx(char cc) { char aa; switch(cc) { case 1:case 0: aa=1; break; case 2,3: aa=2; break; } } //---------------------------------- xx(0); //run OK xx(1); //run OK xx(2); //run FAIL <<*...