From 8282b23235bb8511dbadbd2d4e31d95d1b5cf30c Mon Sep 17 00:00:00 2001 From: Evgenii Meshcheriakov Date: Mon, 10 Oct 2022 14:26:59 +0300 Subject: [PATCH] PressureWrapper init --- PressureWrapper/Debug/makefile | 77 ++++++++++++++++++++ PressureWrapper/Debug/objects.mk | 8 ++ PressureWrapper/Debug/sources.mk | 28 +++++++ PressureWrapper/Debug/src/PressureWrapper.su | 3 + PressureWrapper/Debug/src/subdir.mk | 31 ++++++++ PressureWrapper/inc/PressureWrapper.h | 31 ++++++++ PressureWrapper/src/PressureWrapper.cpp | 18 +++++ 7 files changed, 196 insertions(+) create mode 100644 PressureWrapper/Debug/makefile create mode 100644 PressureWrapper/Debug/objects.mk create mode 100644 PressureWrapper/Debug/sources.mk create mode 100644 PressureWrapper/Debug/src/PressureWrapper.su create mode 100644 PressureWrapper/Debug/src/subdir.mk create mode 100644 PressureWrapper/inc/PressureWrapper.h create mode 100644 PressureWrapper/src/PressureWrapper.cpp diff --git a/PressureWrapper/Debug/makefile b/PressureWrapper/Debug/makefile new file mode 100644 index 0000000..b3a89c6 --- /dev/null +++ b/PressureWrapper/Debug/makefile @@ -0,0 +1,77 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm -rf + +# All of the sources participating in the build are defined here +-include sources.mk +-include src/subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(C++_DEPS)),) +-include $(C++_DEPS) +endif +ifneq ($(strip $(CC_DEPS)),) +-include $(CC_DEPS) +endif +ifneq ($(strip $(CPP_DEPS)),) +-include $(CPP_DEPS) +endif +ifneq ($(strip $(CXX_DEPS)),) +-include $(CXX_DEPS) +endif +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +ifneq ($(strip $(C_UPPER_DEPS)),) +-include $(C_UPPER_DEPS) +endif +endif + +-include ../makefile.defs + +OPTIONAL_TOOL_DEPS := \ +$(wildcard ../makefile.defs) \ +$(wildcard ../makefile.init) \ +$(wildcard ../makefile.targets) \ + + +BUILD_ARTIFACT_NAME := PressureWrapper +BUILD_ARTIFACT_EXTENSION := a +BUILD_ARTIFACT_PREFIX := lib +BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),) + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: + +@$(MAKE) --no-print-directory main-build && $(MAKE) --no-print-directory post-build + +# Main-build Target +main-build: libPressureWrapper.a + +# Tool invocations +libPressureWrapper.a: $(OBJS) $(USER_OBJS) makefile objects.mk $(OPTIONAL_TOOL_DEPS) + @echo 'Building target: $@' + @echo 'Invoking: MCU Archiver' + arm-none-eabi-ar -r "libPressureWrapper.a" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + +# Other Targets +clean: + -$(RM) libPressureWrapper.a + -@echo ' ' + +post-build: + -@echo 'Performing post-build steps' + -arm-none-eabi-size "libPressureWrapper.a" ; # arm-none-eabi-objdump -h -S "libPressureWrapper.a" >"libPressureWrapper.lss" + -@echo ' ' + +.PHONY: all clean dependents main-build post-build + +-include ../makefile.targets diff --git a/PressureWrapper/Debug/objects.mk b/PressureWrapper/Debug/objects.mk new file mode 100644 index 0000000..742c2da --- /dev/null +++ b/PressureWrapper/Debug/objects.mk @@ -0,0 +1,8 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +USER_OBJS := + +LIBS := + diff --git a/PressureWrapper/Debug/sources.mk b/PressureWrapper/Debug/sources.mk new file mode 100644 index 0000000..ff3de3d --- /dev/null +++ b/PressureWrapper/Debug/sources.mk @@ -0,0 +1,28 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +ASM_SRCS := +C++_SRCS := +CC_SRCS := +CPP_SRCS := +CXX_SRCS := +C_SRCS := +C_UPPER_SRCS := +OBJ_SRCS := +O_SRCS := +S_SRCS := +S_UPPER_SRCS := +ARCHIVES := +C++_DEPS := +CC_DEPS := +CPP_DEPS := +CXX_DEPS := +C_DEPS := +C_UPPER_DEPS := +OBJS := + +# Every subdirectory with source files must be described here +SUBDIRS := \ +src \ + diff --git a/PressureWrapper/Debug/src/PressureWrapper.su b/PressureWrapper/Debug/src/PressureWrapper.su new file mode 100644 index 0000000..2659eb8 --- /dev/null +++ b/PressureWrapper/Debug/src/PressureWrapper.su @@ -0,0 +1,3 @@ +../src/PressureWrapper.cpp:10:1:PressureWrapper::PressureWrapper() 16 static +../src/PressureWrapper.cpp:15:1:PressureWrapper::~PressureWrapper() 16 static +../src/PressureWrapper.cpp:15:1:virtual PressureWrapper::~PressureWrapper() 16 static diff --git a/PressureWrapper/Debug/src/subdir.mk b/PressureWrapper/Debug/src/subdir.mk new file mode 100644 index 0000000..59024df --- /dev/null +++ b/PressureWrapper/Debug/src/subdir.mk @@ -0,0 +1,31 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/PressureWrapper.cpp + +CPP_DEPS += \ +./src/PressureWrapper.d + +OBJS += \ +./src/PressureWrapper.o + + +# Each subdirectory must supply rules for building sources it contributes +src/%.o: ../src/%.cpp src/subdir.mk + @echo 'Building file: $<' + @echo 'Invoking: MCU C++ Compiler' + arm-none-eabi-c++ -DDEBUG -D__CODE_RED -D__NEWLIB__ -DCORE_M3 -D__USE_LPCOPEN -D__LPC15XX__ -I"/Users/evgenymeshcheryakov/Documents/Metropolia/3rd/Embedded Systems Programming TX00CI61-3011/ESP-Ventilation/PressureWrapper/inc" -I"/Users/evgenymeshcheryakov/Documents/Metropolia/3rd/Embedded Systems Programming TX00CI61-3011/ESP-Ventilation/lpc_board_nxp_lpcxpresso_1549/inc" -I"/Users/evgenymeshcheryakov/Documents/Metropolia/3rd/Embedded Systems Programming TX00CI61-3011/ESP-Ventilation/lpc_chip_15xx/inc" -I"/Users/evgenymeshcheryakov/Documents/Metropolia/3rd/Embedded Systems Programming TX00CI61-3011/ESP-Ventilation/DigitalIoPin/inc" -I"/Users/evgenymeshcheryakov/Documents/Metropolia/3rd/Embedded Systems Programming TX00CI61-3011/ESP-Ventilation/I2C/inc" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fmerge-constants -fmacro-prefix-map="$( + +PressureWrapper::PressureWrapper() +{ + // TODO Auto-generated constructor stub +} + +PressureWrapper::~PressureWrapper() +{ + // TODO Auto-generated destructor stub +}