fixes for raspi i2c support

This commit is contained in:
Dario
2023-08-15 17:01:32 +01:00
parent d1d43870f4
commit 558a574793
4 changed files with 23 additions and 14 deletions

View File

@@ -22,7 +22,6 @@ namespace sta
protected:
void select() override;
void deselect() override;
private:

View File

@@ -1,7 +1,8 @@
#ifndef STA_CONFIG_HPP
#define STA_CONFIG_HPP
#include <sta/devices/stm32/mcu/STM32F411xE.hpp>
// #include <sta/devices/stm32/mcu/STM32F411xE.hpp>
#include <sta/devices/raspi/mcu/common.hpp>
#define STA_DEBUGGING_ENABLED
#define STA_PRINTF_USE_STDLIB

View File

@@ -29,6 +29,7 @@ namespace sta
void transfer(const uint8_t * txBuffer, uint8_t * rxBuffer, size_t size) override;
void receive(uint8_t * buffer, size_t size) override;
void selectAddress();
void acquire() override;
void release() override;