Add ARM Teensies bootloader code.
This commit is contained in:
parent
88c053f78e
commit
19bb28d102
2 changed files with 22 additions and 9 deletions
|
|
@ -69,9 +69,9 @@ host_driver_t chibios_driver = {
|
|||
// while(true) {
|
||||
// if(blinkLed) {
|
||||
// blinkLed = 0;
|
||||
// palSetPad(GPIOC, GPIOC_LED_ORANGE);
|
||||
// palSetPad(TEENSY_PIN13_IOPORT, TEENSY_PIN13);
|
||||
// chThdSleepMilliseconds(100);
|
||||
// palClearPad(GPIOC, GPIOC_LED_ORANGE);
|
||||
// palClearPad(TEENSY_PIN13_IOPORT, TEENSY_PIN13);
|
||||
// }
|
||||
// chThdSleepMilliseconds(100);
|
||||
// }
|
||||
|
|
@ -86,10 +86,6 @@ int main(void) {
|
|||
halInit();
|
||||
chSysInit();
|
||||
|
||||
palSetPad(GPIOC, GPIOC_LED_BLUE);
|
||||
chThdSleepMilliseconds(400);
|
||||
palClearPad(GPIOC, GPIOC_LED_BLUE);
|
||||
|
||||
// TESTING
|
||||
// chThdCreateStatic(waBlinkerThread, sizeof(waBlinkerThread), NORMALPRIO, blinkerThread, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue