X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=blobdiff_plain;f=boards%2Fstm32-p103%2Fbenchmark%2Fstm32-p103_kernel_footprint%2Fstm32-p103_kernel_footprint.mk;h=d0427a1ec393a29cd8bec4a2341a133dd8a079ef;hp=ad1e85c24301cf16a816fdd005755334bfcc468a;hb=976d522209efc4c11a019ae6b34657b6b3f59ba0;hpb=d98ef779240b3c49d9313e770048b262c4f8daa3 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 index ad1e85c2..d0427a1e 100644 --- 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 @@ -1,93 +1,93 @@ # # Wizard autogenerated makefile. -# DO NOT EDIT, use the kernel_footprint_user.mk file instead. +# DO NOT EDIT, use the stm32-p103_kernel_footprint_user.mk file instead. # # Constants automatically defined by the selected modules # Our target application -TRG += kernel_footprint +TRG += stm32-p103_kernel_footprint -kernel_footprint_PREFIX = "arm-none-eabi-" +stm32-p103_kernel_footprint_PREFIX = "arm-none-eabi-" -kernel_footprint_SUFFIX = "" +stm32-p103_kernel_footprint_SUFFIX = "" -kernel_footprint_SRC_PATH = boards/stm32-p103/benchmark/kernel_footprint +stm32-p103_kernel_footprint_SRC_PATH = boards/stm32-p103/benchmark/stm32-p103_kernel_footprint -kernel_footprint_HW_PATH = boards/stm32-p103 +stm32-p103_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 \ +# Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_kernel_footprint_USER_CSRC INSTEAD! +stm32-p103_kernel_footprint_WIZARD_CSRC = \ + bertos/benchmark/kernel_footprint.c \ bertos/cpu/cortex-m3/drv/timer_cm3.c \ - bertos/struct/heap.c \ - bertos/mware/formatwr.c \ + bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \ bertos/drv/timer.c \ bertos/io/kfile.c \ bertos/kern/proc.c \ - bertos/benchmark/kernel_footprint.c \ - bertos/mware/hex.c \ + bertos/kern/sem.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 kernel_footprint_USER_PCSRC INSTEAD! -kernel_footprint_WIZARD_PCSRC = \ +# Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_kernel_footprint_USER_PCSRC INSTEAD! +stm32-p103_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 stm32-p103_kernel_footprint_USER_CPPASRC INSTEAD! +stm32-p103_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 stm32-p103_kernel_footprint_USER_CXXSRC INSTEAD! +stm32-p103_kernel_footprint_WIZARD_CXXSRC = \ \ # -# Files automatically generated by the wizard. DO NOT EDIT, USE kernel_footprint_USER_ASRC INSTEAD! -kernel_footprint_WIZARD_ASRC = \ +# Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_kernel_footprint_USER_ASRC INSTEAD! +stm32-p103_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) +stm32-p103_kernel_footprint_CPPFLAGS = -D'CPU_FREQ=(72000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(stm32-p103_kernel_footprint_HW_PATH) -I$(stm32-p103_kernel_footprint_SRC_PATH) $(stm32-p103_kernel_footprint_CPU_CPPFLAGS) $(stm32-p103_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) +stm32-p103_kernel_footprint_LDFLAGS = $(stm32-p103_kernel_footprint_CPU_LDFLAGS) $(stm32-p103_kernel_footprint_WIZARD_LDFLAGS) $(stm32-p103_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) +stm32-p103_kernel_footprint_CPPAFLAGS = $(stm32-p103_kernel_footprint_CPU_CPPAFLAGS) $(stm32-p103_kernel_footprint_WIZARD_CPPAFLAGS) $(stm32-p103_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) +stm32-p103_kernel_footprint_CSRC = $(stm32-p103_kernel_footprint_CPU_CSRC) $(stm32-p103_kernel_footprint_WIZARD_CSRC) $(stm32-p103_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) +stm32-p103_kernel_footprint_PCSRC = $(stm32-p103_kernel_footprint_CPU_PCSRC) $(stm32-p103_kernel_footprint_WIZARD_PCSRC) $(stm32-p103_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) +stm32-p103_kernel_footprint_CPPASRC = $(stm32-p103_kernel_footprint_CPU_CPPASRC) $(stm32-p103_kernel_footprint_WIZARD_CPPASRC) $(stm32-p103_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) +stm32-p103_kernel_footprint_CXXSRC = $(stm32-p103_kernel_footprint_CPU_CXXSRC) $(stm32-p103_kernel_footprint_WIZARD_CXXSRC) $(stm32-p103_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) +stm32-p103_kernel_footprint_ASRC = $(stm32-p103_kernel_footprint_CPU_ASRC) $(stm32-p103_kernel_footprint_WIZARD_ASRC) $(stm32-p103_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 +stm32-p103_kernel_footprint_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S +stm32-p103_kernel_footprint_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork +stm32-p103_kernel_footprint_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_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 +stm32-p103_kernel_footprint_PROGRAMMER_CPU = stm32 +stm32-p103_kernel_footprint_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/stm32f103rb_rom.ld +stm32-p103_kernel_footprint_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh +stm32-p103_kernel_footprint_CPU = cortex-m3 +stm32-p103_kernel_footprint_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh +stm32-p103_kernel_footprint_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh +stm32-p103_kernel_footprint_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-stm32.sh + +include $(stm32-p103_kernel_footprint_SRC_PATH)/stm32-p103_kernel_footprint_user.mk