Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADCS commissioning #215

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open

ADCS commissioning #215

wants to merge 24 commits into from

Conversation

DeemDeem52
Copy link
Contributor

No description provided.

DeemDeem52 and others added 10 commits October 5, 2024 12:43
…T29F1G Series) (#177)

* Replaced all flash driver code for NAND chip

Replaced all previous code for FLASH driver for NAND flash module.

* Updated memory module configuration

Updated littlefs_helper.c configuration to use NAND memory module configuration values

* Changes to flash_driver and flash_telecommand_defs

Made changes to flash to handle full page reading and writing, added flash telecommand that unblocks block locks.

* Minor changes to flash telecommands

Minor changes to flash read hex telecommand for testing, added docstring for FLASH_reset function and telecommand.

* Cleaned code from testing

Removed all debugging printing lines to prepare for merging. Added new timeout variable for handling HAL_SPI transmits of 2176 bytes.

* Removed Unblock_block_lock telecommand,

Removed the telecommand unblock_block_locks and added automatic execution during write functions, minor changes to other flash telecommands.

* Update LFS_benchmark_write_read to write many files

* Fixed improper page addressing issue

Fixed issue with improper page addressing where littlefs sent page address in bytes rather than the actual page address.

* Minor changes based on PR review

Removed unnecessary lines of code and added additional helpful comments based on PR comments

* Updated littlefs benchmark test function

Updated the littlefs benchmark write & read function to test both writing to the same file and to a new file.

* Minor changes to fs benchmark file

* Update littlefs_benchmark.c

Added additional parameter in benchmark docstring.

* Updated FLASH_MAX_BYTES_PER_PAGE

Updated the naming and usage of variable FLASH_MAX_BYTES_PER_PAGE that keeps track of the maximum bytes per page for the FLASH NAND module.

* Update flash_driver.h

* Updated LFS_benchmark_write_read

Updated name of LFS_benchmark_write_read_enum_t and added else statement for mode within function.

---------

Co-authored-by: Saksham Puri <[email protected]>
Co-authored-by: parker-research <[email protected]>
@DeemDeem52 DeemDeem52 linked an issue Oct 19, 2024 that may be closed by this pull request
@DeemDeem52 DeemDeem52 changed the title Nadeem adcs commissioning ADCS commissioning Oct 23, 2024
@DeemDeem52 DeemDeem52 self-assigned this Oct 23, 2024
@DeflateAwning DeflateAwning added the pr-don't-review-yet Indicator that a PR is not yet ready for a final merge-to-main review label Nov 16, 2024
@DeemDeem52 DeemDeem52 added pr-please-review Indicator for someone to review a PR and removed pr-don't-review-yet Indicator that a PR is not yet ready for a final merge-to-main review labels Nov 23, 2024
@DeemDeem52
Copy link
Contributor Author

There's still a bit of testing to be done with the CubeComputer, but I think the code is in a state where it should be reviewed for the sake of efficiency.

@DeemDeem52
Copy link
Contributor Author

(And I'll keep the 'save from SD' functions for the next PR, so there isn't too much to review this time)

@DeflateAwning
Copy link
Contributor

Is this a merge candidate, or did you just want a preliminary review? If it's ready to merge, would you mind changing it from a Draft to a regular PR?

@DeemDeem52
Copy link
Contributor Author

DeemDeem52 commented Dec 4, 2024

I want to do just a little more testing with it before I merge it, but once that's done (and since I don't anticipate any issues), it will be ready to merge -- so I'd like a review so that any issues are resolved before then and the merge can be nice and easy.

@DeemDeem52 DeemDeem52 marked this pull request as ready for review December 7, 2024 20:35
@DeemDeem52
Copy link
Contributor Author

DeemDeem52 commented Dec 7, 2024

We did our final testing of this PR's code today, ironing out the last few bugs. This PR is ready for review and merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-please-review Indicator for someone to review a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ADCS: Repeatedly poll and save ADCS telemetry
3 participants