Files
- Not Found
- Invalid object requested. SHA must identify a commit or a tree.
Last update 6 years 1 month
Filescodebootloader | |
---|---|
.. | |
Makefile | |
chconf.h | |
halconf.h | |
halconf_community.h | |
link.ld | |
main.c | |
mcuconf.h | |
mcuconf_community.h |
main.c/* */ #include "ch.h" #include "hal.h" /* * Application entry point. */ int main(void) { /* * System initializations. * - HAL initialization, this also initializes the configured device drivers * and performs the board-specific initializations. * - Kernel initialization, the main() function becomes a thread and the * RTOS is active. */ halInit(); chSysInit(); /* * Normal main() thread activity, in this demo it does nothing. */ while (true) { chThdSleepMilliseconds(500); } }