Refactor switch context ASM files to comply to Wizard.
[bertos.git] / examples / at91sam7s / at91sam7s.mk
index f7d2a9d92a2ec1c5661a481213e85cc3f6e7e3f7..90d8016a47b7ed21f404dad3da8ca690c9488e36 100644 (file)
@@ -33,12 +33,12 @@ at91sam7s_CSRC = \
 
 at91sam7s_CPPASRC = \
        bertos/cpu/arm/hw/crtat91sam7_rom.S \
-       bertos/cpu/arm/hw/switch_arm.S
+       bertos/cpu/arm/hw/switch_ctx_arm.S
 
-at91sam7s_CROSS = arm-none-eabi-
+at91sam7s_PREFIX = arm-none-eabi-
 
 at91sam7s_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug
-at91sam7s_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_AT91SAM7S256__ -g3 -gdwarf-2 -fverbose-asm -Iexamples/at91sam7s/hw -Iexamples/at91sam7s -Ibertos/cpu/arm
+at91sam7s_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_AT91SAM7S256__ -D'CPU_FREQ=(48023000UL)' -g3 -gdwarf-2 -fverbose-asm -Iexamples/at91sam7s/hw -Iexamples/at91sam7s -Ibertos/cpu/arm
 at91sam7s_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_ram.ld -Wl,--no-warn-mismatch
 
 at91sam7s_CPU = arm7tdmi