##// END OF EJS Templates
sync
sync

File last commit:

r22:3d19a50d01c6 default
r34:da27034d4b78 dev_alexis
Show More
main.c
45 lines | 705 B | text/x-c | CLexer
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18 #include <stdio.h>
#include <fat32.h>
#include <gpio.h>
#include <uart.h>
#include <stm32f4xx.h>
jeandet@PC-DE-JEANDET.lab-lpp.local
sync
r21 #include <bsp.h>
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18
extern streamdevice* __opnfiles__[];
int main()
{
jeandet@PC-DE-JEANDET.lab-lpp.local
sync
r22 //gpioset(PSU_DISABLE);
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18 while(1)
{
for(volatile int i=0;i<1024*2048;i++);
jeandet@PC-DE-JEANDET.lab-lpp.local
sync
r21 gpioset(LED1);
gpioclr(LED2);
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18 for(volatile int i=0;i<1024*2048;i++);
jeandet@PC-DE-JEANDET.lab-lpp.local
sync
r21 gpioclr(LED1);
gpioset(LED2);
jeandet@pc-de-jeandet3.LAB-LPP.LOCAL
Now uses qmake to compile an Qt-creator compatible!
r18 }
printf("hello world\n\r");
return 0;
}
void USART3_IRQHandler(void)
{
while(1)
{
for(volatile int i=0;i<1024*2048;i++);
gpioset(PD12);
gpioclr(PD14);
for(volatile int i=0;i<1024*2048;i++);
gpioclr(PD12);
gpioset(PD14);
}
}