1
0
forked from me/IronOS
Files
IronOS/source/Core/BSP/Sequre/preRTOS.cpp
Ben V. Brown 2a4e1cd8ab Refactor: Rename Sequre bsp (#1927)
* Rename Sequre BSP Folder

* Update Makefile
2024-06-08 17:53:19 +10:00

24 lines
428 B
C++

/*
* preRTOS.c
*
* Created on: 29 May 2020
* Author: Ralim
*/
#include "BSP.h"
#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();
#ifdef I2C_SOFT_BUS_2
I2CBB2::init();
#endif
}