rusefi/firmware/main.cpp

31 lines
468 B
C++
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file main.cpp
* @brief C++ main entry point
*
* @date Nov 29, 2012
2018-01-20 17:55:31 -08:00
* @author Andrey Belomutskiy, (c) 2012-2018
2015-07-10 06:01:56 -07:00
* http://rusefi.com/
*/
2018-09-16 19:00:14 -07:00
#include "global.h"
#include "os_access.h"
2015-07-10 06:01:56 -07:00
#include "rusefi.h"
#include "mpu_util.h"
int main(void) {
/*
* ChibiOS/RT initialization
*/
halInit();
chSysInit();
/**
* most basic MCU initialization - no configuration access, no external hardware access
*/
baseMCUInit();
2015-07-10 06:01:56 -07:00
runRusEfi();
return 0;
}