From: richardbarry Date: Sun, 21 Jun 2009 19:20:26 +0000 (+0000) Subject: Prepare for V5.3.1 release. X-Git-Tag: V5.3.1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9949eaf77ba53d945008dbeb20cf8610d6fa4e42;p=freertos Prepare for V5.3.1 release. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@785 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/CORTEX_AT91SAM3U256_IAR/FreeRTOSConfig.h b/Demo/CORTEX_AT91SAM3U256_IAR/FreeRTOSConfig.h index 9d5ea6379..ffe3c2acd 100644 --- a/Demo/CORTEX_AT91SAM3U256_IAR/FreeRTOSConfig.h +++ b/Demo/CORTEX_AT91SAM3U256_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_AT91SAM3U256_IAR/ParTest/ParTest.c b/Demo/CORTEX_AT91SAM3U256_IAR/ParTest/ParTest.c index 91e2bd9c3..fa07b20f1 100644 --- a/Demo/CORTEX_AT91SAM3U256_IAR/ParTest/ParTest.c +++ b/Demo/CORTEX_AT91SAM3U256_IAR/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_AT91SAM3U256_IAR/lcd_message.h b/Demo/CORTEX_AT91SAM3U256_IAR/lcd_message.h index d9b521082..0e23bc6b4 100644 --- a/Demo/CORTEX_AT91SAM3U256_IAR/lcd_message.h +++ b/Demo/CORTEX_AT91SAM3U256_IAR/lcd_message.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_AT91SAM3U256_IAR/main.c b/Demo/CORTEX_AT91SAM3U256_IAR/main.c index 6a8095d21..ef3b8e701 100644 --- a/Demo/CORTEX_AT91SAM3U256_IAR/main.c +++ b/Demo/CORTEX_AT91SAM3U256_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_AT91SAM3U256_IAR/serial/serial.c b/Demo/CORTEX_AT91SAM3U256_IAR/serial/serial.c index 0bd73fb0e..d200da564 100644 --- a/Demo/CORTEX_AT91SAM3U256_IAR/serial/serial.c +++ b/Demo/CORTEX_AT91SAM3U256_IAR/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_GCC/Demo1/FreeRTOSConfig.h b/Demo/CORTEX_LM3S102_GCC/Demo1/FreeRTOSConfig.h index ad409c8a9..354a535af 100644 --- a/Demo/CORTEX_LM3S102_GCC/Demo1/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S102_GCC/Demo1/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_GCC/Demo1/main.c b/Demo/CORTEX_LM3S102_GCC/Demo1/main.c index b977c76e1..5265976e2 100644 --- a/Demo/CORTEX_LM3S102_GCC/Demo1/main.c +++ b/Demo/CORTEX_LM3S102_GCC/Demo1/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_GCC/Demo2/FreeRTOSConfig.h b/Demo/CORTEX_LM3S102_GCC/Demo2/FreeRTOSConfig.h index 4b99cfbb0..6a6b338b2 100644 --- a/Demo/CORTEX_LM3S102_GCC/Demo2/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S102_GCC/Demo2/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_GCC/Demo2/main.c b/Demo/CORTEX_LM3S102_GCC/Demo2/main.c index fcc0e6c65..f7da201d6 100644 --- a/Demo/CORTEX_LM3S102_GCC/Demo2/main.c +++ b/Demo/CORTEX_LM3S102_GCC/Demo2/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_GCC/FreeRTOSConfig.h b/Demo/CORTEX_LM3S102_GCC/FreeRTOSConfig.h index 0a769d4a5..34a8c2deb 100644 --- a/Demo/CORTEX_LM3S102_GCC/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S102_GCC/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_GCC/ParTest/ParTest.c b/Demo/CORTEX_LM3S102_GCC/ParTest/ParTest.c index dfe15b4e5..cad96f056 100644 --- a/Demo/CORTEX_LM3S102_GCC/ParTest/ParTest.c +++ b/Demo/CORTEX_LM3S102_GCC/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_GCC/main.c b/Demo/CORTEX_LM3S102_GCC/main.c index b977c76e1..5265976e2 100644 --- a/Demo/CORTEX_LM3S102_GCC/main.c +++ b/Demo/CORTEX_LM3S102_GCC/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_KEIL/Demo1/FreeRTOSConfig.h b/Demo/CORTEX_LM3S102_KEIL/Demo1/FreeRTOSConfig.h index ad409c8a9..354a535af 100644 --- a/Demo/CORTEX_LM3S102_KEIL/Demo1/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S102_KEIL/Demo1/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_KEIL/Demo1/main.c b/Demo/CORTEX_LM3S102_KEIL/Demo1/main.c index 234a68e17..c9addc1d3 100644 --- a/Demo/CORTEX_LM3S102_KEIL/Demo1/main.c +++ b/Demo/CORTEX_LM3S102_KEIL/Demo1/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_KEIL/Demo2/FreeRTOSConfig.h b/Demo/CORTEX_LM3S102_KEIL/Demo2/FreeRTOSConfig.h index 4b99cfbb0..6a6b338b2 100644 --- a/Demo/CORTEX_LM3S102_KEIL/Demo2/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S102_KEIL/Demo2/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_KEIL/Demo2/main.c b/Demo/CORTEX_LM3S102_KEIL/Demo2/main.c index 1c794fa73..7aa834181 100644 --- a/Demo/CORTEX_LM3S102_KEIL/Demo2/main.c +++ b/Demo/CORTEX_LM3S102_KEIL/Demo2/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_KEIL/FreeRTOSConfig.h b/Demo/CORTEX_LM3S102_KEIL/FreeRTOSConfig.h index 935bd62ee..4b656b77a 100644 --- a/Demo/CORTEX_LM3S102_KEIL/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S102_KEIL/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_KEIL/ParTest/ParTest.c b/Demo/CORTEX_LM3S102_KEIL/ParTest/ParTest.c index dfe15b4e5..cad96f056 100644 --- a/Demo/CORTEX_LM3S102_KEIL/ParTest/ParTest.c +++ b/Demo/CORTEX_LM3S102_KEIL/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_KEIL/main.c b/Demo/CORTEX_LM3S102_KEIL/main.c index 234a68e17..c9addc1d3 100644 --- a/Demo/CORTEX_LM3S102_KEIL/main.c +++ b/Demo/CORTEX_LM3S102_KEIL/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo1/FreeRTOSConfig.h b/Demo/CORTEX_LM3S102_Rowley/Demo1/FreeRTOSConfig.h index 0a769d4a5..34a8c2deb 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo1/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S102_Rowley/Demo1/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo1/ParTest.c b/Demo/CORTEX_LM3S102_Rowley/Demo1/ParTest.c index dfe15b4e5..cad96f056 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo1/ParTest.c +++ b/Demo/CORTEX_LM3S102_Rowley/Demo1/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo1/main.c b/Demo/CORTEX_LM3S102_Rowley/Demo1/main.c index 7ea318fe4..5743bf201 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo1/main.c +++ b/Demo/CORTEX_LM3S102_Rowley/Demo1/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo2/FreeRTOSConfig.h b/Demo/CORTEX_LM3S102_Rowley/Demo2/FreeRTOSConfig.h index 5cce48cee..2a061cd35 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo2/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S102_Rowley/Demo2/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo2/ParTest.c b/Demo/CORTEX_LM3S102_Rowley/Demo2/ParTest.c index dfe15b4e5..cad96f056 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo2/ParTest.c +++ b/Demo/CORTEX_LM3S102_Rowley/Demo2/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo2/main.c b/Demo/CORTEX_LM3S102_Rowley/Demo2/main.c index 0d10e4aca..ca7728cec 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo2/main.c +++ b/Demo/CORTEX_LM3S102_Rowley/Demo2/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo3/FreeRTOSConfig.h b/Demo/CORTEX_LM3S102_Rowley/Demo3/FreeRTOSConfig.h index 157c7e9c5..4616d298c 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo3/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S102_Rowley/Demo3/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo3/ParTest.c b/Demo/CORTEX_LM3S102_Rowley/Demo3/ParTest.c index 0e1d2d15e..cd38159ff 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo3/ParTest.c +++ b/Demo/CORTEX_LM3S102_Rowley/Demo3/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S102_Rowley/Demo3/main.c b/Demo/CORTEX_LM3S102_Rowley/Demo3/main.c index 939d89fd3..d6babf58b 100644 --- a/Demo/CORTEX_LM3S102_Rowley/Demo3/main.c +++ b/Demo/CORTEX_LM3S102_Rowley/Demo3/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S316_IAR/FreeRTOSConfig.h b/Demo/CORTEX_LM3S316_IAR/FreeRTOSConfig.h index 9623b9e1c..7de1f4432 100644 --- a/Demo/CORTEX_LM3S316_IAR/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S316_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S316_IAR/ParTest/ParTest.c b/Demo/CORTEX_LM3S316_IAR/ParTest/ParTest.c index dfe15b4e5..cad96f056 100644 --- a/Demo/CORTEX_LM3S316_IAR/ParTest/ParTest.c +++ b/Demo/CORTEX_LM3S316_IAR/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S316_IAR/commstest.c b/Demo/CORTEX_LM3S316_IAR/commstest.c index a0890c495..6b1449041 100644 --- a/Demo/CORTEX_LM3S316_IAR/commstest.c +++ b/Demo/CORTEX_LM3S316_IAR/commstest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S316_IAR/commstest.h b/Demo/CORTEX_LM3S316_IAR/commstest.h index 18364d2f3..63436f091 100644 --- a/Demo/CORTEX_LM3S316_IAR/commstest.h +++ b/Demo/CORTEX_LM3S316_IAR/commstest.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S316_IAR/main.c b/Demo/CORTEX_LM3S316_IAR/main.c index 5c3a12d1f..7ac22b600 100644 --- a/Demo/CORTEX_LM3S316_IAR/main.c +++ b/Demo/CORTEX_LM3S316_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S811_GCC/FreeRTOSConfig.h b/Demo/CORTEX_LM3S811_GCC/FreeRTOSConfig.h index 25d41c021..484f21d1d 100644 --- a/Demo/CORTEX_LM3S811_GCC/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S811_GCC/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S811_GCC/main.c b/Demo/CORTEX_LM3S811_GCC/main.c index 67eeee90b..e68bf5658 100644 --- a/Demo/CORTEX_LM3S811_GCC/main.c +++ b/Demo/CORTEX_LM3S811_GCC/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S811_IAR/FreeRTOSConfig.h b/Demo/CORTEX_LM3S811_IAR/FreeRTOSConfig.h index 2b4745f20..c604919cf 100644 --- a/Demo/CORTEX_LM3S811_IAR/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S811_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S811_IAR/main.c b/Demo/CORTEX_LM3S811_IAR/main.c index 97197ede7..cceaf67f4 100644 --- a/Demo/CORTEX_LM3S811_IAR/main.c +++ b/Demo/CORTEX_LM3S811_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S811_KEIL/FreeRTOSConfig.h b/Demo/CORTEX_LM3S811_KEIL/FreeRTOSConfig.h index 0d921d9fb..059767372 100644 --- a/Demo/CORTEX_LM3S811_KEIL/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S811_KEIL/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S811_KEIL/heap/heap_1.c b/Demo/CORTEX_LM3S811_KEIL/heap/heap_1.c index a08443de1..f5dc978dd 100644 --- a/Demo/CORTEX_LM3S811_KEIL/heap/heap_1.c +++ b/Demo/CORTEX_LM3S811_KEIL/heap/heap_1.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3S811_KEIL/main.c b/Demo/CORTEX_LM3S811_KEIL/main.c index 7c54a0296..c217ad0cc 100644 --- a/Demo/CORTEX_LM3S811_KEIL/main.c +++ b/Demo/CORTEX_LM3S811_KEIL/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/FreeRTOSConfig.h b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/FreeRTOSConfig.h index 008c4dfba..2f943a8fd 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.c index 8b21934f4..2469bc389 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.h b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.h index fb6971603..fedfdb464 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.h +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/Makefile b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/Makefile index 043bcf9ec..b7fe4728a 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/Makefile +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/Makefile @@ -1,5 +1,5 @@ #/* -# FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. +# FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. # # This file is part of the FreeRTOS.org distribution. # diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/ParTest/ParTest.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/ParTest/ParTest.c index 59417d2b3..fb9ebc219 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/ParTest/ParTest.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/main.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/main.c index d98f0d602..5a79e2e5b 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/main.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/timertest.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/timertest.c index 9868f3bf3..e59b74998 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/timertest.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/emac.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/emac.c index fa016523f..92b67973e 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/emac.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c index 7757a7d75..f326212f0 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/FreeRTOSConfig.h b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/FreeRTOSConfig.h index 2c44cfdc1..4ebedf5b9 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.c index 8b21934f4..2469bc389 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.h b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.h index fb6971603..fedfdb464 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.h +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/ParTest/ParTest.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/ParTest/ParTest.c index 59417d2b3..fb9ebc219 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/ParTest/ParTest.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/main.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/main.c index 11516f470..f9471b9ea 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/main.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/timertest.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/timertest.c index 229555155..f3685c765 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/timertest.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/emac.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/emac.c index edbe4bcb0..744651976 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/emac.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/uIP_Task.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/uIP_Task.c index e0c44947a..74b7a2afe 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/uIP_Task.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LPC1766_GCC_RedSuite/FreeRTOSConfig.h b/Demo/CORTEX_LPC1766_GCC_RedSuite/FreeRTOSConfig.h index b318f655e..5286cfc45 100644 --- a/Demo/CORTEX_LPC1766_GCC_RedSuite/FreeRTOSConfig.h +++ b/Demo/CORTEX_LPC1766_GCC_RedSuite/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LPC1766_GCC_RedSuite/LED.c b/Demo/CORTEX_LPC1766_GCC_RedSuite/LED.c index e1ff67ed7..2612bf78d 100644 --- a/Demo/CORTEX_LPC1766_GCC_RedSuite/LED.c +++ b/Demo/CORTEX_LPC1766_GCC_RedSuite/LED.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LPC1766_GCC_RedSuite/LED.h b/Demo/CORTEX_LPC1766_GCC_RedSuite/LED.h index c7831e58e..a4c6d8f81 100644 --- a/Demo/CORTEX_LPC1766_GCC_RedSuite/LED.h +++ b/Demo/CORTEX_LPC1766_GCC_RedSuite/LED.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LPC1766_GCC_RedSuite/Makefile b/Demo/CORTEX_LPC1766_GCC_RedSuite/Makefile index 61f57cb59..3fbf3a215 100644 --- a/Demo/CORTEX_LPC1766_GCC_RedSuite/Makefile +++ b/Demo/CORTEX_LPC1766_GCC_RedSuite/Makefile @@ -1,5 +1,5 @@ #/* -# FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. +# FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. # # This file is part of the FreeRTOS.org distribution. # diff --git a/Demo/CORTEX_LPC1766_GCC_RedSuite/main.c b/Demo/CORTEX_LPC1766_GCC_RedSuite/main.c index 36a3f2962..813f7f268 100644 --- a/Demo/CORTEX_LPC1766_GCC_RedSuite/main.c +++ b/Demo/CORTEX_LPC1766_GCC_RedSuite/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_LPC1766_GCC_RedSuite/webserver/uIP_Task.c b/Demo/CORTEX_LPC1766_GCC_RedSuite/webserver/uIP_Task.c index 8fbcb6243..59bf08fce 100644 --- a/Demo/CORTEX_LPC1766_GCC_RedSuite/webserver/uIP_Task.c +++ b/Demo/CORTEX_LPC1766_GCC_RedSuite/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_IAR/FreeRTOSConfig.h b/Demo/CORTEX_STM32F103_IAR/FreeRTOSConfig.h index bba91d59a..9121dbebd 100644 --- a/Demo/CORTEX_STM32F103_IAR/FreeRTOSConfig.h +++ b/Demo/CORTEX_STM32F103_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_IAR/ParTest/ParTest.c b/Demo/CORTEX_STM32F103_IAR/ParTest/ParTest.c index 0abfdd6ad..a2705f664 100644 --- a/Demo/CORTEX_STM32F103_IAR/ParTest/ParTest.c +++ b/Demo/CORTEX_STM32F103_IAR/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_IAR/main.c b/Demo/CORTEX_STM32F103_IAR/main.c index b314c1285..a9ef34d4d 100644 --- a/Demo/CORTEX_STM32F103_IAR/main.c +++ b/Demo/CORTEX_STM32F103_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_IAR/serial/serial.c b/Demo/CORTEX_STM32F103_IAR/serial/serial.c index db8abb595..082300826 100644 --- a/Demo/CORTEX_STM32F103_IAR/serial/serial.c +++ b/Demo/CORTEX_STM32F103_IAR/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_IAR/timertest.c b/Demo/CORTEX_STM32F103_IAR/timertest.c index 49fe98d14..0195729e7 100644 --- a/Demo/CORTEX_STM32F103_IAR/timertest.c +++ b/Demo/CORTEX_STM32F103_IAR/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_Keil/FreeRTOSConfig.h b/Demo/CORTEX_STM32F103_Keil/FreeRTOSConfig.h index bba91d59a..9121dbebd 100644 --- a/Demo/CORTEX_STM32F103_Keil/FreeRTOSConfig.h +++ b/Demo/CORTEX_STM32F103_Keil/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_Keil/ParTest/ParTest.c b/Demo/CORTEX_STM32F103_Keil/ParTest/ParTest.c index 0abfdd6ad..a2705f664 100644 --- a/Demo/CORTEX_STM32F103_Keil/ParTest/ParTest.c +++ b/Demo/CORTEX_STM32F103_Keil/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_Keil/RTOSDemo.Opt b/Demo/CORTEX_STM32F103_Keil/RTOSDemo.Opt index 5a5c2003a..21e539855 100644 --- a/Demo/CORTEX_STM32F103_Keil/RTOSDemo.Opt +++ b/Demo/CORTEX_STM32F103_Keil/RTOSDemo.Opt @@ -11,25 +11,25 @@ DaveTm { 0,0,0,0,0,0,0,0 } Target (Target 1), 0x0004 // Tools: 'ARM-ADS' -GRPOPT 1,(System),0,0,0 +GRPOPT 1,(System),1,0,0 GRPOPT 2,(Demo Files),0,0,0 GRPOPT 3,(FreeRTOS files),0,0,0 OPTFFF 1,1,2,0,0,0,0,0,<.\STM32F10x.s> -OPTFFF 1,2,1,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\lcd.c> -OPTFFF 1,3,2,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\cortexm3_macro_rvds.s> -OPTFFF 1,4,1,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_usart.c> -OPTFFF 1,5,1,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_gpio.c> -OPTFFF 1,6,1,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_lib.c> -OPTFFF 1,7,1,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_nvic.c> -OPTFFF 1,8,1,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_rcc.c> -OPTFFF 1,9,1,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_spi.c> -OPTFFF 1,10,1,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_systick.c> -OPTFFF 1,11,1,0,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_tim.c> +OPTFFF 1,2,1,234881024,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\lcd.c> +OPTFFF 1,3,2,704643072,0,0,0,0,<..\Common\drivers\ST\STM32F10xFWLib\src\cortexm3_macro_rvds.s> +OPTFFF 1,4,1,0,0,0,0,0,<.\STM32F10xFWLib\src\stm32f10x_usart.c> +OPTFFF 1,5,1,0,0,0,0,0,<.\STM32F10xFWLib\src\stm32f10x_gpio.c> +OPTFFF 1,6,1,0,0,0,0,0,<.\STM32F10xFWLib\src\stm32f10x_lib.c> +OPTFFF 1,7,1,0,0,0,0,0,<.\STM32F10xFWLib\src\stm32f10x_nvic.c> +OPTFFF 1,8,1,0,0,0,0,0,<.\STM32F10xFWLib\src\stm32f10x_rcc.c> +OPTFFF 1,9,1,0,0,0,0,0,<.\STM32F10xFWLib\src\stm32f10x_spi.c> +OPTFFF 1,10,1,0,0,0,0,0,<.\STM32F10xFWLib\src\stm32f10x_systick.c> +OPTFFF 1,11,1,0,0,0,0,0,<.\STM32F10xFWLib\src\stm32f10x_tim.c> OPTFFF 2,12,1,285212672,0,0,0,0,<.\ParTest\ParTest.c> OPTFFF 2,13,1,0,0,0,0,0,<.\serial\serial.c> OPTFFF 2,14,1,0,0,0,0,0,<.\timertest.c> -OPTFFF 2,15,1,117440512,0,0,0,0,<.\main.c> +OPTFFF 2,15,1,2,0,179,199,0,<.\main.c> { 44,0,0,0,2,0,0,0,3,0,0,0,255,255,255,255,255,255,255,255,252,255,255,255,233,255,255,255,132,0,0,0,132,0,0,0,55,4,0,0,197,1,0,0 } OPTFFF 2,16,1,0,0,0,0,0,<.\spi_flash.c> OPTFFF 2,17,1,0,0,0,0,0,<..\Common\Minimal\semtest.c> OPTFFF 2,18,1,0,0,0,0,0,<..\Common\Minimal\BlockQ.c> @@ -57,15 +57,14 @@ TARGOPT 1, (Target 1) OPTFL 1,0,1 OPTAX 255 OPTDL (SARMCM3.DLL)()(DARMSTM.DLL)(-pSTM32F103VB)(SARMCM3.DLL)()(TARMSTM.DLL)(-pSTM32F103VB) - OPTDBG 48126,1,()()()()()()()()()() (BIN\UL2CM3.DLL)()()() + OPTDBG 42998,1,()()()()()()()()()() (BIN\UL2CM3.DLL)()()() OPTKEY 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)(100=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(123=-1,-1,-1,-1,0)(124=-1,-1,-1,-1,0)(140=-1,-1,-1,-1,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(151=-1,-1,-1,-1,0)) OPTKEY 0,(DLGUARM)((105=-1,-1,-1,-1,0)(106=-1,-1,-1,-1,0)(107=-1,-1,-1,-1,0)) OPTKEY 0,(DLGDARM)((1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,0)(123=-1,-1,-1,-1,0)(124=-1,-1,-1,-1,0)(140=-1,-1,-1,-1,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=-1,-1,-1,-1,0)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(234=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(151=-1,-1,-1,-1,0)) OPTKEY 0,(ARMDBGFLAGS)(-T0) OPTKEY 0,(JLTAgdi)(-O1038 -J1 -Y1000 -Z1 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000) - OPTKEY 0,(UL2CM3)(-UU0226F8E -O14 -S0 -C0 -N00("ARM CoreSight JTAG-DP") -D00(3BA00477) -L00(4) -N01("Unknown JTAG device") -D01(06410041) -L01(5) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP7 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000) - OPTBB 0,0,237,1,134228048,0,0,0,0,1,()() - OPTDF 0x82 + OPTKEY 0,(UL2CM3)(-UU0605F6E -O47 -S0 -C0 -N00("ARM CoreSight JTAG-DP") -D00(3BA00477) -L00(4) -N01("Unknown JTAG device") -D01(06410041) -L01(5) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP7 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000) + OPTDF 0x86 OPTLE <> OPTLC <> EndOpt diff --git a/Demo/CORTEX_STM32F103_Keil/RTOSDemo.Uv2 b/Demo/CORTEX_STM32F103_Keil/RTOSDemo.Uv2 index 183c54156..aebef101c 100644 --- a/Demo/CORTEX_STM32F103_Keil/RTOSDemo.Uv2 +++ b/Demo/CORTEX_STM32F103_Keil/RTOSDemo.Uv2 @@ -10,14 +10,14 @@ Group (FreeRTOS files) File 1,2,<.\STM32F10x.s> File 1,1,<..\Common\drivers\ST\STM32F10xFWLib\src\lcd.c> File 1,2,<..\Common\drivers\ST\STM32F10xFWLib\src\cortexm3_macro_rvds.s> -File 1,1,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_usart.c> -File 1,1,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_gpio.c> -File 1,1,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_lib.c> -File 1,1,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_nvic.c> -File 1,1,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_rcc.c> -File 1,1,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_spi.c> -File 1,1,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_systick.c> -File 1,1,<..\Common\drivers\ST\STM32F10xFWLib\src\stm32f10x_tim.c> +File 1,1,<.\STM32F10xFWLib\src\stm32f10x_usart.c> +File 1,1,<.\STM32F10xFWLib\src\stm32f10x_gpio.c> +File 1,1,<.\STM32F10xFWLib\src\stm32f10x_lib.c> +File 1,1,<.\STM32F10xFWLib\src\stm32f10x_nvic.c> +File 1,1,<.\STM32F10xFWLib\src\stm32f10x_rcc.c> +File 1,1,<.\STM32F10xFWLib\src\stm32f10x_spi.c> +File 1,1,<.\STM32F10xFWLib\src\stm32f10x_systick.c> +File 1,1,<.\STM32F10xFWLib\src\stm32f10x_tim.c> File 2,1,<.\ParTest\ParTest.c> File 2,1,<.\serial\serial.c> File 2,1,<.\timertest.c> @@ -85,7 +85,7 @@ Options 1,0,0 // Target 'Target 1' ADSFLGA { 243,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } ACPUTYP ("Cortex-M3") RVDEV () - ADSTFLGA { 0,12,0,2,99,0,0,66,0,0,0,0,0,0,0,0,0,0,0,0 } + ADSTFLGA { 0,12,0,18,99,0,0,66,0,0,0,0,0,0,0,0,0,0,0,0 } OCMADSOCM { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } OCMADSIRAM { 0,0,0,0,32,0,80,0,0 } OCMADSIROM { 1,0,0,0,8,0,0,2,0 } @@ -96,7 +96,7 @@ Options 1,0,0 // Target 'Target 1' ADSCMISC () ADSCDEFN (RVDS_ARMCM3_LM3S102) ADSCUDEF () - ADSCINCD (..\CORTEX_STM32F103_Keil;..\Common\include;..\..\Source\include;..\Common\drivers\ST\STM32F10xFWLib\inc) + ADSCINCD (..\CORTEX_STM32F103_Keil;..\Common\include;..\..\Source\include;.\STM32F10xFWLib\inc) ADSASFLG { 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } ADSAMISC () ADSADEFN () @@ -121,7 +121,7 @@ Options 1,0,0 // Target 'Target 1' ADSLDIF () ADSLDDW () OPTDL (SARMCM3.DLL)()(DARMSTM.DLL)(-pSTM32F103VB)(SARMCM3.DLL)()(TARMSTM.DLL)(-pSTM32F103VB) - OPTDBG 48126,1,()()()()()()()()()() (BIN\UL2CM3.DLL)()()() + OPTDBG 42998,1,()()()()()()()()()() (BIN\UL2CM3.DLL)()()() FLASH1 { 9,0,0,0,1,0,0,0,1,16,0,0,0,0,0,0,0,0,0,0 } FLASH2 (BIN\UL2CM3.DLL) FLASH3 ("" ()) diff --git a/Demo/CORTEX_STM32F103_Keil/RTOSDemo.plg b/Demo/CORTEX_STM32F103_Keil/RTOSDemo.plg index 4b3970218..32b7cbfe0 100644 --- a/Demo/CORTEX_STM32F103_Keil/RTOSDemo.plg +++ b/Demo/CORTEX_STM32F103_Keil/RTOSDemo.plg @@ -3,7 +3,180 @@
 

µVision3 Build Log

Project:

-C:\E\Dev\FreeRTOS\WorkingCopy2\Demo\CORTEX_STM32F103_Keil\RTOSDemo.uv2 -Project File Date: 05/21/2008 +C:\E\temp\rc\4\FreeRTOSV5.3.1\Demo\CORTEX_STM32F103_Keil\RTOSDemo.uv2 +Project File Date: 06/21/2009

Output:

+Build target 'Target 1' +assembling STM32F10x.s... +compiling lcd.c... +assembling cortexm3_macro_rvds.s... +compiling stm32f10x_usart.c... +compiling stm32f10x_gpio.c... +compiling stm32f10x_lib.c... +compiling stm32f10x_nvic.c... +compiling stm32f10x_rcc.c... +compiling stm32f10x_spi.c... +compiling stm32f10x_systick.c... +compiling stm32f10x_tim.c... +compiling ParTest.c... +compiling serial.c... +compiling timertest.c... +compiling main.c... +compiling spi_flash.c... +compiling semtest.c... +compiling BlockQ.c... +compiling blocktim.c... +compiling comtest.c... +compiling death.c... +compiling flash.c... +compiling integer.c... +compiling PollQ.c... +compiling tasks.c... +compiling list.c... +compiling queue.c... +compiling port.c... +compiling heap_2.c... +linking... +Program Size: Code=22904 RO-data=14540 RW-data=256 ZI-data=18488 +"RTOSDemo.axf" - 0 Error(s), 0 Warning(s). +Load "C:\\E\\temp\\rc\\4\\FreeRTOSV5.3.1\\Demo\\CORTEX_STM32F103_Keil\\RTOSDemo.AXF" +Erase Done. +Programming Done. +Verify OK. +Clean started: Project: 'RTOSDemo' + deleting intermediate output files for target 'Target 1' +Build target 'Target 1' +assembling STM32F10x.s... +compiling lcd.c... +assembling cortexm3_macro_rvds.s... +compiling stm32f10x_usart.c... +compiling stm32f10x_gpio.c... +compiling stm32f10x_lib.c... +compiling stm32f10x_nvic.c... +compiling stm32f10x_rcc.c... +compiling stm32f10x_spi.c... +compiling stm32f10x_systick.c... +compiling stm32f10x_tim.c... +compiling ParTest.c... +compiling serial.c... +compiling timertest.c... +compiling main.c... +compiling spi_flash.c... +compiling semtest.c... +compiling BlockQ.c... +compiling blocktim.c... +compiling comtest.c... +compiling death.c... +compiling flash.c... +compiling integer.c... +compiling PollQ.c... +compiling tasks.c... +compiling list.c... +compiling queue.c... +compiling port.c... +compiling heap_2.c... +linking... +Program Size: Code=22904 RO-data=14540 RW-data=256 ZI-data=18488 +"RTOSDemo.axf" - 0 Error(s), 0 Warning(s). +Load "C:\\E\\temp\\rc\\4\\FreeRTOSV5.3.1\\Demo\\CORTEX_STM32F103_Keil\\RTOSDemo.AXF" +Erase Done. +Programming Done. +Verify OK. +Load "C:\\E\\temp\\rc\\4\\FreeRTOSV5.3.1\\Demo\\CORTEX_STM32F103_Keil\\RTOSDemo.AXF" +Erase Done. +Programming Done. +Verify OK. +Build target 'Target 1' +linking... +Program Size: Code=22904 RO-data=14540 RW-data=256 ZI-data=18488 +"RTOSDemo.axf" - 0 Error(s), 0 Warning(s). +Load "C:\\E\\temp\\rc\\4\\FreeRTOSV5.3.1\\Demo\\CORTEX_STM32F103_Keil\\RTOSDemo.AXF" +Erase Done. +Programming Done. +Verify OK. +Build target 'Target 1' +assembling STM32F10x.s... +compiling lcd.c... +assembling cortexm3_macro_rvds.s... +compiling stm32f10x_usart.c... +compiling stm32f10x_gpio.c... +compiling stm32f10x_lib.c... +compiling stm32f10x_nvic.c... +compiling stm32f10x_rcc.c... +compiling stm32f10x_spi.c... +compiling stm32f10x_systick.c... +compiling stm32f10x_tim.c... +compiling ParTest.c... +compiling serial.c... +compiling timertest.c... +compiling main.c... +compiling spi_flash.c... +compiling semtest.c... +compiling BlockQ.c... +compiling blocktim.c... +compiling comtest.c... +compiling death.c... +compiling flash.c... +compiling integer.c... +compiling PollQ.c... +compiling tasks.c... +compiling list.c... +compiling queue.c... +compiling port.c... +compiling heap_2.c... +linking... +Program Size: Code=22904 RO-data=14540 RW-data=256 ZI-data=18488 +"RTOSDemo.axf" - 0 Error(s), 0 Warning(s). +Load "C:\\E\\temp\\rc\\4\\FreeRTOSV5.3.1\\Demo\\CORTEX_STM32F103_Keil\\RTOSDemo.AXF" +Erase Done. +Programming Done. +Verify OK. +Build target 'Target 1' +assembling STM32F10x.s... +linking... +Program Size: Code=22908 RO-data=14540 RW-data=256 ZI-data=18496 +"RTOSDemo.axf" - 0 Error(s), 0 Warning(s). +Load "C:\\E\\temp\\rc\\4\\FreeRTOSV5.3.1\\Demo\\CORTEX_STM32F103_Keil\\RTOSDemo.AXF" +Erase Done. +Programming Done. +Verify OK. +Build target 'Target 1' +assembling STM32F10x.s... +compiling lcd.c... +assembling cortexm3_macro_rvds.s... +compiling stm32f10x_usart.c... +compiling stm32f10x_gpio.c... +compiling stm32f10x_lib.c... +compiling stm32f10x_nvic.c... +compiling stm32f10x_rcc.c... +compiling stm32f10x_spi.c... +compiling stm32f10x_systick.c... +compiling stm32f10x_tim.c... +compiling ParTest.c... +compiling serial.c... +compiling timertest.c... +compiling main.c... +compiling spi_flash.c... +compiling semtest.c... +compiling BlockQ.c... +compiling blocktim.c... +compiling comtest.c... +compiling death.c... +compiling flash.c... +compiling integer.c... +compiling PollQ.c... +compiling tasks.c... +compiling list.c... +compiling queue.c... +compiling port.c... +compiling heap_2.c... +linking... +Program Size: Code=20174 RO-data=14530 RW-data=248 ZI-data=18152 +"RTOSDemo.axf" - 0 Error(s), 0 Warning(s). +Load "C:\\E\\temp\\rc\\4\\FreeRTOSV5.3.1\\Demo\\CORTEX_STM32F103_Keil\\RTOSDemo.AXF" +Erase Done. +Programming Done. +Verify OK. +Clean started: Project: 'RTOSDemo' + deleting intermediate output files for target 'Target 1' diff --git a/Demo/CORTEX_STM32F103_Keil/main.c b/Demo/CORTEX_STM32F103_Keil/main.c index b314c1285..a9ef34d4d 100644 --- a/Demo/CORTEX_STM32F103_Keil/main.c +++ b/Demo/CORTEX_STM32F103_Keil/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_Keil/serial/serial.c b/Demo/CORTEX_STM32F103_Keil/serial/serial.c index db8abb595..082300826 100644 --- a/Demo/CORTEX_STM32F103_Keil/serial/serial.c +++ b/Demo/CORTEX_STM32F103_Keil/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_Keil/timertest.c b/Demo/CORTEX_STM32F103_Keil/timertest.c index 49fe98d14..0195729e7 100644 --- a/Demo/CORTEX_STM32F103_Keil/timertest.c +++ b/Demo/CORTEX_STM32F103_Keil/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_Primer_GCC/FreeRTOSConfig.h b/Demo/CORTEX_STM32F103_Primer_GCC/FreeRTOSConfig.h index f2c53b940..8aa6b50de 100644 --- a/Demo/CORTEX_STM32F103_Primer_GCC/FreeRTOSConfig.h +++ b/Demo/CORTEX_STM32F103_Primer_GCC/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_Primer_GCC/ParTest/ParTest.c b/Demo/CORTEX_STM32F103_Primer_GCC/ParTest/ParTest.c index dea1f492e..f392fcae6 100644 --- a/Demo/CORTEX_STM32F103_Primer_GCC/ParTest/ParTest.c +++ b/Demo/CORTEX_STM32F103_Primer_GCC/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_Primer_GCC/bitmap.h b/Demo/CORTEX_STM32F103_Primer_GCC/bitmap.h index c00f58613..c25f38fa0 100644 --- a/Demo/CORTEX_STM32F103_Primer_GCC/bitmap.h +++ b/Demo/CORTEX_STM32F103_Primer_GCC/bitmap.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F103_Primer_GCC/timertest.c b/Demo/CORTEX_STM32F103_Primer_GCC/timertest.c index 49fe98d14..0195729e7 100644 --- a/Demo/CORTEX_STM32F103_Primer_GCC/timertest.c +++ b/Demo/CORTEX_STM32F103_Primer_GCC/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h b/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h index 0968b5dd8..88ea51e01 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h.scsc b/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h.scsc index 8d2ebf2fb..a5a924936 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h.scsc +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h.scsc @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/ParTest/ParTest.c b/Demo/CORTEX_STM32F107_GCC_Rowley/ParTest/ParTest.c index 90884c0ec..ae219fe6c 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/ParTest/ParTest.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/main.c b/Demo/CORTEX_STM32F107_GCC_Rowley/main.c index b3956f226..6325f575c 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/main.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/scsc.tmp b/Demo/CORTEX_STM32F107_GCC_Rowley/scsc.tmp index 584355680..522456beb 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/scsc.tmp +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/scsc.tmp @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/timertest.c b/Demo/CORTEX_STM32F107_GCC_Rowley/timertest.c index 494c2ffcd..f9eeaaa11 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/timertest.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c index 584355680..522456beb 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c.scsc b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c.scsc index 97251528f..795597cce 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c.scsc +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c.scsc @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h index 34a4e6008..6c8f84b7c 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h.scsc b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h.scsc index 8397a4c36..c76d07d66 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h.scsc +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h.scsc @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/uIP_Task.c b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/uIP_Task.c index d779404de..88eefc18d 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/uIP_Task.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/CFV1_BDM_P&E_Multilink_CyclonePro.hwc b/Demo/ColdFire_MCF51CN128_CodeWarrior/CFV1_BDM_P&E_Multilink_CyclonePro.hwc new file mode 100644 index 000000000..e69de29bb diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/CFV1_BDM_P&E_Multilink_CyclonePro.ini b/Demo/ColdFire_MCF51CN128_CodeWarrior/CFV1_BDM_P&E_Multilink_CyclonePro.ini new file mode 100644 index 000000000..d8b6b3b97 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/CFV1_BDM_P&E_Multilink_CyclonePro.ini @@ -0,0 +1,74 @@ +[Environment Variables] +GENPATH={Project}Sources;{Compiler}lib\cfv1c\device\src;{Compiler}lib\cfv1c\device\include;{Compiler}lib\cfv1c\device\asm_include;{Compiler}\ColdFire_Support\Runtime\Runtime_ColdFire\Source;{Compiler}ColdFire_Support\Runtime\(Runtime_Common)\MWRuntime;{Compiler}ColdFire_Support\Runtime\(Runtime_Common);{Compiler}ColdFire_Support\msl\MSL_C\MSL_ColdFire\Src;{Compiler}ColdFire_Support\msl\MSL_C\MSL_ColdFire\Lib;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common\Src;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Src;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Math\Double_precision;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Math\Single_precision;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_ColdFire\Lib;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_Common\Src;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_Precompiled_Headers\Src;{Compiler}ColdFire_Support\msl\MSL_Extras\MSL_Common\Src +LIBPATH={Compiler}lib\cfv1c\device\include;{Compiler}ColdFire_Support\msl\MSL_C\MSL_ColdFire\Include;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common\Include;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Include;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_ColdFire\Include;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_Common\Include;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Math\Include;{Compiler}ColdFire_Support\msl\MSL_Extras\MSL_Common\Include;{Compiler}ColdFire_Support\msl\MSL_Extras\MSL_Common\Include\sys; +OBJPATH={Project}bin +TEXTPATH={Project}bin +ABSPATH={Project}bin + +[HI-WAVE] +Target=CFICDCYCLMULT +CPU=ColdFire +Layout=C_layout.hwl +LoadDialogOptions=AUTOERASEANDFLASH RUNANDSTOPAFTERLOAD="main" +MainFrame=2,3,-1,-1,-1,-1,132,132,1182,881 +TOOLBAR=57600 57601 32795 0 57635 57634 57637 0 57671 57669 0 32777 32776 32782 32780 32781 32778 0 32806 +AEFWarningDialog=FALSE + + + + +[CFICDCYCLMULT] +COMSETTINGS=SETCOMM DRIVER NOPROTOCOL NOPERIODICAL +HOST_IO_SUPPORT=0 + +[CFMultilinkCyclonePro_GDI_SETTINGS] +MCUID=0x700A +CMDFILE0=CMDFILE STARTUP ON ".\cmd\CFV1_BDM_P&E_Multilink_CyclonePro_startup.cmd" +CMDFILE1=CMDFILE RESET ON ".\cmd\CFV1_BDM_P&E_Multilink_CyclonePro_reset.cmd" +CMDFILE2=CMDFILE PRELOAD ON ".\cmd\CFV1_BDM_P&E_Multilink_CyclonePro_preload.cmd" +CMDFILE3=CMDFILE POSTLOAD ON ".\cmd\CFV1_BDM_P&E_Multilink_CyclonePro_postload.cmd" +CMDFILE4=CMDFILE VPPON ON "vppon.cmd" +CMDFILE5=CMDFILE VPPOFF ON "vppoff.cmd" +DBG0=DBG GENERAL DISARM_ON PROTECT_OFF ANALYZE_ON STEPATRUN_ON +DBG1=DBG PREDEFINED SELECT 0 +CF_V1_DBG_TRIGGER_A=RangeAllowed:0 AccessSizeCompareAllowed:0 DataCompareAllowed:0 Disabled:0 AccessSize:4 Range:0 OutsideRange:0 DataToCompare:0 DataToCompareSize:0 DataToCompareMode:-1 EnableMask: 0 TriggerMask:0 +CF_V1_DBG_TRIGGER_B=RangeAllowed:0 AccessSizeCompareAllowed:0 DataCompareAllowed:0 Disabled:0 AccessSize:4 Range:0 OutsideRange:0 DataToCompare:0 DataToCompareSize:0 DataToCompareMode:-1 EnableMask: 0 TriggerMask:0 +CF_V1_DBG_TRIGGER_C=RangeAllowed:1 AccessSizeCompareAllowed:1 DataCompareAllowed:0 Disabled:0 AccessSize:4 Range:0 OutsideRange:0 DataToCompare:0 DataToCompareSize:0 DataToCompareMode:-1 EnableMask: 0 TriggerMask:0 +DBG2= +NV_PARAMETER_FILE=C:\devtools\Freescale\CodeWarrior for Microcontrollers V6.2\prog\FPP\mcu700A.fpp +NV_SAVE_WSP=0 +NV_AUTO_ID=1 + + + + + + + + + + + + + +[STARTUP] +CPUTARGETTYPE=0 +check_and_fix_if_secure_enable_flag=1 +trim_reference_target_newvalue=3125000 +trim_reference_target_override=0 +IO_DELAY_SET=0 +USE_CYCLONEPRO_RELAYS=1 +CyclonePro_poweroffonexit=0 +CyclonePro_currentvoltage=255 +CyclonePro_PowerDownDelay=250 +CyclonePro_PowerUpDelay=250 +IO_DELAY_CNT=14 +PCI_DELAY=0 +RESET_DELAY=0 +PORT=21 +interface_selection=0 +SHOWDIALOG=0 + + +[PORT] +IP= diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/CFV1_Full_Chip_Simulator.ini b/Demo/ColdFire_MCF51CN128_CodeWarrior/CFV1_Full_Chip_Simulator.ini new file mode 100644 index 000000000..399b27add --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/CFV1_Full_Chip_Simulator.ini @@ -0,0 +1,27 @@ +[Environment Variables] +GENPATH={Project}Sources;{Compiler}lib\cfv1c\device\src;{Compiler}lib\cfv1c\device\include;{Compiler}lib\cfv1c\device\asm_include;{Compiler}\ColdFire_Support\Runtime\Runtime_ColdFire\Source;{Compiler}ColdFire_Support\Runtime\(Runtime_Common)\MWRuntime;{Compiler}ColdFire_Support\Runtime\(Runtime_Common);{Compiler}ColdFire_Support\msl\MSL_C\MSL_ColdFire\Src;{Compiler}ColdFire_Support\msl\MSL_C\MSL_ColdFire\Lib;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common\Src;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Src;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Math\Double_precision;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Math\Single_precision;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_ColdFire\Lib;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_Common\Src;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_Precompiled_Headers\Src;{Compiler}ColdFire_Support\msl\MSL_Extras\MSL_Common\Src +LIBPATH={Compiler}lib\cfv1c\device\include;{Compiler}ColdFire_Support\msl\MSL_C\MSL_ColdFire\Include;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common\Include;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Include;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_ColdFire\Include;{Compiler}ColdFire_Support\msl\MSL_C++\MSL_Common\Include;{Compiler}ColdFire_Support\msl\MSL_C\MSL_Common_Embedded\Math\Include;{Compiler}ColdFire_Support\msl\MSL_Extras\MSL_Common\Include;{Compiler}ColdFire_Support\msl\MSL_Extras\MSL_Common\Include\sys; +OBJPATH={Project}bin +TEXTPATH={Project}bin +ABSPATH={Project}bin + +[HI-WAVE] +Target=sim +Layout=C_layout.hwl +LoadDialogOptions=RUNANDSTOPAFTERLOAD="main" +CPU=ColdFire +MainFrame=2,3,-1,-1,-1,-1,22,23,1072,771 +TOOLBAR=57600 57601 32795 0 57635 57634 57637 0 57671 57669 0 32777 32776 32782 32780 32781 32778 0 32806 + + + +[Simulator] +CMDFILE0=CMDFILE STARTUP ON ".\cmd\CFV1_Full_Chip_Simulator_startup.cmd" + +[Simulator COLDFIRE] +CMDFILE0=CMDFILE RESET ON ".\cmd\CFV1_Full_Chip_Simulator_reset.cmd" +CMDFILE1=CMDFILE PRELOAD ON ".\cmd\CFV1_Full_Chip_Simulator_preload.cmd" +CMDFILE2=CMDFILE POSTLOAD ON ".\cmd\CFV1_Full_Chip_Simulator_postload.cmd" +CMDFILE3=CMDFILE SETCPU ON ".\cmd\CFV1_Full_Chip_Simulator_setcpu.cmd" +FCS=ColdFire V1 SAMPLE +HOST_IO_SUPPORT=1 diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/C_Layout.hwl b/Demo/ColdFire_MCF51CN128_CodeWarrior/C_Layout.hwl new file mode 100644 index 000000000..0612743b6 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/C_Layout.hwl @@ -0,0 +1,14 @@ +OPEN source 0 0 60 99 +Source < attributes TOOLTIP on,TOOLTIP_FORMAT signed,TOOLTIP_MODE details,FREEZE off,MARKS off +OPEN assembly 60 0 40 31 +Assembly < attributes ADR on,CODE off,ABSADR on,SYMB off,FORMAT Auto,FREEZE off,TOPPC 0x410 +OPEN register 60 31 40 25 +Register < attributes FORMAT AUTO,COMPLEMENT None +OPEN data 60 56 40 22 +Data < attributes SCOPE global,COMPLEMENT None,FORMAT Symb,MODE automatic,SORT NotSort,UPDATERATE 10,NAMEWIDTH 16 +OPEN Command 60 77 40 23 +Command < attributes CACHESIZE 1000 +bckcolor 50331647 +font 'Courier New' 9 BLACK +AUTOSIZE on +ACTIVATE "Register" "Assembly" "Data" "Source" "Command" diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Default.mem b/Demo/ColdFire_MCF51CN128_CodeWarrior/Default.mem new file mode 100644 index 000000000..d0bbb2e4d Binary files /dev/null and b/Demo/ColdFire_MCF51CN128_CodeWarrior/Default.mem differ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/RTOSDemo.mcp b/Demo/ColdFire_MCF51CN128_CodeWarrior/RTOSDemo.mcp new file mode 100644 index 000000000..e9aaa3dab Binary files /dev/null and b/Demo/ColdFire_MCF51CN128_CodeWarrior/RTOSDemo.mcp differ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FEC.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FEC.c new file mode 100644 index 000000000..b9a245278 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FEC.c @@ -0,0 +1,692 @@ +/* + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License (version 2) as published + by the Free Software Foundation and modified by the FreeRTOS exception. + + FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59 + Temple Place, Suite 330, Boston, MA 02111-1307 USA. + + A special exception to the GPL is included to allow you to distribute a + combined work that includes FreeRTOS.org without being obliged to provide + the source code for any proprietary components. See the licensing section + of http://www.FreeRTOS.org for full details. + + + *************************************************************************** + * * + * Get the FreeRTOS eBook! See http://www.FreeRTOS.org/Documentation * + * * + * This is a concise, step by step, 'hands on' guide that describes both * + * general multitasking concepts and FreeRTOS specifics. It presents and * + * explains numerous examples that are written using the FreeRTOS API. * + * Full source code for all the examples is provided in an accompanying * + * .zip file. * + * * + *************************************************************************** + + 1 tab == 4 spaces! + + Please ensure to read the configuration and relevant port sections of the + online documentation. + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + + +/* Kernel includes. */ +#include "FreeRTOS.h" +#include "semphr.h" +#include "task.h" + +/* Demo includes. */ +#include "FEC.h" +#include "fecbd.h" +#include "mii.h" +#include "eth_phy.h" +#include "eth.h" + +/* uIP includes. */ +#include "uip.h" +#include "uip_arp.h" + +/*-----------------------------------------------------------*/ + +/* FEC hardware specifics. */ +#define MCF_FEC_MSCR_MII_SPEED(x) (((x)&0x3F)<<0x1) +#define MCF_FEC_RDAR_R_DES_ACTIVE ( 0x1000000 ) +#define MCF_FEC_TDAR_X_DES_ACTIVE ( 0x1000000 ) + +/* PHY hardware specifics. */ +#define PHY_STATUS ( 16 ) +#define PHY_DUPLEX_STATUS ( 4 ) + +/* Delay between polling the PHY to see if a link has been established. */ +#define fecLINK_DELAY ( 500 / portTICK_RATE_MS ) + +/* Very short delay to use when waiting for the Tx to finish with a buffer if +we run out of Rx buffers. */ +#define fecMINIMAL_DELAY ( 3 / portTICK_RATE_MS ) + +/* Don't block to wait for a buffer more than this many times. */ +#define uipBUFFER_WAIT_ATTEMPTS ( 30 ) + +/* The Tx re-uses the Rx buffers and only has one descriptor. */ +#define fecNUM_TX_DESCRIPTORS ( 1 ) + +/* The total number of buffers available, which should be greater than the +number of Rx descriptors. */ +#define fecNUM_BUFFERS ( configNUM_FEC_RX_DESCRIPTORS + 2 ) + +/*-----------------------------------------------------------*/ + +/* + * Return an unused buffer to the pool of free buffers. + */ +static void prvReturnBuffer( unsigned char *pucBuffer ); + +/* + * Find and return the next buffer that is not in use by anything else. + */ +static unsigned char *prvGetFreeBuffer( void ); +/*-----------------------------------------------------------*/ + +/* The semaphore used to wake the uIP task when data arrives. */ +xSemaphoreHandle xFECSemaphore = NULL; + +/* The buffer used by the uIP stack. In this case the pointer is used to +point to one of the Rx buffers to avoid having to copy the Rx buffer into +the uIP buffer. */ +unsigned char *uip_buf; + +/* The DMA descriptors. These are char arrays to allow us to align them +correctly. */ +static unsigned char xFECTxDescriptors_unaligned[ ( fecNUM_TX_DESCRIPTORS * sizeof( FECBD ) ) + 16 ]; +static unsigned char xFECRxDescriptors_unaligned[ ( configNUM_FEC_RX_DESCRIPTORS * sizeof( FECBD ) ) + 16 ]; +static FECBD *pxFECTxDescriptor; +static FECBD *xFECRxDescriptors; + +/* The DMA buffer. This is a char arrays to allow it to be aligned correctly. */ +static unsigned char ucFECRxBuffers[ ( fecNUM_BUFFERS * configFEC_BUFFER_SIZE ) + 16 ]; + +/* Index to the next descriptor to be inspected for received data. */ +static unsigned long ulNextRxDescriptor = 0; + +/* Contains the start address of each Rx buffer, after it has been correctly +aligned. */ +static unsigned char *pucAlignedBufferStartAddresses[ fecNUM_BUFFERS ] = { 0 }; + +/* Each ucBufferInUse index corresponds to a position in the same index in the +pucAlignedBufferStartAddresses array. If the index contains a 1 then the +buffer within pucAlignedBufferStartAddresses is in use, if it contains a 0 then +the buffer is free. */ +static unsigned char ucBufferInUse[ fecNUM_BUFFERS ] = { 0 }; + +/*-----------------------------------------------------------*/ + +/********************************************************************/ +/* + * Write a value to a PHY's MII register. + * + * Parameters: + * ch FEC channel + * phy_addr Address of the PHY. + * reg_addr Address of the register in the PHY. + * data Data to be written to the PHY register. + * + * Return Values: + * 0 on failure + * 1 on success. + * + * Please refer to your PHY manual for registers and their meanings. + * mii_write() polls for the FEC's MII interrupt event and clears it. + * If after a suitable amount of time the event isn't triggered, a + * value of 0 is returned. + */ +static int fec_mii_write( int phy_addr, int reg_addr, int data ) +{ +int timeout; +unsigned long eimr; + + /* Clear the MII interrupt bit */ + EIR = EIR_MII; + + /* Mask the MII interrupt */ + eimr = EIMR; + EIMR &= ~EIMR_MII; + + /* Write to the MII Management Frame Register to kick-off the MII write */ + MMFR = ( unsigned long ) ( FEC_MMFR_ST_01 | FEC_MMFR_OP_WRITE | FEC_MMFR_PA(phy_addr) | FEC_MMFR_RA(reg_addr) | FEC_MMFR_TA_10 | FEC_MMFR_DATA( data ) ); + + /* Poll for the MII interrupt (interrupt should be masked) */ + for (timeout = 0; timeout < FEC_MII_TIMEOUT; timeout++) + { + if( EIR & EIR_MII) + { + break; + } + } + + if( timeout == FEC_MII_TIMEOUT ) + { + return 0; + } + + /* Clear the MII interrupt bit */ + EIR = EIR_MII; + + /* Restore the EIMR */ + EIMR = eimr; + + return 1; +} + +/********************************************************************/ +/* + * Read a value from a PHY's MII register. + * + * Parameters: + * ch FEC channel + * phy_addr Address of the PHY. + * reg_addr Address of the register in the PHY. + * data Pointer to storage for the Data to be read + * from the PHY register (passed by reference) + * + * Return Values: + * 0 on failure + * 1 on success. + * + * Please refer to your PHY manual for registers and their meanings. + * mii_read() polls for the FEC's MII interrupt event and clears it. + * If after a suitable amount of time the event isn't triggered, a + * value of 0 is returned. + */ +static int fec_mii_read( int phy_addr, int reg_addr, unsigned short* data ) +{ +int timeout; +unsigned long eimr; + + /* Clear the MII interrupt bit */ + EIR = 0xffffffff; + + /* Mask the MII interrupt */ + eimr = EIMR; + EIMR &= ~EIMR_MII; + + /* Write to the MII Management Frame Register to kick-off the MII read */ + MMFR = ( unsigned long ) ( FEC_MMFR_ST_01 | FEC_MMFR_OP_READ | FEC_MMFR_PA(phy_addr) | FEC_MMFR_RA(reg_addr) | FEC_MMFR_TA_10 ); + + /* Poll for the MII interrupt (interrupt should be masked) */ + for (timeout = 0; timeout < FEC_MII_TIMEOUT; timeout++) + { + if (EIR) + { + break; + } + } + + if(timeout == FEC_MII_TIMEOUT) + { + return 0; + } + + /* Clear the MII interrupt bit */ + EIR = EIR_MII; + + /* Restore the EIMR */ + EIMR = eimr; + + *data = (unsigned short)(MMFR & 0x0000FFFF); + + return 1; +} + + +/********************************************************************/ +/* + * Generate the hash table settings for the given address + * + * Parameters: + * addr 48-bit (6 byte) Address to generate the hash for + * + * Return Value: + * The 6 most significant bits of the 32-bit CRC result + */ +static unsigned char fec_hash_address( const unsigned char* addr ) +{ +unsigned long crc; +unsigned char byte; +int i, j; + + crc = 0xFFFFFFFF; + for(i=0; i<6; ++i) + { + byte = addr[i]; + for(j=0; j<8; ++j) + { + if((byte & 0x01)^(crc & 0x01)) + { + crc >>= 1; + crc = crc ^ 0xEDB88320; + } + else + { + crc >>= 1; + } + + byte >>= 1; + } + } + + return (unsigned char)(crc >> 26); +} + +/********************************************************************/ +/* + * Set the Physical (Hardware) Address and the Individual Address + * Hash in the selected FEC + * + * Parameters: + * ch FEC channel + * pa Physical (Hardware) Address for the selected FEC + */ +static void fec_set_address( const unsigned char *pa ) +{ + unsigned char crc; + + /* + * Set the Physical Address + */ + PALR = (unsigned long)((pa[0]<<24) | (pa[1]<<16) | (pa[2]<<8) | pa[3]); + PAUR = (unsigned long)((pa[4]<<24) | (pa[5]<<16)); + + /* + * Calculate and set the hash for given Physical Address + * in the Individual Address Hash registers + */ + crc = fec_hash_address(pa); + if(crc >= 32) + { + IAUR |= (unsigned long)(1 << (crc - 32)); + } + else + { + IALR |= (unsigned long)(1 << crc); + } +} +/*-----------------------------------------------------------*/ + +static void prvInitialiseFECBuffers( void ) +{ +unsigned portBASE_TYPE ux; +unsigned char *pcBufPointer; + + /* Set the pointer to a correctly aligned address. */ + pcBufPointer = &( xFECTxDescriptors_unaligned[ 0 ] ); + while( ( ( unsigned long ) pcBufPointer & 0x0fUL ) != 0 ) + { + pcBufPointer++; + } + + pxFECTxDescriptor = ( FECBD * ) pcBufPointer; + + /* Likewise the pointer to the Rx descriptor. */ + pcBufPointer = &( xFECRxDescriptors_unaligned[ 0 ] ); + while( ( ( unsigned long ) pcBufPointer & 0x0fUL ) != 0 ) + { + pcBufPointer++; + } + + xFECRxDescriptors = ( FECBD * ) pcBufPointer; + + /* There is no Tx buffer as the Rx buffer is reused. */ + pxFECTxDescriptor->length = 0; + pxFECTxDescriptor->status = 0; + + /* Align the Rx buffers. */ + pcBufPointer = &( ucFECRxBuffers[ 0 ] ); + while( ( ( unsigned long ) pcBufPointer & 0x0fUL ) != 0 ) + { + pcBufPointer++; + } + + /* Then fill in the Rx descriptors. */ + for( ux = 0; ux < configNUM_FEC_RX_DESCRIPTORS; ux++ ) + { + xFECRxDescriptors[ ux ].status = RX_BD_E; + xFECRxDescriptors[ ux ].length = configFEC_BUFFER_SIZE; + xFECRxDescriptors[ ux ].data = pcBufPointer; + + /* Note the start address of the buffer now that it is correctly + aligned. */ + pucAlignedBufferStartAddresses[ ux ] = pcBufPointer; + + /* The buffer is in use by the descriptor. */ + ucBufferInUse[ ux ] = pdTRUE; + + pcBufPointer += configFEC_BUFFER_SIZE; + } + + /* Note the start address of the last buffer as one more buffer is + allocated than there are Rx descriptors. */ + pucAlignedBufferStartAddresses[ ux ] = pcBufPointer; + + /* Set uip_buf to point to the last buffer. */ + uip_buf = pcBufPointer; + ucBufferInUse[ ux ] = pdTRUE; + + /* Set the wrap bit in the last descriptors to form a ring. */ + xFECRxDescriptors[ configNUM_FEC_RX_DESCRIPTORS - 1 ].status |= RX_BD_W; + + /* We start with descriptor 0. */ + ulNextRxDescriptor = 0; +} +/*-----------------------------------------------------------*/ + +void vInitFEC( void ) +{ +unsigned short usData; +struct uip_eth_addr xAddr; +const unsigned char ucMACAddress[6] = +{ + configMAC_0, configMAC_1,configMAC_2,configMAC_3,configMAC_4,configMAC_5 +}; + + prvInitialiseFECBuffers(); + + /* Create the semaphore used to wake the uIP task when data arrives. */ + vSemaphoreCreateBinary( xFECSemaphore ); + + /* Set the MAC address within the stack. */ + for( usData = 0; usData < 6; usData++ ) + { + xAddr.addr[ usData ] = ucMACAddress[ usData ]; + } + uip_setethaddr( xAddr ); + + /* Set the Reset bit and clear the Enable bit */ + ECR_RESET = 1; + + /* Enable the clock. */ + SCGC4 |= SCGC4_FEC_MASK; + + /* Wait at least 8 clock cycles */ + for( usData = 0; usData < 10; usData++ ) + { + asm( "NOP" ); + } + + /* Set MII speed to 2.5MHz. */ + MSCR = MCF_FEC_MSCR_MII_SPEED( ( ( configCPU_CLOCK_HZ / 1000000 ) / 5 ) + 1 ); + + /* + * Make sure the external interface signals are enabled + */ + PTCPF2_C0 = 1; + PTCPF2_C1 = 1; + PTCPF2_C2 = 1; + PTAPF1 = 0x55; + PTAPF2 = 0x55; + PTBPF1 = 0x55; + PTBPF2 = 0x55; + + /* Set all pins to full drive with no filter. */ + PTADS = 0x06; + PTAIFE = 0x06; + PTBDS = 0xf4; + PTBIFE = 0xf4; + PTCDS = 0; + PTCIFE = 0; + + + /* Can we talk to the PHY? */ + do + { + vTaskDelay( fecLINK_DELAY ); + usData = 0xffff; + fec_mii_read( configPHY_ADDRESS, PHY_PHYIDR1, &usData ); + + } while( usData == 0xffff ); + + /* Start auto negotiate. */ + fec_mii_write( configPHY_ADDRESS, PHY_BMCR, ( PHY_BMCR_AN_RESTART | PHY_BMCR_AN_ENABLE ) ); + + /* Wait for auto negotiate to complete. */ + do + { + vTaskDelay( fecLINK_DELAY ); + fec_mii_read( configPHY_ADDRESS, PHY_BMSR, &usData ); + + } while( !( usData & PHY_BMSR_AN_COMPLETE ) ); + + /* When we get here we have a link - find out what has been negotiated. */ + usData = 0; + fec_mii_read( configPHY_ADDRESS, PHY_STATUS, &usData ); + + /* Setup half or full duplex. */ + if( usData & PHY_DUPLEX_STATUS ) + { + RCR &= (unsigned long)~RCR_DRT; + TCR |= TCR_FDEN; + } + else + { + RCR |= RCR_DRT; + TCR &= (unsigned long)~TCR_FDEN; + } + + /* Clear the Individual and Group Address Hash registers */ + IALR = 0; + IAUR = 0; + GALR = 0; + GAUR = 0; + + /* Set the Physical Address for the selected FEC */ + fec_set_address( ucMACAddress ); + + /* Set Rx Buffer Size */ + EMRBR = (unsigned short) configFEC_BUFFER_SIZE; + + /* Point to the start of the circular Rx buffer descriptor queue */ + ERDSR = ( volatile unsigned long ) &( xFECRxDescriptors[ 0 ] ); + + /* Point to the start of the circular Tx buffer descriptor queue */ + ETSDR = ( volatile unsigned long ) pxFECTxDescriptor; + + /* Clear all FEC interrupt events */ + EIR = ( unsigned long ) -1; + + /* Various mode/status setup. */ + RCR = 0; + RCR_MAX_FL = configFEC_BUFFER_SIZE; + RCR_MII_MODE = 1; + + #if( configUSE_PROMISCUOUS_MODE == 1 ) + { + RCR |= RCR_PROM; + } + #endif + + /* Enable interrupts. */ + EIMR = EIR_TXF_MASK | EIMR_RXF_MASK | EIMR_RXB_MASK | EIMR_UN_MASK | EIMR_RL_MASK | EIMR_LC_MASK | EIMR_BABT_MASK | EIMR_BABR_MASK | EIMR_HBERR_MASK; + + /* Enable the MAC itself. */ + ECR = ECR_ETHER_EN_MASK; + + /* Indicate that there have been empty receive buffers produced */ + RDAR = MCF_FEC_RDAR_R_DES_ACTIVE; +} +/*-----------------------------------------------------------*/ + +unsigned long ulFECRx( void ) +{ +unsigned long ulLen = 0UL; + + /* Is a buffer ready? */ + if( ( xFECRxDescriptors[ ulNextRxDescriptor ].status & RX_BD_E ) == 0 ) + { + /* uip_buf is about to be set to a new buffer, so return the buffer it + is already pointing to. */ + prvReturnBuffer( uip_buf ); + + /* Obtain the size of the packet and put it into the "len" variable. */ + ulLen = xFECRxDescriptors[ ulNextRxDescriptor ].length; + uip_buf = xFECRxDescriptors[ ulNextRxDescriptor ].data; + + /* The buffer that this descriptor was using is now in use by the + TCP/IP stack, so allocate it a new buffer. */ + xFECRxDescriptors[ ulNextRxDescriptor ].data = prvGetFreeBuffer(); + + /* Doing this here could cause corruption! */ + xFECRxDescriptors[ ulNextRxDescriptor ].status |= RX_BD_E; + + portENTER_CRITICAL(); + { + ulNextRxDescriptor++; + if( ulNextRxDescriptor >= configNUM_FEC_RX_DESCRIPTORS ) + { + ulNextRxDescriptor = 0; + } + } + portEXIT_CRITICAL(); + + /* Tell the DMA a new buffer is available. */ + RDAR = MCF_FEC_RDAR_R_DES_ACTIVE; + } + + return ulLen; +} +/*-----------------------------------------------------------*/ + +void vFECTx( void ) +{ + /* When we get here the Tx descriptor should show as having completed. */ + while( pxFECTxDescriptor->status & TX_BD_R ) + { + vTaskDelay( fecMINIMAL_DELAY ); + } + + portENTER_CRITICAL(); + { + /* To maintain the zero copy implementation, point the Tx descriptor + to the data from the Rx buffer. */ + pxFECTxDescriptor->data = uip_buf; + + /* Setup the buffer descriptor for transmission */ + pxFECTxDescriptor->length = uip_len; + + /* NB this assumes only one Tx descriptor! */ + pxFECTxDescriptor->status = ( TX_BD_R | TX_BD_L | TX_BD_TC | TX_BD_W ); + } + portEXIT_CRITICAL(); + + /* Continue the Tx DMA task (in case it was waiting for a new TxBD) */ + TDAR = MCF_FEC_TDAR_X_DES_ACTIVE; + + /* uip_buf is being used by the Tx descriptor. Allocate a new buffer to + uip_buf. */ + uip_buf = prvGetFreeBuffer(); +} +/*-----------------------------------------------------------*/ + +static void prvReturnBuffer( unsigned char *pucBuffer ) +{ +unsigned long ul; + + /* Mark a buffer as free for use. */ + for( ul = 0; ul < fecNUM_BUFFERS; ul++ ) + { + if( pucAlignedBufferStartAddresses[ ul ] == pucBuffer ) + { + ucBufferInUse[ ul ] = pdFALSE; + break; + } + } +} +/*-----------------------------------------------------------*/ + +static unsigned char *prvGetFreeBuffer( void ) +{ +portBASE_TYPE x; +unsigned char *pucReturn = NULL; +unsigned long ulAttempts = 0; + + while( pucReturn == NULL ) + { + /* Look through the buffers to find one that is not in use by + anything else. */ + for( x = 0; x < fecNUM_BUFFERS; x++ ) + { + if( ucBufferInUse[ x ] == pdFALSE ) + { + ucBufferInUse[ x ] = pdTRUE; + pucReturn = pucAlignedBufferStartAddresses[ x ]; + break; + } + } + + /* Was a buffer found? */ + if( pucReturn == NULL ) + { + ulAttempts++; + + if( ulAttempts >= uipBUFFER_WAIT_ATTEMPTS ) + { + break; + } + + /* Wait then look again. */ + vTaskDelay( fecMINIMAL_DELAY ); + } + } + + return pucReturn; +} +/*-----------------------------------------------------------*/ + +void interrupt 86 vFECISRHandler( void ) +{ +unsigned long ulEvent; +portBASE_TYPE xHighPriorityTaskWoken = pdFALSE; + + /* Determine the cause of the interrupt. */ + ulEvent = EIR & EIMR; + EIR = ulEvent; + + if( ulEvent & EIR_RXF_MASK ) + { + /* A packet has been received. Wake the handler task in case it is + blocked. */ + xSemaphoreGiveFromISR( xFECSemaphore, &xHighPriorityTaskWoken ); + } + + if( ulEvent & EIR_TXF_MASK ) + { + /* The Tx has completed. Mark the buffer it was using as free again. */ + prvReturnBuffer( pxFECTxDescriptor->data ); + pxFECTxDescriptor->data = NULL; + } + + if (ulEvent & ( EIR_UN_MASK | EIR_RL_MASK | EIR_LC_MASK | EIR_EBERR_MASK | EIR_BABT_MASK | EIR_BABR_MASK | EIR_HBERR_MASK ) ) + { + /* Sledge hammer error handling. */ + prvInitialiseFECBuffers(); + RDAR = MCF_FEC_RDAR_R_DES_ACTIVE; + } + + portEND_SWITCHING_ISR( xHighPriorityTaskWoken ); +} diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FEC.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FEC.h new file mode 100644 index 000000000..39b19ef72 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FEC.h @@ -0,0 +1,46 @@ +/* + FreeRTOS.org V5.0.3 - Copyright (C) 2003-2008 Richard Barry. + + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + FreeRTOS.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with FreeRTOS.org; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + A special exception to the GPL can be applied should you wish to distribute + a combined work that includes FreeRTOS.org, without being obliged to provide + the source code for any proprietary components. See the licensing section + of http://www.FreeRTOS.org for full details of how and when the exception + can be applied. + + *************************************************************************** + See http://www.FreeRTOS.org for documentation, latest information, license + and contact details. Please ensure to read the configuration and relevant + port sections of the online documentation. + *************************************************************************** +*/ + +#ifndef INC_FEC_H +#define INC_FEC_H + +/* Configure the FEC peripheral, IO and descriptors. */ +void vInitFEC( void ); + +/* Receive any data into the uip_buf array. */ +unsigned portLONG ulFECRx( void ); + +/* Transmit the uip_buf array. */ +void vFECTx( void ); + +#endif + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FreeRTOSConfig.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FreeRTOSConfig.h new file mode 100644 index 000000000..fadb9e6f5 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FreeRTOSConfig.h @@ -0,0 +1,157 @@ +/* + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. + + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License (version 2) as published + by the Free Software Foundation and modified by the FreeRTOS exception. + **NOTE** The exception to the GPL is included to allow you to distribute a + combined work that includes FreeRTOS.org without being obliged to provide + the source code for any proprietary components. Alternative commercial + license and support terms are also available upon request. See the + licensing section of http://www.FreeRTOS.org for full details. + + FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59 + Temple Place, Suite 330, Boston, MA 02111-1307 USA. + + + *************************************************************************** + * * + * Get the FreeRTOS eBook! See http://www.FreeRTOS.org/Documentation * + * * + * This is a concise, step by step, 'hands on' guide that describes both * + * general multitasking concepts and FreeRTOS specifics. It presents and * + * explains numerous examples that are written using the FreeRTOS API. * + * Full source code for all the examples is provided in an accompanying * + * .zip file. * + * * + *************************************************************************** + + 1 tab == 4 spaces! + + Please ensure to read the configuration and relevant port sections of the + online documentation. + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + + +/* CodeWarrior often thinks it knows better than you which files you want to +build - and changes the port.c and portasm.S files included in the project from +the ColdFire V1 versions to the x86 versions. If you get lots of errors output +when either file is compiled then delete the files from the project and then +add back in the port.c and portasm.S files that are located in the +FreeRTOS\Source\portable\GCC\ColdFire_V1 directory. Remove the line below +before compiling. */ + +//#error Read the comment above this line, then delete this error statement! + + +#ifndef FREERTOS_CONFIG_H +#define FREERTOS_CONFIG_H + +#include +#include "derivative.h" + +/*----------------------------------------------------------- + * Application specific definitions. + * + * These definitions should be adjusted for your particular hardware and + * application requirements. + * + * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE + * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. + * + * See http://www.freertos.org/a00110.html. + *----------------------------------------------------------*/ + +#define configUSE_PREEMPTION 1 +#define configUSE_IDLE_HOOK 0 +#define configUSE_TICK_HOOK 1 +#define configCPU_CLOCK_HZ ( 50000000UL ) +#define configTICK_RATE_HZ ( ( portTickType ) 100 ) +#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 100 ) +#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 13 * 1024 ) ) +#define configMAX_TASK_NAME_LEN ( 12 ) +#define configUSE_TRACE_FACILITY 1 +#define configUSE_16_BIT_TICKS 0 +#define configIDLE_SHOULD_YIELD 0 +#define configUSE_CO_ROUTINES 0 +#define configUSE_MUTEXES 1 +#define configCHECK_FOR_STACK_OVERFLOW 1 +#define configGENERATE_RUN_TIME_STATS 0 +#define configUSE_RECURSIVE_MUTEXES 1 +#define configQUEUE_REGISTRY_SIZE 0 +#define configUSE_COUNTING_SEMAPHORES 0 + +#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 6 ) +#define configMAX_CO_ROUTINE_PRIORITIES ( 2 ) + +/* Set the following definitions to 1 to include the API function, or zero +to exclude the API function. */ + +#define INCLUDE_vTaskPrioritySet 1 +#define INCLUDE_uxTaskPriorityGet 1 +#define INCLUDE_vTaskDelete 1 +#define INCLUDE_vTaskCleanUpResources 0 +#define INCLUDE_vTaskSuspend 1 +#define INCLUDE_vTaskDelayUntil 1 +#define INCLUDE_vTaskDelay 1 +#define INCLUDE_uxTaskGetStackHighWaterMark 1 + +/* It is not advisable to change these values on a Coldfire V1 core. */ +#define configKERNEL_INTERRUPT_PRIORITY 1 +#define configMAX_SYSCALL_INTERRUPT_PRIORITY 7 + + + +/* Ethernet configuration. */ +#define configMAC_0 0x00 +#define configMAC_1 0x04 +#define configMAC_2 0x9F +#define configMAC_3 0x00 +#define configMAC_4 0xAB +#define configMAC_5 0x2B + +#define configIP_ADDR0 192 +#define configIP_ADDR1 168 +#define configIP_ADDR2 0 +#define configIP_ADDR3 222 + +#define configGW_ADDR0 192 +#define configGW_ADDR1 168 +#define configGW_ADDR2 0 +#define configGW_ADDR3 3 + +#define configNET_MASK0 255 +#define configNET_MASK1 255 +#define configNET_MASK2 255 +#define configNET_MASK3 0 + +#define configNUM_FEC_RX_DESCRIPTORS 2 +#define configFEC_BUFFER_SIZE 1520 /* Should be multiple of 16. */ +#define configUSE_PROMISCUOUS_MODE 0 +#define configETHERNET_INPUT_TASK_STACK_SIZE ( 320 ) +#define configETHERNET_INPUT_TASK_PRIORITY ( configMAX_PRIORITIES - 1 ) + +#define configPHY_ADDRESS 1 + +#if ( configFEC_BUFFER_SIZE & 0x0F ) != 0 + #error configFEC_BUFFER_SIZE must be a multiple of 16. +#endif + +#endif /* FREERTOS_CONFIG_H */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/ParTest/ParTest.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/ParTest/ParTest.c new file mode 100644 index 000000000..f28d47222 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/ParTest/ParTest.c @@ -0,0 +1,140 @@ +/* + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. + + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License (version 2) as published + by the Free Software Foundation and modified by the FreeRTOS exception. + **NOTE** The exception to the GPL is included to allow you to distribute a + combined work that includes FreeRTOS.org without being obliged to provide + the source code for any proprietary components. Alternative commercial + license and support terms are also available upon request. See the + licensing section of http://www.FreeRTOS.org for full details. + + FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59 + Temple Place, Suite 330, Boston, MA 02111-1307 USA. + + + *************************************************************************** + * * + * Get the FreeRTOS eBook! See http://www.FreeRTOS.org/Documentation * + * * + * This is a concise, step by step, 'hands on' guide that describes both * + * general multitasking concepts and FreeRTOS specifics. It presents and * + * explains numerous examples that are written using the FreeRTOS API. * + * Full source code for all the examples is provided in an accompanying * + * .zip file. * + * * + *************************************************************************** + + 1 tab == 4 spaces! + + Please ensure to read the configuration and relevant port sections of the + online documentation. + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + + +#include "FreeRTOS.h" +#include "task.h" +#include "partest.h" + +#define partstNUM_LEDs 4 + +/*----------------------------------------------------------- + * Simple LED IO routines for the tower LEDs LED1 to LED4. + *-----------------------------------------------------------*/ + +void vParTestInitialise( void ) +{ + /* Enable pull and output drive. */ + PTHPE_PTHPE3 = 1; + PTHDD_PTHDD3 = 1; + + PTEPE_PTEPE5 = 1; + PTEDD_PTEDD5 = 1; + + PTGPE_PTGPE5 = 1; + PTGDD_PTGDD5 = 1; + + PTEPE_PTEPE3 = 1; + PTEDD_PTEDD3 = 1; + + /* Enable clock to ports. */ + SCGC3_PTE = 1; + SCGC3_PTF = 1; + SCGC3_PTG = 1; + + /* Ensure the LEDs are off. */ + vParTestSetLED( 0, 0 ); + vParTestSetLED( 1, 0 ); + vParTestSetLED( 2, 0 ); + vParTestSetLED( 3, 0 ); +} +/*-----------------------------------------------------------*/ + +void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue ) +{ + switch( uxLED ) + { + case 0: PTHD_PTHD3 = xValue; + break; + case 1: PTED_PTED5 = xValue; + break; + case 2: PTGD_PTGD5 = xValue; + break; + case 3: PTED_PTED3 = xValue; + break; + default : /* There are no other LEDs. */ + break; + } +} +/*-----------------------------------------------------------*/ + +void vParTestToggleLED( unsigned portBASE_TYPE uxLED ) +{ + portENTER_CRITICAL(); + { + switch( uxLED ) + { + case 0: PTHD_PTHD3 = !PTHD_PTHD3; + break; + case 1: PTED_PTED5 = !PTED_PTED5; + break; + case 2: PTGD_PTGD5 = !PTGD_PTGD5; + break; + case 3: PTED_PTED3 = !!PTED_PTED3; + break; + default : /* There are no other LEDs. */ + break; + } + } + portEXIT_CRITICAL(); +} +/*-----------------------------------------------------------*/ + +unsigned portBASE_TYPE uxParTestGetLED( unsigned portBASE_TYPE uxLED ) +{ + /* We ignore the parameter as in this simple example we simply return the + state of LED3. */ + ( void ) uxLED; + + return PTED_PTED3; +} + + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/derivative.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/derivative.h new file mode 100644 index 000000000..8ed9a3d92 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/derivative.h @@ -0,0 +1,15 @@ +/* + * Note: This file is recreated by the project wizard whenever the MCU is + * changed and should not be edited by hand + */ + +/* Include the derivative-specific header file */ +#include + +#define _Stop asm ( mov3q #4,d0; bclr.b d0,SOPT1; stop #0x2000; ) + /*!< Macro to enter stop modes, STOPE bit in SOPT1 register must be set prior to executing this macro */ + +#define _Wait asm ( mov3q #4,d0; bset.b d0,SOPT1; nop; stop #0x2000; ) + /*!< Macro to enter wait mode */ + + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/eth.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/eth.h new file mode 100644 index 000000000..916b94982 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/eth.h @@ -0,0 +1,55 @@ +/*! + * \file eth.h + * \brief Definitinos for Ethernet Frames + * \version $Revision: 1.2 $ + * \author Michael Norman + */ + +#ifndef _ETH_H +#define _ETH_H + +/*******************************************************************/ + +/* Ethernet standard lengths in bytes*/ +#define ETH_ADDR_LEN (6) +#define ETH_TYPE_LEN (2) +#define ETH_CRC_LEN (4) +#define ETH_MAX_DATA (1500) +#define ETH_MIN_DATA (46) +#define ETH_HDR_LEN (ETH_ADDR_LEN * 2 + ETH_TYPE_LEN) + +/* Defined Ethernet Frame Types */ +#define ETH_FRM_IP (0x0800) +#define ETH_FRM_ARP (0x0806) +#define ETH_FRM_RARP (0x8035) +#define ETH_FRM_TEST (0xA5A5) + +/* Maximum and Minimum Ethernet Frame Sizes */ +#define ETH_MAX_FRM (ETH_HDR_LEN + ETH_MAX_DATA + ETH_CRC_LEN) +#define ETH_MIN_FRM (ETH_HDR_LEN + ETH_MIN_DATA + ETH_CRC_LEN) +#define ETH_MTU (ETH_HDR_LEN + ETH_MAX_DATA) + +/* Ethernet Addresses */ +typedef unsigned portCHAR ETH_ADDR[ETH_ADDR_LEN]; + +/* 16-bit Ethernet Frame Type, ie. Protocol */ +typedef unsigned portSHORT ETH_FRM_TYPE; + +/* Ethernet Frame Header definition */ +typedef struct +{ + ETH_ADDR dest; + ETH_ADDR src; + ETH_FRM_TYPE type; +} ETH_HDR; + +/* Ethernet Frame definition */ +typedef struct +{ + ETH_HDR head; + unsigned portCHAR* data; +} ETH_FRAME; + +/*******************************************************************/ + +#endif /* _ETH_H */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/eth_phy.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/eth_phy.h new file mode 100644 index 000000000..745668c6a --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/eth_phy.h @@ -0,0 +1,70 @@ +/*! + * \file eth.h + * \brief Definitions for Ethernet Physical Layer Interface + * \version $Revision: 1.3 $ + * \author Michael Norman + */ + +#ifndef _ETH_PHY_H +#define _ETH_PHY_H + +/*******************************************************************/ + +/* MII Register Addresses */ +#define PHY_BMCR (0x00) +#define PHY_BMSR (0x01) +#define PHY_PHYIDR1 (0x02) +#define PHY_PHYIDR2 (0x03) +#define PHY_ANAR (0x04) +#define PHY_ANLPAR (0x05) + +/* Bit definitions and macros for PHY_CTRL */ +#define PHY_BMCR_RESET (0x8000) +#define PHY_BMCR_LOOP (0x4000) +#define PHY_BMCR_SPEED (0x2000) +#define PHY_BMCR_AN_ENABLE (0x1000) +#define PHY_BMCR_POWERDOWN (0x0800) +#define PHY_BMCR_ISOLATE (0x0400) +#define PHY_BMCR_AN_RESTART (0x0200) +#define PHY_BMCR_FDX (0x0100) +#define PHY_BMCR_COL_TEST (0x0080) + +/* Bit definitions and macros for PHY_STAT */ +#define PHY_BMSR_100BT4 (0x8000) +#define PHY_BMSR_100BTX_FDX (0x4000) +#define PHY_BMSR_100BTX (0x2000) +#define PHY_BMSR_10BT_FDX (0x1000) +#define PHY_BMSR_10BT (0x0800) +#define PHY_BMSR_NO_PREAMBLE (0x0040) +#define PHY_BMSR_AN_COMPLETE (0x0020) +#define PHY_BMSR_REMOTE_FAULT (0x0010) +#define PHY_BMSR_AN_ABILITY (0x0008) +#define PHY_BMSR_LINK (0x0004) +#define PHY_BMSR_JABBER (0x0002) +#define PHY_BMSR_EXTENDED (0x0001) + +/* Bit definitions and macros for PHY_AN_ADV */ +#define PHY_ANAR_NEXT_PAGE (0x8001) +#define PHY_ANAR_REM_FAULT (0x2001) +#define PHY_ANAR_PAUSE (0x0401) +#define PHY_ANAR_100BT4 (0x0201) +#define PHY_ANAR_100BTX_FDX (0x0101) +#define PHY_ANAR_100BTX (0x0081) +#define PHY_ANAR_10BT_FDX (0x0041) +#define PHY_ANAR_10BT (0x0021) +#define PHY_ANAR_802_3 (0x0001) + +/* Bit definitions and macros for PHY_AN_LINK_PAR */ +#define PHY_ANLPAR_NEXT_PAGE (0x8000) +#define PHY_ANLPAR_ACK (0x4000) +#define PHY_ANLPAR_REM_FAULT (0x2000) +#define PHY_ANLPAR_PAUSE (0x0400) +#define PHY_ANLPAR_100BT4 (0x0200) +#define PHY_ANLPAR_100BTX_FDX (0x0100) +#define PHY_ANLPAR_100BTX (0x0080) +#define PHY_ANLPAR_10BTX_FDX (0x0040) +#define PHY_ANLPAR_10BT (0x0020) + +/*******************************************************************/ + +#endif /* _ETH_PHY_H */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/exceptions.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/exceptions.c new file mode 100644 index 000000000..e10f052e3 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/exceptions.c @@ -0,0 +1,444 @@ +/* + * File: exceptions.c + * Purpose: Generic exception handling for ColdFire processors + * + */ + +#include "derivative.h" +#include "exceptions.h" +#include "startcf.h" + +#define REGISTER_ABI __REGABI__ + +extern asm void interrupt 109 vPortYieldISR( void ); +extern void interrupt 86 vFECISRHandler( void ); + +/***********************************************************************/ +/* + * Set NO_PRINTF to 0 in order the exceptions.c interrupt handler + * to output messages to the standard io. + * + */ +#define NO_PRINTF 1 + +#if NO_PRINTF +#define VECTORDISPLAY(MESSAGE) asm { nop; }; +#define VECTORDISPLAY2(MESSAGE,MESSAGE2) asm { nop; }; +#define VECTORDISPLAY3(MESSAGE,MESSAGE2,MESSAGE3) asm { nop; }; +#else +#include +#define VECTORDISPLAY(MESSAGE1) printf(MESSAGE1); +#define VECTORDISPLAY2(MESSAGE1,MESSAGE2) printf(MESSAGE1,MESSAGE2); +#define VECTORDISPLAY3(MESSAGE1,MESSAGE2,MESSAGE3) printf(MESSAGE1,MESSAGE2,MESSAGE3); +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +extern unsigned long far _SP_INIT[]; + +/***********************************************************************/ +/* + * Handling of the TRK ColdFire libs (printf support in Debugger Terminal) + * + * To enable this support: + * - Set CONSOLE_IO_SUPPORT 1 in this file; this will enable + * TrapHandler_printf for the trap #14 exception. + * + * - Make sure the file console_io_cf.c is in your project. + * + * - In the debugger make sure that in the Connection "Setup" dialog, + * "Debug Options" property page, the check box + * "Enable Terminal printf support" is set. + * + * + * + */ +#define CONSOLE_IO_SUPPORT 0 + +#if CONSOLE_IO_SUPPORT +asm void TrapHandler_printf(void) { + HALT + RTE +} +#endif + +/***********************************************************************/ +/* + * This is the handler for all exceptions which are not common to all + * ColdFire Chips. + * + * Called by mcf_exception_handler + * + */ +void derivative_interrupt(unsigned long vector) +{ + if (vector < 64 || vector > 192) { + VECTORDISPLAY2("User Defined Vector #%d\n",vector); + } +} + +/*********************************************************************** + * + * This is the exception handler for all exceptions common to all + * chips ColdFire. Most exceptions do nothing, but some of the more + * important ones are handled to some extent. + * + * Called by asm_exception_handler + * + * The ColdFire family of processors has a simplified exception stack + * frame that looks like the following: + * + * 3322222222221111 111111 + * 1098765432109876 5432109876543210 + * 8 +----------------+----------------+ + * | Program Counter | + * 4 +----------------+----------------+ + * |FS/Fmt/Vector/FS| SR | + * SP --> 0 +----------------+----------------+ + * + * The stack self-aligns to a 4-byte boundary at an exception, with + * the FS/Fmt/Vector/FS field indicating the size of the adjustment + * (SP += 0,1,2,3 bytes). + * 31 28 27 26 25 18 17 16 15 0 + * 4 +---------------------------------------+------------------------------------+ + * | Format | FS[3..2] | Vector | FS[1..0] | SR | + * SP --> 0 +---------------------------------------+------------------------------------+ + */ +#define MCF5XXX_RD_SF_FORMAT(PTR) \ + ((*((unsigned short *)(PTR)) >> 12) & 0x00FF) + +#define MCF5XXX_RD_SF_VECTOR(PTR) \ + ((*((unsigned short *)(PTR)) >> 2) & 0x00FF) + +#define MCF5XXX_RD_SF_FS(PTR) \ + ( ((*((unsigned short *)(PTR)) & 0x0C00) >> 8) | (*((unsigned short *)(PTR)) & 0x0003) ) + +#define MCF5XXX_SF_SR(PTR) *(((unsigned short *)(PTR))+1) + +#define MCF5XXX_SF_PC(PTR) *((unsigned long *)(PTR)+1) + +#define MCF5XXX_EXCEPTFMT "%s -- PC = %#08X\n" + + +void mcf_exception_handler(void *framepointer) +{ + volatile unsigned long exceptionStackFrame = (*(unsigned long *)(framepointer)); + volatile unsigned short stackFrameSR = MCF5XXX_SF_SR(framepointer); + volatile unsigned short stackFrameWord = (*(unsigned short *)(framepointer)); + volatile unsigned long stackFrameFormat = (unsigned long)MCF5XXX_RD_SF_FORMAT(&stackFrameWord); + volatile unsigned long stackFrameFS = (unsigned long)MCF5XXX_RD_SF_FS(&stackFrameWord); + volatile unsigned long stackFrameVector = (unsigned long)MCF5XXX_RD_SF_VECTOR(&stackFrameWord); + volatile unsigned long stackFramePC = MCF5XXX_SF_PC(framepointer); + + switch (stackFrameFormat) + { + case 4: + case 5: + case 6: + case 7: + break; + default: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT,"Illegal stack type", stackFramePC); + break; + } + + switch (stackFrameVector) + { + case 2: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Access Error", stackFramePC); + switch (stackFrameFS) + { + case 4: + VECTORDISPLAY("Error on instruction fetch\n"); + break; + case 8: + VECTORDISPLAY("Error on operand write\n"); + break; + case 9: + VECTORDISPLAY("Attempted write to write-protected space\n"); + break; + case 12: + VECTORDISPLAY("Error on operand read\n"); + break; + default: + VECTORDISPLAY("Reserved Fault Status Encoding\n"); + break; + } + break; + case 3: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Address Error", stackFramePC); + switch (stackFrameFS) + { + case 4: + VECTORDISPLAY("Error on instruction fetch\n"); + break; + case 8: + VECTORDISPLAY("Error on operand write\n"); + break; + case 9: + VECTORDISPLAY("Attempted write to write-protected space\n"); + break; + case 12: + VECTORDISPLAY("Error on operand read\n"); + break; + default: + VECTORDISPLAY("Reserved Fault Status Encoding\n"); + break; + } + break; + case 4: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Illegal instruction", stackFramePC); + break; + case 8: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Privilege violation", stackFramePC); + break; + case 9: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Trace Exception", stackFramePC); + break; + case 10: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Unimplemented A-Line Instruction", stackFramePC); + break; + case 11: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Unimplemented F-Line Instruction", stackFramePC); + break; + case 12: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Debug Interrupt", stackFramePC); + break; + case 14: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Format Error", stackFramePC); + break; + case 15: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Unitialized Interrupt", stackFramePC); + break; + case 24: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Spurious Interrupt", stackFramePC); + break; + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + VECTORDISPLAY2("Autovector interrupt level %d\n", stackFrameVector - 24); + break; + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + VECTORDISPLAY2("TRAP #%d\n", stackFrameVector - 32); + break; + case 5: + case 6: + case 7: + case 13: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + VECTORDISPLAY2("Reserved: #%d\n", stackFrameVector); + break; + default: + derivative_interrupt(stackFrameVector); + break; + } +} + +#if REGISTER_ABI +asm void asm_exception_handler(void) +{ + link a6,#0 + lea -20(sp), sp + movem.l d0-d2/a0-a1, (sp) + lea 24(sp),a0 /* A0 point to exception stack frame on the stack */ + jsr mcf_exception_handler + movem.l (sp), d0-d2/a0-a1 + lea 20(sp), sp + unlk a6 + rte +} +#else +asm void asm_exception_handler(void) +{ + link a6,#0 + lea -20(sp), sp + movem.l d0-d2/a0-a1, (sp) + pea 24(sp) /* push exception frame address */ + jsr mcf_exception_handler + movem.l 4(sp), d0-d2/a0-a1 + lea 24(sp), sp + unlk a6 + rte +} +#endif + +typedef void (* vectorTableEntryType)(void); + +#if CONSOLE_IO_SUPPORT +vectorTableEntryType vector_printf @Vtrap14 = TrapHandler_printf; +#endif + +/* + * MCF51CN128 vector table + * CF V1 has 114 vector + SP_INIT in the vector table (115 entries) + */ + +__declspec(weak) vectorTableEntryType vector_0 @INITSP = (vectorTableEntryType)&_SP_INIT; +__declspec(weak) vectorTableEntryType vector_1 @INITPC = (vectorTableEntryType)&_startup; +__declspec(weak) vectorTableEntryType vector_2 @Vaccerr = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_3 @Vadderr = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_4 @Viinstr = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_5 @VReserved5 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_6 @VReserved6 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_7 @VReserved7 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_8 @Vprviol = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_9 @Vtrace = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_10 @Vunilaop = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_11 @Vunilfop = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_12 @Vdbgi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_13 @VReserved13 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_14 @Vferror = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_15 @VReserved15 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_16 @VReserved16 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_17 @VReserved17 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_18 @VReserved18 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_19 @VReserved19 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_20 @VReserved20 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_21 @VReserved21 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_22 @VReserved22 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_23 @VReserved23 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_24 @Vspuri = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_25 @VReserved25 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_26 @VReserved26 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_27 @VReserved27 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_28 @VReserved28 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_29 @VReserved29 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_30 @VReserved30 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_31 @VReserved31 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_32 @Vtrap0 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_33 @Vtrap1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_34 @Vtrap2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_35 @Vtrap3 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_36 @Vtrap4 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_37 @Vtrap5 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_38 @Vtrap6 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_39 @Vtrap7 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_40 @Vtrap8 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_41 @Vtrap9 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_42 @Vtrap10 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_43 @Vtrap11 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_44 @Vtrap12 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_45 @Vtrap13 = asm_exception_handler; +#if CONSOLE_IO_SUPPORT == 0 +__declspec(weak) vectorTableEntryType vector_46 @Vtrap14 = asm_exception_handler; +#endif +__declspec(weak) vectorTableEntryType vector_47 @Vtrap15 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_48 @VReserved48 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_49 @VReserved49 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_50 @VReserved50 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_51 @VReserved51 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_52 @VReserved52 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_53 @VReserved53 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_54 @VReserved54 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_55 @VReserved55 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_56 @VReserved56 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_57 @VReserved57 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_58 @VReserved58 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_59 @VReserved59 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_60 @VReserved60 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_61 @Vunsinstr = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_62 @VReserved62 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_63 @VReserved63 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_64 @Virq = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_65 @Vlvd = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_66 @Vlol = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_67 @Vtpm1ch0 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_68 @Vtpm1ch1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_69 @Vtpm1ch2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_70 @Vtpm1ovf = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_71 @Vmtim1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_72 @Vtpm2ch0 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_73 @Vtpm2ch1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_74 @Vtpm2ch2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_75 @Vtpm2ovf = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_76 @Vspi1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_77 @Vspi2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_78 @Vmtim2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_79 @Vsci1err = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_80 @Vsci1rx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_81 @Vsci1tx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_82 @Vsci2err = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_83 @Vsci2rx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_84 @Vsci2tx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_85 @Vsci3or = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_86 @Vfectxf = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_87 @Vfecrxf = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_88 @Vfecother = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_89 @Vfechberr = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_90 @Vfecbabr = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_91 @Vfecbabt = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_92 @Vfecgra = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_93 @Vfectxb = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_94 @Vfecrxb = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_95 @Vfecmii = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_96 @Vfeceberr = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_97 @Vfeclc = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_98 @Vfecrl = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_99 @Vfecun = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_100 @Vsci3err = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_101 @Vsci3rx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_102 @Vsci3tx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_103 @VL7swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_104 @VL6swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_105 @VL5swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_106 @VL4swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_107 @VL3swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_108 @VL2swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_109 @VL1swi = vPortYieldISR; +__declspec(weak) vectorTableEntryType vector_110 @Viic1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_111 @Viic2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_112 @Vadc = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_113 @Vkeyboard = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_114 @Vrtc = asm_exception_handler; + + + +#ifdef __cplusplus +} +#endif + + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/exceptions.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/exceptions.h new file mode 100644 index 000000000..7995f3044 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/exceptions.h @@ -0,0 +1,52 @@ +/* + * File: exceptions.h + * Purpose: Generic exception handling for ColdFire processors + * + * Notes: + */ + +#ifndef _MCF_EXCEPTIONS_H +#define _MCF_EXCEPTIONS_H + +#ifdef __cplusplus +extern "C" { +#endif + +/***********************************************************************/ +/* + * This is the handler for all exceptions which are not common to all + * ColdFire Chips. + * + * Called by mcf_exception_handler + * + */ +void derivative_interrupt(unsigned long vector); + +/***********************************************************************/ +/* + * This is the exception handler for all exceptions common to all + * chips ColdFire. Most exceptions do nothing, but some of the more + * important ones are handled to some extent. + * + * Called by asm_exception_handler + */ +void mcf_exception_handler(void *framepointer); + + +/***********************************************************************/ +/* + * This is the assembly exception handler defined in the vector table. + * This function is in assembler so that the frame pointer can be read + * from the stack. + * Note that the way to give the stack frame as argument to the c handler + * depends on the used ABI (Register, Compact or Standard). + * + */ +asm void asm_exception_handler(void); + +#ifdef __cplusplus +} +#endif + +#endif /* _MCF_EXCEPTIONS_H */ + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/exceptions.old0.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/exceptions.old0.c new file mode 100644 index 000000000..e10f052e3 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/exceptions.old0.c @@ -0,0 +1,444 @@ +/* + * File: exceptions.c + * Purpose: Generic exception handling for ColdFire processors + * + */ + +#include "derivative.h" +#include "exceptions.h" +#include "startcf.h" + +#define REGISTER_ABI __REGABI__ + +extern asm void interrupt 109 vPortYieldISR( void ); +extern void interrupt 86 vFECISRHandler( void ); + +/***********************************************************************/ +/* + * Set NO_PRINTF to 0 in order the exceptions.c interrupt handler + * to output messages to the standard io. + * + */ +#define NO_PRINTF 1 + +#if NO_PRINTF +#define VECTORDISPLAY(MESSAGE) asm { nop; }; +#define VECTORDISPLAY2(MESSAGE,MESSAGE2) asm { nop; }; +#define VECTORDISPLAY3(MESSAGE,MESSAGE2,MESSAGE3) asm { nop; }; +#else +#include +#define VECTORDISPLAY(MESSAGE1) printf(MESSAGE1); +#define VECTORDISPLAY2(MESSAGE1,MESSAGE2) printf(MESSAGE1,MESSAGE2); +#define VECTORDISPLAY3(MESSAGE1,MESSAGE2,MESSAGE3) printf(MESSAGE1,MESSAGE2,MESSAGE3); +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +extern unsigned long far _SP_INIT[]; + +/***********************************************************************/ +/* + * Handling of the TRK ColdFire libs (printf support in Debugger Terminal) + * + * To enable this support: + * - Set CONSOLE_IO_SUPPORT 1 in this file; this will enable + * TrapHandler_printf for the trap #14 exception. + * + * - Make sure the file console_io_cf.c is in your project. + * + * - In the debugger make sure that in the Connection "Setup" dialog, + * "Debug Options" property page, the check box + * "Enable Terminal printf support" is set. + * + * + * + */ +#define CONSOLE_IO_SUPPORT 0 + +#if CONSOLE_IO_SUPPORT +asm void TrapHandler_printf(void) { + HALT + RTE +} +#endif + +/***********************************************************************/ +/* + * This is the handler for all exceptions which are not common to all + * ColdFire Chips. + * + * Called by mcf_exception_handler + * + */ +void derivative_interrupt(unsigned long vector) +{ + if (vector < 64 || vector > 192) { + VECTORDISPLAY2("User Defined Vector #%d\n",vector); + } +} + +/*********************************************************************** + * + * This is the exception handler for all exceptions common to all + * chips ColdFire. Most exceptions do nothing, but some of the more + * important ones are handled to some extent. + * + * Called by asm_exception_handler + * + * The ColdFire family of processors has a simplified exception stack + * frame that looks like the following: + * + * 3322222222221111 111111 + * 1098765432109876 5432109876543210 + * 8 +----------------+----------------+ + * | Program Counter | + * 4 +----------------+----------------+ + * |FS/Fmt/Vector/FS| SR | + * SP --> 0 +----------------+----------------+ + * + * The stack self-aligns to a 4-byte boundary at an exception, with + * the FS/Fmt/Vector/FS field indicating the size of the adjustment + * (SP += 0,1,2,3 bytes). + * 31 28 27 26 25 18 17 16 15 0 + * 4 +---------------------------------------+------------------------------------+ + * | Format | FS[3..2] | Vector | FS[1..0] | SR | + * SP --> 0 +---------------------------------------+------------------------------------+ + */ +#define MCF5XXX_RD_SF_FORMAT(PTR) \ + ((*((unsigned short *)(PTR)) >> 12) & 0x00FF) + +#define MCF5XXX_RD_SF_VECTOR(PTR) \ + ((*((unsigned short *)(PTR)) >> 2) & 0x00FF) + +#define MCF5XXX_RD_SF_FS(PTR) \ + ( ((*((unsigned short *)(PTR)) & 0x0C00) >> 8) | (*((unsigned short *)(PTR)) & 0x0003) ) + +#define MCF5XXX_SF_SR(PTR) *(((unsigned short *)(PTR))+1) + +#define MCF5XXX_SF_PC(PTR) *((unsigned long *)(PTR)+1) + +#define MCF5XXX_EXCEPTFMT "%s -- PC = %#08X\n" + + +void mcf_exception_handler(void *framepointer) +{ + volatile unsigned long exceptionStackFrame = (*(unsigned long *)(framepointer)); + volatile unsigned short stackFrameSR = MCF5XXX_SF_SR(framepointer); + volatile unsigned short stackFrameWord = (*(unsigned short *)(framepointer)); + volatile unsigned long stackFrameFormat = (unsigned long)MCF5XXX_RD_SF_FORMAT(&stackFrameWord); + volatile unsigned long stackFrameFS = (unsigned long)MCF5XXX_RD_SF_FS(&stackFrameWord); + volatile unsigned long stackFrameVector = (unsigned long)MCF5XXX_RD_SF_VECTOR(&stackFrameWord); + volatile unsigned long stackFramePC = MCF5XXX_SF_PC(framepointer); + + switch (stackFrameFormat) + { + case 4: + case 5: + case 6: + case 7: + break; + default: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT,"Illegal stack type", stackFramePC); + break; + } + + switch (stackFrameVector) + { + case 2: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Access Error", stackFramePC); + switch (stackFrameFS) + { + case 4: + VECTORDISPLAY("Error on instruction fetch\n"); + break; + case 8: + VECTORDISPLAY("Error on operand write\n"); + break; + case 9: + VECTORDISPLAY("Attempted write to write-protected space\n"); + break; + case 12: + VECTORDISPLAY("Error on operand read\n"); + break; + default: + VECTORDISPLAY("Reserved Fault Status Encoding\n"); + break; + } + break; + case 3: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Address Error", stackFramePC); + switch (stackFrameFS) + { + case 4: + VECTORDISPLAY("Error on instruction fetch\n"); + break; + case 8: + VECTORDISPLAY("Error on operand write\n"); + break; + case 9: + VECTORDISPLAY("Attempted write to write-protected space\n"); + break; + case 12: + VECTORDISPLAY("Error on operand read\n"); + break; + default: + VECTORDISPLAY("Reserved Fault Status Encoding\n"); + break; + } + break; + case 4: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Illegal instruction", stackFramePC); + break; + case 8: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Privilege violation", stackFramePC); + break; + case 9: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Trace Exception", stackFramePC); + break; + case 10: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Unimplemented A-Line Instruction", stackFramePC); + break; + case 11: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Unimplemented F-Line Instruction", stackFramePC); + break; + case 12: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Debug Interrupt", stackFramePC); + break; + case 14: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Format Error", stackFramePC); + break; + case 15: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Unitialized Interrupt", stackFramePC); + break; + case 24: + VECTORDISPLAY3(MCF5XXX_EXCEPTFMT, "Spurious Interrupt", stackFramePC); + break; + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + VECTORDISPLAY2("Autovector interrupt level %d\n", stackFrameVector - 24); + break; + case 32: + case 33: + case 34: + case 35: + case 36: + case 37: + case 38: + case 39: + case 40: + case 41: + case 42: + case 43: + case 44: + case 45: + case 46: + case 47: + VECTORDISPLAY2("TRAP #%d\n", stackFrameVector - 32); + break; + case 5: + case 6: + case 7: + case 13: + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + case 48: + case 49: + case 50: + case 51: + case 52: + case 53: + case 54: + case 55: + case 56: + case 57: + case 58: + case 59: + case 60: + case 61: + case 62: + case 63: + VECTORDISPLAY2("Reserved: #%d\n", stackFrameVector); + break; + default: + derivative_interrupt(stackFrameVector); + break; + } +} + +#if REGISTER_ABI +asm void asm_exception_handler(void) +{ + link a6,#0 + lea -20(sp), sp + movem.l d0-d2/a0-a1, (sp) + lea 24(sp),a0 /* A0 point to exception stack frame on the stack */ + jsr mcf_exception_handler + movem.l (sp), d0-d2/a0-a1 + lea 20(sp), sp + unlk a6 + rte +} +#else +asm void asm_exception_handler(void) +{ + link a6,#0 + lea -20(sp), sp + movem.l d0-d2/a0-a1, (sp) + pea 24(sp) /* push exception frame address */ + jsr mcf_exception_handler + movem.l 4(sp), d0-d2/a0-a1 + lea 24(sp), sp + unlk a6 + rte +} +#endif + +typedef void (* vectorTableEntryType)(void); + +#if CONSOLE_IO_SUPPORT +vectorTableEntryType vector_printf @Vtrap14 = TrapHandler_printf; +#endif + +/* + * MCF51CN128 vector table + * CF V1 has 114 vector + SP_INIT in the vector table (115 entries) + */ + +__declspec(weak) vectorTableEntryType vector_0 @INITSP = (vectorTableEntryType)&_SP_INIT; +__declspec(weak) vectorTableEntryType vector_1 @INITPC = (vectorTableEntryType)&_startup; +__declspec(weak) vectorTableEntryType vector_2 @Vaccerr = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_3 @Vadderr = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_4 @Viinstr = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_5 @VReserved5 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_6 @VReserved6 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_7 @VReserved7 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_8 @Vprviol = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_9 @Vtrace = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_10 @Vunilaop = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_11 @Vunilfop = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_12 @Vdbgi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_13 @VReserved13 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_14 @Vferror = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_15 @VReserved15 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_16 @VReserved16 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_17 @VReserved17 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_18 @VReserved18 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_19 @VReserved19 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_20 @VReserved20 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_21 @VReserved21 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_22 @VReserved22 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_23 @VReserved23 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_24 @Vspuri = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_25 @VReserved25 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_26 @VReserved26 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_27 @VReserved27 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_28 @VReserved28 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_29 @VReserved29 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_30 @VReserved30 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_31 @VReserved31 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_32 @Vtrap0 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_33 @Vtrap1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_34 @Vtrap2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_35 @Vtrap3 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_36 @Vtrap4 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_37 @Vtrap5 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_38 @Vtrap6 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_39 @Vtrap7 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_40 @Vtrap8 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_41 @Vtrap9 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_42 @Vtrap10 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_43 @Vtrap11 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_44 @Vtrap12 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_45 @Vtrap13 = asm_exception_handler; +#if CONSOLE_IO_SUPPORT == 0 +__declspec(weak) vectorTableEntryType vector_46 @Vtrap14 = asm_exception_handler; +#endif +__declspec(weak) vectorTableEntryType vector_47 @Vtrap15 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_48 @VReserved48 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_49 @VReserved49 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_50 @VReserved50 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_51 @VReserved51 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_52 @VReserved52 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_53 @VReserved53 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_54 @VReserved54 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_55 @VReserved55 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_56 @VReserved56 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_57 @VReserved57 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_58 @VReserved58 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_59 @VReserved59 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_60 @VReserved60 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_61 @Vunsinstr = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_62 @VReserved62 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_63 @VReserved63 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_64 @Virq = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_65 @Vlvd = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_66 @Vlol = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_67 @Vtpm1ch0 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_68 @Vtpm1ch1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_69 @Vtpm1ch2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_70 @Vtpm1ovf = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_71 @Vmtim1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_72 @Vtpm2ch0 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_73 @Vtpm2ch1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_74 @Vtpm2ch2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_75 @Vtpm2ovf = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_76 @Vspi1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_77 @Vspi2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_78 @Vmtim2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_79 @Vsci1err = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_80 @Vsci1rx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_81 @Vsci1tx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_82 @Vsci2err = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_83 @Vsci2rx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_84 @Vsci2tx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_85 @Vsci3or = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_86 @Vfectxf = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_87 @Vfecrxf = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_88 @Vfecother = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_89 @Vfechberr = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_90 @Vfecbabr = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_91 @Vfecbabt = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_92 @Vfecgra = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_93 @Vfectxb = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_94 @Vfecrxb = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_95 @Vfecmii = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_96 @Vfeceberr = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_97 @Vfeclc = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_98 @Vfecrl = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_99 @Vfecun = vFECISRHandler; +__declspec(weak) vectorTableEntryType vector_100 @Vsci3err = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_101 @Vsci3rx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_102 @Vsci3tx = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_103 @VL7swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_104 @VL6swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_105 @VL5swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_106 @VL4swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_107 @VL3swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_108 @VL2swi = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_109 @VL1swi = vPortYieldISR; +__declspec(weak) vectorTableEntryType vector_110 @Viic1 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_111 @Viic2 = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_112 @Vadc = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_113 @Vkeyboard = asm_exception_handler; +__declspec(weak) vectorTableEntryType vector_114 @Vrtc = asm_exception_handler; + + + +#ifdef __cplusplus +} +#endif + + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/fecbd.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/fecbd.h new file mode 100644 index 000000000..4be804957 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/fecbd.h @@ -0,0 +1,101 @@ +/* + * File: fecbd.h + * Purpose: + * + * Purpose: Provide a simple buffer management driver + */ + +#ifndef _FECBD_H_ +#define _FECBD_H_ + +/********************************************************************/ + +#define Rx 1 +#define Tx 0 + +/* + * Buffer sizes in bytes + */ +#ifndef RX_BUF_SZ +#define RX_BUF_SZ 1520 //2048 +#endif +#ifndef TX_BUF_SZ +#define TX_BUF_SZ 1520 +#endif + +/* + * Buffer Descriptor Format + */ +#pragma options align= packed +typedef struct +{ + unsigned portSHORT status; /* control and status */ + unsigned portSHORT length; /* transfer length */ + unsigned portCHAR *data; /* buffer address */ +} FECBD; + +/* + * Bit level definitions for status field of buffer descriptors + */ +#define TX_BD_R 0x8000 +#define TX_BD_TO1 0x4000 +#define TX_BD_W 0x2000 +#define TX_BD_TO2 0x1000 +#define TX_BD_INTERRUPT 0x1000 /* MCF547x/8x Only */ +#define TX_BD_L 0x0800 +#define TX_BD_TC 0x0400 +#define TX_BD_DEF 0x0200 /* MCF5272 Only */ +#define TX_BD_ABC 0x0200 +#define TX_BD_HB 0x0100 /* MCF5272 Only */ +#define TX_BD_LC 0x0080 /* MCF5272 Only */ +#define TX_BD_RL 0x0040 /* MCF5272 Only */ +#define TX_BD_UN 0x0002 /* MCF5272 Only */ +#define TX_BD_CSL 0x0001 /* MCF5272 Only */ + +#define RX_BD_E 0x8000 +#define RX_BD_R01 0x4000 +#define RX_BD_W 0x2000 +#define RX_BD_R02 0x1000 +#define RX_BD_INTERRUPT 0x1000 /* MCF547x/8x Only */ +#define RX_BD_L 0x0800 +#define RX_BD_M 0x0100 +#define RX_BD_BC 0x0080 +#define RX_BD_MC 0x0040 +#define RX_BD_LG 0x0020 +#define RX_BD_NO 0x0010 +#define RX_BD_CR 0x0004 +#define RX_BD_OV 0x0002 +#define RX_BD_TR 0x0001 +#define RX_BD_ERROR (RX_BD_NO | RX_BD_CR | RX_BD_OV | RX_BD_TR) + +/* + * The following defines are provided by the MCF547x/8x + * DMA API. These are shown here to show their correlation + * to the other FEC buffer descriptor status bits + * + * #define MCD_FEC_BUF_READY 0x8000 + * #define MCD_FEC_WRAP 0x2000 + * #define MCD_FEC_INTERRUPT 0x1000 + * #define MCD_FEC_END_FRAME 0x0800 + */ + +/* + * Functions provided in fec_bd.c + */ +int fecbd_init(int, int, int); +void fecbd_flush(int); +void fecbd_dump( void ); +unsigned portLONG fecbd_get_start(int, int); +FECBD* fecbd_rx_alloc(int); +FECBD* fecbd_tx_alloc(int); +FECBD* fecbd_tx_free(int); + +/* + * Error codes + */ +#define ERR_MALLOC (-1) +#define ERR_NBUFALLOC (-2) + +/*******************************************************************/ + +#endif /* _FECBD_H_ */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/clock-arch.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/clock-arch.h new file mode 100644 index 000000000..cde657b62 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/clock-arch.h @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2006, Swedish Institute of Computer Science. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the Institute nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * This file is part of the uIP TCP/IP stack + * + * $Id: clock-arch.h,v 1.2 2006/06/12 08:00:31 adam Exp $ + */ + +#ifndef __CLOCK_ARCH_H__ +#define __CLOCK_ARCH_H__ + +#include "FreeRTOS.h" + +typedef unsigned long clock_time_t; +#define CLOCK_CONF_SECOND configTICK_RATE_HZ + +#endif /* __CLOCK_ARCH_H__ */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/http-strings b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/http-strings new file mode 100644 index 000000000..0d3c30cdd --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/http-strings @@ -0,0 +1,35 @@ +http_http "http://" +http_200 "200 " +http_301 "301 " +http_302 "302 " +http_get "GET " +http_10 "HTTP/1.0" +http_11 "HTTP/1.1" +http_content_type "content-type: " +http_texthtml "text/html" +http_location "location: " +http_host "host: " +http_crnl "\r\n" +http_index_html "/index.html" +http_404_html "/404.html" +http_referer "Referer:" +http_header_200 "HTTP/1.0 200 OK\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n" +http_header_404 "HTTP/1.0 404 Not found\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n" +http_content_type_plain "Content-type: text/plain\r\n\r\n" +http_content_type_html "Content-type: text/html\r\n\r\n" +http_content_type_css "Content-type: text/css\r\n\r\n" +http_content_type_text "Content-type: text/text\r\n\r\n" +http_content_type_png "Content-type: image/png\r\n\r\n" +http_content_type_gif "Content-type: image/gif\r\n\r\n" +http_content_type_jpg "Content-type: image/jpeg\r\n\r\n" +http_content_type_binary "Content-type: application/octet-stream\r\n\r\n" +http_html ".html" +http_shtml ".shtml" +http_htm ".htm" +http_css ".css" +http_png ".png" +http_gif ".gif" +http_jpg ".jpg" +http_text ".txt" +http_txt ".txt" + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/http-strings.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/http-strings.c new file mode 100644 index 000000000..ef7a41c7d --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/http-strings.c @@ -0,0 +1,102 @@ +const char http_http[8] = +/* "http://" */ +{0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, }; +const char http_200[5] = +/* "200 " */ +{0x32, 0x30, 0x30, 0x20, }; +const char http_301[5] = +/* "301 " */ +{0x33, 0x30, 0x31, 0x20, }; +const char http_302[5] = +/* "302 " */ +{0x33, 0x30, 0x32, 0x20, }; +const char http_get[5] = +/* "GET " */ +{0x47, 0x45, 0x54, 0x20, }; +const char http_10[9] = +/* "HTTP/1.0" */ +{0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, }; +const char http_11[9] = +/* "HTTP/1.1" */ +{0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, }; +const char http_content_type[15] = +/* "content-type: " */ +{0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, }; +const char http_texthtml[10] = +/* "text/html" */ +{0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, 0x6c, }; +const char http_location[11] = +/* "location: " */ +{0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, }; +const char http_host[7] = +/* "host: " */ +{0x68, 0x6f, 0x73, 0x74, 0x3a, 0x20, }; +const char http_crnl[3] = +/* "\r\n" */ +{0xd, 0xa, }; +const char http_index_html[12] = +/* "/index.html" */ +{0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, }; +const char http_404_html[10] = +/* "/404.html" */ +{0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, }; +const char http_referer[9] = +/* "Referer:" */ +{0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x72, 0x3a, }; +const char http_header_200[84] = +/* "HTTP/1.0 200 OK\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n" */ +{0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x32, 0x30, 0x30, 0x20, 0x4f, 0x4b, 0xd, 0xa, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3a, 0x20, 0x75, 0x49, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x73, 0x65, 0x2f, 0x7e, 0x61, 0x64, 0x61, 0x6d, 0x2f, 0x75, 0x69, 0x70, 0x2f, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0xd, 0xa, }; +const char http_header_404[91] = +/* "HTTP/1.0 404 Not found\r\nServer: uIP/1.0 http://www.sics.se/~adam/uip/\r\nConnection: close\r\n" */ +{0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x34, 0x30, 0x34, 0x20, 0x4e, 0x6f, 0x74, 0x20, 0x66, 0x6f, 0x75, 0x6e, 0x64, 0xd, 0xa, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x3a, 0x20, 0x75, 0x49, 0x50, 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x73, 0x69, 0x63, 0x73, 0x2e, 0x73, 0x65, 0x2f, 0x7e, 0x61, 0x64, 0x61, 0x6d, 0x2f, 0x75, 0x69, 0x70, 0x2f, 0xd, 0xa, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0xd, 0xa, }; +const char http_content_type_plain[29] = +/* "Content-type: text/plain\r\n\r\n" */ +{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0xd, 0xa, 0xd, 0xa, }; +const char http_content_type_html[28] = +/* "Content-type: text/html\r\n\r\n" */ +{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0xd, 0xa, 0xd, 0xa, }; +const char http_content_type_css [27] = +/* "Content-type: text/css\r\n\r\n" */ +{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x63, 0x73, 0x73, 0xd, 0xa, 0xd, 0xa, }; +const char http_content_type_text[28] = +/* "Content-type: text/text\r\n\r\n" */ +{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x74, 0x65, 0x78, 0x74, 0xd, 0xa, 0xd, 0xa, }; +const char http_content_type_png [28] = +/* "Content-type: image/png\r\n\r\n" */ +{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x6e, 0x67, 0xd, 0xa, 0xd, 0xa, }; +const char http_content_type_gif [28] = +/* "Content-type: image/gif\r\n\r\n" */ +{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x67, 0x69, 0x66, 0xd, 0xa, 0xd, 0xa, }; +const char http_content_type_jpg [29] = +/* "Content-type: image/jpeg\r\n\r\n" */ +{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x6a, 0x70, 0x65, 0x67, 0xd, 0xa, 0xd, 0xa, }; +const char http_content_type_binary[43] = +/* "Content-type: application/octet-stream\r\n\r\n" */ +{0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6f, 0x63, 0x74, 0x65, 0x74, 0x2d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0xd, 0xa, 0xd, 0xa, }; +const char http_html[6] = +/* ".html" */ +{0x2e, 0x68, 0x74, 0x6d, 0x6c, }; +const char http_shtml[7] = +/* ".shtml" */ +{0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, }; +const char http_htm[5] = +/* ".htm" */ +{0x2e, 0x68, 0x74, 0x6d, }; +const char http_css[5] = +/* ".css" */ +{0x2e, 0x63, 0x73, 0x73, }; +const char http_png[5] = +/* ".png" */ +{0x2e, 0x70, 0x6e, 0x67, }; +const char http_gif[5] = +/* ".gif" */ +{0x2e, 0x67, 0x69, 0x66, }; +const char http_jpg[5] = +/* ".jpg" */ +{0x2e, 0x6a, 0x70, 0x67, }; +const char http_text[5] = +/* ".txt" */ +{0x2e, 0x74, 0x78, 0x74, }; +const char http_txt[5] = +/* ".txt" */ +{0x2e, 0x74, 0x78, 0x74, }; diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/http-strings.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/http-strings.h new file mode 100644 index 000000000..acbe7e17f --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/http-strings.h @@ -0,0 +1,34 @@ +extern const char http_http[8]; +extern const char http_200[5]; +extern const char http_301[5]; +extern const char http_302[5]; +extern const char http_get[5]; +extern const char http_10[9]; +extern const char http_11[9]; +extern const char http_content_type[15]; +extern const char http_texthtml[10]; +extern const char http_location[11]; +extern const char http_host[7]; +extern const char http_crnl[3]; +extern const char http_index_html[12]; +extern const char http_404_html[10]; +extern const char http_referer[9]; +extern const char http_header_200[84]; +extern const char http_header_404[91]; +extern const char http_content_type_plain[29]; +extern const char http_content_type_html[28]; +extern const char http_content_type_css [27]; +extern const char http_content_type_text[28]; +extern const char http_content_type_png [28]; +extern const char http_content_type_gif [28]; +extern const char http_content_type_jpg [29]; +extern const char http_content_type_binary[43]; +extern const char http_html[6]; +extern const char http_shtml[7]; +extern const char http_htm[5]; +extern const char http_css[5]; +extern const char http_png[5]; +extern const char http_gif[5]; +extern const char http_jpg[5]; +extern const char http_text[5]; +extern const char http_txt[5]; diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-cgi.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-cgi.c new file mode 100644 index 000000000..88cd4cb93 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-cgi.c @@ -0,0 +1,284 @@ +/** + * \addtogroup httpd + * @{ + */ + +/** + * \file + * Web server script interface + * \author + * Adam Dunkels + * + */ + +/* + * Copyright (c) 2001-2006, Adam Dunkels. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * This file is part of the uIP TCP/IP stack. + * + * $Id: httpd-cgi.c,v 1.2 2006/06/11 21:46:37 adam Exp $ + * + */ + +#include "uip.h" +#include "psock.h" +#include "httpd.h" +#include "httpd-cgi.h" +#include "httpd-fs.h" + +#include +#include + +HTTPD_CGI_CALL(file, "file-stats", file_stats); +HTTPD_CGI_CALL(tcp, "tcp-connections", tcp_stats); +HTTPD_CGI_CALL(net, "net-stats", net_stats); +HTTPD_CGI_CALL(rtos, "rtos-stats", rtos_stats ); +HTTPD_CGI_CALL(io, "led-io", led_io ); + + +static const struct httpd_cgi_call *calls[] = { &file, &tcp, &net, &rtos, &io, NULL }; + +/*---------------------------------------------------------------------------*/ +static +PT_THREAD(nullfunction(struct httpd_state *s, char *ptr)) +{ + ( void ) ptr; + PSOCK_BEGIN(&s->sout); + PSOCK_END(&s->sout); +} +/*---------------------------------------------------------------------------*/ +httpd_cgifunction +httpd_cgi(char *name) +{ + const struct httpd_cgi_call **f; + + /* Find the matching name in the table, return the function. */ + for(f = calls; *f != NULL; ++f) { + if(strncmp((*f)->name, name, strlen((*f)->name)) == 0) { + return (*f)->function; + } + } + return nullfunction; +} +/*---------------------------------------------------------------------------*/ +static unsigned short +generate_file_stats(void *arg) +{ + char *f = (char *)arg; + return snprintf((char *)uip_appdata, UIP_APPDATA_SIZE, "%5u", httpd_fs_count(f)); +} +/*---------------------------------------------------------------------------*/ +static +PT_THREAD(file_stats(struct httpd_state *s, char *ptr)) +{ + PSOCK_BEGIN(&s->sout); + + PSOCK_GENERATOR_SEND(&s->sout, generate_file_stats, strchr(ptr, ' ') + 1); + + PSOCK_END(&s->sout); +} +/*---------------------------------------------------------------------------*/ +static const char closed[] = /* "CLOSED",*/ +{0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0}; +static const char syn_rcvd[] = /* "SYN-RCVD",*/ +{0x53, 0x59, 0x4e, 0x2d, 0x52, 0x43, 0x56, + 0x44, 0}; +static const char syn_sent[] = /* "SYN-SENT",*/ +{0x53, 0x59, 0x4e, 0x2d, 0x53, 0x45, 0x4e, + 0x54, 0}; +static const char established[] = /* "ESTABLISHED",*/ +{0x45, 0x53, 0x54, 0x41, 0x42, 0x4c, 0x49, 0x53, 0x48, + 0x45, 0x44, 0}; +static const char fin_wait_1[] = /* "FIN-WAIT-1",*/ +{0x46, 0x49, 0x4e, 0x2d, 0x57, 0x41, 0x49, + 0x54, 0x2d, 0x31, 0}; +static const char fin_wait_2[] = /* "FIN-WAIT-2",*/ +{0x46, 0x49, 0x4e, 0x2d, 0x57, 0x41, 0x49, + 0x54, 0x2d, 0x32, 0}; +static const char closing[] = /* "CLOSING",*/ +{0x43, 0x4c, 0x4f, 0x53, 0x49, + 0x4e, 0x47, 0}; +static const char time_wait[] = /* "TIME-WAIT,"*/ +{0x54, 0x49, 0x4d, 0x45, 0x2d, 0x57, 0x41, + 0x49, 0x54, 0}; +static const char last_ack[] = /* "LAST-ACK"*/ +{0x4c, 0x41, 0x53, 0x54, 0x2d, 0x41, 0x43, + 0x4b, 0}; + +static const char *states[] = { + closed, + syn_rcvd, + syn_sent, + established, + fin_wait_1, + fin_wait_2, + closing, + time_wait, + last_ack}; + + +static unsigned short +generate_tcp_stats(void *arg) +{ + struct uip_conn *conn; + struct httpd_state *s = (struct httpd_state *)arg; + + conn = &uip_conns[s->count]; + return snprintf((char *)uip_appdata, UIP_APPDATA_SIZE, + "%d%u.%u.%u.%u:%u%s%u%u%c %c\r\n", + htons(conn->lport), + htons(conn->ripaddr[0]) >> 8, + htons(conn->ripaddr[0]) & 0xff, + htons(conn->ripaddr[1]) >> 8, + htons(conn->ripaddr[1]) & 0xff, + htons(conn->rport), + states[conn->tcpstateflags & UIP_TS_MASK], + conn->nrtx, + conn->timer, + (uip_outstanding(conn))? '*':' ', + (uip_stopped(conn))? '!':' '); +} +/*---------------------------------------------------------------------------*/ +static +PT_THREAD(tcp_stats(struct httpd_state *s, char *ptr)) +{ + + ( void ) ptr; + PSOCK_BEGIN(&s->sout); + + for(s->count = 0; s->count < UIP_CONNS; ++s->count) { + if((uip_conns[s->count].tcpstateflags & UIP_TS_MASK) != UIP_CLOSED) { + PSOCK_GENERATOR_SEND(&s->sout, generate_tcp_stats, s); + } + } + + PSOCK_END(&s->sout); +} +/*---------------------------------------------------------------------------*/ +static unsigned short +generate_net_stats(void *arg) +{ + struct httpd_state *s = (struct httpd_state *)arg; + return snprintf((char *)uip_appdata, UIP_APPDATA_SIZE, + "%5u\n", ((uip_stats_t *)&uip_stat)[s->count]); +} + +static +PT_THREAD(net_stats(struct httpd_state *s, char *ptr)) +{ + ( void ) ptr; + PSOCK_BEGIN(&s->sout); + +#if UIP_STATISTICS + + for(s->count = 0; s->count < sizeof(uip_stat) / sizeof(uip_stats_t); + ++s->count) { + PSOCK_GENERATOR_SEND(&s->sout, generate_net_stats, s); + } + +#endif /* UIP_STATISTICS */ + + PSOCK_END(&s->sout); +} +/*---------------------------------------------------------------------------*/ + +extern void vTaskList( signed char *pcWriteBuffer ); +extern unsigned long ulCheckErrors; +static char cCountBuf[ 32 ]; +long lRefreshCount = 0; +static unsigned short +generate_rtos_stats(void *arg) +{ + ( void ) arg; + lRefreshCount++; + sprintf( cCountBuf, "


Refresh count = %d", lRefreshCount ); + vTaskList( uip_appdata ); + strcat( uip_appdata, cCountBuf ); + + /* Have any errors been latched? */ + if( ulCheckErrors != 0 ) + { + strcat( uip_appdata, "


The check function has detected an error! Error code = " ); + sprintf( cCountBuf, "%x", ulCheckErrors ); + strcat( uip_appdata, cCountBuf ); + } + else + { + strcat( uip_appdata, "


All tasks are executing with no errors reported.

" ); + } + + return strlen( uip_appdata ); +} +/*---------------------------------------------------------------------------*/ + + +static +PT_THREAD(rtos_stats(struct httpd_state *s, char *ptr)) +{ + ( void ) ptr; + PSOCK_BEGIN(&s->sout); + PSOCK_GENERATOR_SEND(&s->sout, generate_rtos_stats, NULL); + PSOCK_END(&s->sout); +} +/*---------------------------------------------------------------------------*/ + +char *pcStatus; +extern unsigned long uxParTestGetLED( unsigned long uxLED ); + +static unsigned short generate_io_state( void *arg ) +{ + ( void ) arg; + if( uxParTestGetLED( 3 ) ) + { + pcStatus = "checked"; + } + else + { + pcStatus = ""; + } + + sprintf( uip_appdata, "LED", pcStatus ); + return strlen( uip_appdata ); +} +/*---------------------------------------------------------------------------*/ + +static PT_THREAD(led_io(struct httpd_state *s, char *ptr)) +{ + ( void ) ptr; + PSOCK_BEGIN(&s->sout); + PSOCK_GENERATOR_SEND(&s->sout, generate_io_state, NULL); + PSOCK_END(&s->sout); +} + +/** @} */ + + + + + + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-cgi.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-cgi.h new file mode 100644 index 000000000..7ae928321 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-cgi.h @@ -0,0 +1,84 @@ +/** + * \addtogroup httpd + * @{ + */ + +/** + * \file + * Web server script interface header file + * \author + * Adam Dunkels + * + */ + + + +/* + * Copyright (c) 2001, Adam Dunkels. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * This file is part of the uIP TCP/IP stack. + * + * $Id: httpd-cgi.h,v 1.2 2006/06/11 21:46:38 adam Exp $ + * + */ + +#ifndef __HTTPD_CGI_H__ +#define __HTTPD_CGI_H__ + +#include "psock.h" +#include "httpd.h" + +typedef PT_THREAD((* httpd_cgifunction)(struct httpd_state *, char *)); + +httpd_cgifunction httpd_cgi(char *name); + +struct httpd_cgi_call { + const char *name; + const httpd_cgifunction function; +}; + +/** + * \brief HTTPD CGI function declaration + * \param name The C variable name of the function + * \param str The string name of the function, used in the script file + * \param function A pointer to the function that implements it + * + * This macro is used for declaring a HTTPD CGI + * function. This function is then added to the list of + * HTTPD CGI functions with the httpd_cgi_add() function. + * + * \hideinitializer + */ +#define HTTPD_CGI_CALL(name, str, function) \ +static PT_THREAD(function(struct httpd_state *, char *)); \ +static const struct httpd_cgi_call name = {str, function} + +void httpd_cgi_init(void); +#endif /* __HTTPD_CGI_H__ */ + +/** @} */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs.c new file mode 100644 index 000000000..dc4aef011 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs.c @@ -0,0 +1,132 @@ +/* + * Copyright (c) 2001, Swedish Institute of Computer Science. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the Institute nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * This file is part of the lwIP TCP/IP stack. + * + * Author: Adam Dunkels + * + * $Id: httpd-fs.c,v 1.1 2006/06/07 09:13:08 adam Exp $ + */ + +#include "httpd.h" +#include "httpd-fs.h" +#include "httpd-fsdata.h" + +#ifndef NULL +#define NULL 0 +#endif /* NULL */ + +#include "httpd-fsdata.c" + +#if HTTPD_FS_STATISTICS +static u16_t count[HTTPD_FS_NUMFILES]; +#endif /* HTTPD_FS_STATISTICS */ + +/*-----------------------------------------------------------------------------------*/ +static u8_t +httpd_fs_strcmp(const char *str1, const char *str2) +{ + u8_t i; + i = 0; + loop: + + if(str2[i] == 0 || + str1[i] == '\r' || + str1[i] == '\n') { + return 0; + } + + if(str1[i] != str2[i]) { + return 1; + } + + + ++i; + goto loop; +} +/*-----------------------------------------------------------------------------------*/ +int +httpd_fs_open(const char *name, struct httpd_fs_file *file) +{ +#if HTTPD_FS_STATISTICS + u16_t i = 0; +#endif /* HTTPD_FS_STATISTICS */ + struct httpd_fsdata_file_noconst *f; + + for(f = (struct httpd_fsdata_file_noconst *)HTTPD_FS_ROOT; + f != NULL; + f = (struct httpd_fsdata_file_noconst *)f->next) { + + if(httpd_fs_strcmp(name, f->name) == 0) { + file->data = f->data; + file->len = f->len; +#if HTTPD_FS_STATISTICS + ++count[i]; +#endif /* HTTPD_FS_STATISTICS */ + return 1; + } +#if HTTPD_FS_STATISTICS + ++i; +#endif /* HTTPD_FS_STATISTICS */ + + } + return 0; +} +/*-----------------------------------------------------------------------------------*/ +void +httpd_fs_init(void) +{ +#if HTTPD_FS_STATISTICS + u16_t i; + for(i = 0; i < HTTPD_FS_NUMFILES; i++) { + count[i] = 0; + } +#endif /* HTTPD_FS_STATISTICS */ +} +/*-----------------------------------------------------------------------------------*/ +#if HTTPD_FS_STATISTICS +u16_t httpd_fs_count +(char *name) +{ + struct httpd_fsdata_file_noconst *f; + u16_t i; + + i = 0; + for(f = (struct httpd_fsdata_file_noconst *)HTTPD_FS_ROOT; + f != NULL; + f = (struct httpd_fsdata_file_noconst *)f->next) { + + if(httpd_fs_strcmp(name, f->name) == 0) { + return count[i]; + } + ++i; + } + return 0; +} +#endif /* HTTPD_FS_STATISTICS */ +/*-----------------------------------------------------------------------------------*/ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs.h new file mode 100644 index 000000000..b594eea56 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs.h @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2001, Swedish Institute of Computer Science. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the Institute nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * This file is part of the lwIP TCP/IP stack. + * + * Author: Adam Dunkels + * + * $Id: httpd-fs.h,v 1.1 2006/06/07 09:13:08 adam Exp $ + */ +#ifndef __HTTPD_FS_H__ +#define __HTTPD_FS_H__ + +#define HTTPD_FS_STATISTICS 1 + +struct httpd_fs_file { + char *data; + int len; +}; + +/* file must be allocated by caller and will be filled in + by the function. */ +int httpd_fs_open(const char *name, struct httpd_fs_file *file); + +#ifdef HTTPD_FS_STATISTICS +#if HTTPD_FS_STATISTICS == 1 +u16_t httpd_fs_count(char *name); +#endif /* HTTPD_FS_STATISTICS */ +#endif /* HTTPD_FS_STATISTICS */ + +void httpd_fs_init(void); + +#endif /* __HTTPD_FS_H__ */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/404.html b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/404.html new file mode 100644 index 000000000..43e7f4cad --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/404.html @@ -0,0 +1,8 @@ + + +

+

404 - file not found

+

Go here instead.

+
+ + \ No newline at end of file diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/index.html b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/index.html new file mode 100644 index 000000000..4937dc69a --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/index.html @@ -0,0 +1,13 @@ + + + + FreeRTOS.org uIP WEB server demo + + + +Loading index.shtml. Click here if not automatically redirected. + + + + + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/index.shtml b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/index.shtml new file mode 100644 index 000000000..2f9a9fc65 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/index.shtml @@ -0,0 +1,20 @@ + + + + FreeRTOS.org uIP WEB server demo + + + +RTOS Stats | Connections | IO +

+


+

+

Task status

+This page shows dynamically generated task state information. The page will refresh evey 2 seconds.

+

Task          State  Priority  Stack	#
************************************************
+%! rtos-stats +
+
+ + + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/io.shtml b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/io.shtml new file mode 100644 index 000000000..ff8f31104 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/io.shtml @@ -0,0 +1,28 @@ + + + + FreeRTOS.org uIP WEB server demo + + + +RTOS Stats | Connections | IO +

+


+Dynamic IO demonstration
+ +

+This page demonstrates two way communication. By using the check box this WEB interface can influence the program execution.

+Use the check box and "Update IO button" to set the state of LED1. Refresh the page to display the state of LED1. + + +

+

+%! led-io +

+ +

+

+ + + + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/stats.shtml b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/stats.shtml new file mode 100644 index 000000000..d762f40d8 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/stats.shtml @@ -0,0 +1,41 @@ + + + + FreeRTOS.org uIP WEB server demo + + + +RTOS Stats | TCP Stats | Connections | FreeRTOS.org Homepage | IO +

+


+

+

Network statistics

+ +
+IP           Packets dropped
+             Packets received
+             Packets sent
+IP errors    IP version/header length
+             IP length, high byte
+             IP length, low byte
+             IP fragments
+             Header checksum
+             Wrong protocol
+ICMP	     Packets dropped
+             Packets received
+             Packets sent
+             Type errors
+TCP          Packets dropped
+             Packets received
+             Packets sent
+             Checksum errors
+             Data packets without ACKs
+             Resets
+             Retransmissions
+	     No connection avaliable
+	     Connection attempts to closed ports
+
%! net-stats
+
+
+ + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/tcp.shtml b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/tcp.shtml new file mode 100644 index 000000000..e9a143ee2 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fs/tcp.shtml @@ -0,0 +1,22 @@ + + + + FreeRTOS.org uIP WEB server demo + + + +RTOS Stats | Connections | IO +

+


+
+

Network connections

+This page displays dynamically generated status information on the TCP/IP connections. +

+ + +%! tcp-connections + + + + + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fsdata.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fsdata.c new file mode 100644 index 000000000..781b73404 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fsdata.c @@ -0,0 +1,445 @@ +static const char data_404_html[] = { + /* /404.html */ + 0x2f, 0x34, 0x30, 0x34, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0, + 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0x20, 0x20, 0x3c, + 0x62, 0x6f, 0x64, 0x79, 0x20, 0x62, 0x67, 0x63, 0x6f, 0x6c, + 0x6f, 0x72, 0x3d, 0x22, 0x77, 0x68, 0x69, 0x74, 0x65, 0x22, + 0x3e, 0xa, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x63, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x3e, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x3c, 0x68, 0x31, 0x3e, 0x34, 0x30, 0x34, 0x20, 0x2d, + 0x20, 0x66, 0x69, 0x6c, 0x65, 0x20, 0x6e, 0x6f, 0x74, 0x20, + 0x66, 0x6f, 0x75, 0x6e, 0x64, 0x3c, 0x2f, 0x68, 0x31, 0x3e, + 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3c, 0x68, 0x33, + 0x3e, 0x47, 0x6f, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, + 0x66, 0x3d, 0x22, 0x2f, 0x22, 0x3e, 0x68, 0x65, 0x72, 0x65, + 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x65, + 0x61, 0x64, 0x2e, 0x3c, 0x2f, 0x68, 0x33, 0x3e, 0xa, 0x20, + 0x20, 0x20, 0x20, 0x3c, 0x2f, 0x63, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x3e, 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x62, 0x6f, 0x64, + 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, +0}; + +static const char data_index_html[] = { + /* /index.html */ + 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0, + 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, + 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, + 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f, + 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20, + 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45, + 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, + 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, + 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34, + 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64, + 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, + 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20, + 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f, + 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42, + 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65, + 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x20, 0x6f, + 0x6e, 0x4c, 0x6f, 0x61, 0x64, 0x3d, 0x22, 0x77, 0x69, 0x6e, + 0x64, 0x6f, 0x77, 0x2e, 0x73, 0x65, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x28, 0x26, 0x71, 0x75, 0x6f, 0x74, + 0x3b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x68, 0x72, 0x65, 0x66, 0x3d, 0x27, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x27, 0x26, 0x71, + 0x75, 0x6f, 0x74, 0x3b, 0x2c, 0x31, 0x30, 0x30, 0x29, 0x22, + 0x3e, 0xa, 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61, + 0x63, 0x65, 0x3d, 0x22, 0x61, 0x72, 0x69, 0x61, 0x6c, 0x22, + 0x3e, 0xa, 0x4c, 0x6f, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x20, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, + 0x6c, 0x2e, 0x20, 0x20, 0x43, 0x6c, 0x69, 0x63, 0x6b, 0x20, + 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, + 0x22, 0x3e, 0x68, 0x65, 0x72, 0x65, 0x3c, 0x2f, 0x61, 0x3e, + 0x20, 0x69, 0x66, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x61, 0x75, + 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x6c, + 0x79, 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x65, 0x64, 0x2e, 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, + 0x3e, 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa, + 0x3c, 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f, + 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0xa, 0}; + +static const char data_index_shtml[] = { + /* /index.shtml */ + 0x2f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0, + 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, + 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, + 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f, + 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20, + 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45, + 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, + 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, + 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34, + 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64, + 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, + 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20, + 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f, + 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42, + 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65, + 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x20, 0x6f, + 0x6e, 0x4c, 0x6f, 0x61, 0x64, 0x3d, 0x22, 0x77, 0x69, 0x6e, + 0x64, 0x6f, 0x77, 0x2e, 0x73, 0x65, 0x74, 0x54, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x28, 0x26, 0x71, 0x75, 0x6f, 0x74, + 0x3b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x68, 0x72, 0x65, 0x66, 0x3d, 0x27, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x27, 0x26, 0x71, + 0x75, 0x6f, 0x74, 0x3b, 0x2c, 0x32, 0x30, 0x30, 0x30, 0x29, + 0x22, 0x3e, 0xa, 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, + 0x61, 0x63, 0x65, 0x3d, 0x22, 0x61, 0x72, 0x69, 0x61, 0x6c, + 0x22, 0x3e, 0xa, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, + 0x3d, 0x22, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, + 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x52, 0x54, 0x4f, 0x53, 0x20, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, + 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, + 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x74, 0x63, + 0x70, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, + 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, + 0x66, 0x3d, 0x22, 0x69, 0x6f, 0x2e, 0x73, 0x68, 0x74, 0x6d, + 0x6c, 0x22, 0x3e, 0x49, 0x4f, 0x3c, 0x2f, 0x61, 0x3e, 0xa, + 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x68, + 0x72, 0x3e, 0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70, 0x3e, + 0xa, 0x3c, 0x68, 0x32, 0x3e, 0x54, 0x61, 0x73, 0x6b, 0x20, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3c, 0x2f, 0x68, 0x32, + 0x3e, 0xa, 0x54, 0x68, 0x69, 0x73, 0x20, 0x70, 0x61, 0x67, + 0x65, 0x20, 0x73, 0x68, 0x6f, 0x77, 0x73, 0x20, 0x64, 0x79, + 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x61, 0x6c, 0x6c, 0x79, 0x20, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, + 0x74, 0x61, 0x73, 0x6b, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x20, 0x20, 0x54, 0x68, 0x65, 0x20, 0x70, + 0x61, 0x67, 0x65, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x72, + 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x20, 0x65, 0x76, 0x65, + 0x79, 0x20, 0x32, 0x20, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x2e, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x66, 0x6f, 0x6e, + 0x74, 0x20, 0x66, 0x61, 0x63, 0x65, 0x3d, 0x22, 0x63, 0x6f, + 0x75, 0x72, 0x69, 0x65, 0x72, 0x22, 0x3e, 0x3c, 0x70, 0x72, + 0x65, 0x3e, 0x54, 0x61, 0x73, 0x6b, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x20, 0x20, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, + 0x79, 0x20, 0x20, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x9, 0x23, + 0x3c, 0x62, 0x72, 0x3e, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, + 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, + 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, + 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, + 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, 0x2a, + 0x2a, 0x2a, 0x3c, 0x62, 0x72, 0x3e, 0xa, 0x25, 0x21, 0x20, + 0x72, 0x74, 0x6f, 0x73, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x73, + 0xa, 0x3c, 0x2f, 0x70, 0x72, 0x65, 0x3e, 0x3c, 0x2f, 0x66, + 0x6f, 0x6e, 0x74, 0x3e, 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, + 0x74, 0x3e, 0xa, 0x3c, 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, + 0xa, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0xa, +0}; + +static const char data_io_shtml[] = { + /* /io.shtml */ + 0x2f, 0x69, 0x6f, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0, + 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, + 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, + 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f, + 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20, + 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45, + 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, + 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, + 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34, + 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64, + 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, + 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20, + 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f, + 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42, + 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65, + 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x3e, 0xa, + 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61, 0x63, 0x65, + 0x3d, 0x22, 0x61, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x3e, 0xa, + 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, + 0x22, 0x3e, 0x52, 0x54, 0x4f, 0x53, 0x20, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, + 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, + 0x72, 0x65, 0x66, 0x3d, 0x22, 0x74, 0x63, 0x70, 0x2e, 0x73, + 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3c, 0x2f, 0x61, + 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, + 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, + 0x69, 0x6f, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, + 0x49, 0x4f, 0x3c, 0x2f, 0x61, 0x3e, 0xa, 0x3c, 0x62, 0x72, + 0x3e, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x68, 0x72, 0x3e, 0xa, + 0x3c, 0x62, 0x3e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, + 0x20, 0x49, 0x4f, 0x20, 0x64, 0x65, 0x6d, 0x6f, 0x6e, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3c, 0x2f, 0x62, + 0x3e, 0x3c, 0x62, 0x72, 0x3e, 0xa, 0xa, 0x3c, 0x70, 0x3e, + 0xa, 0x54, 0x68, 0x69, 0x73, 0x20, 0x70, 0x61, 0x67, 0x65, + 0x20, 0x64, 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x65, 0x73, 0x20, 0x74, 0x77, 0x6f, 0x20, 0x77, 0x61, + 0x79, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x20, 0x20, 0x42, 0x79, + 0x20, 0x75, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x20, 0x62, 0x6f, 0x78, + 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x57, 0x45, 0x42, 0x20, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x20, + 0x63, 0x61, 0x6e, 0x20, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x65, + 0x6e, 0x63, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x72, + 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x20, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x3c, 0x70, 0x3e, 0xa, + 0x55, 0x73, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x68, + 0x65, 0x63, 0x6b, 0x20, 0x62, 0x6f, 0x78, 0x20, 0x61, 0x6e, + 0x64, 0x20, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x20, + 0x49, 0x4f, 0x20, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x22, + 0x20, 0x74, 0x6f, 0x20, 0x73, 0x65, 0x74, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0x20, 0x6f, 0x66, + 0x20, 0x4c, 0x45, 0x44, 0x31, 0x2e, 0x20, 0x20, 0x52, 0x65, + 0x66, 0x72, 0x65, 0x73, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x70, 0x61, 0x67, 0x65, 0x20, 0x74, 0x6f, 0x20, 0x64, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x4c, + 0x45, 0x44, 0x31, 0x2e, 0xa, 0xa, 0xa, 0x3c, 0x70, 0x3e, + 0xa, 0x3c, 0x66, 0x6f, 0x72, 0x6d, 0x20, 0x6e, 0x61, 0x6d, + 0x65, 0x3d, 0x22, 0x61, 0x46, 0x6f, 0x72, 0x6d, 0x22, 0x20, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x2f, 0x69, + 0x6f, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x20, 0x6d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3d, 0x22, 0x67, 0x65, 0x74, + 0x22, 0x3e, 0xa, 0x25, 0x21, 0x20, 0x6c, 0x65, 0x64, 0x2d, + 0x69, 0x6f, 0xa, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x20, 0x74, 0x79, 0x70, 0x65, 0x3d, 0x22, + 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x22, 0x20, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x20, 0x49, 0x4f, 0x22, 0x3e, 0xa, 0x3c, 0x2f, 0x66, + 0x6f, 0x72, 0x6d, 0x3e, 0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, + 0x70, 0x3e, 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, + 0xa, 0x3c, 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, + 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0xa, 0}; + +static const char data_stats_shtml[] = { + /* /stats.shtml */ + 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0, + 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, + 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, + 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f, + 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20, + 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45, + 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, + 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, + 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34, + 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64, + 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, + 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20, + 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f, + 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42, + 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65, + 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x20, 0x62, + 0x67, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3d, 0x22, 0x23, 0x43, + 0x43, 0x43, 0x43, 0x66, 0x66, 0x22, 0x3e, 0xa, 0x3c, 0x66, + 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61, 0x63, 0x65, 0x3d, 0x22, + 0x61, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x3e, 0xa, 0x3c, 0x61, + 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, + 0x52, 0x54, 0x4f, 0x53, 0x20, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, + 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, + 0x66, 0x3d, 0x22, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x73, + 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x54, 0x43, 0x50, 0x20, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, + 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, + 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x74, 0x63, + 0x70, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, + 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, + 0x66, 0x3d, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, + 0x77, 0x77, 0x77, 0x2e, 0x66, 0x72, 0x65, 0x65, 0x72, 0x74, + 0x6f, 0x73, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x22, 0x3e, 0x46, + 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f, 0x72, + 0x67, 0x20, 0x48, 0x6f, 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, + 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, + 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, + 0x66, 0x3d, 0x22, 0x69, 0x6f, 0x2e, 0x73, 0x68, 0x74, 0x6d, + 0x6c, 0x22, 0x3e, 0x49, 0x4f, 0x3c, 0x2f, 0x61, 0x3e, 0xa, + 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x68, + 0x72, 0x3e, 0xa, 0x3c, 0x62, 0x72, 0x3e, 0x3c, 0x70, 0x3e, + 0xa, 0x3c, 0x68, 0x32, 0x3e, 0x4e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x20, 0x73, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, + 0x69, 0x63, 0x73, 0x3c, 0x2f, 0x68, 0x32, 0x3e, 0xa, 0x3c, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x77, 0x69, 0x64, 0x74, + 0x68, 0x3d, 0x22, 0x33, 0x30, 0x30, 0x22, 0x20, 0x62, 0x6f, + 0x72, 0x64, 0x65, 0x72, 0x3d, 0x22, 0x30, 0x22, 0x3e, 0xa, + 0x3c, 0x74, 0x72, 0x3e, 0x3c, 0x74, 0x64, 0x20, 0x61, 0x6c, + 0x69, 0x67, 0x6e, 0x3d, 0x22, 0x6c, 0x65, 0x66, 0x74, 0x22, + 0x3e, 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61, 0x63, + 0x65, 0x3d, 0x22, 0x63, 0x6f, 0x75, 0x72, 0x69, 0x65, 0x72, + 0x22, 0x3e, 0x3c, 0x70, 0x72, 0x65, 0x3e, 0xa, 0x49, 0x50, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x64, + 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0xa, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x72, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0xa, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x73, 0x65, + 0x6e, 0x74, 0xa, 0x49, 0x50, 0x20, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x73, 0x20, 0x20, 0x20, 0x20, 0x49, 0x50, 0x20, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x20, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, + 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x49, 0x50, 0x20, 0x6c, 0x65, 0x6e, + 0x67, 0x74, 0x68, 0x2c, 0x20, 0x68, 0x69, 0x67, 0x68, 0x20, + 0x62, 0x79, 0x74, 0x65, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x49, 0x50, + 0x20, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x2c, 0x20, 0x6c, + 0x6f, 0x77, 0x20, 0x62, 0x79, 0x74, 0x65, 0xa, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x49, 0x50, 0x20, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x20, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, + 0x75, 0x6d, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x57, 0x72, 0x6f, 0x6e, + 0x67, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0xa, 0x49, 0x43, 0x4d, 0x50, 0x9, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x64, + 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0xa, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x72, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0xa, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x73, 0x65, + 0x6e, 0x74, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x54, 0x79, 0x70, 0x65, + 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0xa, 0x54, 0x43, + 0x50, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x64, + 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0xa, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x72, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0xa, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x73, 0x65, + 0x6e, 0x74, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x73, 0x75, 0x6d, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x73, 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x20, 0x44, 0x61, 0x74, 0x61, 0x20, + 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x20, 0x77, 0x69, + 0x74, 0x68, 0x6f, 0x75, 0x74, 0x20, 0x41, 0x43, 0x4b, 0x73, + 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x52, 0x65, 0x73, 0x65, 0x74, 0x73, + 0xa, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, + 0x20, 0x20, 0x20, 0x20, 0x52, 0x65, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0xa, + 0x9, 0x20, 0x20, 0x20, 0x20, 0x20, 0x4e, 0x6f, 0x20, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, + 0x61, 0x76, 0x61, 0x6c, 0x69, 0x61, 0x62, 0x6c, 0x65, 0xa, + 0x9, 0x20, 0x20, 0x20, 0x20, 0x20, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x74, 0x74, + 0x65, 0x6d, 0x70, 0x74, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x63, + 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x20, 0x70, 0x6f, 0x72, 0x74, + 0x73, 0xa, 0x3c, 0x2f, 0x70, 0x72, 0x65, 0x3e, 0x3c, 0x2f, + 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0x3c, 0x2f, 0x74, 0x64, 0x3e, + 0x3c, 0x74, 0x64, 0x3e, 0x3c, 0x70, 0x72, 0x65, 0x3e, 0x25, + 0x21, 0x20, 0x6e, 0x65, 0x74, 0x2d, 0x73, 0x74, 0x61, 0x74, + 0x73, 0xa, 0x3c, 0x2f, 0x70, 0x72, 0x65, 0x3e, 0x3c, 0x2f, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3e, 0xa, 0x3c, 0x2f, 0x66, + 0x6f, 0x6e, 0x74, 0x3e, 0xa, 0x3c, 0x2f, 0x62, 0x6f, 0x64, + 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, + 0xa, 0}; + +static const char data_tcp_shtml[] = { + /* /tcp.shtml */ + 0x2f, 0x74, 0x63, 0x70, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0, + 0x3c, 0x21, 0x44, 0x4f, 0x43, 0x54, 0x59, 0x50, 0x45, 0x20, + 0x48, 0x54, 0x4d, 0x4c, 0x20, 0x50, 0x55, 0x42, 0x4c, 0x49, + 0x43, 0x20, 0x22, 0x2d, 0x2f, 0x2f, 0x57, 0x33, 0x43, 0x2f, + 0x2f, 0x44, 0x54, 0x44, 0x20, 0x48, 0x54, 0x4d, 0x4c, 0x20, + 0x34, 0x2e, 0x30, 0x31, 0x20, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x2f, 0x45, + 0x4e, 0x22, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, + 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, + 0x67, 0x2f, 0x54, 0x52, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x34, + 0x2f, 0x6c, 0x6f, 0x6f, 0x73, 0x65, 0x2e, 0x64, 0x74, 0x64, + 0x22, 0x3e, 0xa, 0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0xa, + 0x20, 0x20, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0xa, 0x20, + 0x20, 0x20, 0x20, 0x3c, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0x46, 0x72, 0x65, 0x65, 0x52, 0x54, 0x4f, 0x53, 0x2e, 0x6f, + 0x72, 0x67, 0x20, 0x75, 0x49, 0x50, 0x20, 0x57, 0x45, 0x42, + 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x64, 0x65, + 0x6d, 0x6f, 0x3c, 0x2f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, + 0xa, 0x20, 0x20, 0x3c, 0x42, 0x4f, 0x44, 0x59, 0x3e, 0xa, + 0x3c, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x66, 0x61, 0x63, 0x65, + 0x3d, 0x22, 0x61, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x3e, 0xa, + 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, + 0x22, 0x3e, 0x52, 0x54, 0x4f, 0x53, 0x20, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x3c, 0x2f, 0x61, 0x3e, 0x20, 0x3c, 0x62, 0x3e, + 0x7c, 0x3c, 0x2f, 0x62, 0x3e, 0x20, 0x3c, 0x61, 0x20, 0x68, + 0x72, 0x65, 0x66, 0x3d, 0x22, 0x74, 0x63, 0x70, 0x2e, 0x73, + 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3c, 0x2f, 0x61, + 0x3e, 0x20, 0x3c, 0x62, 0x3e, 0x7c, 0x3c, 0x2f, 0x62, 0x3e, + 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x22, + 0x69, 0x6f, 0x2e, 0x73, 0x68, 0x74, 0x6d, 0x6c, 0x22, 0x3e, + 0x49, 0x4f, 0x3c, 0x2f, 0x61, 0x3e, 0xa, 0x3c, 0x62, 0x72, + 0x3e, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x68, 0x72, 0x3e, 0xa, + 0x3c, 0x62, 0x72, 0x3e, 0xa, 0x3c, 0x68, 0x32, 0x3e, 0x4e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x20, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3c, 0x2f, + 0x68, 0x32, 0x3e, 0xa, 0x54, 0x68, 0x69, 0x73, 0x20, 0x70, + 0x61, 0x67, 0x65, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, + 0x79, 0x73, 0x20, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, + 0x61, 0x6c, 0x6c, 0x79, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x54, 0x43, 0x50, 0x2f, 0x49, 0x50, 0x20, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0xa, 0x3c, 0x70, 0x3e, 0xa, 0x3c, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x3e, 0xa, 0x3c, 0x74, 0x72, 0x3e, 0x3c, 0x74, 0x68, + 0x3e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x3c, 0x2f, 0x74, 0x68, + 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x3c, 0x2f, 0x74, 0x68, 0x3e, 0x3c, 0x74, 0x68, 0x3e, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x3c, 0x2f, 0x74, 0x68, 0x3e, + 0x3c, 0x74, 0x68, 0x3e, 0x52, 0x65, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3c, + 0x2f, 0x74, 0x68, 0x3e, 0x3c, 0x74, 0x68, 0x3e, 0x54, 0x69, + 0x6d, 0x65, 0x72, 0x3c, 0x2f, 0x74, 0x68, 0x3e, 0x3c, 0x74, + 0x68, 0x3e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x3c, 0x2f, 0x74, + 0x68, 0x3e, 0x3c, 0x2f, 0x74, 0x72, 0x3e, 0xa, 0x25, 0x21, + 0x20, 0x74, 0x63, 0x70, 0x2d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0xa, 0x3c, 0x2f, 0x70, + 0x72, 0x65, 0x3e, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, + 0xa, 0x3c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x3e, 0xa, 0x3c, + 0x2f, 0x62, 0x6f, 0x64, 0x79, 0x3e, 0xa, 0x3c, 0x2f, 0x68, + 0x74, 0x6d, 0x6c, 0x3e, 0xa, 0xa, 0}; + +const struct httpd_fsdata_file file_404_html[] = {{NULL, data_404_html, data_404_html + 10, sizeof(data_404_html) - 10}}; + +const struct httpd_fsdata_file file_index_html[] = {{file_404_html, data_index_html, data_index_html + 12, sizeof(data_index_html) - 12}}; + +const struct httpd_fsdata_file file_index_shtml[] = {{file_index_html, data_index_shtml, data_index_shtml + 13, sizeof(data_index_shtml) - 13}}; + +const struct httpd_fsdata_file file_io_shtml[] = {{file_index_shtml, data_io_shtml, data_io_shtml + 10, sizeof(data_io_shtml) - 10}}; + +const struct httpd_fsdata_file file_stats_shtml[] = {{file_io_shtml, data_stats_shtml, data_stats_shtml + 13, sizeof(data_stats_shtml) - 13}}; + +const struct httpd_fsdata_file file_tcp_shtml[] = {{file_stats_shtml, data_tcp_shtml, data_tcp_shtml + 11, sizeof(data_tcp_shtml) - 11}}; + +#define HTTPD_FS_ROOT file_tcp_shtml + +#define HTTPD_FS_NUMFILES 6 diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fsdata.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fsdata.h new file mode 100644 index 000000000..52d35c265 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd-fsdata.h @@ -0,0 +1,64 @@ +/* + * Copyright (c) 2001, Swedish Institute of Computer Science. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the Institute nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * This file is part of the lwIP TCP/IP stack. + * + * Author: Adam Dunkels + * + * $Id: httpd-fsdata.h,v 1.1 2006/06/07 09:13:08 adam Exp $ + */ +#ifndef __HTTPD_FSDATA_H__ +#define __HTTPD_FSDATA_H__ + +#include "uip.h" + +struct httpd_fsdata_file { + const struct httpd_fsdata_file *next; + const char *name; + const char *data; + const int len; +#ifdef HTTPD_FS_STATISTICS +#if HTTPD_FS_STATISTICS == 1 + u16_t count; +#endif /* HTTPD_FS_STATISTICS */ +#endif /* HTTPD_FS_STATISTICS */ +}; + +struct httpd_fsdata_file_noconst { + struct httpd_fsdata_file *next; + char *name; + char *data; + int len; +#ifdef HTTPD_FS_STATISTICS +#if HTTPD_FS_STATISTICS == 1 + u16_t count; +#endif /* HTTPD_FS_STATISTICS */ +#endif /* HTTPD_FS_STATISTICS */ +}; + +#endif /* __HTTPD_FSDATA_H__ */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd.c new file mode 100644 index 000000000..644cf16b7 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd.c @@ -0,0 +1,346 @@ +/** + * \addtogroup apps + * @{ + */ + +/** + * \defgroup httpd Web server + * @{ + * The uIP web server is a very simplistic implementation of an HTTP + * server. It can serve web pages and files from a read-only ROM + * filesystem, and provides a very small scripting language. + + */ + +/** + * \file + * Web server + * \author + * Adam Dunkels + */ + + +/* + * Copyright (c) 2004, Adam Dunkels. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the Institute nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * This file is part of the uIP TCP/IP stack. + * + * Author: Adam Dunkels + * + * $Id: httpd.c,v 1.2 2006/06/11 21:46:38 adam Exp $ + */ + +#include "uip.h" +#include "httpd.h" +#include "httpd-fs.h" +#include "httpd-cgi.h" +#include "http-strings.h" + +#include + +#define STATE_WAITING 0 +#define STATE_OUTPUT 1 + +#define ISO_nl 0x0a +#define ISO_space 0x20 +#define ISO_bang 0x21 +#define ISO_percent 0x25 +#define ISO_period 0x2e +#define ISO_slash 0x2f +#define ISO_colon 0x3a + + +/*---------------------------------------------------------------------------*/ +static unsigned short +generate_part_of_file(void *state) +{ + struct httpd_state *s = (struct httpd_state *)state; + + if(s->file.len > uip_mss()) { + s->len = uip_mss(); + } else { + s->len = s->file.len; + } + memcpy(uip_appdata, s->file.data, s->len); + + return s->len; +} +/*---------------------------------------------------------------------------*/ +static +PT_THREAD(send_file(struct httpd_state *s)) +{ + PSOCK_BEGIN(&s->sout); + + do { + PSOCK_GENERATOR_SEND(&s->sout, generate_part_of_file, s); + s->file.len -= s->len; + s->file.data += s->len; + } while(s->file.len > 0); + + PSOCK_END(&s->sout); +} +/*---------------------------------------------------------------------------*/ +static +PT_THREAD(send_part_of_file(struct httpd_state *s)) +{ + PSOCK_BEGIN(&s->sout); + + PSOCK_SEND(&s->sout, s->file.data, s->len); + + PSOCK_END(&s->sout); +} +/*---------------------------------------------------------------------------*/ +static void +next_scriptstate(struct httpd_state *s) +{ + char *p; + p = strchr(s->scriptptr, ISO_nl) + 1; + s->scriptlen -= (unsigned short)(p - s->scriptptr); + s->scriptptr = p; +} +/*---------------------------------------------------------------------------*/ +static +PT_THREAD(handle_script(struct httpd_state *s)) +{ + char *ptr; + + PT_BEGIN(&s->scriptpt); + + + while(s->file.len > 0) { + + /* Check if we should start executing a script. */ + if(*s->file.data == ISO_percent && + *(s->file.data + 1) == ISO_bang) { + s->scriptptr = s->file.data + 3; + s->scriptlen = s->file.len - 3; + if(*(s->scriptptr - 1) == ISO_colon) { + httpd_fs_open(s->scriptptr + 1, &s->file); + PT_WAIT_THREAD(&s->scriptpt, send_file(s)); + } else { + PT_WAIT_THREAD(&s->scriptpt, + httpd_cgi(s->scriptptr)(s, s->scriptptr)); + } + next_scriptstate(s); + + /* The script is over, so we reset the pointers and continue + sending the rest of the file. */ + s->file.data = s->scriptptr; + s->file.len = s->scriptlen; + } else { + /* See if we find the start of script marker in the block of HTML + to be sent. */ + + if(s->file.len > uip_mss()) { + s->len = uip_mss(); + } else { + s->len = s->file.len; + } + + if(*s->file.data == ISO_percent) { + ptr = strchr(s->file.data + 1, ISO_percent); + } else { + ptr = strchr(s->file.data, ISO_percent); + } + if(ptr != NULL && + ptr != s->file.data) { + s->len = (int)(ptr - s->file.data); + if(s->len >= uip_mss()) { + s->len = uip_mss(); + } + } + PT_WAIT_THREAD(&s->scriptpt, send_part_of_file(s)); + s->file.data += s->len; + s->file.len -= s->len; + + } + } + + PT_END(&s->scriptpt); +} +/*---------------------------------------------------------------------------*/ +static +PT_THREAD(send_headers(struct httpd_state *s, const char *statushdr)) +{ + char *ptr; + + PSOCK_BEGIN(&s->sout); + + PSOCK_SEND_STR(&s->sout, statushdr); + + ptr = strrchr(s->filename, ISO_period); + if(ptr == NULL) { + PSOCK_SEND_STR(&s->sout, http_content_type_binary); + } else if(strncmp(http_html, ptr, 5) == 0 || + strncmp(http_shtml, ptr, 6) == 0) { + PSOCK_SEND_STR(&s->sout, http_content_type_html); + } else if(strncmp(http_css, ptr, 4) == 0) { + PSOCK_SEND_STR(&s->sout, http_content_type_css); + } else if(strncmp(http_png, ptr, 4) == 0) { + PSOCK_SEND_STR(&s->sout, http_content_type_png); + } else if(strncmp(http_gif, ptr, 4) == 0) { + PSOCK_SEND_STR(&s->sout, http_content_type_gif); + } else if(strncmp(http_jpg, ptr, 4) == 0) { + PSOCK_SEND_STR(&s->sout, http_content_type_jpg); + } else { + PSOCK_SEND_STR(&s->sout, http_content_type_plain); + } + PSOCK_END(&s->sout); +} +/*---------------------------------------------------------------------------*/ +static +PT_THREAD(handle_output(struct httpd_state *s)) +{ + char *ptr; + + PT_BEGIN(&s->outputpt); + + if(!httpd_fs_open(s->filename, &s->file)) { + httpd_fs_open(http_404_html, &s->file); + strcpy(s->filename, http_404_html); + PT_WAIT_THREAD(&s->outputpt, + send_headers(s, + http_header_404)); + PT_WAIT_THREAD(&s->outputpt, + send_file(s)); + } else { + PT_WAIT_THREAD(&s->outputpt, + send_headers(s, + http_header_200)); + ptr = strchr(s->filename, ISO_period); + if(ptr != NULL && strncmp(ptr, http_shtml, 6) == 0) { + PT_INIT(&s->scriptpt); + PT_WAIT_THREAD(&s->outputpt, handle_script(s)); + } else { + PT_WAIT_THREAD(&s->outputpt, + send_file(s)); + } + } + PSOCK_CLOSE(&s->sout); + PT_END(&s->outputpt); +} +/*---------------------------------------------------------------------------*/ +static +PT_THREAD(handle_input(struct httpd_state *s)) +{ + PSOCK_BEGIN(&s->sin); + + PSOCK_READTO(&s->sin, ISO_space); + + + if(strncmp(s->inputbuf, http_get, 4) != 0) { + PSOCK_CLOSE_EXIT(&s->sin); + } + PSOCK_READTO(&s->sin, ISO_space); + + if(s->inputbuf[0] != ISO_slash) { + PSOCK_CLOSE_EXIT(&s->sin); + } + + if(s->inputbuf[1] == ISO_space) { + strncpy(s->filename, http_index_html, sizeof(s->filename)); + } else { + + s->inputbuf[PSOCK_DATALEN(&s->sin) - 1] = 0; + + /* Process any form input being sent to the server. */ + { + extern void vApplicationProcessFormInput( char *pcInputString, long xInputLength ); + vApplicationProcessFormInput( s->inputbuf, PSOCK_DATALEN(&s->sin) ); + } + + strncpy(s->filename, &s->inputbuf[0], sizeof(s->filename)); + } + + /* httpd_log_file(uip_conn->ripaddr, s->filename);*/ + + s->state = STATE_OUTPUT; + + while(1) { + PSOCK_READTO(&s->sin, ISO_nl); + + if(strncmp(s->inputbuf, http_referer, 8) == 0) { + s->inputbuf[PSOCK_DATALEN(&s->sin) - 2] = 0; + /* httpd_log(&s->inputbuf[9]);*/ + } + } + + PSOCK_END(&s->sin); +} +/*---------------------------------------------------------------------------*/ +static void +handle_connection(struct httpd_state *s) +{ + handle_input(s); + if(s->state == STATE_OUTPUT) { + handle_output(s); + } +} +/*---------------------------------------------------------------------------*/ +void +httpd_appcall(void) +{ + struct httpd_state *s = (struct httpd_state *)&(uip_conn->appstate); + + if(uip_closed() || uip_aborted() || uip_timedout()) { + } else if(uip_connected()) { + PSOCK_INIT(&s->sin, s->inputbuf, sizeof(s->inputbuf) - 1); + PSOCK_INIT(&s->sout, s->inputbuf, sizeof(s->inputbuf) - 1); + PT_INIT(&s->outputpt); + s->state = STATE_WAITING; + /* timer_set(&s->timer, CLOCK_SECOND * 100);*/ + s->timer = 0; + handle_connection(s); + } else if(s != NULL) { + if(uip_poll()) { + ++s->timer; + if(s->timer >= 20) { + uip_abort(); + } + } else { + s->timer = 0; + } + handle_connection(s); + } else { + uip_abort(); + } +} +/*---------------------------------------------------------------------------*/ +/** + * \brief Initialize the web server + * + * This function initializes the web server and should be + * called at system boot-up. + */ +void +httpd_init(void) +{ + uip_listen(HTONS(80)); +} +/*---------------------------------------------------------------------------*/ +/** @} */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd.h new file mode 100644 index 000000000..7f7a6666e --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/httpd.h @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2001-2005, Adam Dunkels. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * This file is part of the uIP TCP/IP stack. + * + * $Id: httpd.h,v 1.2 2006/06/11 21:46:38 adam Exp $ + * + */ + +#ifndef __HTTPD_H__ +#define __HTTPD_H__ + +#include "psock.h" +#include "httpd-fs.h" + +struct httpd_state { + unsigned char timer; + struct psock sin, sout; + struct pt outputpt, scriptpt; + char inputbuf[50]; + char filename[20]; + char state; + struct httpd_fs_file file; + int len; + char *scriptptr; + int scriptlen; + + unsigned short count; +}; + +void httpd_init(void); +void httpd_appcall(void); + +void httpd_log(char *msg); +void httpd_log_file(u16_t *requester, char *file); + +#endif /* __HTTPD_H__ */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/makefsdata b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/makefsdata new file mode 100644 index 000000000..d4bc8bf79 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/makefsdata @@ -0,0 +1,78 @@ +#!/usr/bin/perl + +open(OUTPUT, "> httpd-fsdata.c"); + +chdir("httpd-fs"); + +opendir(DIR, "."); +@files = grep { !/^\./ && !/(CVS|~)/ } readdir(DIR); +closedir(DIR); + +foreach $file (@files) { + + if(-d $file && $file !~ /^\./) { + print "Processing directory $file\n"; + opendir(DIR, $file); + @newfiles = grep { !/^\./ && !/(CVS|~)/ } readdir(DIR); + closedir(DIR); + printf "Adding files @newfiles\n"; + @files = (@files, map { $_ = "$file/$_" } @newfiles); + next; + } +} + +foreach $file (@files) { + if(-f $file) { + + print "Adding file $file\n"; + + open(FILE, $file) || die "Could not open file $file\n"; + + $file =~ s-^-/-; + $fvar = $file; + $fvar =~ s-/-_-g; + $fvar =~ s-\.-_-g; + # for AVR, add PROGMEM here + print(OUTPUT "static const char data".$fvar."[] = {\n"); + print(OUTPUT "\t/* $file */\n\t"); + for($j = 0; $j < length($file); $j++) { + printf(OUTPUT "%#02x, ", unpack("C", substr($file, $j, 1))); + } + printf(OUTPUT "0,\n"); + + + $i = 0; + while(read(FILE, $data, 1)) { + if($i == 0) { + print(OUTPUT "\t"); + } + printf(OUTPUT "%#02x, ", unpack("C", $data)); + $i++; + if($i == 10) { + print(OUTPUT "\n"); + $i = 0; + } + } + print(OUTPUT "0};\n\n"); + close(FILE); + push(@fvars, $fvar); + push(@pfiles, $file); + } +} + +for($i = 0; $i < @fvars; $i++) { + $file = $pfiles[$i]; + $fvar = $fvars[$i]; + + if($i == 0) { + $prevfile = "NULL"; + } else { + $prevfile = "file" . $fvars[$i - 1]; + } + print(OUTPUT "const struct httpd_fsdata_file file".$fvar."[] = {{$prevfile, data$fvar, "); + print(OUTPUT "data$fvar + ". (length($file) + 1) .", "); + print(OUTPUT "sizeof(data$fvar) - ". (length($file) + 1) ."}};\n\n"); +} + +print(OUTPUT "#define HTTPD_FS_ROOT file$fvars[$i - 1]\n\n"); +print(OUTPUT "#define HTTPD_FS_NUMFILES $i\n"); diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/makestrings b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/makestrings new file mode 100644 index 000000000..8a13c6d29 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/makestrings @@ -0,0 +1,40 @@ +#!/usr/bin/perl + + +sub stringify { + my $name = shift(@_); + open(OUTPUTC, "> $name.c"); + open(OUTPUTH, "> $name.h"); + + open(FILE, "$name"); + + while() { + if(/(.+) "(.+)"/) { + $var = $1; + $data = $2; + + $datan = $data; + $datan =~ s/\\r/\r/g; + $datan =~ s/\\n/\n/g; + $datan =~ s/\\01/\01/g; + $datan =~ s/\\0/\0/g; + + printf(OUTPUTC "const char $var\[%d] = \n", length($datan) + 1); + printf(OUTPUTC "/* \"$data\" */\n"); + printf(OUTPUTC "{"); + for($j = 0; $j < length($datan); $j++) { + printf(OUTPUTC "%#02x, ", unpack("C", substr($datan, $j, 1))); + } + printf(OUTPUTC "};\n"); + + printf(OUTPUTH "extern const char $var\[%d];\n", length($datan) + 1); + + } + } + close(OUTPUTC); + close(OUTPUTH); +} +stringify("http-strings"); + +exit 0; + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/pack_struct_end.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/pack_struct_end.h new file mode 100644 index 000000000..13ce031bf --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/pack_struct_end.h @@ -0,0 +1 @@ +#pragma pack() diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/pack_struct_start.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/pack_struct_start.h new file mode 100644 index 000000000..5e9b48c63 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/pack_struct_start.h @@ -0,0 +1 @@ +#pragma pack(1) diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/uIP_Task.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/uIP_Task.c new file mode 100644 index 000000000..2432245a7 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/uIP_Task.c @@ -0,0 +1,225 @@ +/* + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. + + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License (version 2) as published + by the Free Software Foundation and modified by the FreeRTOS exception. + **NOTE** The exception to the GPL is included to allow you to distribute a + combined work that includes FreeRTOS.org without being obliged to provide + the source code for any proprietary components. Alternative commercial + license and support terms are also available upon request. See the + licensing section of http://www.FreeRTOS.org for full details. + + FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59 + Temple Place, Suite 330, Boston, MA 02111-1307 USA. + + + *************************************************************************** + * * + * Get the FreeRTOS eBook! See http://www.FreeRTOS.org/Documentation * + * * + * This is a concise, step by step, 'hands on' guide that describes both * + * general multitasking concepts and FreeRTOS specifics. It presents and * + * explains numerous examples that are written using the FreeRTOS API. * + * Full source code for all the examples is provided in an accompanying * + * .zip file. * + * * + *************************************************************************** + + 1 tab == 4 spaces! + + Please ensure to read the configuration and relevant port sections of the + online documentation. + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +/* Standard includes. */ +#include + +/* Scheduler includes. */ +#include "FreeRTOS.h" +#include "task.h" +#include "semphr.h" + +/* uip includes. */ +#include "uip.h" +#include "uip_arp.h" +#include "httpd.h" +#include "timer.h" +#include "clock-arch.h" +#include "timer.h" + +/* Demo includes. */ +#include "FEC.h" +#include "partest.h" + +/*-----------------------------------------------------------*/ + +/* Shortcut to the header within the Rx buffer. */ +#define xHeader ((struct uip_eth_hdr *) &uip_buf[ 0 ]) + +/*-----------------------------------------------------------*/ + +/* + * Port functions required by the uIP stack. + */ +clock_time_t clock_time( void ); + +/*-----------------------------------------------------------*/ + +/* The semaphore used by the ISR to wake the uIP task. */ +extern xSemaphoreHandle xFECSemaphore; + +/*-----------------------------------------------------------*/ + +clock_time_t clock_time( void ) +{ + return xTaskGetTickCount(); +} + + +void vuIP_Task( void *pvParameters ) +{ +portBASE_TYPE i; +uip_ipaddr_t xIPAddr; +struct timer periodic_timer, arp_timer; +extern void ( vEMAC_ISR )( void ); + + /* Just to get rid of the compiler warning. */ + ( void ) pvParameters; + + /* Enable/Reset the Ethernet Controller */ + + /* Create the semaphore used by the ISR to wake this task. */ + vSemaphoreCreateBinary( xFECSemaphore ); + + /* Initialise the uIP stack. */ + timer_set( &periodic_timer, configTICK_RATE_HZ / 2 ); + timer_set( &arp_timer, configTICK_RATE_HZ * 10 ); + uip_init(); + uip_ipaddr( xIPAddr, configIP_ADDR0, configIP_ADDR1, configIP_ADDR2, configIP_ADDR3 ); + uip_sethostaddr( xIPAddr ); + uip_ipaddr( xIPAddr, configNET_MASK0, configNET_MASK1, configNET_MASK2, configNET_MASK3 ); + uip_setnetmask( xIPAddr ); + httpd_init(); + + vInitFEC(); + + for( ;; ) + { + /* Is there received data ready to be processed? */ + uip_len = ( unsigned short ) ulFECRx(); + + if( ( uip_len > 0 ) && ( uip_buf != NULL ) ) + { + /* Standard uIP loop taken from the uIP manual. */ + + if( xHeader->type == htons( UIP_ETHTYPE_IP ) ) + { + uip_arp_ipin(); + uip_input(); + + /* If the above function invocation resulted in data that + should be sent out on the network, the global variable + uip_len is set to a value > 0. */ + if( uip_len > 0 ) + { + uip_arp_out(); + vFECTx(); + } + } + else if( xHeader->type == htons( UIP_ETHTYPE_ARP ) ) + { + uip_arp_arpin(); + + /* If the above function invocation resulted in data that + should be sent out on the network, the global variable + uip_len is set to a value > 0. */ + if( uip_len > 0 ) + { + vFECTx(); + } + } + } + else + { + if( ( timer_expired( &periodic_timer ) ) && ( uip_buf != NULL ) ) + { + timer_reset( &periodic_timer ); + for( i = 0; i < UIP_CONNS; i++ ) + { + uip_periodic( i ); + + /* If the above function invocation resulted in data that + should be sent out on the network, the global variable + uip_len is set to a value > 0. */ + if( uip_len > 0 ) + { + uip_arp_out(); + vFECTx(); + } + } + + /* Call the ARP timer function every 10 seconds. */ + if( timer_expired( &arp_timer ) ) + { + timer_reset( &arp_timer ); + uip_arp_timer(); + } + } + else + { + /* We did not receive a packet, and there was no periodic + processing to perform. Block for a fixed period. If a packet + is received during this period we will be woken by the ISR + giving us the Semaphore. */ + xSemaphoreTake( xFECSemaphore, configTICK_RATE_HZ / 2 ); + } + } + } +} +/*-----------------------------------------------------------*/ + +void vApplicationProcessFormInput( portCHAR *pcInputString, portBASE_TYPE xInputLength ) +{ +char *c; + + /* Just to get rid of the compiler warning - other ports/demos use the parameter. */ + ( void ) xInputLength; + + /* Process the form input sent by the IO page of the served HTML. */ + + c = strstr( pcInputString, "?" ); + + if( c ) + { + /* Turn LED's on or off in accordance with the check box status. */ + if( strstr( c, "LED3=1" ) != NULL ) + { + /* Turn LED 3 on. */ + vParTestSetLED( 3, 1 ); + } + else + { + /* Turn LED 3 off. */ + vParTestSetLED( 3, 0 ); + } + } +} + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/uip-conf.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/uip-conf.h new file mode 100644 index 000000000..16d99231f --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/uip-conf.h @@ -0,0 +1,163 @@ +/** + * \addtogroup uipopt + * @{ + */ + +/** + * \name Project-specific configuration options + * @{ + * + * uIP has a number of configuration options that can be overridden + * for each project. These are kept in a project-specific uip-conf.h + * file and all configuration names have the prefix UIP_CONF. + */ + +/* + * Copyright (c) 2006, Swedish Institute of Computer Science. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the Institute nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * This file is part of the uIP TCP/IP stack + * + * $Id: uip-conf.h,v 1.6 2006/06/12 08:00:31 adam Exp $ + */ + +/** + * \file + * An example uIP configuration file + * \author + * Adam Dunkels + */ + +#ifndef __UIP_CONF_H__ +#define __UIP_CONF_H__ + +#include + +/** + * 8 bit datatype + * + * This typedef defines the 8-bit type used throughout uIP. + * + * \hideinitializer + */ +typedef uint8_t u8_t; + +/** + * 16 bit datatype + * + * This typedef defines the 16-bit type used throughout uIP. + * + * \hideinitializer + */ +typedef uint16_t u16_t; + +/** + * Statistics datatype + * + * This typedef defines the dataype used for keeping statistics in + * uIP. + * + * \hideinitializer + */ +typedef unsigned short uip_stats_t; + +/** + * Maximum number of TCP connections. + * + * \hideinitializer + */ +#define UIP_CONF_MAX_CONNECTIONS 15 + +/** + * Maximum number of listening TCP ports. + * + * \hideinitializer + */ +#define UIP_CONF_MAX_LISTENPORTS 2 + +/** + * uIP buffer size. + * + * \hideinitializer + */ +#define UIP_CONF_BUFFER_SIZE 1480 + +/** + * CPU byte order. + * + * \hideinitializer + */ +#define UIP_CONF_BYTE_ORDER UIP_BIG_ENDIAN + +/** + * Logging on or off + * + * \hideinitializer + */ +#define UIP_CONF_LOGGING 0 + +/** + * UDP support on or off + * + * \hideinitializer + */ +#define UIP_CONF_UDP 0 + +/** + * UDP checksums on or off + * + * \hideinitializer + */ +#define UIP_CONF_UDP_CHECKSUMS 1 + +/** + * uIP statistics on or off + * + * \hideinitializer + */ +#define UIP_CONF_STATISTICS 1 + + +/* Here we include the header file for the application(s) we use in + our project. */ +/*#include "smtp.h"*/ +/*#include "hello-world.h"*/ +/*#include "telnetd.h"*/ +#include "webserver.h" +/*#include "dhcpc.h"*/ +/*#include "resolv.h"*/ +/*#include "webclient.h"*/ + +#define UIP_CONF_EXTERNAL_BUFFER + +#define PACK_STRUCT_START +#define PACK_STRUCT_END + +#endif /* __UIP_CONF_H__ */ + +/** @} */ +/** @} */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/webserver.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/webserver.h new file mode 100644 index 000000000..1acb290b8 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/httpd/webserver.h @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2002, Adam Dunkels. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * This file is part of the uIP TCP/IP stack + * + * $Id: webserver.h,v 1.2 2006/06/11 21:46:38 adam Exp $ + * + */ +#ifndef __WEBSERVER_H__ +#define __WEBSERVER_H__ + +#include "httpd.h" + +typedef struct httpd_state uip_tcp_appstate_t; +/* UIP_APPCALL: the name of the application function. This function + must return void and take no arguments (i.e., C type "void + appfunc(void)"). */ +#ifndef UIP_APPCALL +#define UIP_APPCALL httpd_appcall +#endif + + +#endif /* __WEBSERVER_H__ */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/main.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/main.c new file mode 100644 index 000000000..ef6aef911 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/main.c @@ -0,0 +1,441 @@ +/* + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. + + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License (version 2) as published + by the Free Software Foundation and modified by the FreeRTOS exception. + **NOTE** The exception to the GPL is included to allow you to distribute a + combined work that includes FreeRTOS.org without being obliged to provide + the source code for any proprietary components. Alternative commercial + license and support terms are also available upon request. See the + licensing section of http://www.FreeRTOS.org for full details. + + FreeRTOS.org is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with FreeRTOS.org; if not, write to the Free Software Foundation, Inc., 59 + Temple Place, Suite 330, Boston, MA 02111-1307 USA. + + + *************************************************************************** + * * + * Get the FreeRTOS eBook! See http://www.FreeRTOS.org/Documentation * + * * + * This is a concise, step by step, 'hands on' guide that describes both * + * general multitasking concepts and FreeRTOS specifics. It presents and * + * explains numerous examples that are written using the FreeRTOS API. * + * Full source code for all the examples is provided in an accompanying * + * .zip file. * + * * + *************************************************************************** + + 1 tab == 4 spaces! + + Please ensure to read the configuration and relevant port sections of the + online documentation. + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + + +/* + * Creates all the demo application tasks, then starts the scheduler. The WEB + * documentation provides more details of the standard demo application tasks. + * In addition to the standard demo tasks, the following tasks and tests are + * defined and/or created within this file: + * + * "Web server" - Very basic demonstration of the uIP stack. The WEB server + * simply generates a page that shows the current state of all the tasks within + * the system, including the high water mark of each task stack. The high water + * mark is displayed as the amount of stack that has never been used, so the + * closer the value is to zero the closer the task has come to overflowing its + * stack. The IP address and net mask are set within FreeRTOSConfig.h. Sub + * pages display some TCP/IP status information and permit LED3 to be turned on + * and off using a check box. + * + * Tick hook function that implements a "Check" function - This is executed + * every 5 seconds from the tick hook function. It checks to ensure that all + * the standard demo tasks are still operational and running without error. + * The system status (pass/fail) is then displayed underneith the task table on + * the served WEB pages. + * + * "Reg test" tasks - These fill the registers with known values, then check + * that each register still contains its expected value. Each task uses + * different values. The tasks run with very low priority so get preempted very + * frequently. A register containing an unexpected value is indicative of an + * error in the context switching mechanism. + * + */ + +/* Standard includes. */ +#include + +/* Scheduler includes. */ +#include "FreeRTOS.h" +#include "task.h" +#include "queue.h" +#include "semphr.h" + +/* Demo app includes. */ +#include "BlockQ.h" +#include "death.h" +#include "flash.h" +#include "partest.h" +#include "GenQTest.h" +#include "QPeek.h" +#include "recmutex.h" + +/*-----------------------------------------------------------*/ + +/* ComTest constants - there is no free LED for the comtest tasks. */ +#define mainCOM_TEST_BAUD_RATE ( ( unsigned portLONG ) 19200 ) +#define mainCOM_TEST_LED ( 5 ) + +/* Task priorities. */ +#define mainQUEUE_POLL_PRIORITY ( tskIDLE_PRIORITY + 2 ) +#define mainCHECK_TASK_PRIORITY ( tskIDLE_PRIORITY + 3 ) +#define mainSEM_TEST_PRIORITY ( tskIDLE_PRIORITY + 1 ) +#define mainBLOCK_Q_PRIORITY ( tskIDLE_PRIORITY + 2 ) +#define mainCREATOR_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 ) +#define mainINTEGER_TASK_PRIORITY ( tskIDLE_PRIORITY ) +#define mainGEN_QUEUE_TASK_PRIORITY ( tskIDLE_PRIORITY ) +#define mainWEB_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 ) + +/* WEB server requires enough stack for the string handling functions. */ +#define mainBASIC_WEB_STACK_SIZE ( configMINIMAL_STACK_SIZE * 2 ) + +/* + * Configure the hardware for the demo. + */ +static void prvSetupHardware( void ); + +/* + * Implements the 'check' function as described at the top of this file. + */ +static void prvCheckFunction( void ); + +/* + * Implement the 'Reg test' functionality as described at the top of this file. + */ +static void vRegTest1Task( void *pvParameters ); +static void vRegTest2Task( void *pvParameters ); + +/* + * The task that handles the uIP stack. All TCP/IP processing is performed in + * this task. + */ +extern void vuIP_Task( void *pvParameters ); + +/*-----------------------------------------------------------*/ + +/* Counters used to detect errors within the reg test tasks. */ +static volatile unsigned portLONG ulRegTest1Counter = 0x11111111, ulRegTest2Counter = 0x22222222; + +/* Flag that latches any errors detected in the system. */ +unsigned long ulCheckErrors = 0; + +/*-----------------------------------------------------------*/ + +int main( void ) +{ +extern void vBasicWEBServer( void *pv ); + + /* Setup the hardware ready for this demo. */ + prvSetupHardware(); + + xTaskCreate( vuIP_Task, ( signed portCHAR * ) "uIP", mainBASIC_WEB_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY - 1, NULL ); + + /* Start the standard demo tasks. */ + vStartLEDFlashTasks( tskIDLE_PRIORITY ); + vStartGenericQueueTasks( mainGEN_QUEUE_TASK_PRIORITY ); + vStartQueuePeekTasks(); + vStartRecursiveMutexTasks(); + vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY ); + + /* Start the reg test tasks - defined in this file. */ + xTaskCreate( vRegTest1Task, ( signed portCHAR * ) "Reg1", configMINIMAL_STACK_SIZE, ( void * ) &ulRegTest1Counter, tskIDLE_PRIORITY, NULL ); + xTaskCreate( vRegTest2Task, ( signed portCHAR * ) "Reg2", configMINIMAL_STACK_SIZE, ( void * ) &ulRegTest2Counter, tskIDLE_PRIORITY, NULL ); + + /* Start the scheduler. */ + vTaskStartScheduler(); + + /* Will only get here if there was insufficient memory to create the idle + task. */ + for( ;; ) + { + } +} +/*-----------------------------------------------------------*/ + +void vApplicationTickHook( void ) +{ +static unsigned long ulExecutionCount = 0, ulLastRegTest1Count = 0, ulLastRegTest2Count = 0; +const unsigned long ulExecutionRate = 5000 / portTICK_RATE_MS; + + /* Increment the count of how many times the tick hook has been called. */ + ulExecutionCount++; + + /* Is it time to perform the check again? */ + if( ulExecutionCount >= ulExecutionRate ) + { + /* Reset the execution count so this function is called again in 5 + seconds time. */ + ulExecutionCount = 0; + + /* Has an error been found in any task? */ + if( xAreGenericQueueTasksStillRunning() != pdTRUE ) + { + ulCheckErrors |= 0x01UL; + } + + if( xAreQueuePeekTasksStillRunning() != pdTRUE ) + { + ulCheckErrors |= 0x02UL; + } + + if( xAreBlockingQueuesStillRunning() != pdTRUE ) + { + ulCheckErrors |= 0x04UL; + } + + if( xAreRecursiveMutexTasksStillRunning() != pdTRUE ) + { + ulCheckErrors |= 0x200UL; + } + + if( ulLastRegTest1Count == ulRegTest1Counter ) + { + ulCheckErrors |= 0x1000UL; + } + + if( ulLastRegTest2Count == ulRegTest2Counter ) + { + ulCheckErrors |= 0x1000UL; + } + + ulLastRegTest1Count = ulRegTest1Counter; + ulLastRegTest2Count = ulRegTest2Counter; + } +} +/*-----------------------------------------------------------*/ + +static void prvSetupHardware( void ) +{ + /* Disable the watchdog, STOP and WAIT modes. */ + SOPT1 = 0; + + /* --- Setup clock to use external 25MHz source. --- */ + + /* Extal and xtal pin ON. */ + PTDPF1_D4 = 0x03; + PTDPF1_D5 = 0x03; + + /* Switch from FEI to FBE (FLL bypassed external) + enable external clock source */ + MCGC2 = MCGC2_ERCLKEN_MASK /* Activate external reference clock */ + | MCGC2_EREFS_MASK /* Because crystal is being used */ + | MCGC2_RANGE_MASK; /* High range */ + + /* Select clock mode and clear IREFs. */ + MCGC1 = (0x02 << 6 ) /* CLKS = 10 -> external reference clock. */ + | (0x04 << 3 ) /* RDIV = 2^4 -> 25MHz/16 = 1.5625 MHz */ + | MCGC1_IRCLKEN_MASK; /* IRCLK to RTC enabled */ + + /* Wait for Reference and Clock status bits to update. */ + while( MCGSC_IREFST | ( MCGSC_CLKST != 0x02 ) ) + { + /* Nothing to do here. */ + } + + /* Switch from FBE to PBE (PLL bypassed internal) mode. */ + MCGC3 = 0x08 /* Set PLL multi 50MHz. */ + | MCGC3_PLLS_MASK; /* Select PLL. */ + + /* Wait for PLL status and lock bits to update. */ + while( !MCGSC_PLLST | !MCGSC_LOCK ) + { + /* Nothing to do here. */ + } + + + /* Now in PBE Mode, finally switch from PBE to PEE (PLL enabled external + mode). */ + MCGC1_CLKS = 0b00; /* PLL clock to system (MCGOUT) */ + + /* Wait for the clock status bits to update. */ + while( MCGSC_CLKST != 0x03 ) + { + /* Nothing to do here. */ + } + + /* Setup the IO for the LED outputs. */ + vParTestInitialise(); +} +/*-----------------------------------------------------------*/ + +void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed portCHAR *pcTaskName ) +{ + /* This will get called if a stack overflow is detected during the context + switch. Set configCHECK_FOR_STACK_OVERFLOWS to 2 to also check for stack + problems within nested interrupts, but only do this for debug purposes as + it will increase the context switch time. */ + + ( void ) pxTask; + ( void ) pcTaskName; + + for( ;; ) + { + } +} +/*-----------------------------------------------------------*/ + +static void vRegTest1Task( void *pvParameters ) +{ + /* Just to remove compiler warnings. */ + ( void ) pvParameters; + + /* Set all the registers to known values, then check that each retains its + expected value - as described at the top of this file. If an error is + found then the loop counter will no longer be incremented allowing the check + task to recognise the error. */ + asm volatile ( "reg_test_1_start: \n\t" + " moveq #1, d0 \n\t" + " moveq #2, d1 \n\t" + " moveq #3, d2 \n\t" + " moveq #4, d3 \n\t" + " moveq #5, d4 \n\t" + " moveq #6, d5 \n\t" + " moveq #7, d6 \n\t" + " moveq #8, d7 \n\t" + " move #9, a0 \n\t" + " move #10, a1 \n\t" + " move #11, a2 \n\t" + " move #12, a3 \n\t" + " move #13, a4 \n\t" + " move #15, a6 \n\t" + " \n\t" + " cmpi.l #1, d0 \n\t" + " bne reg_test_1_error \n\t" + " cmpi.l #2, d1 \n\t" + " bne reg_test_1_error \n\t" + " cmpi.l #3, d2 \n\t" + " bne reg_test_1_error \n\t" + " cmpi.l #4, d3 \n\t" + " bne reg_test_1_error \n\t" + " cmpi.l #5, d4 \n\t" + " bne reg_test_1_error \n\t" + " cmpi.l #6, d5 \n\t" + " bne reg_test_1_error \n\t" + " cmpi.l #7, d6 \n\t" + " bne reg_test_1_error \n\t" + " cmpi.l #8, d7 \n\t" + " bne reg_test_1_error \n\t" + " move a0, d0 \n\t" + " cmpi.l #9, d0 \n\t" + " bne reg_test_1_error \n\t" + " move a1, d0 \n\t" + " cmpi.l #10, d0 \n\t" + " bne reg_test_1_error \n\t" + " move a2, d0 \n\t" + " cmpi.l #11, d0 \n\t" + " bne reg_test_1_error \n\t" + " move a3, d0 \n\t" + " cmpi.l #12, d0 \n\t" + " bne reg_test_1_error \n\t" + " move a4, d0 \n\t" + " cmpi.l #13, d0 \n\t" + " bne reg_test_1_error \n\t" + " move a6, d0 \n\t" + " cmpi.l #15, d0 \n\t" + " bne reg_test_1_error \n\t" + " move ulRegTest1Counter, d0 \n\t" + " addq #1, d0 \n\t" + " move d0, ulRegTest1Counter \n\t" + " bra reg_test_1_start \n\t" + "reg_test_1_error: \n\t" + " bra reg_test_1_error \n\t" + ); +} +/*-----------------------------------------------------------*/ + +static void vRegTest2Task( void *pvParameters ) +{ + /* Just to remove compiler warnings. */ + ( void ) pvParameters; + + /* Set all the registers to known values, then check that each retains its + expected value - as described at the top of this file. If an error is + found then the loop counter will no longer be incremented allowing the check + task to recognise the error. */ + asm volatile ( "reg_test_2_start: \n\t" + " moveq #10, d0 \n\t" + " moveq #20, d1 \n\t" + " moveq #30, d2 \n\t" + " moveq #40, d3 \n\t" + " moveq #50, d4 \n\t" + " moveq #60, d5 \n\t" + " moveq #70, d6 \n\t" + " moveq #80, d7 \n\t" + " move #90, a0 \n\t" + " move #100, a1 \n\t" + " move #110, a2 \n\t" + " move #120, a3 \n\t" + " move #130, a4 \n\t" + " move #150, a6 \n\t" + " \n\t" + " cmpi.l #10, d0 \n\t" + " bne reg_test_2_error \n\t" + " cmpi.l #20, d1 \n\t" + " bne reg_test_2_error \n\t" + " cmpi.l #30, d2 \n\t" + " bne reg_test_2_error \n\t" + " cmpi.l #40, d3 \n\t" + " bne reg_test_2_error \n\t" + " cmpi.l #50, d4 \n\t" + " bne reg_test_2_error \n\t" + " cmpi.l #60, d5 \n\t" + " bne reg_test_2_error \n\t" + " cmpi.l #70, d6 \n\t" + " bne reg_test_2_error \n\t" + " cmpi.l #80, d7 \n\t" + " bne reg_test_2_error \n\t" + " move a0, d0 \n\t" + " cmpi.l #90, d0 \n\t" + " bne reg_test_2_error \n\t" + " move a1, d0 \n\t" + " cmpi.l #100, d0 \n\t" + " bne reg_test_2_error \n\t" + " move a2, d0 \n\t" + " cmpi.l #110, d0 \n\t" + " bne reg_test_2_error \n\t" + " move a3, d0 \n\t" + " cmpi.l #120, d0 \n\t" + " bne reg_test_2_error \n\t" + " move a4, d0 \n\t" + " cmpi.l #130, d0 \n\t" + " bne reg_test_2_error \n\t" + " move a6, d0 \n\t" + " cmpi.l #150, d0 \n\t" + " bne reg_test_2_error \n\t" + " move ulRegTest1Counter, d0 \n\t" + " addq #1, d0 \n\t" + " move d0, ulRegTest2Counter \n\t" + " bra reg_test_2_start \n\t" + "reg_test_2_error: \n\t" + " bra reg_test_2_error \n\t" + ); +} +/*-----------------------------------------------------------*/ + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/mii.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/mii.h new file mode 100644 index 000000000..98586b8ee --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/mii.h @@ -0,0 +1,147 @@ +/* + * File: mii.h + * Purpose: + * + * Notes: + */ + +#ifndef _MII_H_ +#define _MII_H_ + +/********************************************************************/ + +/* Timeout for MII communications */ +#define FEC_MII_TIMEOUT 0x10000 + + +/********************************************************************/ +//Fucntion Protoypes + +int FEC_Mii_Write(int, int, int); +int FEC_Mii_Read(int, int, unsigned short*); +void FEC_Mii_Init(void); +void fec_mii_reg_printf(void); + +/********************************************************************/ +//Register Mask and Other +//=============== +/* Definition of allowed values for MDCSEL */ +#define MII_MDCSEL(x) x/5000000 + +#define MII_WRITE 0x01 +#define MII_READ 0x02 + +#define TCMD_START 0x01 /* Transmit buffer frame */ +#define TCMD_PAUSE 0x02 /* Transmit PAUSE frame */ +#define TCMD_ABORT 0x03 /* Abort transmission */ + +/* PHY registers symbolic names */ +/* (located in MII memory map, accessible through MDIO) */ +#define PHY_REG_CR 0x00 /* Control Register */ +#define PHY_REG_SR 0x01 /* Status Register */ +#define PHY_REG_ID1 0x02 /* PHY Identification Register 1 */ +#define PHY_REG_ID2 0x03 /* PHY Identification Register 2 */ +#define PHY_REG_ANAR 0x04 /* Auto-Negotiation Advertisement Register */ +#define PHY_REG_ANLPAR 0x05 /* Auto-Negotiation Link Partner Ability Register */ +#define PHY_REG_ER 0x06 /* Auto-Negotiation Expansion Register */ +#define PHY_REG_NPTR 0x07 /* Auto-Negotiation Next Page Transfer Register */ +#define PHY_REG_IR 0x10 /* Interrupt Register */ +#define PHY_REG_PSR 0x11 /* Proprietary Status Register */ +#define PHY_REG_PCR 0x12 /* Proprietary Control Register */ +#define PHY_REG_10BTBC 0x13 /* 10Base-T Bypass Control Register */ +#define PHY_REG_100BXBC 0x14 /* 100Base-X Bypass Control Register */ +#define PHY_REG_ADDR 0x15 /* Test & Trim Control Register */ +#define PHY_REG_DSPRC 0x17 /* DSP Reset Control */ +#define PHY_REG_DSPRR1 0x18 /* 100Base-X DSP Read Registers */ +#define PHY_REG_DSPRR2 0x19 +#define PHY_REG_DSPRR3 0x1A +#define PHY_REG_DSPWR1 0x1B /* 100Base-X DSP Write Registers */ +#define PHY_REG_DSPWR2 0x1C +#define PHY_REG_DSPWR3 0x1D + +/* PHY registers structure */ +/* 0 - Control Register */ +#define PHY_R0_RESET 0x8000 /* Reset */ +#define PHY_R0_LB 0x4000 /* Loop Back */ +#define PHY_R0_DR 0x2000 /* Data Rate (100Mb/s) */ +#define PHY_R0_ANE 0x1000 /* Auto-Negotiation Enable */ +#define PHY_R0_PD 0x0800 /* Power Down */ +#define PHY_R0_ISOLATE 0x0400 /* Isolate (MII is disconnected) */ +#define PHY_R0_RAN 0x0200 /* Restart Auto-Negotiation */ +#define PHY_R0_DPLX 0x0100 /* Duplex (Full duplex) */ +#define PHY_R0_CT 0x0080 /* Collision Test (Enable) */ + +/* 1 - Status Register */ +#define PHY_R1_100T4 0x8000 /* 100BASET4 Supported */ +#define PHY_R1_100F 0x4000 /* 100Mb/s Full Duplex Supported */ +#define PHY_R1_100H 0x2000 /* 100Mb/s Half Duplex Supported */ +#define PHY_R1_10F 0x1000 /* 10Mb/s Full Duplex Supported */ +#define PHY_R1_10H 0x0800 /* 10Mb/s Half Duplex Supported */ +#define PHY_R1_SUP 0x0040 /* MI Preamble Supression (capable of) */ +#define PHY_R1_ANC 0x0020 /* Auto Negotiation Complete */ +#define PHY_R1_RF 0x0010 /* Remote Fault */ +#define PHY_R1_ANA 0x0008 /* Auto-Negotiation Ability (present) */ +#define PHY_R1_LS 0x0004 /* Link Status (Link is Up) */ +#define PHY_R1_JD 0x0002 /* Jabber Detect (detected) */ +#define PHY_R1_EC 0x0001 /* Extended Capability (regs 2 to 31 exists) */ + +/* 2 - PHY Identifier Register 1 */ +/* 3 - PHY Identifier Register 2 */ +/* read only - contains Manufacturer's info etc. + see documentation for the detailed description */ + +/* 4 - Auto Negotiation Advertisement Register */ +#define PHY_R4_NP 0x8000 /* Next Page (capable of sending next pages) */ +#define PHY_R4_RF 0x2000 /* Remote Fault */ +#define PHY_R4_FC 0x0400 /* Flow Control */ +#define PHY_R4_100F 0x0100 /* 100Base-TX Full Duplex Capable */ +#define PHY_R4_100H 0x0080 /* 100Base-TX Half Duplex Capable */ +#define PHY_R4_10F 0x0040 /* 10Base-T Full Duplex Capable */ +#define PHY_R4_10H 0x0020 /* 10Base-T Half Duplex Capable */ +/* bits 4 to 0 are Selector Field (IEEE Std 802.3 = 00001) */ + +/* 5 - Auto Negotiation Link Partner Ability Register (Base Page & Next Page) */ +/* read only - please consult PHY documentation */ +#define PHY_R5_FCTL 0x0400 /* 10Base-T Half Duplex Capable */ + +/* 16 - Interrupt Control Register */ +#define PHY_R16_ACKIE 0x4000 //Acknowledge Bit Received Interrupt Enable +#define PHY_R16_PRIE 0x2000 //Page Received INT Enable +#define PHY_R16_LCIE 0x1000 //Link Changed Enable +#define PHY_R16_ANIE 0x0800 //Auto-Negotiation Changed Enable +#define PHY_R16_PDFIE 0x0400 //Parallel Detect Fault Enable +#define PHY_R16_RFIE 0x0200 //Remote Fault Interrupt Enable +#define PHY_R16_JABIE 0x0100 //Jabber Interrupt Enable + +#define PHY_R16_ACKR 0x0040 //Acknowledge Bit Received Interrupt +#define PHY_R16_PGR 0x0020 //Page Received +#define PHY_R16_LKC 0x0010 //Link Changed +#define PHY_R16_ANC 0x0008 //Auto-Negotiation Changed +#define PHY_R16_PDF 0x0004 //Parallel Detect Fault +#define PHY_R16_RMTF 0x0002 //Remote Fault Interrupt +#define PHY_R16_JABI 0x0001 //Jabber Interrupt + +////Proprietary Status Register +#define PHY_R17_LNK 0x4000 // +#define PHY_R17_DPM 0x2000 //Duplex Mode +#define PHY_R17_SPD 0x1000 //Speed +#define PHY_R17_ANNC 0x0400 //Auto-Negotiation Complete +#define PHY_R17_PRCVD 0x0200 // +#define PHY_R17_ANCM 0x0100 // Auto-Negotiation (A-N) Common Operating Mode +#define PHY_R17_PLR 0x0020 // + +/* Bit definitions and macros for MCF_FEC_MMFR */ +#define FEC_MMFR_DATA(x) (((x)&0x0000FFFF)<<0) +#define FEC_MMFR_TA(x) (((x)&0x00000003)<<16) +#define FEC_MMFR_RA(x) (((x)&0x0000001F)<<18) +#define FEC_MMFR_PA(x) (((x)&0x0000001F)<<23) +#define FEC_MMFR_OP(x) (((x)&0x00000003)<<28) +#define FEC_MMFR_ST(x) (((x)&0x00000003)<<30) +#define FEC_MMFR_ST_01 (0x40000000) +#define FEC_MMFR_OP_READ (0x20000000) +#define FEC_MMFR_OP_WRITE (0x10000000) +#define FEC_MMFR_TA_10 (0x00020000) + +/********************************************************************/ + +#endif /* _MII_H_ */ diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/printf-stdarg.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/printf-stdarg.c new file mode 100644 index 000000000..f6139dc80 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/printf-stdarg.c @@ -0,0 +1,293 @@ +/* + Copyright 2001, 2002 Georges Menie (www.menie.org) + stdarg version contributed by Christian Ettinger + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +/* + putchar is the only external dependency for this file, + if you have a working putchar, leave it commented out. + If not, uncomment the define below and + replace outbyte(c) by your own function call. + +*/ + +#define putchar(c) c + +#include + +static void printchar(char **str, int c) +{ + //extern int putchar(int c); + + if (str) { + **str = (char)c; + ++(*str); + } + else + { + (void)putchar(c); + } +} + +#define PAD_RIGHT 1 +#define PAD_ZERO 2 + +static int prints(char **out, const char *string, int width, int pad) +{ + register int pc = 0, padchar = ' '; + + if (width > 0) { + register int len = 0; + register const char *ptr; + for (ptr = string; *ptr; ++ptr) ++len; + if (len >= width) width = 0; + else width -= len; + if (pad & PAD_ZERO) padchar = '0'; + } + if (!(pad & PAD_RIGHT)) { + for ( ; width > 0; --width) { + printchar (out, padchar); + ++pc; + } + } + for ( ; *string ; ++string) { + printchar (out, *string); + ++pc; + } + for ( ; width > 0; --width) { + printchar (out, padchar); + ++pc; + } + + return pc; +} + +/* the following should be enough for 32 bit int */ +#define PRINT_BUF_LEN 12 + +static int printi(char **out, int i, int b, int sg, int width, int pad, int letbase) +{ + char print_buf[PRINT_BUF_LEN]; + register char *s; + register int t, neg = 0, pc = 0; + register unsigned int u = (unsigned int)i; + + if (i == 0) { + print_buf[0] = '0'; + print_buf[1] = '\0'; + return prints (out, print_buf, width, pad); + } + + if (sg && b == 10 && i < 0) { + neg = 1; + u = (unsigned int)-i; + } + + s = print_buf + PRINT_BUF_LEN-1; + *s = '\0'; + + while (u) { + t = (int)u % b; + if( t >= 10 ) + t += letbase - '0' - 10; + *--s = (char)(t + '0'); + u /= b; + } + + if (neg) { + if( width && (pad & PAD_ZERO) ) { + printchar (out, '-'); + ++pc; + --width; + } + else { + *--s = '-'; + } + } + + return pc + prints (out, s, width, pad); +} + +static int print( char **out, const char *format, va_list args ) +{ + register int width, pad; + register int pc = 0; + char scr[2]; + + for (; *format != 0; ++format) { + if (*format == '%') { + ++format; + width = pad = 0; + if (*format == '\0') break; + if (*format == '%') goto out; + if (*format == '-') { + ++format; + pad = PAD_RIGHT; + } + while (*format == '0') { + ++format; + pad |= PAD_ZERO; + } + for ( ; *format >= '0' && *format <= '9'; ++format) { + width *= 10; + width += *format - '0'; + } + if( *format == 's' ) { + register char *s = (char *)va_arg( args, int ); + pc += prints (out, s?s:"(null)", width, pad); + continue; + } + if( *format == 'd' ) { + pc += printi (out, va_arg( args, int ), 10, 1, width, pad, 'a'); + continue; + } + if( *format == 'x' ) { + pc += printi (out, va_arg( args, int ), 16, 0, width, pad, 'a'); + continue; + } + if( *format == 'X' ) { + pc += printi (out, va_arg( args, int ), 16, 0, width, pad, 'A'); + continue; + } + if( *format == 'u' ) { + pc += printi (out, va_arg( args, int ), 10, 0, width, pad, 'a'); + continue; + } + if( *format == 'c' ) { + /* char are converted to int then pushed on the stack */ + scr[0] = (char)va_arg( args, int ); + scr[1] = '\0'; + pc += prints (out, scr, width, pad); + continue; + } + } + else { + out: + printchar (out, *format); + ++pc; + } + } + if (out) **out = '\0'; + va_end( args ); + return pc; +} + +int printf(const char *format, ...) +{ + va_list args; + + va_start( args, format ); + return print( 0, format, args ); +} + +int sprintf(char *out, const char *format, ...) +{ + va_list args; + + va_start( args, format ); + return print( &out, format, args ); +} + + +int snprintf( char *buf, unsigned int count, const char *format, ... ) +{ + va_list args; + + ( void ) count; + + va_start( args, format ); + return print( &buf, format, args ); +} + + +#ifdef TEST_PRINTF +int main(void) +{ + char *ptr = "Hello world!"; + char *np = 0; + int i = 5; + unsigned int bs = sizeof(int)*8; + int mi; + char buf[80]; + + mi = (1 << (bs-1)) + 1; + printf("%s\n", ptr); + printf("printf test\n"); + printf("%s is null pointer\n", np); + printf("%d = 5\n", i); + printf("%d = - max int\n", mi); + printf("char %c = 'a'\n", 'a'); + printf("hex %x = ff\n", 0xff); + printf("hex %02x = 00\n", 0); + printf("signed %d = unsigned %u = hex %x\n", -3, -3, -3); + printf("%d %s(s)%", 0, "message"); + printf("\n"); + printf("%d %s(s) with %%\n", 0, "message"); + sprintf(buf, "justif: \"%-10s\"\n", "left"); printf("%s", buf); + sprintf(buf, "justif: \"%10s\"\n", "right"); printf("%s", buf); + sprintf(buf, " 3: %04d zero padded\n", 3); printf("%s", buf); + sprintf(buf, " 3: %-4d left justif.\n", 3); printf("%s", buf); + sprintf(buf, " 3: %4d right justif.\n", 3); printf("%s", buf); + sprintf(buf, "-3: %04d zero padded\n", -3); printf("%s", buf); + sprintf(buf, "-3: %-4d left justif.\n", -3); printf("%s", buf); + sprintf(buf, "-3: %4d right justif.\n", -3); printf("%s", buf); + + return 0; +} + +/* + * if you compile this file with + * gcc -Wall $(YOUR_C_OPTIONS) -DTEST_PRINTF -c printf.c + * you will get a normal warning: + * printf.c:214: warning: spurious trailing `%' in format + * this line is testing an invalid % at the end of the format string. + * + * this should display (on 32bit int machine) : + * + * Hello world! + * printf test + * (null) is null pointer + * 5 = 5 + * -2147483647 = - max int + * char a = 'a' + * hex ff = ff + * hex 00 = 00 + * signed -3 = unsigned 4294967293 = hex fffffffd + * 0 message(s) + * 0 message(s) with % + * justif: "left " + * justif: " right" + * 3: 0003 zero padded + * 3: 3 left justif. + * 3: 3 right justif. + * -3: -003 zero padded + * -3: -3 left justif. + * -3: -3 right justif. + */ + +#endif + + +/* To keep linker happy. */ +int write( int i, char* c, int n) +{ + (void)i; + (void)n; + (void)c; + return 0; +} + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/startcf.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/startcf.c new file mode 100644 index 000000000..dabac672d --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/startcf.c @@ -0,0 +1,312 @@ +/* + * CF_Startup.c - Default init/startup/termination routines for + * Embedded Metrowerks C++ + * + * Copyright © 1993-1998 Metrowerks, Inc. All Rights Reserved. + * Copyright © 2005 Freescale semiConductor Inc. All Rights Reserved. + * + * + * THEORY OF OPERATION + * + * This version of thestartup code is intended for linker relocated + * executables. The startup code will assign the stack pointer to + * __SP_INIT, assign the address of the data relative base address + * to a5, initialize the .bss/.sbss sections to zero, call any + * static C++ initializers and then call main. Upon returning from + * main it will call C++ destructors and call exit to terminate. + */ + +#ifdef __cplusplus +#pragma cplusplus off +#endif +#pragma PID off +#pragma PIC off + +#include "startcf.h" +#include "RuntimeConfig.h" + + /* imported data */ + +extern unsigned long far _SP_INIT, _SDA_BASE; +extern unsigned long far _START_BSS, _END_BSS; +extern unsigned long far _START_SBSS, _END_SBSS; +extern unsigned long far __DATA_RAM, __DATA_ROM, __DATA_END; + + /* imported routines */ + +extern void __call_static_initializers(void); +extern int main(int, char **); +extern void exit(int); + + /* exported routines */ + +extern void _ExitProcess(void); +extern asm void _startup(void); +extern void __initialize_hardware(void); +extern void __initialize_system(void); + + +/* + * Dummy routine for initializing hardware. For user's custom systems, you + * can create your own routine of the same name that will perform HW + * initialization. The linker will do the right thing to ignore this + * definition and use the version in your file. + */ +#pragma overload void __initialize_hardware(void); +void __initialize_hardware(void) +{ +} + +/* + * Dummy routine for initializing systems. For user's custom systems, + * you can create your own routine of the same name that will perform + * initialization. The linker will do the right thing to ignore this + * definition and use the version in your file. + */ +#pragma overload void __initialize_system(void); +void __initialize_system(void) +{ +} + +/* + * Dummy routine for initializing C++. This routine will get overloaded by the C++ runtime. + */ +#pragma overload void __call_static_initializers(void); +void __call_static_initializers(void) +{ +} + +/* + * Routine to copy a single section from ROM to RAM ... + */ +static __declspec(register_abi) void __copy_rom_section(char* dst, const char* src, unsigned long size) +{ + if (dst != src) + while (size--) + *dst++ = *src++; +} + +/* + * Routine that copies all sections the user marked as ROM into + * their target RAM addresses ... + * + * __S_romp is automatically generated by the linker if it + * is referenced by the program. It is a table of RomInfo + * structures. The final entry in the table has all-zero + * fields. + */ +static void __copy_rom_sections_to_ram(void) +{ + RomInfo *info; + + /* + * Go through the entire table, copying sections from ROM to RAM. + */ + for (info = _S_romp; info->Source != 0L || info->Target != 0L || info->Size != 0; ++info) + __copy_rom_section( (char *)info->Target,(char *)info->Source, info->Size); + +} + +/* + * Exit handler called from the exit routine, if your OS needs + * to do something special for exit handling just replace this + * routines with what the OS needs to do ... + */ +asm void _ExitProcess(void) +{ + illegal + rts +} + +/* + * Routine to clear out blocks of memory should give good + * performance regardless of 68k or ColdFire part. + */ +static __declspec(register_abi) void clear_mem(char *dst, unsigned long n) +{ + unsigned long i; + long *lptr; + + if (n >= 32) + { + /* align start address to a 4 byte boundary */ + i = (- (unsigned long) dst) & 3; + + if (i) + { + n -= i; + do + *dst++ = 0; + while (--i); + } + + /* use an unrolled loop to zero out 32byte blocks */ + i = n >> 5; + if (i) + { + lptr = (long *)dst; + dst += i * 32; + do + { + *lptr++ = 0; + *lptr++ = 0; + *lptr++ = 0; + *lptr++ = 0; + *lptr++ = 0; + *lptr++ = 0; + *lptr++ = 0; + *lptr++ = 0; + } + while (--i); + } + i = (n & 31) >> 2; + + /* handle any 4 byte blocks left */ + if (i) + { + lptr = (long *)dst; + dst += i * 4; + do + *lptr++ = 0; + while (--i); + } + n &= 3; + } + + /* handle any byte blocks left */ + if (n) + do + *dst++ = 0; + while (--n); +} + +/* + * Startup routine for embedded application ... + */ + +asm void _startup(void) +{ + /* disable interrupts */ + move.w #0x2700,sr + + /* Pre-init SP, in case memory for stack is not valid it should be setup using + MEMORY_INIT before __initialize_hardware is called + */ + lea __SP_AFTER_RESET,a7; + + /* initialize memory */ + MEMORY_INIT + + /* initialize any hardware specific issues */ + jsr __initialize_hardware + + /* setup the stack pointer */ + lea _SP_INIT,a7 + + /* setup A6 dummy stackframe */ + movea.l #0,a6 + link a6,#0 + + /* setup A5 */ + lea _SDA_BASE,a5 + + + /* zero initialize the .bss section */ + + lea _END_BSS, a0 + lea _START_BSS, a1 + suba.l a1, a0 + move.l a0, d0 + + beq __skip_bss__ + + lea _START_BSS, a0 + + /* call clear_mem with base pointer in a0 and size in d0 */ + jsr clear_mem + +__skip_bss__: + + /* zero initialize the .sbss section */ + + lea _END_SBSS, a0 + lea _START_SBSS, a1 + suba.l a1, a0 + move.l a0, d0 + + beq __skip_sbss__ + + lea _START_SBSS, a0 + + /* call clear_mem with base pointer in a0 and size in d0 */ + jsr clear_mem + +__skip_sbss__: + + /* copy all ROM sections to their RAM locations ... */ +#if SUPPORT_ROM_TO_RAM + + /* + * _S_romp is a null terminated array of + * typedef struct RomInfo { + * unsigned long Source; + * unsigned long Target; + * unsigned long Size; + * } RomInfo; + * + * Watch out if you're rebasing using _PICPID_DELTA + */ + + lea _S_romp, a0 + move.l a0, d0 + beq __skip_rom_copy__ + jsr __copy_rom_sections_to_ram + +#else + + /* + * There's a single block to copy from ROM to RAM, perform + * the copy directly without using the __S_romp structure + */ + + lea __DATA_RAM, a0 + lea __DATA_ROM, a1 + + cmpa a0,a1 + beq __skip_rom_copy__ + + move.l #__DATA_END, d0 + sub.l a0, d0 + + jsr __copy_rom_section + +#endif +__skip_rom_copy__: + + /* call C++ static initializers (__sinit__(void)) */ + jsr __call_static_initializers + + jsr __initialize_system + + /* call main(int, char **) */ + pea __argv + clr.l -(sp) /* clearing a long is ok since it's caller cleanup */ + jsr main + addq.l #8, sp + + unlk a6 + + /* now call exit(0) to terminate the application */ + clr.l -(sp) + jsr exit + addq.l #4, sp + + /* should never reach here but just in case */ + illegal + rts + + /* exit will never return */ +__argv: + dc.l 0 +} + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/startcf.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/startcf.h new file mode 100644 index 000000000..51c315d5b --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/startcf.h @@ -0,0 +1,77 @@ +/****************************************************************************** + FILE : startcf.h + PURPOSE : startup code for ColdFire + LANGUAGE: C + + + Notes: + 1) Default entry point is _startup. + . disable interrupts + . the SP is set to __SP_AFTER_RESET + . SP must be initialized to valid memory + in case the memory it points to is not valid using MEMORY_INIT macro + 2) __initialize_hardware is called. Here you can initialize memory and some peripherics + at this point global variables are not initialized yet + 3) After __initialize_hardware memory is setup; initialize SP to _SP_INIT and perform + needed initialisations for the language (clear memory, data rom copy). + 4) void __initialize_system(void); is called + to allow additional hardware initialization (UART, GPIOs, etc...) + 5) Jump to main + +*/ +/********************************************************************************/ + +#ifndef STARTCF_H +#define STARTCF_H + + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef STARTCF_INCLUDE +#include STARTCF_INCLUDE +#endif + +#pragma warn_any_ptr_int_conv off +#pragma warn_absolute off + +extern unsigned long far __SP_INIT[]; +extern unsigned long far __SP_AFTER_RESET[]; + +#ifndef MEMORY_INIT +/* If MEMORY_INIT is set then it performs + minimal memory initialization (to preset SP to __SP_AFTER_RESET, etc...) +*/ +#define MEMORY_INIT +#endif + +void _startup(void); + +#ifndef SUPPORT_ROM_TO_RAM + /* + * If SUPPORT_ROM_TO_RAM is set, _S_romp is used to define the copy to be performed. + * If it is not set, there's a single block to copy, performed directly without + * using the __S_romp structure, based on __DATA_RAM, __DATA_ROM and + * __DATA_END symbols. + * + * Set to 0 for more aggressive dead stripping ... + */ +#define SUPPORT_ROM_TO_RAM 1 +#endif + +/* format of the ROM table info entry ... */ +typedef struct RomInfo { + void *Source; + void *Target; + unsigned long Size; +} RomInfo; + +/* imported data */ +extern far RomInfo _S_romp[]; /* linker defined symbol */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/stdlib.c b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/stdlib.c new file mode 100644 index 000000000..8fd7de6a3 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/stdlib.c @@ -0,0 +1,497 @@ +/* FILENAME: stdlib.c + * + * Functions normally found in a standard C lib. + * + * 12/28/2005 - added memcmp and memmove + * + * Notes: These functions support ASCII only!!! + */ + +//#include "m51cn128evb.h" +#include "stdlib.h" + +#define TRUE 1 +#define FALSE 0 +#define NULL 0 + +/****************************************************************/ +int +isspace (int ch) +{ + if ((ch == ' ') || (ch == '\t')) /* \n ??? */ + return TRUE; + else + return FALSE; +} + +/****************************************************************/ +int +isalnum (int ch) +{ + /* ASCII only */ + if (((ch >= '0') && (ch <= '9')) || + ((ch >= 'A') && (ch <= 'Z')) || + ((ch >= 'a') && (ch <= 'z'))) + return TRUE; + else + return FALSE; +} + +/****************************************************************/ +int +isdigit (int ch) +{ + /* ASCII only */ + if ((ch >= '0') && (ch <= '9')) + return TRUE; + else + return FALSE; +} + +/****************************************************************/ +int +isupper (int ch) +{ + /* ASCII only */ + if ((ch >= 'A') && (ch <= 'Z')) + return TRUE; + else + return FALSE; +} + +/****************************************************************/ +int +strcasecmp (const char *s1, const char *s2) +{ + char c1, c2; + int result = 0; + + while (result == 0) + { + c1 = *s1++; + c2 = *s2++; + if ((c1 >= 'a') && (c1 <= 'z')) + c1 = (char)(c1 - ' '); + if ((c2 >= 'a') && (c2 <= 'z')) + c2 = (char)(c2 - ' '); + if ((result = (c1 - c2)) != 0) + break; + if ((c1 == 0) || (c2 == 0)) + break; + } + return result; +} + + +/****************************************************************/ +int +stricmp (const char *s1, const char *s2) +{ + return (strcasecmp(s1, s2)); +} + +/****************************************************************/ +int +strncasecmp (const char *s1, const char *s2, int n) +{ + char c1, c2; + int k = 0; + int result = 0; + + while ( k++ < n ) + { + c1 = *s1++; + c2 = *s2++; + if ((c1 >= 'a') && (c1 <= 'z')) + c1 = (char)(c1 - ' '); + if ((c2 >= 'a') && (c2 <= 'z')) + c2 = (char)(c2 - ' '); + if ((result = (c1 - c2)) != 0) + break; + if ((c1 == 0) || (c2 == 0)) + break; + } + return result; +} + +/****************************************************************/ +int +strnicmp (const char *s1, const char *s2, int n) +{ + return (strncasecmp(s1, s2, n)); +} + +/****************************************************************/ +unsigned long +strtoul (char *str, char **ptr, int base) +{ + unsigned long rvalue = 0; + int neg = 0; + int c; + + /* Validate parameters */ + if ((str != NULL) && (base >= 0) && (base <= 36)) + { + /* Skip leading white spaces */ + while (isspace(*str)) + { + ++str; + } + + /* Check for notations */ + switch (str[0]) + { + case '0': + if (base == 0) + { + if ((str[1] == 'x') || (str[1] == 'X')) + { + base = 16; + str += 2; + } + else + { + base = 8; + str++; + } + } + break; + + case '-': + neg = 1; + str++; + break; + + case '+': + str++; + break; + + default: + break; + } + + if (base == 0) + base = 10; + + /* Valid "digits" are 0..9, A..Z, a..z */ + while (isalnum(c = *str)) + { + /* Convert char to num in 0..36 */ + if ((c -= ('a' - 10)) < 10) /* 'a'..'z' */ + { + if ((c += ('a' - 'A')) < 10) /* 'A'..'Z' */ + { + c += ('A' - '0' - 10); /* '0'..'9' */ + } + } + + /* check c against base */ + if (c >= base) + { + break; + } + + if (neg) + { + rvalue = (rvalue * base) - c; + } + else + { + rvalue = (rvalue * base) + c; + } + + ++str; + } + } + + /* Upon exit, 'str' points to the character at which valid info */ + /* STOPS. No chars including and beyond 'str' are used. */ + + if (ptr != NULL) + *ptr = str; + + return rvalue; + } + +/****************************************************************/ +int +atoi (const char *str) +{ + char *s = (char *)str; + + return ((int)strtoul(s, NULL, 10)); +} + +/****************************************************************/ +int +strlen (const char *str) +{ + char *s = (char *)str; + int len = 0; + + if (s == NULL) + return 0; + + while (*s++ != '\0') + ++len; + + return len; +} + +/****************************************************************/ +char * +strcat (char *dest, const char *src) +{ + char *dp; + char *sp = (char *)src; + + if ((dest != NULL) && (src != NULL)) + { + dp = &dest[strlen(dest)]; + + while (*sp != '\0') + { + *dp++ = *sp++; + } + *dp = '\0'; + } + return dest; +} + +/****************************************************************/ +char * +strncat (char *dest, const char *src, int n) +{ + char *dp; + char *sp = (char *)src; + + if ((dest != NULL) && (src != NULL) && (n > 0)) + { + dp = &dest[strlen(dest)]; + + while ((*sp != '\0') && (n-- > 0)) + { + *dp++ = *sp++; + } + *dp = '\0'; + } + return dest; +} + +/****************************************************************/ +char * +strcpy (char *dest, const char *src) +{ + char *dp = (char *)dest; + char *sp = (char *)src; + + if ((dest != NULL) && (src != NULL)) + { + while (*sp != '\0') + { + *dp++ = *sp++; + } + *dp = '\0'; + } + return dest; +} + +/****************************************************************/ +char * +strncpy (char *dest, const char *src, int n) +{ + char *dp = (char *)dest; + char *sp = (char *)src; + + if ((dest != NULL) && (src != NULL) && (n > 0)) + { + while ((*sp != '\0') && (n-- > 0)) + { + *dp++ = *sp++; + } + *dp = '\0'; + } + return dest; +} + +/****************************************************************/ +int +strcmp (const char *s1, const char *s2) +{ + /* No checks for NULL */ + char *s1p = (char *)s1; + char *s2p = (char *)s2; + + while (*s2p != '\0') + { + if (*s1p != *s2p) + break; + + ++s1p; + ++s2p; + } + return (*s1p - *s2p); +} + +/****************************************************************/ +int +strncmp (const char *s1, const char *s2, int n) +{ + /* No checks for NULL */ + char *s1p = (char *)s1; + char *s2p = (char *)s2; + + if (n <= 0) + return 0; + + while (*s2p != '\0') + { + if (*s1p != *s2p) + break; + + if (--n == 0) + break; + + ++s1p; + ++s2p; + } + return (*s1p - *s2p); +} + +/****************************************************************/ +char * +strstr(const char *s1, const char *s2) +{ + char *sp = (char *)s1; + int len1 = strlen(s1); + int len2 = strlen(s2); + + while (len1 >= len2) + { + if (strncmp(sp, s2, len2) == 0) + { + return (sp); + } + ++sp; + --len1; + } + + return (NULL); +} + +/****************************************************************/ +char * +strchr(const char *str, int c) +{ + char *sp = (char *)str; + char ch = (char)(c & 0xff); + + while (*sp != '\0') + { + if (*sp == ch) + { + return (sp); + } + ++sp; + } + + return (NULL); +} + +/****************************************************************/ +void * +memcpy (void *dest, const void *src, unsigned n) +{ + unsigned char *dbp = (unsigned char *)dest; + unsigned char *sbp = (unsigned char *)src; + + if ((dest != NULL) && (src != NULL) && (n > 0)) + { + while (n--) + *dbp++ = *sbp++; + } + return dest; +} + +/****************************************************************/ +void * +memset (void *s, int c, unsigned n) +{ + /* Not optimized, but very portable */ + unsigned char *sp = (unsigned char *)s; + + if ((s != NULL) && (n > 0)) + { + while (n--) + { + *sp++ = (unsigned char)c; + } + } + return s; +} + +/****************************************************************/ +int +memcmp (const void *s1, const void *s2, unsigned n) +{ + unsigned char *s1p, *s2p; + + if (s1 && s2 && (n > 0)) + { + s1p = (unsigned char *)s1; + s2p = (unsigned char *)s2; + + while ((--n >= 0) && (*s1p == *s2p)) + { + if (*s1p != *s2p) + return (*s1p - *s2p); + ++s1p; + ++s2p; + } + } + + return (0); +} + +/****************************************************************/ +void * +memmove (void *dest, const void *src, unsigned n) +{ + unsigned char *dbp = (unsigned char *)dest; + unsigned char *sbp = (unsigned char *)src; + unsigned char *dend = dbp + n; + unsigned char *send = sbp + n; + + if ((dest != NULL) && (src != NULL) && (n > 0)) + { + /* see if a memcpy would overwrite source buffer */ + if ((sbp < dbp) && (dbp < send)) + { + while (n--) + *(--dend) = *(--send); + } + else + { + while (n--) + *dbp++ = *sbp++; + } + } + + return dest; +} + +/****************************************************************/ + +char * +strrchr(const char *s, int c) +{ + const char *last = NULL; + if (c == '\0') + return strchr(s, c); + while ((s = strchr(s, c)) != NULL) { + last = s; + s++; + } + return (char *) last; +} + diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/stdlib.h b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/stdlib.h new file mode 100644 index 000000000..7a9865d94 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/stdlib.h @@ -0,0 +1,79 @@ +/* + * File: stdlib.h + * Purpose: Function prototypes for standard library functions + * + * Notes: + */ + +#ifndef _STDLIB_H +#define _STDLIB_H + +/******************************************************************** + * Standard library functions + ********************************************************************/ + +int +isspace (int); + +int +isalnum (int); + +int +isdigit (int); + +int +isupper (int); + +int +strcasecmp (const char *, const char *); + +int +strncasecmp (const char *, const char *, int); + +unsigned long +strtoul (char *, char **, int); + +int +strlen (const char *); + +char * +strcat (char *, const char *); + +char * +strncat (char *, const char *, int); + +char * +strcpy (char *, const char *); + +char * +strncpy (char *, const char *, int); + +int +strcmp (const char *, const char *); + +int +strncmp (const char *, const char *, int); + +void * +memcpy (void *, const void *, unsigned); + +void * +memset (void *, int, unsigned); + +void +free (void *); + +void * +malloc (unsigned); + +#define RAND_MAX 32767 + +int +rand (void); + +void +srand (int); + +/********************************************************************/ + +#endif diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Postload.cmd b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Postload.cmd new file mode 100644 index 000000000..eb00f3791 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Postload.cmd @@ -0,0 +1 @@ +// After load the commands written below will be executed diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Preload.cmd b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Preload.cmd new file mode 100644 index 000000000..691c5eede --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Preload.cmd @@ -0,0 +1 @@ +// Before load the commands written below will be executed diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Reset.cmd b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Reset.cmd new file mode 100644 index 000000000..f0fc87448 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Reset.cmd @@ -0,0 +1 @@ +// After reset the commands written below will be executed diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Startup.cmd b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Startup.cmd new file mode 100644 index 000000000..5f2b5a568 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_BDM_P&E_Multilink_CyclonePro_Startup.cmd @@ -0,0 +1 @@ +// At startup the commands written below will be executed diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Postload.cmd b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Postload.cmd new file mode 100644 index 000000000..eb00f3791 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Postload.cmd @@ -0,0 +1 @@ +// After load the commands written below will be executed diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Preload.cmd b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Preload.cmd new file mode 100644 index 000000000..691c5eede --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Preload.cmd @@ -0,0 +1 @@ +// Before load the commands written below will be executed diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Reset.cmd b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Reset.cmd new file mode 100644 index 000000000..f0fc87448 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Reset.cmd @@ -0,0 +1 @@ +// After reset the commands written below will be executed diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Startup.cmd b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Startup.cmd new file mode 100644 index 000000000..5f2b5a568 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/cmd/CFV1_Full_Chip_Simulator_Startup.cmd @@ -0,0 +1 @@ +// At startup the commands written below will be executed diff --git a/Demo/ColdFire_MCF51CN128_CodeWarrior/prm/Project.lcf b/Demo/ColdFire_MCF51CN128_CodeWarrior/prm/Project.lcf new file mode 100644 index 000000000..d6a3d9418 --- /dev/null +++ b/Demo/ColdFire_MCF51CN128_CodeWarrior/prm/Project.lcf @@ -0,0 +1,114 @@ +# Sample Linker Command File for CodeWarrior for ColdFire MCF51CN128 + +# Memory ranges + +MEMORY { + code (RX) : ORIGIN = 0x00000410, LENGTH = 0x0001FBF0 + userram (RWX) : ORIGIN = 0x00800000, LENGTH = 0x00006000 +} + +SECTIONS { + +# Heap and Stack sizes definition + ___heap_size = 0x04; + ___stack_size = 0x0200; + +# MCF51CN128 Derivative Memory map definitions from linker command files: +# ___RAM_ADDRESS, ___RAM_SIZE, ___FLASH_ADDRESS, ___FLASH_SIZE linker +# symbols must be defined in the linker command file. + +# 24 Kbytes Internal SRAM + ___RAM_ADDRESS = 0x00800000; + ___RAM_SIZE = 0x00006000; + +# 128 KByte Internal Flash Memory + ___FLASH_ADDRESS = 0x00000000; + ___FLASH_SIZE = 0x00020000; + + .userram : {} > userram + .code : {} > code + + .text : + { + *(.text) + . = ALIGN (0x4); + *(.rodata) + . = ALIGN (0x4); + ___ROM_AT = .; + ___DATA_ROM = .; + } >> code + + .data : AT(___ROM_AT) + { + ___DATA_RAM = .; + . = ALIGN(0x4); + *(.exception) + . = ALIGN(0x4); + __exception_table_start__ = .; + EXCEPTION + __exception_table_end__ = .; + + ___sinit__ = .; + STATICINIT + __START_DATA = .; + + *(.data) + . = ALIGN (0x4); + __END_DATA = .; + + __START_SDATA = .; + *(.sdata) + . = ALIGN (0x4); + __END_SDATA = .; + + ___DATA_END = .; + __SDA_BASE = .; + . = ALIGN (0x4); + } >> userram + + .bss : + { + ___BSS_START = .; + __START_SBSS = .; + *(.sbss) + . = ALIGN (0x4); + *(SCOMMON) + __END_SBSS = .; + + __START_BSS = .; + *(.bss) + . = ALIGN (0x4); + *(COMMON) + __END_BSS = .; + ___BSS_END = .; + + . = ALIGN(0x4); + } >> userram + + .custom : + { + ___HEAP_START = .; + ___heap_addr = ___HEAP_START; + ___HEAP_END = ___HEAP_START + ___heap_size; + ___SP_END = ___HEAP_END; + ___SP_INIT = ___SP_END + ___stack_size; + + . = ALIGN (0x4); + } >> userram + + __SP_INIT = ___SP_INIT; + + ___SP_AFTER_RESET = __SP_INIT; + + _romp_at = ___ROM_AT + SIZEOF(.data); + .romp : AT(_romp_at) + { + __S_romp = _romp_at; + WRITEW(___ROM_AT); + WRITEW(ADDR(.data)); + WRITEW(SIZEOF(.data)); + WRITEW(0); + WRITEW(0); + WRITEW(0); + } +} diff --git a/Demo/ColdFire_MCF52221_CodeWarrior/sources/FreeRTOSConfig.h b/Demo/ColdFire_MCF52221_CodeWarrior/sources/FreeRTOSConfig.h index c0c3b5c09..4efa4b0fa 100644 --- a/Demo/ColdFire_MCF52221_CodeWarrior/sources/FreeRTOSConfig.h +++ b/Demo/ColdFire_MCF52221_CodeWarrior/sources/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. @@ -49,6 +49,17 @@ licensing and training services. */ +/* CodeWarrior often thinks it knows better than you which files you want to +build - and changes the port.c and portasm.S files included in the project from +the ColdFire V1 versions to the x86 versions. If you get lots of errors output +when either file is compiled then delete the files from the project and then +add back in the port.c and portasm.S files that are located in the +FreeRTOS\Source\portable\GCC\ColdFire_V2 directory. Remove the line below +before compiling. */ + +#error Read the comment above this line, then delete this error statement! + + #ifndef FREERTOS_CONFIG_H #define FREERTOS_CONFIG_H diff --git a/Demo/ColdFire_MCF52221_CodeWarrior/sources/FreeRTOS_Tick_Setup.c b/Demo/ColdFire_MCF52221_CodeWarrior/sources/FreeRTOS_Tick_Setup.c index bc4a101fb..6cb9d6b57 100644 --- a/Demo/ColdFire_MCF52221_CodeWarrior/sources/FreeRTOS_Tick_Setup.c +++ b/Demo/ColdFire_MCF52221_CodeWarrior/sources/FreeRTOS_Tick_Setup.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52221_CodeWarrior/sources/ParTest/ParTest.c b/Demo/ColdFire_MCF52221_CodeWarrior/sources/ParTest/ParTest.c index ec6df8891..d69fae43b 100644 --- a/Demo/ColdFire_MCF52221_CodeWarrior/sources/ParTest/ParTest.c +++ b/Demo/ColdFire_MCF52221_CodeWarrior/sources/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52221_CodeWarrior/sources/main.c b/Demo/ColdFire_MCF52221_CodeWarrior/sources/main.c index 6dd094e9d..156149c9f 100644 --- a/Demo/ColdFire_MCF52221_CodeWarrior/sources/main.c +++ b/Demo/ColdFire_MCF52221_CodeWarrior/sources/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52221_CodeWarrior/sources/serial/serial.c b/Demo/ColdFire_MCF52221_CodeWarrior/sources/serial/serial.c index 51a678ba5..35d4380b1 100644 --- a/Demo/ColdFire_MCF52221_CodeWarrior/sources/serial/serial.c +++ b/Demo/ColdFire_MCF52221_CodeWarrior/sources/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/FreeRTOSConfig.h b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/FreeRTOSConfig.h index 1b2efa443..d9cb314ac 100644 --- a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c index 42aa80a4f..0f0bd4355 100644 --- a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c +++ b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/ParTest/ParTest.c b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/ParTest/ParTest.c index b47fa1814..3ae820d1a 100644 --- a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/ParTest/ParTest.c +++ b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/main.c b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/main.c index f65cca79b..cd4b153c1 100644 --- a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/main.c +++ b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/webserver/FEC.c b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/webserver/FEC.c index a25808fef..82f8f2d5e 100644 --- a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/webserver/FEC.c +++ b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/webserver/FEC.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/webserver/uIP_Task.c b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/webserver/uIP_Task.c index 5470fe9cb..4ed9886cd 100644 --- a/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/webserver/uIP_Task.c +++ b/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52259_CodeWarrior/FreeRTOSConfig.h b/Demo/ColdFire_MCF52259_CodeWarrior/FreeRTOSConfig.h index cf78ba8e5..2b2084a7f 100644 --- a/Demo/ColdFire_MCF52259_CodeWarrior/FreeRTOSConfig.h +++ b/Demo/ColdFire_MCF52259_CodeWarrior/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. @@ -49,6 +49,16 @@ licensing and training services. */ +/* CodeWarrior often thinks it knows better than you which files you want to +build - and changes the port.c and portasm.S files included in the project from +the ColdFire V1 versions to the x86 versions. If you get lots of errors output +when either file is compiled then delete the files from the project and then +add back in the port.c and portasm.S files that are located in the +FreeRTOS\Source\portable\GCC\ColdFire_V2 directory. Remove the line below +before compiling. */ + +#error Read the comment above this line, then delete this error statement! + #ifndef FREERTOS_CONFIG_H #define FREERTOS_CONFIG_H diff --git a/Demo/ColdFire_MCF52259_CodeWarrior/FreeRTOS_Tick_Setup.c b/Demo/ColdFire_MCF52259_CodeWarrior/FreeRTOS_Tick_Setup.c index 5d309c8f8..8d93577b1 100644 --- a/Demo/ColdFire_MCF52259_CodeWarrior/FreeRTOS_Tick_Setup.c +++ b/Demo/ColdFire_MCF52259_CodeWarrior/FreeRTOS_Tick_Setup.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52259_CodeWarrior/HTTPDemo.c b/Demo/ColdFire_MCF52259_CodeWarrior/HTTPDemo.c index 787f39bc2..3c4e62748 100644 --- a/Demo/ColdFire_MCF52259_CodeWarrior/HTTPDemo.c +++ b/Demo/ColdFire_MCF52259_CodeWarrior/HTTPDemo.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52259_CodeWarrior/HTTPDemo.h b/Demo/ColdFire_MCF52259_CodeWarrior/HTTPDemo.h index 751cb7031..882070990 100644 --- a/Demo/ColdFire_MCF52259_CodeWarrior/HTTPDemo.h +++ b/Demo/ColdFire_MCF52259_CodeWarrior/HTTPDemo.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52259_CodeWarrior/ParTest/ParTest.c b/Demo/ColdFire_MCF52259_CodeWarrior/ParTest/ParTest.c index ec6df8891..d69fae43b 100644 --- a/Demo/ColdFire_MCF52259_CodeWarrior/ParTest/ParTest.c +++ b/Demo/ColdFire_MCF52259_CodeWarrior/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF52259_CodeWarrior/main.c b/Demo/ColdFire_MCF52259_CodeWarrior/main.c index 4b015c0a4..fd7b50384 100644 --- a/Demo/ColdFire_MCF52259_CodeWarrior/main.c +++ b/Demo/ColdFire_MCF52259_CodeWarrior/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h index 277dc19b7..7503c0f20 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c index 42aa80a4f..0f0bd4355 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Tick_Setup.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.c index 709aaf412..385ab4377 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.c +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.h index fb6971603..fedfdb464 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.h +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/IntQueueTimer.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c index a87e41618..24f1e130a 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c index 837b21798..22733fd3a 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/serial/serial.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/serial/serial.c index ba5b571c9..557182482 100644 --- a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/serial/serial.c +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/BlockQ.c b/Demo/Common/Full/BlockQ.c index e7823cab9..e97f03569 100644 --- a/Demo/Common/Full/BlockQ.c +++ b/Demo/Common/Full/BlockQ.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/PollQ.c b/Demo/Common/Full/PollQ.c index 89b9d99f5..b349ab5a3 100644 --- a/Demo/Common/Full/PollQ.c +++ b/Demo/Common/Full/PollQ.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/comtest.c b/Demo/Common/Full/comtest.c index 472f0db02..54f457288 100644 --- a/Demo/Common/Full/comtest.c +++ b/Demo/Common/Full/comtest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/death.c b/Demo/Common/Full/death.c index 3ef60fd2e..6c47d2d77 100644 --- a/Demo/Common/Full/death.c +++ b/Demo/Common/Full/death.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/dynamic.c b/Demo/Common/Full/dynamic.c index 954f3424a..29b906ec5 100644 --- a/Demo/Common/Full/dynamic.c +++ b/Demo/Common/Full/dynamic.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/events.c b/Demo/Common/Full/events.c index 1261676d9..2b6502640 100644 --- a/Demo/Common/Full/events.c +++ b/Demo/Common/Full/events.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/flash.c b/Demo/Common/Full/flash.c index b0e7b335c..2ea96c89f 100644 --- a/Demo/Common/Full/flash.c +++ b/Demo/Common/Full/flash.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/flop.c b/Demo/Common/Full/flop.c index 0498c3f14..fe33bd1f3 100644 --- a/Demo/Common/Full/flop.c +++ b/Demo/Common/Full/flop.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/integer.c b/Demo/Common/Full/integer.c index aab04e45c..d95af2cbd 100644 --- a/Demo/Common/Full/integer.c +++ b/Demo/Common/Full/integer.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/print.c b/Demo/Common/Full/print.c index 37ad200ad..b1b27822d 100644 --- a/Demo/Common/Full/print.c +++ b/Demo/Common/Full/print.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Full/semtest.c b/Demo/Common/Full/semtest.c index 506cfb0d2..7c5d9a69a 100644 --- a/Demo/Common/Full/semtest.c +++ b/Demo/Common/Full/semtest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/AltBlckQ.c b/Demo/Common/Minimal/AltBlckQ.c index d03ccba03..2d335598b 100644 --- a/Demo/Common/Minimal/AltBlckQ.c +++ b/Demo/Common/Minimal/AltBlckQ.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/AltBlock.c b/Demo/Common/Minimal/AltBlock.c index 9167d5173..fb73f1a8d 100644 --- a/Demo/Common/Minimal/AltBlock.c +++ b/Demo/Common/Minimal/AltBlock.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/AltPollQ.c b/Demo/Common/Minimal/AltPollQ.c index 97456907e..69d93d5c9 100644 --- a/Demo/Common/Minimal/AltPollQ.c +++ b/Demo/Common/Minimal/AltPollQ.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/AltQTest.c b/Demo/Common/Minimal/AltQTest.c index 9a7526be3..b66cc2559 100644 --- a/Demo/Common/Minimal/AltQTest.c +++ b/Demo/Common/Minimal/AltQTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/BlockQ.c b/Demo/Common/Minimal/BlockQ.c index 5f3e56b67..446226dd8 100644 --- a/Demo/Common/Minimal/BlockQ.c +++ b/Demo/Common/Minimal/BlockQ.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/GenQTest.c b/Demo/Common/Minimal/GenQTest.c index 37f0b912f..c243ba942 100644 --- a/Demo/Common/Minimal/GenQTest.c +++ b/Demo/Common/Minimal/GenQTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/IntQueue.c b/Demo/Common/Minimal/IntQueue.c index 26a104727..234019c0e 100644 --- a/Demo/Common/Minimal/IntQueue.c +++ b/Demo/Common/Minimal/IntQueue.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/PollQ.c b/Demo/Common/Minimal/PollQ.c index 9da8ddcff..29344c98a 100644 --- a/Demo/Common/Minimal/PollQ.c +++ b/Demo/Common/Minimal/PollQ.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/QPeek.c b/Demo/Common/Minimal/QPeek.c index 5eb0887b1..0446b0088 100644 --- a/Demo/Common/Minimal/QPeek.c +++ b/Demo/Common/Minimal/QPeek.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/blocktim.c b/Demo/Common/Minimal/blocktim.c index de5b2005b..718d36b33 100644 --- a/Demo/Common/Minimal/blocktim.c +++ b/Demo/Common/Minimal/blocktim.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/comtest.c b/Demo/Common/Minimal/comtest.c index a7020c8e7..da7fb8715 100644 --- a/Demo/Common/Minimal/comtest.c +++ b/Demo/Common/Minimal/comtest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/countsem.c b/Demo/Common/Minimal/countsem.c index c8324f735..34297af4c 100644 --- a/Demo/Common/Minimal/countsem.c +++ b/Demo/Common/Minimal/countsem.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/crflash.c b/Demo/Common/Minimal/crflash.c index f04e9de97..be23b33e2 100644 --- a/Demo/Common/Minimal/crflash.c +++ b/Demo/Common/Minimal/crflash.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/crhook.c b/Demo/Common/Minimal/crhook.c index 3980a4294..3cb2e2c3d 100644 --- a/Demo/Common/Minimal/crhook.c +++ b/Demo/Common/Minimal/crhook.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/death.c b/Demo/Common/Minimal/death.c index a8a07e0b2..fd9b05464 100644 --- a/Demo/Common/Minimal/death.c +++ b/Demo/Common/Minimal/death.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/dynamic.c b/Demo/Common/Minimal/dynamic.c index 29c6e19d3..422302c79 100644 --- a/Demo/Common/Minimal/dynamic.c +++ b/Demo/Common/Minimal/dynamic.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/flash.c b/Demo/Common/Minimal/flash.c index e9385e5f1..fdf3b7f49 100644 --- a/Demo/Common/Minimal/flash.c +++ b/Demo/Common/Minimal/flash.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/flop.c b/Demo/Common/Minimal/flop.c index 4f09532e5..23f3278c5 100644 --- a/Demo/Common/Minimal/flop.c +++ b/Demo/Common/Minimal/flop.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/integer.c b/Demo/Common/Minimal/integer.c index b0801554a..014599c3d 100644 --- a/Demo/Common/Minimal/integer.c +++ b/Demo/Common/Minimal/integer.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/recmutex.c b/Demo/Common/Minimal/recmutex.c index 2eec56b4a..6b753224f 100644 --- a/Demo/Common/Minimal/recmutex.c +++ b/Demo/Common/Minimal/recmutex.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/Minimal/semtest.c b/Demo/Common/Minimal/semtest.c index aa7472e84..dda16c522 100644 --- a/Demo/Common/Minimal/semtest.c +++ b/Demo/Common/Minimal/semtest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/AltBlckQ.h b/Demo/Common/include/AltBlckQ.h index 9fc13ce10..c4b782172 100644 --- a/Demo/Common/include/AltBlckQ.h +++ b/Demo/Common/include/AltBlckQ.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/AltBlock.h b/Demo/Common/include/AltBlock.h index 6890a0ba0..e405180e0 100644 --- a/Demo/Common/include/AltBlock.h +++ b/Demo/Common/include/AltBlock.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/AltPollQ.h b/Demo/Common/include/AltPollQ.h index 345b83e90..f6e05d27a 100644 --- a/Demo/Common/include/AltPollQ.h +++ b/Demo/Common/include/AltPollQ.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/AltQTest.h b/Demo/Common/include/AltQTest.h index 23252d605..275663547 100644 --- a/Demo/Common/include/AltQTest.h +++ b/Demo/Common/include/AltQTest.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/BlockQ.h b/Demo/Common/include/BlockQ.h index 44beeb65d..6606f1e5c 100644 --- a/Demo/Common/include/BlockQ.h +++ b/Demo/Common/include/BlockQ.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/GenQTest.h b/Demo/Common/include/GenQTest.h index 94fe899e7..a625e886a 100644 --- a/Demo/Common/include/GenQTest.h +++ b/Demo/Common/include/GenQTest.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/IntQueue.h b/Demo/Common/include/IntQueue.h index 0a097abde..f3481defe 100644 --- a/Demo/Common/include/IntQueue.h +++ b/Demo/Common/include/IntQueue.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/PollQ.h b/Demo/Common/include/PollQ.h index cb6423abe..69de9e5d0 100644 --- a/Demo/Common/include/PollQ.h +++ b/Demo/Common/include/PollQ.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/QPeek.h b/Demo/Common/include/QPeek.h index 2e33223b2..edc1dcc92 100644 --- a/Demo/Common/include/QPeek.h +++ b/Demo/Common/include/QPeek.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/blocktim.h b/Demo/Common/include/blocktim.h index 0db80c92a..66f22c217 100644 --- a/Demo/Common/include/blocktim.h +++ b/Demo/Common/include/blocktim.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/comtest.h b/Demo/Common/include/comtest.h index 1319f9e0c..5502ffd77 100644 --- a/Demo/Common/include/comtest.h +++ b/Demo/Common/include/comtest.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/comtest2.h b/Demo/Common/include/comtest2.h index 21420dd75..abb9e16b1 100644 --- a/Demo/Common/include/comtest2.h +++ b/Demo/Common/include/comtest2.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/countsem.h b/Demo/Common/include/countsem.h index 2246c10f7..12a740a6b 100644 --- a/Demo/Common/include/countsem.h +++ b/Demo/Common/include/countsem.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/crflash.h b/Demo/Common/include/crflash.h index f7af73980..df70ecf60 100644 --- a/Demo/Common/include/crflash.h +++ b/Demo/Common/include/crflash.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/crhook.h b/Demo/Common/include/crhook.h index 2a17b62b3..7f7b9924a 100644 --- a/Demo/Common/include/crhook.h +++ b/Demo/Common/include/crhook.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/death.h b/Demo/Common/include/death.h index 81d43283d..8c598d25c 100644 --- a/Demo/Common/include/death.h +++ b/Demo/Common/include/death.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/dynamic.h b/Demo/Common/include/dynamic.h index f3d869a91..f76e7cbe6 100644 --- a/Demo/Common/include/dynamic.h +++ b/Demo/Common/include/dynamic.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/fileIO.h b/Demo/Common/include/fileIO.h index 01084ff66..0b104910c 100644 --- a/Demo/Common/include/fileIO.h +++ b/Demo/Common/include/fileIO.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/flash.h b/Demo/Common/include/flash.h index a4d596567..8dcd921d6 100644 --- a/Demo/Common/include/flash.h +++ b/Demo/Common/include/flash.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/flop.h b/Demo/Common/include/flop.h index f4a8f886c..280a741c8 100644 --- a/Demo/Common/include/flop.h +++ b/Demo/Common/include/flop.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/integer.h b/Demo/Common/include/integer.h index f9cf10879..e05cd5b3a 100644 --- a/Demo/Common/include/integer.h +++ b/Demo/Common/include/integer.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/mevents.h b/Demo/Common/include/mevents.h index 01e5137d2..9a008cf7c 100644 --- a/Demo/Common/include/mevents.h +++ b/Demo/Common/include/mevents.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/partest.h b/Demo/Common/include/partest.h index 765a20661..7003bc86d 100644 --- a/Demo/Common/include/partest.h +++ b/Demo/Common/include/partest.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/print.h b/Demo/Common/include/print.h index 2525a0c77..41d879313 100644 --- a/Demo/Common/include/print.h +++ b/Demo/Common/include/print.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/recmutex.h b/Demo/Common/include/recmutex.h index bebde0031..11659a353 100644 --- a/Demo/Common/include/recmutex.h +++ b/Demo/Common/include/recmutex.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/semtest.h b/Demo/Common/include/semtest.h index 3a77eb8c1..cd4fadd33 100644 --- a/Demo/Common/include/semtest.h +++ b/Demo/Common/include/semtest.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Common/include/serial.h b/Demo/Common/include/serial.h index 2c5e622be..6157c0065 100644 --- a/Demo/Common/include/serial.h +++ b/Demo/Common/include/serial.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Cygnal/FreeRTOSConfig.h b/Demo/Cygnal/FreeRTOSConfig.h index c4b828006..231b9e379 100644 --- a/Demo/Cygnal/FreeRTOSConfig.h +++ b/Demo/Cygnal/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Cygnal/Makefile b/Demo/Cygnal/Makefile index dbc0f2914..ae524fbdd 100644 --- a/Demo/Cygnal/Makefile +++ b/Demo/Cygnal/Makefile @@ -1,5 +1,5 @@ #/* -# FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. +# FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. # # This file is part of the FreeRTOS.org distribution. # diff --git a/Demo/Cygnal/ParTest/ParTest.c b/Demo/Cygnal/ParTest/ParTest.c index d6d006bda..9f7902fcb 100644 --- a/Demo/Cygnal/ParTest/ParTest.c +++ b/Demo/Cygnal/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Cygnal/main.c b/Demo/Cygnal/main.c index eef89736c..322190dc4 100644 --- a/Demo/Cygnal/main.c +++ b/Demo/Cygnal/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Cygnal/serial/serial.c b/Demo/Cygnal/serial/serial.c index d263ddb33..9b1ec2c07 100644 --- a/Demo/Cygnal/serial/serial.c +++ b/Demo/Cygnal/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Flshlite/FRConfig.h b/Demo/Flshlite/FRConfig.h index e85528356..2ea53ea91 100644 --- a/Demo/Flshlite/FRConfig.h +++ b/Demo/Flshlite/FRConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Flshlite/FileIO/fileIO.c b/Demo/Flshlite/FileIO/fileIO.c index 175a09ed3..8bba5ba6a 100644 --- a/Demo/Flshlite/FileIO/fileIO.c +++ b/Demo/Flshlite/FileIO/fileIO.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Flshlite/FreeRTOSConfig.h b/Demo/Flshlite/FreeRTOSConfig.h index 51d8cd039..e4f2518ad 100644 --- a/Demo/Flshlite/FreeRTOSConfig.h +++ b/Demo/Flshlite/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Flshlite/ParTest/ParTest.c b/Demo/Flshlite/ParTest/ParTest.c index 2f2a4dbbc..60221ffe7 100644 --- a/Demo/Flshlite/ParTest/ParTest.c +++ b/Demo/Flshlite/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Flshlite/main.c b/Demo/Flshlite/main.c index 7145a9448..e0afb5bd3 100644 --- a/Demo/Flshlite/main.c +++ b/Demo/Flshlite/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/Flshlite/serial/serial.c b/Demo/Flshlite/serial/serial.c index 603882c3d..67b3a7c46 100644 --- a/Demo/Flshlite/serial/serial.c +++ b/Demo/Flshlite/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/H8S/RTOSDemo/FreeRTOSConfig.h b/Demo/H8S/RTOSDemo/FreeRTOSConfig.h index 371f53c41..2841d5b98 100644 --- a/Demo/H8S/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/H8S/RTOSDemo/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/H8S/RTOSDemo/ParTest/ParTest.c b/Demo/H8S/RTOSDemo/ParTest/ParTest.c index 86a5ca766..95fe4d895 100644 --- a/Demo/H8S/RTOSDemo/ParTest/ParTest.c +++ b/Demo/H8S/RTOSDemo/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/H8S/RTOSDemo/main.c b/Demo/H8S/RTOSDemo/main.c index 1cb372ad7..c2a5f82ef 100644 --- a/Demo/H8S/RTOSDemo/main.c +++ b/Demo/H8S/RTOSDemo/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/H8S/RTOSDemo/serial/serial.c b/Demo/H8S/RTOSDemo/serial/serial.c index 77238dfa5..e728d328a 100644 --- a/Demo/H8S/RTOSDemo/serial/serial.c +++ b/Demo/H8S/RTOSDemo/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_CodeWarrior_banked/FreeRTOSConfig.h b/Demo/HCS12_CodeWarrior_banked/FreeRTOSConfig.h index 5f7631f7d..726cf64ed 100644 --- a/Demo/HCS12_CodeWarrior_banked/FreeRTOSConfig.h +++ b/Demo/HCS12_CodeWarrior_banked/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_CodeWarrior_banked/ParTest/ParTest.c b/Demo/HCS12_CodeWarrior_banked/ParTest/ParTest.c index 14d47b586..68c402dd8 100644 --- a/Demo/HCS12_CodeWarrior_banked/ParTest/ParTest.c +++ b/Demo/HCS12_CodeWarrior_banked/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_CodeWarrior_banked/main.c b/Demo/HCS12_CodeWarrior_banked/main.c index 2cb2b1080..52f8258a8 100644 --- a/Demo/HCS12_CodeWarrior_banked/main.c +++ b/Demo/HCS12_CodeWarrior_banked/main.c @@ -1,6 +1,6 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_CodeWarrior_banked/serial/serial.c b/Demo/HCS12_CodeWarrior_banked/serial/serial.c index 73776a2aa..a33fc4939 100644 --- a/Demo/HCS12_CodeWarrior_banked/serial/serial.c +++ b/Demo/HCS12_CodeWarrior_banked/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_CodeWarrior_small/FreeRTOSConfig.h b/Demo/HCS12_CodeWarrior_small/FreeRTOSConfig.h index 12ba75951..e3bfe51dc 100644 --- a/Demo/HCS12_CodeWarrior_small/FreeRTOSConfig.h +++ b/Demo/HCS12_CodeWarrior_small/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_CodeWarrior_small/ParTest/ParTest.c b/Demo/HCS12_CodeWarrior_small/ParTest/ParTest.c index 14d47b586..68c402dd8 100644 --- a/Demo/HCS12_CodeWarrior_small/ParTest/ParTest.c +++ b/Demo/HCS12_CodeWarrior_small/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_CodeWarrior_small/main.c b/Demo/HCS12_CodeWarrior_small/main.c index 0017b6225..3f48d23c8 100644 --- a/Demo/HCS12_CodeWarrior_small/main.c +++ b/Demo/HCS12_CodeWarrior_small/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_CodeWarrior_small/serial/serial.c b/Demo/HCS12_CodeWarrior_small/serial/serial.c index 09ea1f1b7..aa7f77b1d 100644 --- a/Demo/HCS12_CodeWarrior_small/serial/serial.c +++ b/Demo/HCS12_CodeWarrior_small/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_GCC_banked/FreeRTOSConfig.h b/Demo/HCS12_GCC_banked/FreeRTOSConfig.h index c038b55fa..d21b28fe3 100644 --- a/Demo/HCS12_GCC_banked/FreeRTOSConfig.h +++ b/Demo/HCS12_GCC_banked/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_GCC_banked/ParTest.c b/Demo/HCS12_GCC_banked/ParTest.c index a16f19637..66885707b 100644 --- a/Demo/HCS12_GCC_banked/ParTest.c +++ b/Demo/HCS12_GCC_banked/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_GCC_banked/main.c b/Demo/HCS12_GCC_banked/main.c index 74511de62..ee6e60666 100644 --- a/Demo/HCS12_GCC_banked/main.c +++ b/Demo/HCS12_GCC_banked/main.c @@ -1,6 +1,6 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/HCS12_GCC_banked/startup.c b/Demo/HCS12_GCC_banked/startup.c index 056461822..d57d8eaf0 100644 --- a/Demo/HCS12_GCC_banked/startup.c +++ b/Demo/HCS12_GCC_banked/startup.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB91460_Softune/SRC/FreeRTOSConfig.h b/Demo/MB91460_Softune/SRC/FreeRTOSConfig.h index 41b5b87ec..e1ec3f55d 100644 --- a/Demo/MB91460_Softune/SRC/FreeRTOSConfig.h +++ b/Demo/MB91460_Softune/SRC/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB91460_Softune/SRC/crflash_modified.c b/Demo/MB91460_Softune/SRC/crflash_modified.c index 6d0d32869..3f708b8c0 100644 --- a/Demo/MB91460_Softune/SRC/crflash_modified.c +++ b/Demo/MB91460_Softune/SRC/crflash_modified.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB91460_Softune/SRC/main.c b/Demo/MB91460_Softune/SRC/main.c index 3070e6a7f..087157715 100644 --- a/Demo/MB91460_Softune/SRC/main.c +++ b/Demo/MB91460_Softune/SRC/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB91460_Softune/SRC/partest/partest.c b/Demo/MB91460_Softune/SRC/partest/partest.c index 82257e78d..539fc0b11 100644 --- a/Demo/MB91460_Softune/SRC/partest/partest.c +++ b/Demo/MB91460_Softune/SRC/partest/partest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB91460_Softune/SRC/serial/serial.c b/Demo/MB91460_Softune/SRC/serial/serial.c index 1515de9f5..2da53c73f 100644 --- a/Demo/MB91460_Softune/SRC/serial/serial.c +++ b/Demo/MB91460_Softune/SRC/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h index 56a68a09b..d54277d29 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/crflash_sk16fx100mpc.c b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/crflash_sk16fx100mpc.c index 6d0d32869..3f708b8c0 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/crflash_sk16fx100mpc.c +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/crflash_sk16fx100mpc.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/main.c b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/main.c index 8dabf402e..f22f0c838 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/main.c +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/partest/partest.c b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/partest/partest.c index e9fffddd5..6fc6ee96b 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/partest/partest.c +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/partest/partest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/serial/serial.c b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/serial/serial.c index 38f846222..55715ee17 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/serial/serial.c +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96350_Softune_Dice_Kit/DiceTask.c b/Demo/MB96350_Softune_Dice_Kit/DiceTask.c index 591bcd409..974526a4d 100644 --- a/Demo/MB96350_Softune_Dice_Kit/DiceTask.c +++ b/Demo/MB96350_Softune_Dice_Kit/DiceTask.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96350_Softune_Dice_Kit/DiceTask.h b/Demo/MB96350_Softune_Dice_Kit/DiceTask.h index 02dfeb78d..9f742dd84 100644 --- a/Demo/MB96350_Softune_Dice_Kit/DiceTask.h +++ b/Demo/MB96350_Softune_Dice_Kit/DiceTask.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96350_Softune_Dice_Kit/FreeRTOSConfig.h b/Demo/MB96350_Softune_Dice_Kit/FreeRTOSConfig.h index 58bf6a108..5d9532eb4 100644 --- a/Demo/MB96350_Softune_Dice_Kit/FreeRTOSConfig.h +++ b/Demo/MB96350_Softune_Dice_Kit/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96350_Softune_Dice_Kit/ParTest/ParTest.c b/Demo/MB96350_Softune_Dice_Kit/ParTest/ParTest.c index 19569bb81..dfaf2ba2d 100644 --- a/Demo/MB96350_Softune_Dice_Kit/ParTest/ParTest.c +++ b/Demo/MB96350_Softune_Dice_Kit/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96350_Softune_Dice_Kit/SegmentToggleTasks.c b/Demo/MB96350_Softune_Dice_Kit/SegmentToggleTasks.c index ffb19103a..7c4a35d90 100644 --- a/Demo/MB96350_Softune_Dice_Kit/SegmentToggleTasks.c +++ b/Demo/MB96350_Softune_Dice_Kit/SegmentToggleTasks.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MB96350_Softune_Dice_Kit/main.c b/Demo/MB96350_Softune_Dice_Kit/main.c index 8bf728760..3c364f9bd 100644 --- a/Demo/MB96350_Softune_Dice_Kit/main.c +++ b/Demo/MB96350_Softune_Dice_Kit/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MicroBlaze/FreeRTOSConfig.h b/Demo/MicroBlaze/FreeRTOSConfig.h index d67730b9b..b28a8a5b5 100644 --- a/Demo/MicroBlaze/FreeRTOSConfig.h +++ b/Demo/MicroBlaze/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MicroBlaze/ParTest/ParTest.c b/Demo/MicroBlaze/ParTest/ParTest.c index ec1602cca..7759248a2 100644 --- a/Demo/MicroBlaze/ParTest/ParTest.c +++ b/Demo/MicroBlaze/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MicroBlaze/main.c b/Demo/MicroBlaze/main.c index efde93fff..639a97a51 100644 --- a/Demo/MicroBlaze/main.c +++ b/Demo/MicroBlaze/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/MicroBlaze/serial/serial.c b/Demo/MicroBlaze/serial/serial.c index 644b9f0c8..3037789bb 100644 --- a/Demo/MicroBlaze/serial/serial.c +++ b/Demo/MicroBlaze/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_78K0R_IAR/ButtonISR.s26 b/Demo/NEC_78K0R_IAR/ButtonISR.s26 index 1e8d96a1b..91e540f92 100644 --- a/Demo/NEC_78K0R_IAR/ButtonISR.s26 +++ b/Demo/NEC_78K0R_IAR/ButtonISR.s26 @@ -1,5 +1,5 @@ ;/* -; FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. +; FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. ; ; This file is part of the FreeRTOS.org distribution. ; diff --git a/Demo/NEC_78K0R_IAR/ButtonTask.c b/Demo/NEC_78K0R_IAR/ButtonTask.c index db79952e4..70d019139 100644 --- a/Demo/NEC_78K0R_IAR/ButtonTask.c +++ b/Demo/NEC_78K0R_IAR/ButtonTask.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h b/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h index 02494c5ab..e75e1062d 100644 --- a/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h +++ b/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_78K0R_IAR/RegTest.s26 b/Demo/NEC_78K0R_IAR/RegTest.s26 index 80bea0007..9decc9775 100644 --- a/Demo/NEC_78K0R_IAR/RegTest.s26 +++ b/Demo/NEC_78K0R_IAR/RegTest.s26 @@ -1,5 +1,5 @@ ;/* -; FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. +; FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. ; ; This file is part of the FreeRTOS.org distribution. ; diff --git a/Demo/NEC_78K0R_IAR/main.c b/Demo/NEC_78K0R_IAR/main.c index 7c544ef84..b464bc86d 100644 --- a/Demo/NEC_78K0R_IAR/main.c +++ b/Demo/NEC_78K0R_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_V850ES_IAR/FreeRTOSConfig.h b/Demo/NEC_V850ES_IAR/FreeRTOSConfig.h index 536040518..03d086fa7 100644 --- a/Demo/NEC_V850ES_IAR/FreeRTOSConfig.h +++ b/Demo/NEC_V850ES_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit.c b/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit.c index b972df625..76cc3a8ed 100644 --- a/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit.c +++ b/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit_Fx3.c b/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit_Fx3.c index 409e4819a..2da7d63ab 100644 --- a/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit_Fx3.c +++ b/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit_Fx3.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit_Hx2.c b/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit_Hx2.c index b0530dc4d..e6a93ddd7 100644 --- a/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit_Hx2.c +++ b/Demo/NEC_V850ES_IAR/LowLevelInit/LowLevelInit_Hx2.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_V850ES_IAR/ParTest/ParTest_Fx3_App_Board.c b/Demo/NEC_V850ES_IAR/ParTest/ParTest_Fx3_App_Board.c index 055a88b72..6c57fa5bc 100644 --- a/Demo/NEC_V850ES_IAR/ParTest/ParTest_Fx3_App_Board.c +++ b/Demo/NEC_V850ES_IAR/ParTest/ParTest_Fx3_App_Board.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_V850ES_IAR/ParTest/ParTest_Generic_Target_Board.c b/Demo/NEC_V850ES_IAR/ParTest/ParTest_Generic_Target_Board.c index 41cf19e7d..3a52a4274 100644 --- a/Demo/NEC_V850ES_IAR/ParTest/ParTest_Generic_Target_Board.c +++ b/Demo/NEC_V850ES_IAR/ParTest/ParTest_Generic_Target_Board.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_V850ES_IAR/RegTest.s85 b/Demo/NEC_V850ES_IAR/RegTest.s85 index f6c1d3cdf..64c59dacb 100644 --- a/Demo/NEC_V850ES_IAR/RegTest.s85 +++ b/Demo/NEC_V850ES_IAR/RegTest.s85 @@ -1,5 +1,5 @@ ;/* -; FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. +; FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. ; ; This file is part of the FreeRTOS.org distribution. ; diff --git a/Demo/NEC_V850ES_IAR/main.c b/Demo/NEC_V850ES_IAR/main.c index 5aa5110df..ee09099f8 100644 --- a/Demo/NEC_V850ES_IAR/main.c +++ b/Demo/NEC_V850ES_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/NEC_V850ES_IAR/serial/serial.c b/Demo/NEC_V850ES_IAR/serial/serial.c index e3802acb3..a104321e4 100644 --- a/Demo/NEC_V850ES_IAR/serial/serial.c +++ b/Demo/NEC_V850ES_IAR/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PC/FRConfig.h b/Demo/PC/FRConfig.h index f3e7737cc..b9c90c21b 100644 --- a/Demo/PC/FRConfig.h +++ b/Demo/PC/FRConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PC/FileIO/fileIO.c b/Demo/PC/FileIO/fileIO.c index 09e6f7384..a48042612 100644 --- a/Demo/PC/FileIO/fileIO.c +++ b/Demo/PC/FileIO/fileIO.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PC/FreeRTOSConfig.h b/Demo/PC/FreeRTOSConfig.h index 1fd012899..890659e39 100644 --- a/Demo/PC/FreeRTOSConfig.h +++ b/Demo/PC/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PC/ParTest/ParTest.c b/Demo/PC/ParTest/ParTest.c index a79792c70..282f4ec46 100644 --- a/Demo/PC/ParTest/ParTest.c +++ b/Demo/PC/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PC/main.c b/Demo/PC/main.c index 33b18f48e..2b008c8bf 100644 --- a/Demo/PC/main.c +++ b/Demo/PC/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PC/serial/serial.c b/Demo/PC/serial/serial.c index f9cc76894..8b81dc78a 100644 --- a/Demo/PC/serial/serial.c +++ b/Demo/PC/serial/serial.c @@ -5,7 +5,7 @@ http://dzcomm.sourceforge.net - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_MPLAB/FreeRTOSConfig.h b/Demo/PIC18_MPLAB/FreeRTOSConfig.h index 0240029b1..3c8623f48 100644 --- a/Demo/PIC18_MPLAB/FreeRTOSConfig.h +++ b/Demo/PIC18_MPLAB/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_MPLAB/ParTest/ParTest.c b/Demo/PIC18_MPLAB/ParTest/ParTest.c index c33243e56..fd39d939e 100644 --- a/Demo/PIC18_MPLAB/ParTest/ParTest.c +++ b/Demo/PIC18_MPLAB/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_MPLAB/main1.c b/Demo/PIC18_MPLAB/main1.c index c0a8879d3..d0a44cc69 100644 --- a/Demo/PIC18_MPLAB/main1.c +++ b/Demo/PIC18_MPLAB/main1.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_MPLAB/main2.c b/Demo/PIC18_MPLAB/main2.c index 94f99d316..242444025 100644 --- a/Demo/PIC18_MPLAB/main2.c +++ b/Demo/PIC18_MPLAB/main2.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_MPLAB/main3.c b/Demo/PIC18_MPLAB/main3.c index cc29ca147..88a18d0ad 100644 --- a/Demo/PIC18_MPLAB/main3.c +++ b/Demo/PIC18_MPLAB/main3.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_MPLAB/serial/serial.c b/Demo/PIC18_MPLAB/serial/serial.c index e08451a22..24d1cfadc 100644 --- a/Demo/PIC18_MPLAB/serial/serial.c +++ b/Demo/PIC18_MPLAB/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo1/FreeRTOSConfig.h b/Demo/PIC18_WizC/Demo1/FreeRTOSConfig.h index 8aa2a74c6..fa08b289b 100644 --- a/Demo/PIC18_WizC/Demo1/FreeRTOSConfig.h +++ b/Demo/PIC18_WizC/Demo1/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo1/WIZCmake.h b/Demo/PIC18_WizC/Demo1/WIZCmake.h index 2b88b3674..b6e1208f7 100644 --- a/Demo/PIC18_WizC/Demo1/WIZCmake.h +++ b/Demo/PIC18_WizC/Demo1/WIZCmake.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo1/fuses.c b/Demo/PIC18_WizC/Demo1/fuses.c index e3acb57fa..c62890b62 100644 --- a/Demo/PIC18_WizC/Demo1/fuses.c +++ b/Demo/PIC18_WizC/Demo1/fuses.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo1/interrupt.c b/Demo/PIC18_WizC/Demo1/interrupt.c index 0138c0628..50e0f782b 100644 --- a/Demo/PIC18_WizC/Demo1/interrupt.c +++ b/Demo/PIC18_WizC/Demo1/interrupt.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo1/main.c b/Demo/PIC18_WizC/Demo1/main.c index ef530a848..7405cbfb1 100644 --- a/Demo/PIC18_WizC/Demo1/main.c +++ b/Demo/PIC18_WizC/Demo1/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo2/FreeRTOSConfig.h b/Demo/PIC18_WizC/Demo2/FreeRTOSConfig.h index 14c3a5615..eed3140e8 100644 --- a/Demo/PIC18_WizC/Demo2/FreeRTOSConfig.h +++ b/Demo/PIC18_WizC/Demo2/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo2/WIZCmake.h b/Demo/PIC18_WizC/Demo2/WIZCmake.h index bf5dddb1d..186a1d87a 100644 --- a/Demo/PIC18_WizC/Demo2/WIZCmake.h +++ b/Demo/PIC18_WizC/Demo2/WIZCmake.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo2/fuses.c b/Demo/PIC18_WizC/Demo2/fuses.c index e3acb57fa..c62890b62 100644 --- a/Demo/PIC18_WizC/Demo2/fuses.c +++ b/Demo/PIC18_WizC/Demo2/fuses.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo2/interrupt.c b/Demo/PIC18_WizC/Demo2/interrupt.c index 54747a026..6a54a43f8 100644 --- a/Demo/PIC18_WizC/Demo2/interrupt.c +++ b/Demo/PIC18_WizC/Demo2/interrupt.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo2/main.c b/Demo/PIC18_WizC/Demo2/main.c index 099d75c9e..3b00a20bc 100644 --- a/Demo/PIC18_WizC/Demo2/main.c +++ b/Demo/PIC18_WizC/Demo2/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo3/FreeRTOSConfig.h b/Demo/PIC18_WizC/Demo3/FreeRTOSConfig.h index 642e4c1d9..ae4d341e5 100644 --- a/Demo/PIC18_WizC/Demo3/FreeRTOSConfig.h +++ b/Demo/PIC18_WizC/Demo3/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo3/WIZCmake.h b/Demo/PIC18_WizC/Demo3/WIZCmake.h index bf5dddb1d..186a1d87a 100644 --- a/Demo/PIC18_WizC/Demo3/WIZCmake.h +++ b/Demo/PIC18_WizC/Demo3/WIZCmake.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo3/fuses.c b/Demo/PIC18_WizC/Demo3/fuses.c index e3acb57fa..c62890b62 100644 --- a/Demo/PIC18_WizC/Demo3/fuses.c +++ b/Demo/PIC18_WizC/Demo3/fuses.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo3/interrupt.c b/Demo/PIC18_WizC/Demo3/interrupt.c index 54747a026..6a54a43f8 100644 --- a/Demo/PIC18_WizC/Demo3/interrupt.c +++ b/Demo/PIC18_WizC/Demo3/interrupt.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo3/main.c b/Demo/PIC18_WizC/Demo3/main.c index f076855e4..6111f8f33 100644 --- a/Demo/PIC18_WizC/Demo3/main.c +++ b/Demo/PIC18_WizC/Demo3/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo4/FreeRTOSConfig.h b/Demo/PIC18_WizC/Demo4/FreeRTOSConfig.h index a1ca7655d..6388a7d86 100644 --- a/Demo/PIC18_WizC/Demo4/FreeRTOSConfig.h +++ b/Demo/PIC18_WizC/Demo4/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo4/WIZCmake.h b/Demo/PIC18_WizC/Demo4/WIZCmake.h index bf5dddb1d..186a1d87a 100644 --- a/Demo/PIC18_WizC/Demo4/WIZCmake.h +++ b/Demo/PIC18_WizC/Demo4/WIZCmake.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo4/fuses.c b/Demo/PIC18_WizC/Demo4/fuses.c index e3acb57fa..c62890b62 100644 --- a/Demo/PIC18_WizC/Demo4/fuses.c +++ b/Demo/PIC18_WizC/Demo4/fuses.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo4/interrupt.c b/Demo/PIC18_WizC/Demo4/interrupt.c index 54747a026..6a54a43f8 100644 --- a/Demo/PIC18_WizC/Demo4/interrupt.c +++ b/Demo/PIC18_WizC/Demo4/interrupt.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo4/main.c b/Demo/PIC18_WizC/Demo4/main.c index ad2422737..0cb57fa18 100644 --- a/Demo/PIC18_WizC/Demo4/main.c +++ b/Demo/PIC18_WizC/Demo4/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo5/FreeRTOSConfig.h b/Demo/PIC18_WizC/Demo5/FreeRTOSConfig.h index 48b2f59c0..74cd56067 100644 --- a/Demo/PIC18_WizC/Demo5/FreeRTOSConfig.h +++ b/Demo/PIC18_WizC/Demo5/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo5/WIZCmake.h b/Demo/PIC18_WizC/Demo5/WIZCmake.h index bf5dddb1d..186a1d87a 100644 --- a/Demo/PIC18_WizC/Demo5/WIZCmake.h +++ b/Demo/PIC18_WizC/Demo5/WIZCmake.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo5/fuses.c b/Demo/PIC18_WizC/Demo5/fuses.c index e3acb57fa..c62890b62 100644 --- a/Demo/PIC18_WizC/Demo5/fuses.c +++ b/Demo/PIC18_WizC/Demo5/fuses.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo5/interrupt.c b/Demo/PIC18_WizC/Demo5/interrupt.c index 54747a026..6a54a43f8 100644 --- a/Demo/PIC18_WizC/Demo5/interrupt.c +++ b/Demo/PIC18_WizC/Demo5/interrupt.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo5/main.c b/Demo/PIC18_WizC/Demo5/main.c index 5addf2736..c59d1cb61 100644 --- a/Demo/PIC18_WizC/Demo5/main.c +++ b/Demo/PIC18_WizC/Demo5/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo6/FreeRTOSConfig.h b/Demo/PIC18_WizC/Demo6/FreeRTOSConfig.h index a07d38460..de1efb36d 100644 --- a/Demo/PIC18_WizC/Demo6/FreeRTOSConfig.h +++ b/Demo/PIC18_WizC/Demo6/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo6/WIZCmake.h b/Demo/PIC18_WizC/Demo6/WIZCmake.h index bf5dddb1d..186a1d87a 100644 --- a/Demo/PIC18_WizC/Demo6/WIZCmake.h +++ b/Demo/PIC18_WizC/Demo6/WIZCmake.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo6/fuses.c b/Demo/PIC18_WizC/Demo6/fuses.c index e3acb57fa..c62890b62 100644 --- a/Demo/PIC18_WizC/Demo6/fuses.c +++ b/Demo/PIC18_WizC/Demo6/fuses.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo6/interrupt.c b/Demo/PIC18_WizC/Demo6/interrupt.c index 54747a026..6a54a43f8 100644 --- a/Demo/PIC18_WizC/Demo6/interrupt.c +++ b/Demo/PIC18_WizC/Demo6/interrupt.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo6/main.c b/Demo/PIC18_WizC/Demo6/main.c index 100a28a64..04eab50ee 100644 --- a/Demo/PIC18_WizC/Demo6/main.c +++ b/Demo/PIC18_WizC/Demo6/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo7/FreeRTOSConfig.h b/Demo/PIC18_WizC/Demo7/FreeRTOSConfig.h index 8de6e2b47..7488d95cf 100644 --- a/Demo/PIC18_WizC/Demo7/FreeRTOSConfig.h +++ b/Demo/PIC18_WizC/Demo7/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo7/WIZCmake.h b/Demo/PIC18_WizC/Demo7/WIZCmake.h index bf5dddb1d..186a1d87a 100644 --- a/Demo/PIC18_WizC/Demo7/WIZCmake.h +++ b/Demo/PIC18_WizC/Demo7/WIZCmake.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo7/fuses.c b/Demo/PIC18_WizC/Demo7/fuses.c index e3acb57fa..c62890b62 100644 --- a/Demo/PIC18_WizC/Demo7/fuses.c +++ b/Demo/PIC18_WizC/Demo7/fuses.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo7/interrupt.c b/Demo/PIC18_WizC/Demo7/interrupt.c index 54747a026..6a54a43f8 100644 --- a/Demo/PIC18_WizC/Demo7/interrupt.c +++ b/Demo/PIC18_WizC/Demo7/interrupt.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/Demo7/main.c b/Demo/PIC18_WizC/Demo7/main.c index 26cfc8c9d..13620970d 100644 --- a/Demo/PIC18_WizC/Demo7/main.c +++ b/Demo/PIC18_WizC/Demo7/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/ParTest/ParTest.c b/Demo/PIC18_WizC/ParTest/ParTest.c index f06214891..0548160f8 100644 --- a/Demo/PIC18_WizC/ParTest/ParTest.c +++ b/Demo/PIC18_WizC/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/serial/isrSerialRx.c b/Demo/PIC18_WizC/serial/isrSerialRx.c index 099e70b96..045250f14 100644 --- a/Demo/PIC18_WizC/serial/isrSerialRx.c +++ b/Demo/PIC18_WizC/serial/isrSerialRx.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/serial/isrSerialTx.c b/Demo/PIC18_WizC/serial/isrSerialTx.c index 87e347292..8214365d8 100644 --- a/Demo/PIC18_WizC/serial/isrSerialTx.c +++ b/Demo/PIC18_WizC/serial/isrSerialTx.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC18_WizC/serial/serial.c b/Demo/PIC18_WizC/serial/serial.c index 35b7dac5a..ddce585ae 100644 --- a/Demo/PIC18_WizC/serial/serial.c +++ b/Demo/PIC18_WizC/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC24_MPLAB/FreeRTOSConfig.h b/Demo/PIC24_MPLAB/FreeRTOSConfig.h index 25949741b..ac685c616 100644 --- a/Demo/PIC24_MPLAB/FreeRTOSConfig.h +++ b/Demo/PIC24_MPLAB/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC24_MPLAB/ParTest/ParTest.c b/Demo/PIC24_MPLAB/ParTest/ParTest.c index ae15247f9..401e65ace 100644 --- a/Demo/PIC24_MPLAB/ParTest/ParTest.c +++ b/Demo/PIC24_MPLAB/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC24_MPLAB/lcd.c b/Demo/PIC24_MPLAB/lcd.c index 623b9cb6a..873af50a8 100644 --- a/Demo/PIC24_MPLAB/lcd.c +++ b/Demo/PIC24_MPLAB/lcd.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC24_MPLAB/lcd.h b/Demo/PIC24_MPLAB/lcd.h index 1306fa02d..39716b2ce 100644 --- a/Demo/PIC24_MPLAB/lcd.h +++ b/Demo/PIC24_MPLAB/lcd.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC24_MPLAB/main.c b/Demo/PIC24_MPLAB/main.c index 424d7dfdd..1cc04a9cf 100644 --- a/Demo/PIC24_MPLAB/main.c +++ b/Demo/PIC24_MPLAB/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC24_MPLAB/serial/serial.c b/Demo/PIC24_MPLAB/serial/serial.c index 6b7fe7049..f97265ccb 100644 --- a/Demo/PIC24_MPLAB/serial/serial.c +++ b/Demo/PIC24_MPLAB/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC24_MPLAB/timertest.c b/Demo/PIC24_MPLAB/timertest.c index 13fafa234..72399d9b6 100644 --- a/Demo/PIC24_MPLAB/timertest.c +++ b/Demo/PIC24_MPLAB/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC24_MPLAB/timertest.h b/Demo/PIC24_MPLAB/timertest.h index 4c2d799c2..ad872a09d 100644 --- a/Demo/PIC24_MPLAB/timertest.h +++ b/Demo/PIC24_MPLAB/timertest.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/FreeRTOSConfig.h b/Demo/PIC32MX_MPLAB/FreeRTOSConfig.h index 4a1ea5bcb..3e5db91b4 100644 --- a/Demo/PIC32MX_MPLAB/FreeRTOSConfig.h +++ b/Demo/PIC32MX_MPLAB/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/IntQueueTimer.c b/Demo/PIC32MX_MPLAB/IntQueueTimer.c index 3d6aabf89..16419f10c 100644 --- a/Demo/PIC32MX_MPLAB/IntQueueTimer.c +++ b/Demo/PIC32MX_MPLAB/IntQueueTimer.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/IntQueueTimer.h b/Demo/PIC32MX_MPLAB/IntQueueTimer.h index fb6971603..fedfdb464 100644 --- a/Demo/PIC32MX_MPLAB/IntQueueTimer.h +++ b/Demo/PIC32MX_MPLAB/IntQueueTimer.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/IntQueueTimer_isr.S b/Demo/PIC32MX_MPLAB/IntQueueTimer_isr.S index 04af787d5..2ba3076d6 100644 --- a/Demo/PIC32MX_MPLAB/IntQueueTimer_isr.S +++ b/Demo/PIC32MX_MPLAB/IntQueueTimer_isr.S @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/ParTest/ParTest.c b/Demo/PIC32MX_MPLAB/ParTest/ParTest.c index 4bb5eb067..24f265c80 100644 --- a/Demo/PIC32MX_MPLAB/ParTest/ParTest.c +++ b/Demo/PIC32MX_MPLAB/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/RegisterTestTasks.s b/Demo/PIC32MX_MPLAB/RegisterTestTasks.s index cdce2de1f..73d68f69c 100644 --- a/Demo/PIC32MX_MPLAB/RegisterTestTasks.s +++ b/Demo/PIC32MX_MPLAB/RegisterTestTasks.s @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/lcd.c b/Demo/PIC32MX_MPLAB/lcd.c index 9014b26f5..9d2ed5cf5 100644 --- a/Demo/PIC32MX_MPLAB/lcd.c +++ b/Demo/PIC32MX_MPLAB/lcd.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/lcd.h b/Demo/PIC32MX_MPLAB/lcd.h index 1306fa02d..39716b2ce 100644 --- a/Demo/PIC32MX_MPLAB/lcd.h +++ b/Demo/PIC32MX_MPLAB/lcd.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/main.c b/Demo/PIC32MX_MPLAB/main.c index ca2b90689..13674aaf8 100644 --- a/Demo/PIC32MX_MPLAB/main.c +++ b/Demo/PIC32MX_MPLAB/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/serial/serial.c b/Demo/PIC32MX_MPLAB/serial/serial.c index 9efd444b0..0e6a22503 100644 --- a/Demo/PIC32MX_MPLAB/serial/serial.c +++ b/Demo/PIC32MX_MPLAB/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/timertest.c b/Demo/PIC32MX_MPLAB/timertest.c index c30331f82..0a9a25f2e 100644 --- a/Demo/PIC32MX_MPLAB/timertest.c +++ b/Demo/PIC32MX_MPLAB/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/timertest.h b/Demo/PIC32MX_MPLAB/timertest.h index 4c2d799c2..ad872a09d 100644 --- a/Demo/PIC32MX_MPLAB/timertest.h +++ b/Demo/PIC32MX_MPLAB/timertest.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PIC32MX_MPLAB/timertest_isr.S b/Demo/PIC32MX_MPLAB/timertest_isr.S index 44cf5a0ca..f8d58a6c2 100644 --- a/Demo/PIC32MX_MPLAB/timertest_isr.S +++ b/Demo/PIC32MX_MPLAB/timertest_isr.S @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/FreeRTOSConfig.h b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/FreeRTOSConfig.h index 0dd860403..7c18d73bc 100644 --- a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.c b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.c index 5009689c7..79a650de6 100644 --- a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.c +++ b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.h b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.h index 67668d53a..0bddeb218 100644 --- a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.h +++ b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop.c b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop.c index 9e2b5d140..7e291b00f 100644 --- a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop.c +++ b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/main.c b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/main.c index 0a1d53279..b53211980 100644 --- a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/main.c +++ b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/partest/partest.c b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/partest/partest.c index 118c89db7..2709b0314 100644 --- a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/partest/partest.c +++ b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/partest/partest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/serial/serial.c b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/serial/serial.c index 8904ce81c..6995f3620 100644 --- a/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/serial/serial.c +++ b/Demo/PPC405_FPU_Xilinx_Virtex4_GCC/RTOSDemo/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/FreeRTOSConfig.h b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/FreeRTOSConfig.h index bd7b001ee..248e2a695 100644 --- a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.c b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.c index 5009689c7..79a650de6 100644 --- a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.c +++ b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.h b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.h index 67668d53a..0bddeb218 100644 --- a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.h +++ b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop-reg-test.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop.c b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop.c index 9e2b5d140..7e291b00f 100644 --- a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop.c +++ b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/flop/flop.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/main.c b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/main.c index a6202abd9..93d15d027 100644 --- a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/main.c +++ b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/partest/partest.c b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/partest/partest.c index 118c89db7..2709b0314 100644 --- a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/partest/partest.c +++ b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/partest/partest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/serial/serial.c b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/serial/serial.c index 8904ce81c..6995f3620 100644 --- a/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/serial/serial.c +++ b/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/FreeRTOSConfig.h b/Demo/WizNET_DEMO_GCC_ARM7/FreeRTOSConfig.h index 7a9943d9f..f045c85c3 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/FreeRTOSConfig.h +++ b/Demo/WizNET_DEMO_GCC_ARM7/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/HTTP_Serv.c b/Demo/WizNET_DEMO_GCC_ARM7/HTTP_Serv.c index f4d244f80..6127cfdd5 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/HTTP_Serv.c +++ b/Demo/WizNET_DEMO_GCC_ARM7/HTTP_Serv.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/HTTP_Serv.h b/Demo/WizNET_DEMO_GCC_ARM7/HTTP_Serv.h index 5730bc7fa..9ad4bf753 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/HTTP_Serv.h +++ b/Demo/WizNET_DEMO_GCC_ARM7/HTTP_Serv.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/Makefile b/Demo/WizNET_DEMO_GCC_ARM7/Makefile index df595d839..1280a6ca7 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/Makefile +++ b/Demo/WizNET_DEMO_GCC_ARM7/Makefile @@ -1,5 +1,5 @@ #/* -# FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. +# FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. # # This file is part of the FreeRTOS.org distribution. # diff --git a/Demo/WizNET_DEMO_GCC_ARM7/TCP.c b/Demo/WizNET_DEMO_GCC_ARM7/TCP.c index 5fd13fb03..505399c51 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/TCP.c +++ b/Demo/WizNET_DEMO_GCC_ARM7/TCP.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/TCP.h b/Demo/WizNET_DEMO_GCC_ARM7/TCP.h index 5c359822b..d6fbb604d 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/TCP.h +++ b/Demo/WizNET_DEMO_GCC_ARM7/TCP.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/TCPISR.c b/Demo/WizNET_DEMO_GCC_ARM7/TCPISR.c index 5a10986f7..d0dbfc267 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/TCPISR.c +++ b/Demo/WizNET_DEMO_GCC_ARM7/TCPISR.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/html_pages.h b/Demo/WizNET_DEMO_GCC_ARM7/html_pages.h index fa79bd912..552bcee02 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/html_pages.h +++ b/Demo/WizNET_DEMO_GCC_ARM7/html_pages.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/i2c.c b/Demo/WizNET_DEMO_GCC_ARM7/i2c.c index 0798a9e40..0ad65289b 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/i2c.c +++ b/Demo/WizNET_DEMO_GCC_ARM7/i2c.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/i2c.h b/Demo/WizNET_DEMO_GCC_ARM7/i2c.h index b9dc1d387..28be2ffbc 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/i2c.h +++ b/Demo/WizNET_DEMO_GCC_ARM7/i2c.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/i2cISR.c b/Demo/WizNET_DEMO_GCC_ARM7/i2cISR.c index dd4a3e0c3..ffe9ee564 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/i2cISR.c +++ b/Demo/WizNET_DEMO_GCC_ARM7/i2cISR.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_GCC_ARM7/main.c b/Demo/WizNET_DEMO_GCC_ARM7/main.c index f1ad114f1..6c6358851 100644 --- a/Demo/WizNET_DEMO_GCC_ARM7/main.c +++ b/Demo/WizNET_DEMO_GCC_ARM7/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_TERN_186/FreeRTOSConfig.h b/Demo/WizNET_DEMO_TERN_186/FreeRTOSConfig.h index 3818fc74c..ea099e77d 100644 --- a/Demo/WizNET_DEMO_TERN_186/FreeRTOSConfig.h +++ b/Demo/WizNET_DEMO_TERN_186/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_TERN_186/HTTPTask.c b/Demo/WizNET_DEMO_TERN_186/HTTPTask.c index 0b0661eb1..2bdc24631 100644 --- a/Demo/WizNET_DEMO_TERN_186/HTTPTask.c +++ b/Demo/WizNET_DEMO_TERN_186/HTTPTask.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_TERN_186/HTTPTask.h b/Demo/WizNET_DEMO_TERN_186/HTTPTask.h index 77b38341d..3157cc3ef 100644 --- a/Demo/WizNET_DEMO_TERN_186/HTTPTask.h +++ b/Demo/WizNET_DEMO_TERN_186/HTTPTask.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_TERN_186/main.c b/Demo/WizNET_DEMO_TERN_186/main.c index 89e72211b..2e9243084 100644 --- a/Demo/WizNET_DEMO_TERN_186/main.c +++ b/Demo/WizNET_DEMO_TERN_186/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/WizNET_DEMO_TERN_186/serial/serial.c b/Demo/WizNET_DEMO_TERN_186/serial/serial.c index 56c995b7e..dab4ed199 100644 --- a/Demo/WizNET_DEMO_TERN_186/serial/serial.c +++ b/Demo/WizNET_DEMO_TERN_186/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/dsPIC_MPLAB/FreeRTOSConfig.h b/Demo/dsPIC_MPLAB/FreeRTOSConfig.h index 7578e33b1..c16d4d012 100644 --- a/Demo/dsPIC_MPLAB/FreeRTOSConfig.h +++ b/Demo/dsPIC_MPLAB/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/dsPIC_MPLAB/ParTest/ParTest.c b/Demo/dsPIC_MPLAB/ParTest/ParTest.c index acb5015d7..795328d9d 100644 --- a/Demo/dsPIC_MPLAB/ParTest/ParTest.c +++ b/Demo/dsPIC_MPLAB/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/dsPIC_MPLAB/lcd.c b/Demo/dsPIC_MPLAB/lcd.c index 3412ed2e0..1714a1c4c 100644 --- a/Demo/dsPIC_MPLAB/lcd.c +++ b/Demo/dsPIC_MPLAB/lcd.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/dsPIC_MPLAB/lcd.h b/Demo/dsPIC_MPLAB/lcd.h index 1306fa02d..39716b2ce 100644 --- a/Demo/dsPIC_MPLAB/lcd.h +++ b/Demo/dsPIC_MPLAB/lcd.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/dsPIC_MPLAB/main.c b/Demo/dsPIC_MPLAB/main.c index 424d7dfdd..1cc04a9cf 100644 --- a/Demo/dsPIC_MPLAB/main.c +++ b/Demo/dsPIC_MPLAB/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/dsPIC_MPLAB/serial/serial.c b/Demo/dsPIC_MPLAB/serial/serial.c index 43c3d5ee3..748692f7e 100644 --- a/Demo/dsPIC_MPLAB/serial/serial.c +++ b/Demo/dsPIC_MPLAB/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/dsPIC_MPLAB/timertest.c b/Demo/dsPIC_MPLAB/timertest.c index 13fafa234..72399d9b6 100644 --- a/Demo/dsPIC_MPLAB/timertest.c +++ b/Demo/dsPIC_MPLAB/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/dsPIC_MPLAB/timertest.h b/Demo/dsPIC_MPLAB/timertest.h index 4c2d799c2..ad872a09d 100644 --- a/Demo/dsPIC_MPLAB/timertest.h +++ b/Demo/dsPIC_MPLAB/timertest.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.c b/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.c index 32bfcb98c..69e493ef9 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.h b/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.h index c4bb42e03..851edaf92 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.c b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.c index 7eba5376a..87d3359ca 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.h b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.h index 7a170e026..68016e5b7 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC_ISR.c b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC_ISR.c index e818e01c1..37c5ba97d 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC_ISR.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC_ISR.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/FreeRTOSConfig.h b/Demo/lwIP_Demo_Rowley_ARM7/FreeRTOSConfig.h index 669c542ae..03610b1a6 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/FreeRTOSConfig.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/ParTest/ParTest.c b/Demo/lwIP_Demo_Rowley_ARM7/ParTest/ParTest.c index a05d8b02e..6741bdb82 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/ParTest/ParTest.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.c b/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.c index db89f441f..e8607e264 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.h b/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.h index 5110a432f..68331fc27 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/USBIsr.c b/Demo/lwIP_Demo_Rowley_ARM7/USB/USBIsr.c index 6cad6702d..56f5c7651 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/USBIsr.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/USBIsr.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h b/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h index dfc2f7ab1..8570b307b 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/usb.h b/Demo/lwIP_Demo_Rowley_ARM7/USB/usb.h index 19ef49511..492cefc6b 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/usb.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/usb.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/main.c b/Demo/lwIP_Demo_Rowley_ARM7/main.c index d52f30347..37fd3e4fe 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/main.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/lwIP_Demo_Rowley_ARM7/makefile b/Demo/lwIP_Demo_Rowley_ARM7/makefile index b5eb47c5d..eb05c0cea 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/makefile +++ b/Demo/lwIP_Demo_Rowley_ARM7/makefile @@ -1,5 +1,5 @@ #/* -# FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. +# FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. # # This file is part of the FreeRTOS.org distribution. # diff --git a/Demo/msp430_CrossWorks/FreeRTOSConfig.h b/Demo/msp430_CrossWorks/FreeRTOSConfig.h index d77146e35..1176eaea1 100644 --- a/Demo/msp430_CrossWorks/FreeRTOSConfig.h +++ b/Demo/msp430_CrossWorks/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_CrossWorks/ParTest/ParTest.c b/Demo/msp430_CrossWorks/ParTest/ParTest.c index 41796fd1e..55d3ba781 100644 --- a/Demo/msp430_CrossWorks/ParTest/ParTest.c +++ b/Demo/msp430_CrossWorks/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_CrossWorks/main.c b/Demo/msp430_CrossWorks/main.c index 7d350aba9..a4e1ee886 100644 --- a/Demo/msp430_CrossWorks/main.c +++ b/Demo/msp430_CrossWorks/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_CrossWorks/serial/serial.c b/Demo/msp430_CrossWorks/serial/serial.c index 2a4bc67ba..d91439661 100644 --- a/Demo/msp430_CrossWorks/serial/serial.c +++ b/Demo/msp430_CrossWorks/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_CrossWorks/serial/serialASM.asm b/Demo/msp430_CrossWorks/serial/serialASM.asm index a192d19a0..fd2d1ca9d 100644 --- a/Demo/msp430_CrossWorks/serial/serialASM.asm +++ b/Demo/msp430_CrossWorks/serial/serialASM.asm @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_GCC/FreeRTOSConfig.h b/Demo/msp430_GCC/FreeRTOSConfig.h index c6d5d62c3..0a49799a4 100644 --- a/Demo/msp430_GCC/FreeRTOSConfig.h +++ b/Demo/msp430_GCC/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_GCC/ParTest/ParTest.c b/Demo/msp430_GCC/ParTest/ParTest.c index b0ea74b90..acd11d49f 100644 --- a/Demo/msp430_GCC/ParTest/ParTest.c +++ b/Demo/msp430_GCC/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_GCC/main.c b/Demo/msp430_GCC/main.c index 31648a69d..a02a5a01d 100644 --- a/Demo/msp430_GCC/main.c +++ b/Demo/msp430_GCC/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_GCC/makefile b/Demo/msp430_GCC/makefile index 10d959925..778c26503 100644 --- a/Demo/msp430_GCC/makefile +++ b/Demo/msp430_GCC/makefile @@ -1,5 +1,5 @@ #/* -# FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. +# FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. # # This file is part of the FreeRTOS.org distribution. # diff --git a/Demo/msp430_GCC/serial/serial.c b/Demo/msp430_GCC/serial/serial.c index eb1a74623..16b870e7a 100644 --- a/Demo/msp430_GCC/serial/serial.c +++ b/Demo/msp430_GCC/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_IAR/FreeRTOSConfig.h b/Demo/msp430_IAR/FreeRTOSConfig.h index a3c531767..d700e0ea9 100644 --- a/Demo/msp430_IAR/FreeRTOSConfig.h +++ b/Demo/msp430_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_IAR/ParTest/ParTest.c b/Demo/msp430_IAR/ParTest/ParTest.c index 41796fd1e..55d3ba781 100644 --- a/Demo/msp430_IAR/ParTest/ParTest.c +++ b/Demo/msp430_IAR/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_IAR/main.c b/Demo/msp430_IAR/main.c index 99e3a32ed..a46bac823 100644 --- a/Demo/msp430_IAR/main.c +++ b/Demo/msp430_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_IAR/serial/serial.c b/Demo/msp430_IAR/serial/serial.c index 1cbb0e2b7..bdd8935eb 100644 --- a/Demo/msp430_IAR/serial/serial.c +++ b/Demo/msp430_IAR/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/msp430_IAR/serial/serialASM.s43 b/Demo/msp430_IAR/serial/serialASM.s43 index 8984a93a5..621566ec0 100644 --- a/Demo/msp430_IAR/serial/serialASM.s43 +++ b/Demo/msp430_IAR/serial/serialASM.s43 @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/uIP_Demo_IAR_ARM7/EMAC/EMAClISR.s79 b/Demo/uIP_Demo_IAR_ARM7/EMAC/EMAClISR.s79 index 6cd08efaa..d9a3ef49e 100644 --- a/Demo/uIP_Demo_IAR_ARM7/EMAC/EMAClISR.s79 +++ b/Demo/uIP_Demo_IAR_ARM7/EMAC/EMAClISR.s79 @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/uIP_Demo_IAR_ARM7/EMAC/SAM7_EMAC.c b/Demo/uIP_Demo_IAR_ARM7/EMAC/SAM7_EMAC.c index 24e0dcbac..3951d05b4 100644 --- a/Demo/uIP_Demo_IAR_ARM7/EMAC/SAM7_EMAC.c +++ b/Demo/uIP_Demo_IAR_ARM7/EMAC/SAM7_EMAC.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/uIP_Demo_IAR_ARM7/FreeRTOSConfig.h b/Demo/uIP_Demo_IAR_ARM7/FreeRTOSConfig.h index ce43fb546..aea45e7f5 100644 --- a/Demo/uIP_Demo_IAR_ARM7/FreeRTOSConfig.h +++ b/Demo/uIP_Demo_IAR_ARM7/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/uIP_Demo_IAR_ARM7/ParTest/ParTest.c b/Demo/uIP_Demo_IAR_ARM7/ParTest/ParTest.c index 7317b0a1e..647740c48 100644 --- a/Demo/uIP_Demo_IAR_ARM7/ParTest/ParTest.c +++ b/Demo/uIP_Demo_IAR_ARM7/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/uIP_Demo_IAR_ARM7/main.c b/Demo/uIP_Demo_IAR_ARM7/main.c index b5171cc58..813651f55 100644 --- a/Demo/uIP_Demo_IAR_ARM7/main.c +++ b/Demo/uIP_Demo_IAR_ARM7/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/uIP_Demo_Rowley_ARM7/FreeRTOSConfig.h b/Demo/uIP_Demo_Rowley_ARM7/FreeRTOSConfig.h index d41ef3fb4..068b50540 100644 --- a/Demo/uIP_Demo_Rowley_ARM7/FreeRTOSConfig.h +++ b/Demo/uIP_Demo_Rowley_ARM7/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution. diff --git a/Demo/uIP_Demo_Rowley_ARM7/main.c b/Demo/uIP_Demo_Rowley_ARM7/main.c index 766d5857b..a88ffe3ef 100644 --- a/Demo/uIP_Demo_Rowley_ARM7/main.c +++ b/Demo/uIP_Demo_Rowley_ARM7/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS.org V5.3.0 - Copyright (C) 2003-2009 Richard Barry. + FreeRTOS.org V5.3.1 - Copyright (C) 2003-2009 Richard Barry. This file is part of the FreeRTOS.org distribution.
LocalRemoteStateRetransmissionsTimerFlags