1
0
forked from me/IronOS
Files
IronOS/source/Core/BSP/MHP30/preRTOS.cpp
2021-05-04 18:54:09 +10:00

25 lines
497 B
C++

/*
* preRTOS.c
*
* Created on: 29 May 2020
* Author: Ralim
*/
#include "BSP.h"
#include "I2CBB.hpp"
#include "Model_Config.h"
#include "Pins.h"
#include "Setup.h"
#include "fusbpd.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();
I2CBB::init();
/* Init the IPC objects */
FRToSI2C::FRToSInit();
}