From 1591c252bcd3d6371ad801da43d9fdbaedd4f448 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sat, 16 Nov 2013 22:33:51 +0000 Subject: [PATCH] Add graphics to the SAM4E demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2099 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../RTOSDemo.atsuo | Bin 93696 -> 94720 bytes .../RTOSDemo.cproj | 77 +- .../sam/components/display/aat31xx/aat31xx.c | 137 + .../sam/components/display/aat31xx/aat31xx.h | 94 + .../components/display/ili93xx/ili9325_regs.h | 646 + .../components/display/ili93xx/ili9341_regs.h | 245 + .../sam/components/display/ili93xx/ili93xx.c | 1851 ++ .../sam/components/display/ili93xx/ili93xx.h | 349 + .../src/ASF/sam/drivers/ebi/smc/smc.c | 429 + .../src/ASF/sam/drivers/ebi/smc/smc.h | 120 + .../src/LCDUtils.c | 174 + .../CORTEX_M4_ATSAM4E_Atmel_Studio/src/asf.h | 11 + .../src/config/FreeRTOSConfig.h | 12 +- .../src/config/FreeRTOSIPConfig.h | 4 +- .../src/config/conf_aat31xx.h | 59 + .../src/config/conf_board.h | 7 + .../src/config/conf_ili93xx.h | 62 + .../src/logo_atmel.h | 15412 ++++++++++++++++ .../CORTEX_M4_ATSAM4E_Atmel_Studio/src/main.c | 11 +- .../src/main_full.c | 65 +- 20 files changed, 19732 insertions(+), 33 deletions(-) create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/ASF/sam/components/display/aat31xx/aat31xx.c create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/ASF/sam/components/display/aat31xx/aat31xx.h create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/ASF/sam/components/display/ili93xx/ili9325_regs.h create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/ASF/sam/components/display/ili93xx/ili9341_regs.h create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/ASF/sam/components/display/ili93xx/ili93xx.c create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/ASF/sam/components/display/ili93xx/ili93xx.h create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/ASF/sam/drivers/ebi/smc/smc.c create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/ASF/sam/drivers/ebi/smc/smc.h create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/LCDUtils.c create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/config/conf_aat31xx.h create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/config/conf_ili93xx.h create mode 100644 FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/src/logo_atmel.h diff --git a/FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/RTOSDemo.atsuo b/FreeRTOS/Demo/CORTEX_M4_ATSAM4E_Atmel_Studio/RTOSDemo.atsuo index 1c351b4d6d67bddc1d4527c47e30bf0fa0cd282a..6280b307596ffaa730c889cc572ae1770f2756c5 100644 GIT binary patch delta 5028 zcmbtY3sh7`(!Mp!48wbPih#VsAU=Yqi4W945Ou?2KvaxGc?g0bKwu0QV=`#WqQQui z(*Dr|5F)`41+J0Z=x+uSH5vtc#3lYdQ2F=lCMv{CG+_;H^)Q&p9&`5W**oVueY?84 zZgq84b@k}3$aKB33N^@EA{;Di7YTxpN*H|f=n|7z8ET1pjs)#66@#ibLj*$SjY2L)Y@pI3NFmnj8il?bV(EiL~%2t%6}%& zB@!HP`h&EX(^HBAxm;1}yi!(q8 z5W&%$Xz+_+$1EY(b-a)vXw|#g!*>-dpS5z_^_E**4eod@#1$+3$HRS$NH~Da8n?(5 zLXJ=*6bQLOny^Mlp8B%rbI)K$vX1i@Tr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