Skip to content

Conversation

@fkhabur
Copy link

@fkhabur fkhabur commented Feb 10, 2026

Added the tester file for SPI flash

Description

I made a SPIFlashTester.cpp and made the SPIFlash.h file be alphabetically organized.

Motivation and Context

This creates a tester file

How has this been tested?

Making sure that the functions run

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • [ x] My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • [ x] I have added tests to cover my changes.
  • All new and existing tests passed.

@OceancattUCSC
Copy link
Contributor

Need to have the code hardware tested before I can allow this to be merged into main.

Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this file

Copy link
Contributor

Choose a reason for hiding this comment

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

Don't touch main.

Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this file (I apologize for adding it)

Copy link
Contributor

@prateekgupta5 prateekgupta5 left a comment

Choose a reason for hiding this comment

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

Just remove some files, I can do it ig lol

Copy link
Contributor

Choose a reason for hiding this comment

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

Move to blaze-lite/core/test

Updated spiFlash constructor to use default parameters for buffer sizes.
Refactor spiFlash constructor and methods for clarity and not using cin/cout when not applicable. Remove unused CS_PIN parameter and commented-out error handling. --Prateek
Copy link
Contributor

@prateekgupta5 prateekgupta5 left a comment

Choose a reason for hiding this comment

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

OK can someone review all the minor changes i did cause its late and can someone also move the spiFlashTester.cpp file

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