X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test-blink%2Ftest.c;h=714ea828c8fe3f1092aecb737717eb2b02967b58;hb=832142c0afc865e125a978f590ba5f5dcce17219;hp=b1c87389465eeff4f801e4f3020be74cfaffe2bf;hpb=4a549c4ac2efe441d7283b0c84e252163237d979;p=home-hw.git diff --git a/test-blink/test.c b/test-blink/test.c index b1c8738..714ea82 100644 --- a/test-blink/test.c +++ b/test-blink/test.c @@ -1,8 +1,8 @@ #include "util.h" -#include "modbus.h" #include #include +#include #include #include #include @@ -49,9 +49,13 @@ int main(void) clock_setup(); gpio_setup(); tick_setup(); + // When using the serial boot loader, we need this: + // SCB_VTOR = 0x08000000; cm_enable_interrupts(); for (;;) { + gpio_toggle(GPIOC, GPIO13); + delay_ms(100); gpio_toggle(GPIOC, GPIO13); delay_ms(500); }