Move I2C
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
* Created on: 14Apr.,2018
|
* Created on: 14Apr.,2018
|
||||||
* Author: Ralim
|
* Author: Ralim
|
||||||
*/
|
*/
|
||||||
|
#include <I2C_Wrapper.hpp>
|
||||||
#include "BSP.h"
|
#include "BSP.h"
|
||||||
#include "FRToSI2C.hpp"
|
|
||||||
#define I2CUSESDMA
|
#define I2CUSESDMA
|
||||||
I2C_HandleTypeDef *FRToSI2C::i2c;
|
I2C_HandleTypeDef *FRToSI2C::i2c;
|
||||||
SemaphoreHandle_t FRToSI2C::I2CSemaphore;
|
SemaphoreHandle_t FRToSI2C::I2CSemaphore;
|
||||||
@@ -5,10 +5,10 @@
|
|||||||
* Author: Ralim
|
* Author: Ralim
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <I2C_Wrapper.hpp>
|
||||||
#include "BSP.h"
|
#include "BSP.h"
|
||||||
#include "Setup.h"
|
#include "Setup.h"
|
||||||
#include "Pins.h"
|
#include "Pins.h"
|
||||||
#include "FRTosI2C.hpp"
|
|
||||||
void preRToSInit() {
|
void preRToSInit() {
|
||||||
/* Reset of all peripherals, Initializes the Flash interface and the Systick.
|
/* Reset of all peripherals, Initializes the Flash interface and the Systick.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
// By Ben V. Brown - V2.0 of the TS100 firmware
|
// By Ben V. Brown - V2.0 of the TS100 firmware
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Main.cpp bootstraps the device and then hands over to FreeRTOS and the threads
|
||||||
|
*/
|
||||||
|
|
||||||
#include "BSP.h"
|
#include "BSP.h"
|
||||||
|
|
||||||
#include <gui.hpp>
|
#include <gui.hpp>
|
||||||
|
|||||||
Reference in New Issue
Block a user