X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fstm32-p103_context_switch%2Fstm32-p103_context_switch.mk;h=b41a549940790ae4a3a2d428d4c612162404a60e;hb=976d522209efc4c11a019ae6b34657b6b3f59ba0;hp=cf44068af3a8d160fe5eeef4b9c4bdaebdf2d77c;hpb=1ebcf9b89595826a5c158ae6a68d4c2407b1dd52;p=bertos.git diff --git a/boards/stm32-p103/benchmark/stm32-p103_context_switch/stm32-p103_context_switch.mk b/boards/stm32-p103/benchmark/stm32-p103_context_switch/stm32-p103_context_switch.mk index cf44068a..b41a5499 100644 --- a/boards/stm32-p103/benchmark/stm32-p103_context_switch/stm32-p103_context_switch.mk +++ b/boards/stm32-p103/benchmark/stm32-p103_context_switch/stm32-p103_context_switch.mk @@ -1,94 +1,94 @@ # # Wizard autogenerated makefile. -# DO NOT EDIT, use the context_switch_user.mk file instead. +# DO NOT EDIT, use the stm32-p103_context_switch_user.mk file instead. # # Constants automatically defined by the selected modules # Our target application -TRG += context_switch +TRG += stm32-p103_context_switch -context_switch_PREFIX = "arm-none-eabi-" +stm32-p103_context_switch_PREFIX = "arm-none-eabi-" -context_switch_SUFFIX = "" +stm32-p103_context_switch_SUFFIX = "" -context_switch_SRC_PATH = boards/stm32-p103/benchmark +stm32-p103_context_switch_SRC_PATH = boards/stm32-p103/benchmark/stm32-p103_context_switch -context_switch_HW_PATH = boards/stm32-p103 +stm32-p103_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 = \ +# Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_context_switch_USER_CSRC INSTEAD! +stm32-p103_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/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/cortex-m3/hw/switch_ctx_cm3.c \ + bertos/drv/ser.c \ bertos/drv/timer.c \ - bertos/kern/signal.c \ + bertos/io/kfile.c \ bertos/kern/proc.c \ - bertos/drv/ser.c \ + bertos/kern/signal.c \ + bertos/mware/event.c \ + bertos/mware/formatwr.c \ bertos/mware/hex.c \ + bertos/struct/heap.c \ # -# Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_PCSRC INSTEAD! -context_switch_WIZARD_PCSRC = \ +# Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_context_switch_USER_PCSRC INSTEAD! +stm32-p103_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 stm32-p103_context_switch_USER_CPPASRC INSTEAD! +stm32-p103_context_switch_WIZARD_CPPASRC = \ \ # -# Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_CXXSRC INSTEAD! -context_switch_WIZARD_CXXSRC = \ +# Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_context_switch_USER_CXXSRC INSTEAD! +stm32-p103_context_switch_WIZARD_CXXSRC = \ \ # -# Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_ASRC INSTEAD! -context_switch_WIZARD_ASRC = \ +# Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_context_switch_USER_ASRC INSTEAD! +stm32-p103_context_switch_WIZARD_ASRC = \ \ # -context_switch_CPPFLAGS = -D'CPU_FREQ=(72000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(context_switch_HW_PATH) -I$(context_switch_SRC_PATH) $(context_switch_CPU_CPPFLAGS) $(context_switch_USER_CPPFLAGS) +stm32-p103_context_switch_CPPFLAGS = -D'CPU_FREQ=(72000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(stm32-p103_context_switch_HW_PATH) -I$(stm32-p103_context_switch_SRC_PATH) $(stm32-p103_context_switch_CPU_CPPFLAGS) $(stm32-p103_context_switch_USER_CPPFLAGS) # Automatically generated by the wizard. PLEASE DO NOT EDIT! -context_switch_LDFLAGS = $(context_switch_CPU_LDFLAGS) $(context_switch_WIZARD_LDFLAGS) $(context_switch_USER_LDFLAGS) +stm32-p103_context_switch_LDFLAGS = $(stm32-p103_context_switch_CPU_LDFLAGS) $(stm32-p103_context_switch_WIZARD_LDFLAGS) $(stm32-p103_context_switch_USER_LDFLAGS) # Automatically generated by the wizard. PLEASE DO NOT EDIT! -context_switch_CPPAFLAGS = $(context_switch_CPU_CPPAFLAGS) $(context_switch_WIZARD_CPPAFLAGS) $(context_switch_USER_CPPAFLAGS) +stm32-p103_context_switch_CPPAFLAGS = $(stm32-p103_context_switch_CPU_CPPAFLAGS) $(stm32-p103_context_switch_WIZARD_CPPAFLAGS) $(stm32-p103_context_switch_USER_CPPAFLAGS) # Automatically generated by the wizard. PLEASE DO NOT EDIT! -context_switch_CSRC = $(context_switch_CPU_CSRC) $(context_switch_WIZARD_CSRC) $(context_switch_USER_CSRC) +stm32-p103_context_switch_CSRC = $(stm32-p103_context_switch_CPU_CSRC) $(stm32-p103_context_switch_WIZARD_CSRC) $(stm32-p103_context_switch_USER_CSRC) # Automatically generated by the wizard. PLEASE DO NOT EDIT! -context_switch_PCSRC = $(context_switch_CPU_PCSRC) $(context_switch_WIZARD_PCSRC) $(context_switch_USER_PCSRC) +stm32-p103_context_switch_PCSRC = $(stm32-p103_context_switch_CPU_PCSRC) $(stm32-p103_context_switch_WIZARD_PCSRC) $(stm32-p103_context_switch_USER_PCSRC) # Automatically generated by the wizard. PLEASE DO NOT EDIT! -context_switch_CPPASRC = $(context_switch_CPU_CPPASRC) $(context_switch_WIZARD_CPPASRC) $(context_switch_USER_CPPASRC) +stm32-p103_context_switch_CPPASRC = $(stm32-p103_context_switch_CPU_CPPASRC) $(stm32-p103_context_switch_WIZARD_CPPASRC) $(stm32-p103_context_switch_USER_CPPASRC) # Automatically generated by the wizard. PLEASE DO NOT EDIT! -context_switch_CXXSRC = $(context_switch_CPU_CXXSRC) $(context_switch_WIZARD_CXXSRC) $(context_switch_USER_CXXSRC) +stm32-p103_context_switch_CXXSRC = $(stm32-p103_context_switch_CPU_CXXSRC) $(stm32-p103_context_switch_WIZARD_CXXSRC) $(stm32-p103_context_switch_USER_CXXSRC) # Automatically generated by the wizard. PLEASE DO NOT EDIT! -context_switch_ASRC = $(context_switch_CPU_ASRC) $(context_switch_WIZARD_ASRC) $(context_switch_USER_ASRC) +stm32-p103_context_switch_ASRC = $(stm32-p103_context_switch_CPU_ASRC) $(stm32-p103_context_switch_WIZARD_ASRC) $(stm32-p103_context_switch_USER_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_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_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/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 -context_switch_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh -context_switch_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-stm32.sh - -include $(context_switch_SRC_PATH)/context_switch_user.mk +stm32-p103_context_switch_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S +stm32-p103_context_switch_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork +stm32-p103_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__ +stm32-p103_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 +stm32-p103_context_switch_PROGRAMMER_CPU = stm32 +stm32-p103_context_switch_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/stm32f103rb_rom.ld +stm32-p103_context_switch_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh +stm32-p103_context_switch_CPU = cortex-m3 +stm32-p103_context_switch_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh +stm32-p103_context_switch_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh +stm32-p103_context_switch_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-stm32.sh + +include $(stm32-p103_context_switch_SRC_PATH)/stm32-p103_context_switch_user.mk