CalgaryToSpace / CTS-SAT-1-OBC-Firmware

Firmware for the CTS-SAT-1 ("FrontierSat") mission. Runs on the STM32-based Onboard Computer.
MIT License
8 stars 0 forks source link

Rebooting using Telecommand #115

Closed christopherkinyua closed 3 months ago

christopherkinyua commented 4 months ago

Implemented System Reboot using Telecommand. I achieved this by using NVIC_SystemReset().

I tried to print to UART a statement to notify the user the board is rebooting but the system reboots before it can get the response to the terminal.

christopherkinyua commented 4 months ago

I moved the reboot command outside of the flash telecommand section and I added the scan_12c_bus. I have ensured the debug_tools/debug_uart.h header is in the file. Is there anything else that I am missing and is there supposed to be code for the scan_12c_bus code within this branch?

DeflateAwning commented 3 months ago

Looking at the diff, this seems like it's getting worse with each commit.

I reverted this branch back to commit 1abc2b46. I also rebased it to main to resolve the merge conflicts.

You should be good to just Squash and Merge now. If you wanted to make any more changes, make sure to use GitHub Desktop to delete your local branch, and then pull down the latest version of this branch.

christopherkinyua commented 3 months ago

Sure thing, Thanks for the help in fixing this.

DeflateAwning commented 3 months ago

No worries! Always happy to help! :)