Implement UART HAL (#212)

- Implement UART HAL
- Improved I2C and SPI HAL mocking mechanism (removed mock files)
This commit is contained in:
Ken Van Hoeylandt
2025-02-08 23:10:31 +01:00
committed by GitHub
parent e1bfdd7c91
commit c5fc8790bb
15 changed files with 436 additions and 187 deletions
@@ -3,6 +3,7 @@
#include "./SdCard.h"
#include "./i2c/I2c.h"
#include "Tactility/hal/spi/Spi.h"
#include "Tactility/hal/uart/Uart.h"
namespace tt::hal {
@@ -47,6 +48,9 @@ struct Configuration {
/** A list of SPI interfaces */
const std::vector<spi::Configuration> spi = {};
/** A list of UART interfaces */
const std::vector<uart::Configuration> uart = {};
};
} // namespace