rusefi/firmware/bootloader/src/main.cpp

21 lines
332 B
C++
Raw Normal View History

2017-05-30 15:38:51 -07:00
#include "pch.h"
2017-05-30 15:38:51 -07:00
#include "hardware.h"
int main(void) {
halInit();
chSysInit();
2023-08-25 22:34:36 -07:00
// set base pin configuration based on the board
setDefaultBasePins();
/* at the moment SD card is not needed by bootloader
2017-05-30 15:38:51 -07:00
// set SD card configuration also
setDefaultSdCardParameters();
*/
2017-05-30 15:38:51 -07:00
2023-08-25 22:34:36 -07:00
while (true) {
chThdSleepMilliseconds(1);
}
2017-05-30 15:38:51 -07:00
}