From 98aacc5c4776d17b7c215312b79d2c5d54743ee3 Mon Sep 17 00:00:00 2001 From: abody Date: Wed, 11 Sep 2019 15:21:25 +0200 Subject: [PATCH] DMA based FillRect works --- .cproject | 252 +++++++++++++++++++++------------ .mxproject | 8 +- .project | 2 +- App/ILI9341.c | 74 ---------- App/globals.c | 9 ++ App/globals.h | 11 ++ App/{ILI9341.h => ili9341.cpp} | 174 ++++++++++++++++++++--- App/ili9341.h | 83 +++++++++++ App/interrupt_handlers.cpp | 21 +++ App/interrupt_handlers.h | 21 +++ App/mainloop.cpp | 57 ++++++++ App/mainloop.h | 27 ++++ App/singleton.h | 35 +++++ F407_test.ioc | 36 ++++- Inc/dma.h | 56 ++++++++ Inc/main.h | 2 +- Inc/stm32f4xx_it.h | 2 + Src/dma.c | 102 +++++++++++++ Src/fsmc.c | 6 +- Src/main.c | 10 +- Src/stm32f4xx_it.c | 29 ++++ Src/usart.c | 4 + 22 files changed, 821 insertions(+), 200 deletions(-) delete mode 100644 App/ILI9341.c create mode 100644 App/globals.c create mode 100644 App/globals.h rename App/{ILI9341.h => ili9341.cpp} (64%) create mode 100644 App/ili9341.h create mode 100644 App/interrupt_handlers.cpp create mode 100644 App/interrupt_handlers.h create mode 100644 App/mainloop.cpp create mode 100644 App/mainloop.h create mode 100644 App/singleton.h create mode 100644 Inc/dma.h create mode 100644 Src/dma.c diff --git a/.cproject b/.cproject index 950dd39..e2952a0 100644 --- a/.cproject +++ b/.cproject @@ -1,8 +1,8 @@ - - + + @@ -13,31 +13,31 @@ - - - - - - + + @@ -114,31 +140,31 @@ - - - -