* MHP30 move to I2C Bit Banging * Fixup Accelerometer drivers so all can use I2CBB * No STM32 I2C driver anymore * TS100 on I2CBB * Miniware on BB * Fixup S60 build * format format
24 lines
439 B
C++
24 lines
439 B
C++
/*
|
|
* preRTOS.c
|
|
*
|
|
* Created on: 29 May 2020
|
|
* Author: Ralim
|
|
*/
|
|
|
|
#include "BSP.h"
|
|
#include "I2CBB1.hpp"
|
|
#include "I2CBB2.hpp"
|
|
#include "Pins.h"
|
|
#include "Setup.h"
|
|
#include <I2C_Wrapper.hpp>
|
|
|
|
void preRToSInit() {
|
|
/* Reset of all peripherals, Initializes the Flash interface and the Systick.
|
|
*/
|
|
HAL_Init();
|
|
Setup_HAL(); // Setup all the HAL objects
|
|
BSPInit();
|
|
I2CBB2::init();
|
|
I2CBB1::init();
|
|
}
|