From 5163faae4a0e0b929a69189c19058f39a7bab3ca Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 29 Apr 2011 09:28:13 +0000 Subject: [PATCH] Complete Keil SmartFusion demo projects. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1400 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../MicroSemi_Code/drivers/OLED/oled.c | 2 +- .../RTOSDemo_Keil.uvopt | 199 ++- .../RTOSDemo_Keil.uvproj | 1104 ++++++++++++++++- 3 files changed, 1277 insertions(+), 28 deletions(-) diff --git a/Demo/CORTEX_A2F200_IAR_and_Keil/MicroSemi_Code/drivers/OLED/oled.c b/Demo/CORTEX_A2F200_IAR_and_Keil/MicroSemi_Code/drivers/OLED/oled.c index e6b9d8e5c..faa199d9a 100644 --- a/Demo/CORTEX_A2F200_IAR_and_Keil/MicroSemi_Code/drivers/OLED/oled.c +++ b/Demo/CORTEX_A2F200_IAR_and_Keil/MicroSemi_Code/drivers/OLED/oled.c @@ -318,7 +318,7 @@ void OLED_init(void ) */ void OLED_clear_display( oled_no_of_line LINES ) { - uint8_t i, j,start_line,end_line; + uint8_t i, j,start_line = 0,end_line = 0; uint8_t clear_8_columns[] = { OLED_DATA_CODE, 0x00, diff --git a/Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_Keil.uvopt b/Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_Keil.uvopt index 4cbfb25da..26046862a 100644 --- a/Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_Keil.uvopt +++ b/Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_Keil.uvopt @@ -322,6 +322,157 @@ + + Full_with_optimisation + 0x4 + ARM-ADS + + 20000000 + + 1 + 1 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 255 + + SARMCM3.DLL + + DLM.DLL + -pEMBER + SARMCM3.DLL + + TLM.DLL + -pEMBER + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 0 + 0 + 1 + + + + + + + + + + + BIN\UL2CM3.DLL + + + + 0 + DLGTARM + (1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0) + + + 0 + UL2CM3 + -UM1129BUE -O14 -S0 -C0 -N00("ARM CoreSight JTAG-DP") -D00(3BA00477) -L00(4) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC800 -FN1 -FF0A2FxxxM3_256 -FS00 -FL040000 + + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + System 0 @@ -482,8 +633,8 @@ 0 0 0 - 0 - 0 + 213 + 222 0 ..\Common\Minimal\semtest.c semtest.c @@ -545,8 +696,8 @@ 0 0 0 - 2378 - 2387 + 1742 + 1751 0 ..\..\Source\tasks.c tasks.c @@ -559,8 +710,8 @@ 0 0 0 - 0 - 0 + 191 + 200 0 ..\..\Source\portable\RVDS\ARM_CM3\port.c port.c @@ -646,7 +797,7 @@ Microsemi_Drivers - 1 + 0 0 0 @@ -753,10 +904,10 @@ 1 0 0 - 0 + 44 0 - 0 - 0 + 308 + 321 0 .\MicroSemi_Code\drivers\OLED\oled.c oled.c @@ -779,7 +930,7 @@ Main - 1 + 0 0 0 @@ -790,8 +941,8 @@ 0 0 0 - 0 - 0 + 57 + 57 0 .\main-blinky.c main-blinky.c @@ -830,10 +981,10 @@ 1 0 0 - 24 + 0 0 - 280 - 280 + 58 + 58 0 .\main-full.c main-full.c @@ -957,19 +1108,19 @@ 0 100 - 1 + 0 - ..\..\Source\tasks.c + .\main-full.c 0 - 2378 - 2387 + 58 + 58 - .\main-full.c - 24 - 280 - 280 + .\main-blinky.c + 0 + 57 + 57 diff --git a/Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_Keil.uvproj b/Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_Keil.uvproj index 9be1519f9..837d410b2 100644 --- a/Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_Keil.uvproj +++ b/Demo/CORTEX_A2F200_IAR_and_Keil/RTOSDemo_Keil.uvproj @@ -346,7 +346,1066 @@ - ..\CORTEX_A2F200_IAR_and_Keil;.\MicroSemi_Code\CMSIS;..\..\Source\include;..\..\Source\portable\RVDS\ARM_CM3;.\MicroSemi_Code\drivers\mss_gpio;.\MicroSemi_Code\drivers\mss_watchdog + ..\CORTEX_A2F200_IAR_and_Keil;.\MicroSemi_Code\CMSIS;..\..\Source\include;..\..\Source\portable\RVDS\ARM_CM3;.\MicroSemi_Code\drivers\mss_gpio;.\MicroSemi_Code\drivers\mss_watchdog;.\MicroSemi_Code\drivers\mss_ace;.\MicroSemi_Code\drivers_config\mss_ace + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + 1 + 0 + 0 + 0 + 1 + 0 + 0x00000000 + 0x20000000 + + + + + + + + + + + + System + + + startus_a2fxxxm3.s + 2 + .\MicroSemi_Code\CMSIS\startup_keil\startus_a2fxxxm3.s + + + + + Common_Demo_Source + + + 0 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + 2 + 2 + 2 + 2 + 2 + 2 + 2 + + + + + + + + + + + + TimerDemo.c + 1 + ..\Common\Minimal\TimerDemo.c + + + BlockQ.c + 1 + ..\Common\Minimal\BlockQ.c + + + blocktim.c + 1 + ..\Common\Minimal\blocktim.c + + + death.c + 1 + ..\Common\Minimal\death.c + + + dynamic.c + 1 + ..\Common\Minimal\dynamic.c + + + flash.c + 1 + ..\Common\Minimal\flash.c + + + GenQTest.c + 1 + ..\Common\Minimal\GenQTest.c + + + QPeek.c + 1 + ..\Common\Minimal\QPeek.c + + + recmutex.c + 1 + ..\Common\Minimal\recmutex.c + + + semtest.c + 1 + ..\Common\Minimal\semtest.c + + + + + FreeRTOS_Source + + + timers.c + 1 + ..\..\Source\timers.c + + + list.c + 1 + ..\..\Source\list.c + + + queue.c + 1 + ..\..\Source\queue.c + + + tasks.c + 1 + ..\..\Source\tasks.c + + + port.c + 1 + ..\..\Source\portable\RVDS\ARM_CM3\port.c + + + heap_2.c + 1 + ..\..\Source\portable\MemMang\heap_2.c + + + + + FreeTCPIP(based on uIP) + + + 0 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + 2 + 2 + 2 + 2 + 2 + 2 + 2 + + + + + + + + + + + + uip_arp.c + 1 + ..\Common\ethernet\FreeTCPIP\uip_arp.c + + + psock.c + 1 + ..\Common\ethernet\FreeTCPIP\psock.c + + + timer.c + 1 + ..\Common\ethernet\FreeTCPIP\timer.c + + + uip.c + 1 + ..\Common\ethernet\FreeTCPIP\uip.c + + + + + Microsemi_Drivers + + + mss_gpio.c + 1 + .\MicroSemi_Code\drivers\mss_gpio\mss_gpio.c + + + i2c.c + 1 + .\MicroSemi_Code\drivers\I2C\i2c.c + + + 2 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + + + + ace_convert.c + 1 + .\MicroSemi_Code\drivers\mss_ace\ace_convert.c + + + mss_ace.c + 1 + .\MicroSemi_Code\drivers\mss_ace\mss_ace.c + + + crc32.c + 1 + .\MicroSemi_Code\drivers\mss_ethernet_mac\crc32.c + + + 2 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + + + + mss_ethernet_mac.c + 1 + .\MicroSemi_Code\drivers\mss_ethernet_mac\mss_ethernet_mac.c + + + 2 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + + + + phy.c + 1 + .\MicroSemi_Code\drivers\mss_ethernet_mac\phy.c + + + 2 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + + + + oled.c + 1 + .\MicroSemi_Code\drivers\OLED\oled.c + + + 2 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + + + + ace_config.c + 1 + .\MicroSemi_Code\drivers_config\mss_ace\ace_config.c + + + + + Main + + + main-blinky.c + 1 + .\main-blinky.c + + + printf-stdarg.c + 1 + .\printf-stdarg.c + + + ParTest.c + 1 + .\ParTest.c + + + main-full.c + 1 + .\main-full.c + + + 2 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + + + + uIP_Task.c + 1 + .\uIP_Task.c + + + 2 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + + + + + + CMSIS + + + system_a2fxxxm3.c + 1 + .\MicroSemi_Code\CMSIS\system_a2fxxxm3.c + + + core_cm3.c + 1 + .\MicroSemi_Code\CMSIS\core_cm3.c + + + + + Web_Server + + + 0 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + 2 + 2 + 2 + 2 + 2 + 2 + 2 + + + + + + + + + + + + httpd-cgi.c + 1 + .\WebServer\httpd-cgi.c + + + http-strings.c + 1 + ..\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c + + + httpd.c + 1 + ..\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c + + + httpd-fs.c + 1 + ..\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c + + + + + + + Full + 0x4 + ARM-ADS + + + A2F200M3F + Actel + IRAM(0x20000000-0x2000FFFF) IROM(0x00000000-0x0003FFFF) CLOCK(20000000) CPUTYPE("Cortex-M3") + + "Startup\Actel\A2FxxxM3\startup_a2fxxxm3.s" ("SmartFusion A2FxxxM3 Startup Code") + UL2CM3(-O14 -S0 -C0 -FO7 -FD20000000 -FC800 -FN1 -FF0A2FxxxM3_256 -FS00 -FL040000) + 5028 + a2fxxxm3.h + + + + + + + + + + + 0 + + + + Actel\A2FxxxM3\ + Actel\A2FxxxM3\ + + 0 + 0 + 0 + 0 + 1 + + .\Keil_output\ + RTOSDemo_Keil + 1 + 0 + 0 + 1 + 1 + .\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + + + SARMCM3.DLL + + DLM.DLL + -pEMBER + SARMCM3.DLL + + TLM.DLL + -pEMBER + + + + 1 + 0 + 0 + 0 + 16 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + + 0 + 1 + + + + + + + + + + + + + + BIN\UL2CM3.DLL + + + + + 1 + 0 + 0 + 1 + 0 + -1 + + BIN\UL2CM3.DLL + + + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M3" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x10000 + + + 1 + 0x0 + 0x40000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x40000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + --diag_suppress 2770 + + + ..\CORTEX_A2F200_IAR_and_Keil;.\MicroSemi_Code\CMSIS;..\..\Source\include;..\..\Source\portable\RVDS\ARM_CM3;.\MicroSemi_Code\drivers\mss_gpio;.\MicroSemi_Code\drivers\mss_watchdog;..\Common\include;..\Common\ethernet\FreeTCPIP;..\Common\ethernet\FreeTCPIP\apps\httpd;.\MicroSemi_Code\drivers_config\mss_ace;.\MicroSemi_Code\drivers\I2C;.\MicroSemi_Code\drivers\mss_ace;.\MicroSemi_Code\drivers\mss_ethernet_mac;.\MicroSemi_Code\drivers\OLED;.\WebServer;.\MicroSemi_Code\drivers\mss_timer;..\Common\ethernet\FreeTCPIP\net @@ -565,6 +1624,45 @@ main-blinky.c 1 .\main-blinky.c + + + 2 + 0 + 0 + 0 + 0 + 0 + 2 + 2 + 2 + 2 + 11 + + + + + + 2 + 0 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 0 + 2 + + + + + + + + + printf-stdarg.c @@ -631,7 +1729,7 @@ - Full + Full_with_optimisation 0x4 ARM-ADS @@ -955,7 +2053,7 @@ 1 - 1 + 4 0 0 0 -- 2.39.5