##// END OF EJS Templates
Started SSD2119 driver based on ili9328 driver....
Started SSD2119 driver based on ili9328 driver. -IF more or less functionnal /!\ need to check FSMC config -Need to check mid point circle algo -need to generate good fonts! -Should merge ili and ssd driver in one since the interface is the same, we can detect the chip with Device Code. Added Stm32Discovery extension board bsp.

File last commit:

r44:5f50f7fe4b06 dev_alexis
r58:dcfec4f56803 dev_alexis
Show More
main.c
42 lines | 609 B | text/x-c | CLexer
#include <stdio.h>
#include <fat32.h>
#include <gpio.h>
#include <uart.h>
#include <stm32f4xx.h>
#include <bsp.h>
#include <core.h>
extern streamdevice* __opnfiles__[];
int main()
{
while(1)
{
gpioset(LED3);
delay_100us(10000);
gpioclr(LED3);
delay_100us(10000);
}
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);
}
}