Unit test runner for NAVHAL Cortex-M4 hardware abstraction layer. More...

Macros | |
| #define | CORTEX_M4 |
Functions | |
| void | setUp (void) |
| Unity test framework setup function. | |
| void | tearDown (void) |
| Unity test framework teardown function. | |
| int | test_gpio (void) |
| Run all GPIO tests. | |
| int | test_timer (void) |
| Run all Timer tests. | |
| void | print_startup_message (void) |
| Print startup banner to UART. | |
| int | main (void) |
| Main test runner function. | |
Unit test runner for NAVHAL Cortex-M4 hardware abstraction layer.
This file implements the main test runner for the NAVHAL unit tests. It includes:
Tests are implemented using the Unity test framework and output results via UART2 at 9600 baud.
| #define CORTEX_M4 |
| int main | ( | void | ) |
Main test runner function.
Initializes UART2, prints startup message, runs all test suites, and reports final results
| void print_startup_message | ( | void | ) |
Print startup banner to UART.
Clears terminal screen and prints formatted startup message using ANSI escape sequences
| void setUp | ( | void | ) |
Unity test framework setup function.
Empty implementation since no special setup is required
| void tearDown | ( | void | ) |
Unity test framework teardown function.
Empty implementation since no special cleanup is required
| int test_gpio | ( | void | ) |
Run all GPIO tests.
Executes the following test cases:
| int test_timer | ( | void | ) |
Run all Timer tests.
Executes the following test cases: