Skip to content

Conversation

@Ian-Carroll
Copy link
Collaborator

@Ian-Carroll Ian-Carroll commented Mar 21, 2021

After peer coding with Daniel in vs code, all builds well and some functions were polished for STM32. Review would still be appreciated!

Copy link
Collaborator

@Burke-Daniel Burke-Daniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple things for you to look at, I'll take another look once you go through and note the functions that you modified. Good job!!

[ -d "build" ] && echo "Build folder already exists!" && cd build
[ ! -d "build" ] && echo "Build folder does not exist. Creating now." && mkdir build && cd build

cmake -DCMAKE_TOOLCHAIN_FILE=../arm-none-eabi-gcc.cmake -DCMAKE_BUILD_TYPE=Debug ..
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for learning purposes, do you wanna add in passing a command line parameter to specify building in either Debug or Release configuration?

Copy link
Collaborator Author

@Ian-Carroll Ian-Carroll May 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Burke-Daniel New shell script is up from new commits!

@@ -0,0 +1,771 @@
#include "Peripherals/Inc/DPS310.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ian-Carroll do you wanna just comb through this and comment the functions that you changed? I only wanna review the stuff that you modified and not any of the stuff that you didn't

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Burke-Daniel I took note of all the functions changed through the commits in this PR, and they go as follows:

  • configTemp
  • configPressure
  • getFIFOvalue
  • begin
  • readcoeffs
  • readBlock
  • readByte
  • writeByte
  • readByteBitField
  • measureTempOnce
  • measurePressureOnce
  • disableFIFO
  • getFIFOvalue
  • getRawResult
  • HAL_I2C_Mem_Read on line 36 of I2CInterface.cpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants