X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Fstm32-p103%2Fbenchmark%2Fstm32-p103_kernel_footprint%2Fstm32-p103_kernel_footprint.mk;fp=boards%2Fstm32-p103%2Fbenchmark%2Fstm32-p103_kernel_footprint%2Fstm32-p103_kernel_footprint.mk;h=ad1e85c24301cf16a816fdd005755334bfcc468a;hb=d98ef779240b3c49d9313e770048b262c4f8daa3;hp=0000000000000000000000000000000000000000;hpb=1ebcf9b89595826a5c158ae6a68d4c2407b1dd52;p=bertos.git diff --git a/boards/stm32-p103/benchmark/stm32-p103_kernel_footprint/stm32-p103_kernel_footprint.mk b/boards/stm32-p103/benchmark/stm32-p103_kernel_footprint/stm32-p103_kernel_footprint.mk new file mode 100644 index 00000000..ad1e85c2 --- /dev/null +++ b/boards/stm32-p103/benchmark/stm32-p103_kernel_footprint/stm32-p103_kernel_footprint.mk @@ -0,0 +1,93 @@ +# +# Wizard autogenerated makefile. +# DO NOT EDIT, use the kernel_footprint_user.mk file instead. +# + +# Constants automatically defined by the selected modules + + +# Our target application +TRG += kernel_footprint + +kernel_footprint_PREFIX = "arm-none-eabi-" + +kernel_footprint_SUFFIX = "" + +kernel_footprint_SRC_PATH = boards/stm32-p103/benchmark/kernel_footprint + +kernel_footprint_HW_PATH = boards/stm32-p103 + +# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_footprint_USER_CSRC INSTEAD! +kernel_footprint_WIZARD_CSRC = \ + bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \ + bertos/mware/event.c \ + bertos/kern/sem.c \ + bertos/cpu/cortex-m3/drv/timer_cm3.c \ + bertos/struct/heap.c \ + bertos/mware/formatwr.c \ + bertos/drv/timer.c \ + bertos/io/kfile.c \ + bertos/kern/proc.c \ + bertos/benchmark/kernel_footprint.c \ + bertos/mware/hex.c \ + bertos/kern/signal.c \ + # + +# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_footprint_USER_PCSRC INSTEAD! +kernel_footprint_WIZARD_PCSRC = \ + \ + # + +# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_footprint_USER_CPPASRC INSTEAD! +kernel_footprint_WIZARD_CPPASRC = \ + \ + # + +# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_footprint_USER_CXXSRC INSTEAD! +kernel_footprint_WIZARD_CXXSRC = \ + \ + # + +# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_footprint_USER_ASRC INSTEAD! +kernel_footprint_WIZARD_ASRC = \ + \ + # + +kernel_footprint_CPPFLAGS = -D'CPU_FREQ=(72000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(kernel_footprint_HW_PATH) -I$(kernel_footprint_SRC_PATH) $(kernel_footprint_CPU_CPPFLAGS) $(kernel_footprint_USER_CPPFLAGS) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +kernel_footprint_LDFLAGS = $(kernel_footprint_CPU_LDFLAGS) $(kernel_footprint_WIZARD_LDFLAGS) $(kernel_footprint_USER_LDFLAGS) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +kernel_footprint_CPPAFLAGS = $(kernel_footprint_CPU_CPPAFLAGS) $(kernel_footprint_WIZARD_CPPAFLAGS) $(kernel_footprint_USER_CPPAFLAGS) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +kernel_footprint_CSRC = $(kernel_footprint_CPU_CSRC) $(kernel_footprint_WIZARD_CSRC) $(kernel_footprint_USER_CSRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +kernel_footprint_PCSRC = $(kernel_footprint_CPU_PCSRC) $(kernel_footprint_WIZARD_PCSRC) $(kernel_footprint_USER_PCSRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +kernel_footprint_CPPASRC = $(kernel_footprint_CPU_CPPASRC) $(kernel_footprint_WIZARD_CPPASRC) $(kernel_footprint_USER_CPPASRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +kernel_footprint_CXXSRC = $(kernel_footprint_CPU_CXXSRC) $(kernel_footprint_WIZARD_CXXSRC) $(kernel_footprint_USER_CXXSRC) + +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +kernel_footprint_ASRC = $(kernel_footprint_CPU_ASRC) $(kernel_footprint_WIZARD_ASRC) $(kernel_footprint_USER_ASRC) + +# CPU specific flags and options, defined in the CPU definition files. +# Automatically generated by the wizard. PLEASE DO NOT EDIT! +kernel_footprint_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S +kernel_footprint_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork +kernel_footprint_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_STM32P103__ +kernel_footprint_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 +kernel_footprint_PROGRAMMER_CPU = stm32 +kernel_footprint_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh +kernel_footprint_CPU = cortex-m3 +kernel_footprint_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh +kernel_footprint_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh +kernel_footprint_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld +kernel_footprint_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-stm32.sh + +include $(kernel_footprint_SRC_PATH)/kernel_footprint_user.mk