pressure-wrapper: make p-w a separate project

This commit is contained in:
Vasily Davydov
2022-10-17 15:11:03 +03:00
parent fc013f8dd4
commit 4bbe567b41
16 changed files with 480 additions and 10 deletions

View File

@@ -0,0 +1,14 @@
/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_chip_15xx/inc/iocon_15xx.h:95:20:void Chip_IOCON_PinMuxSet(LPC_IOCON_T*, uint8_t, uint8_t, uint32_t) 24 static
/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_chip_15xx/inc/i2c_common_15xx.h:238:20:void Chip_I2C_SetClockDiv(LPC_I2C_T*, uint32_t) 16 static
/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_chip_15xx/inc/i2cm_15xx.h:126:20:void Chip_I2CM_Enable(LPC_I2C_T*) 16 static
/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_chip_15xx/inc/i2cm_15xx.h:160:20:void Chip_I2CM_ClearStatus(LPC_I2C_T*, uint32_t) 16 static
/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_chip_15xx/inc/i2cm_15xx.h:172:20:bool Chip_I2CM_IsMasterPending(LPC_I2C_T*) 16 static
/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_chip_15xx/inc/i2cm_15xx.h:197:20:void Chip_I2CM_SendStart(LPC_I2C_T*) 16 static
/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_chip_15xx/inc/i2cm_15xx.h:237:20:void Chip_I2CM_WriteByte(LPC_I2C_T*, uint8_t) 16 static
../src/I2C.cpp:43:1:I2C::I2C(const I2C_config&) 16 static
../src/I2C.cpp:72:1:I2C::~I2C() 16 static
../src/I2C.cpp:72:1:virtual I2C::~I2C() 16 static
../src/I2C.cpp:76:6:bool I2C::write(uint8_t, uint8_t*, uint16_t) 32 static
../src/I2C.cpp:81:6:bool I2C::read(uint8_t, uint8_t*, uint16_t) 32 static
../src/I2C.cpp:87:6:bool I2C::transaction(uint8_t, uint8_t*, uint16_t, uint8_t*, uint16_t) 40 static
../src/I2C.cpp:118:10:static uint32_t I2C::I2CM_XferBlocking(LPC_I2C_T*, I2CM_XFER_T*) 24 static

View File

@@ -0,0 +1,8 @@
/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_chip_15xx/inc/core_cm3.h:1335:22:void NVIC_DisableIRQ(IRQn_Type) 16 static
/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/PressureWrapper/inc/I2C.h:18:2:I2C_config::I2C_config() 16 static
../src/PressureWrapper.cpp:10:16:uint8_t crc8(uint8_t*, size_t) 24 static
../src/PressureWrapper.cpp:24:1:PressureWrapper::PressureWrapper() 40 static
../src/PressureWrapper.cpp:32:1:PressureWrapper::~PressureWrapper() 16 static
../src/PressureWrapper.cpp:32:1:virtual PressureWrapper::~PressureWrapper() 16 static
../src/PressureWrapper.cpp:37:5:int PressureWrapper::getPressure() 16 static
../src/PressureWrapper.cpp:41:16:PRESSURE_DATA* PressureWrapper::getRawPressure() 32 static

View File

@@ -0,0 +1,27 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
CPP_SRCS += \
../src/I2C.cpp \
../src/PressureWrapper.cpp
OBJS += \
./src/I2C.o \
./src/PressureWrapper.o
CPP_DEPS += \
./src/I2C.d \
./src/PressureWrapper.d
# 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"/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/PressureWrapper/inc" -I"/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_board_nxp_lpcxpresso_1549/inc" -I"/home/tylen/Desktop/Programming/Projects_Metropolia/ESP-Ventilation/lpc_chip_15xx/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="$(<D)/"= -mcpu=cortex-m3 -mthumb -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '