X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fcontext_switch%2Fcontext_switch.mk;h=cf44068af3a8d160fe5eeef4b9c4bdaebdf2d77c;hb=1451655ede01749bd88aab45f5714a11a9fc0eee;hp=02d93cc47ffa1907871f564dbce2ba2a6d637a9a;hpb=f30870b670b3bf27f28a219d58c852db15ca64a9;p=bertos.git diff --git a/boards/stm32-p103/benchmark/context_switch/context_switch.mk b/boards/stm32-p103/benchmark/context_switch/context_switch.mk index 02d93cc4..cf44068a 100644 --- a/boards/stm32-p103/benchmark/context_switch/context_switch.mk +++ b/boards/stm32-p103/benchmark/context_switch/context_switch.mk @@ -13,24 +13,25 @@ context_switch_PREFIX = "arm-none-eabi-" context_switch_SUFFIX = "" -context_switch_SRC_PATH = boards/stm32-p103/benchmark/context_switch +context_switch_SRC_PATH = boards/stm32-p103/benchmark context_switch_HW_PATH = boards/stm32-p103 # Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_CSRC INSTEAD! context_switch_WIZARD_CSRC = \ - bertos/benchmark/context_switch.c \ + bertos/cpu/cortex-m3/drv/ser_stm32.c \ bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \ - bertos/kern/kfile.c \ + bertos/mware/event.c \ bertos/cpu/cortex-m3/drv/timer_cm3.c \ bertos/struct/heap.c \ + bertos/benchmark/context_switch.c \ + bertos/io/kfile.c \ bertos/mware/formatwr.c \ - bertos/cpu/arm/drv/timer_arm.c \ bertos/drv/timer.c \ - bertos/mware/event.c \ + bertos/kern/signal.c \ bertos/kern/proc.c \ + bertos/drv/ser.c \ bertos/mware/hex.c \ - bertos/kern/signal.c \ # # Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_PCSRC INSTEAD! @@ -40,6 +41,7 @@ context_switch_WIZARD_PCSRC = \ # Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_CPPASRC INSTEAD! context_switch_WIZARD_CPPASRC = \ + \ # # Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_CXXSRC INSTEAD! @@ -77,12 +79,12 @@ context_switch_ASRC = $(context_switch_CPU_ASRC) $(context_switch_WIZARD_ASRC) $ # CPU specific flags and options, defined in the CPU definition files. # Automatically generated by the wizard. PLEASE DO NOT EDIT! -context_switch_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S +context_switch_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S context_switch_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork -context_switch_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_STM32P103__ -context_switch_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/gpio_stm32.c bertos/cpu/cortex-m3/drv/clock_stm32.c +context_switch_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_STM32F103RB__ +context_switch_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/gpio_stm32.c bertos/cpu/cortex-m3/drv/clock_stm32.c context_switch_PROGRAMMER_CPU = stm32 -context_switch_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld +context_switch_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/stm32f103rb_rom.ld context_switch_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh context_switch_CPU = cortex-m3 context_switch_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh