• uVision (microvision) Configuration Distribution
    About a week ago I searched for a way to implement all the same settings, templates and other such settings that are not project specific. The only post on the forums I could find was this one: ...
  • Random numbers with Gaussian distribution
    Hi, i try to program a white noise generator with gaussian distribution. When i first used the rand() function i connected the 12-Bit DA-converter to a speaker. A periodic timer interrupt (about 400kHz...
  • Subroutines
    I have file with many subroutines. How can I use this file in my project? I have problem that in output hex file are all subroutines (used and NOT USED) example: main.c extern void Sub1(void);...
  • Nested Subroutines?
    Hello, I was wondering how to use routines in a subroutine (called nested subroutines?). For example, let's say I have MOV r0, #0 start BL firstLoop stop B stop firstLoop ADD r0,...
  • Forcing a subroutine to be compiled as subroutine and use BX lr
    Hi All We have a problem with a uVision project compiling a routine but not returning using BX lr. It uses B.N plus an address instead when returning - presumably because it is in-lining the subroutine...