2017-05-30 15:38:51 -07:00
|
|
|
|
2021-08-03 19:05:01 -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
|
|
|
|
2017-12-24 10:45:03 -08:00
|
|
|
// set base pin configuration based on the board
|
2021-11-16 01:15:29 -08:00
|
|
|
setDefaultBasePins();
|
2019-04-21 11:00:19 -07:00
|
|
|
/* at the moment SD card is not needed by bootloader
|
2017-05-30 15:38:51 -07:00
|
|
|
// set SD card configuration also
|
2021-11-16 01:15:29 -08:00
|
|
|
setDefaultSdCardParameters();
|
2019-04-21 11:00:19 -07:00
|
|
|
*/
|
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
|
|
|
}
|