Skip to content

Abstraction of platform and hardware dependencies for unit testing of Kestrel#24

Merged
zradlicz merged 49 commits intomasterfrom
feature/flightcontrol_testing
May 9, 2025
Merged

Abstraction of platform and hardware dependencies for unit testing of Kestrel#24
zradlicz merged 49 commits intomasterfrom
feature/flightcontrol_testing

Conversation

@zradlicz
Copy link
Contributor

@zradlicz zradlicz commented May 9, 2025

Overview

This PR implements unit testing and step through debugging of Kestrel.cpp independent of any hardware.

Benefits

Allows for faster development and debugging
Allows for direct testing of logic that exists at all levels of the firmware
Allows for faster driver development because drivers are instances of interfaces

Future

Add additional hardware dependencies
Move EEPROM Mock and interface to HAL interface
Move HAL micro level functions to HAL interface
Remove String dependency in Mock Particle.h and use std::string instead of Arduino String

Note

I am not squashing these commits as top leave a better trail of how I developed this, ideally they would be squashed to make the branch look nicer but I think it is better to maintain real history given I am the only one working on this

@zradlicz zradlicz merged commit fda459b into master May 9, 2025
7 of 9 checks passed
@zradlicz zradlicz deleted the feature/flightcontrol_testing branch May 12, 2025 16:32
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.

1 participant