fix: firmware/main.c using douplicated symbol "__clearram"
authorStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Sun, 5 May 2013 18:23:27 +0000 (20:23 +0200)
committerStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Sun, 5 May 2013 20:33:46 +0000 (20:33 +0000)
Signed-off-by: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
firmware/main.c

index e40c0b5..2b44ac3 100644 (file)
@@ -199,8 +199,8 @@ static const uchar  signatureBytes[4] = {
 * Under normal circumstances, RESET will not clear contents of RAM.
 * As always, if you want it done - do it yourself...
 */
-void __attribute__ ((naked)) __attribute__ ((section (".init3"))) __clearram(void);
-void __clearram(void) {
+void __attribute__ ((section(".init3"),naked,used,no_instrument_function)) __func_clearram(void);
+void __func_clearram(void) {
   extern size_t __bss_end;
   asm volatile (
     "__clearram:\n\t"