mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-21 22:11:57 -04:00
Change version number in common files within the FreeRTOS-plus directory and check all demos still execute.
This commit is contained in:
parent
64a3ab321a
commit
c60973c34a
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
|
@ -27,41 +29,47 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
* Having a problem? Start by reading the FAQ "My application does *
|
* Having a problem? Start by reading the FAQ "My application does *
|
||||||
* not run, what could be wrong? *
|
* not run, what could be wrong?" *
|
||||||
* *
|
* *
|
||||||
* http://www.FreeRTOS.org/FAQHelp.html *
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
||||||
* *
|
* *
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest information,
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
license and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
/* FreeRTOS includes. */
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
|
@ -27,43 +29,50 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
* Having a problem? Start by reading the FAQ "My application does *
|
* Having a problem? Start by reading the FAQ "My application does *
|
||||||
* not run, what could be wrong? *
|
* not run, what could be wrong?" *
|
||||||
* *
|
* *
|
||||||
* http://www.FreeRTOS.org/FAQHelp.html *
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
||||||
* *
|
* *
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest information,
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
license and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef FREERTOS_CONFIG_H
|
#ifndef FREERTOS_CONFIG_H
|
||||||
#define FREERTOS_CONFIG_H
|
#define FREERTOS_CONFIG_H
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
|
@ -27,41 +29,47 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
* Having a problem? Start by reading the FAQ "My application does *
|
* Having a problem? Start by reading the FAQ "My application does *
|
||||||
* not run, what could be wrong? *
|
* not run, what could be wrong?" *
|
||||||
* *
|
* *
|
||||||
* http://www.FreeRTOS.org/FAQHelp.html *
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
||||||
* *
|
* *
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest information,
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
license and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
|
@ -27,41 +29,47 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
* Having a problem? Start by reading the FAQ "My application does *
|
* Having a problem? Start by reading the FAQ "My application does *
|
||||||
* not run, what could be wrong? *
|
* not run, what could be wrong?" *
|
||||||
* *
|
* *
|
||||||
* http://www.FreeRTOS.org/FAQHelp.html *
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
||||||
* *
|
* *
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest information,
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
license and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma comment( lib, "ws2_32.lib" )
|
#pragma comment( lib, "ws2_32.lib" )
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
|
@ -27,41 +29,47 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
* Having a problem? Start by reading the FAQ "My application does *
|
* Having a problem? Start by reading the FAQ "My application does *
|
||||||
* not run, what could be wrong? *
|
* not run, what could be wrong?" *
|
||||||
* *
|
* *
|
||||||
* http://www.FreeRTOS.org/FAQHelp.html *
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
||||||
* *
|
* *
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest information,
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
license and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
|
@ -27,41 +29,47 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
* Having a problem? Start by reading the FAQ "My application does *
|
* Having a problem? Start by reading the FAQ "My application does *
|
||||||
* not run, what could be wrong? *
|
* not run, what could be wrong?" *
|
||||||
* *
|
* *
|
||||||
* http://www.FreeRTOS.org/FAQHelp.html *
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
||||||
* *
|
* *
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest information,
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
license and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FREERTOS_CONFIG_H
|
#ifndef FREERTOS_CONFIG_H
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
|
@ -27,41 +29,47 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
* Having a problem? Start by reading the FAQ "My application does *
|
* Having a problem? Start by reading the FAQ "My application does *
|
||||||
* not run, what could be wrong? *
|
* not run, what could be wrong?" *
|
||||||
* *
|
* *
|
||||||
* http://www.FreeRTOS.org/FAQHelp.html *
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
||||||
* *
|
* *
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest information,
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
license and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma comment( lib, "ws2_32.lib" )
|
#pragma comment( lib, "ws2_32.lib" )
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
|
@ -27,41 +29,47 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
* Having a problem? Start by reading the FAQ "My application does *
|
* Having a problem? Start by reading the FAQ "My application does *
|
||||||
* not run, what could be wrong? *
|
* not run, what could be wrong?" *
|
||||||
* *
|
* *
|
||||||
* http://www.FreeRTOS.org/FAQHelp.html *
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
||||||
* *
|
* *
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest information,
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
license and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma comment( lib, "ws2_32.lib" )
|
#pragma comment( lib, "ws2_32.lib" )
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.1.1 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
|
@ -27,78 +29,49 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* *
|
* *
|
||||||
* Having a problem? Start by reading the FAQ "My application does *
|
* Having a problem? Start by reading the FAQ "My application does *
|
||||||
* not run, what could be wrong? *
|
* not run, what could be wrong?" *
|
||||||
* *
|
* *
|
||||||
* http://www.FreeRTOS.org/FAQHelp.html *
|
* http://www.FreeRTOS.org/FAQHelp.html *
|
||||||
* *
|
* *
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest information,
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
license and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
******************************************************************************
|
|
||||||
* -NOTE- The Win32 port is a simulation (or is that emulation?) only! Do not
|
|
||||||
* expect to get real time behaviour from the Win32 port or this demo
|
|
||||||
* application. It is provided as a convenient development and demonstration
|
|
||||||
* test bed only. This was tested using Windows XP on a dual core laptop.
|
|
||||||
*
|
|
||||||
* In this example, one simulated millisecond will take approximately 40ms to
|
|
||||||
* execute. See the documentation page for the Windows simulator for an
|
|
||||||
* explanation of the slow timing:
|
|
||||||
* http://www.freertos.org/FreeRTOS-Windows-Simulator-Emulator-for-Visual-Studio-and-Eclipse-MingW.html
|
|
||||||
******************************************************************************
|
|
||||||
*
|
|
||||||
* This is a simple FreeRTOS Windows simulator project that makes it easy to
|
|
||||||
* evaluate CyaSSL in a FreeRTOS environment on a standard desktop PC, and
|
|
||||||
* without any external hardware or interfaces being required.
|
|
||||||
*
|
|
||||||
* main() creates a TCP server task, which initialises CyaSSL, before creating a
|
|
||||||
* TCP client task. Both the server and client use TLS secured sockets.
|
|
||||||
*
|
|
||||||
* The client task repeatedly connects to the server, sends 10 messages, then
|
|
||||||
* disconnects. The server task prints the contents of each message to the
|
|
||||||
* console as they are received.
|
|
||||||
*
|
|
||||||
* CyaSSL objects are created and deleted as each socket connects and
|
|
||||||
* disconnects respectively.
|
|
||||||
*
|
|
||||||
* The server task is implemented in SecureTCPServerTask.c, and the client task
|
|
||||||
* in SecureTCPClientTask.c.
|
|
||||||
*
|
|
||||||
* Visit http://www.FreeRTOS.org/ssl for FreeRTOS + CyaSSL for demo
|
|
||||||
* documentation.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Standard includes. */
|
/* Standard includes. */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
@ -29,17 +29,20 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
|
@ -53,23 +56,26 @@
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest versions, license
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* See the following URL for information on the commands defined in this file:
|
* See the following URL for information on the commands defined in this file:
|
||||||
* http://localhost/FreeRTOS-Plus/FreeRTOS_Plus_UDP/Embedded_Ethernet_Examples/Ethernet_Related_CLI_Commands.shtml
|
* http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/Embedded_Ethernet_Examples/Ethernet_Related_CLI_Commands.shtml
|
||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -50,13 +50,12 @@ IF EXIST FreeRTOS_Source Goto END
|
||||||
|
|
||||||
REM Copy the FreeRTOS+UDP core files
|
REM Copy the FreeRTOS+UDP core files
|
||||||
copy %FREERTOS_UDP_SOURCE%\*.c FreeRTOS_Plus_UDP
|
copy %FREERTOS_UDP_SOURCE%\*.c FreeRTOS_Plus_UDP
|
||||||
copy %FREERTOS_UDP_SOURCE%\*.h FreeRTOS_Plus_UDP
|
copy %FREERTOS_UDP_SOURCE%\include\*.h FreeRTOS_Plus_UDP
|
||||||
copy %FREERTOS_UDP_SOURCE%\readme.txt FreeRTOS_Plus_UDP
|
copy %FREERTOS_UDP_SOURCE%\readme.txt FreeRTOS_Plus_UDP
|
||||||
copy %FREERTOS_UDP_SOURCE%\include\*.* FreeRTOS_Plus_UDP\include
|
copy %FREERTOS_UDP_SOURCE%\include\*.* FreeRTOS_Plus_UDP\include
|
||||||
|
|
||||||
REM Copy the FreeRTOS+UDP portable layer files
|
REM Copy the FreeRTOS+UDP portable layer files
|
||||||
copy %FREERTOS_UDP_SOURCE%\portable\NetworkInterface\LPC18xx\*.* FreeRTOS_Plus_UDP\portable\NetworkInterface\LPC18xx
|
copy %FREERTOS_UDP_SOURCE%\portable\NetworkInterface\LPC18xx\*.* FreeRTOS_Plus_UDP\portable\NetworkInterface\LPC18xx
|
||||||
copy %FREERTOS_UDP_SOURCE%\portable\NetworkInterface\*.* FreeRTOS_Plus_UDP\portable\NetworkInterface
|
|
||||||
copy %FREERTOS_UDP_SOURCE%\portable\BufferManagement\BufferAllocation_2.c FreeRTOS_Plus_UDP\portable\BufferManagement
|
copy %FREERTOS_UDP_SOURCE%\portable\BufferManagement\BufferAllocation_2.c FreeRTOS_Plus_UDP\portable\BufferManagement
|
||||||
copy %FREERTOS_UDP_SOURCE%\portable\Compiler\GCC\*.* FreeRTOS_Plus_UDP\portable\Compiler\GCC
|
copy %FREERTOS_UDP_SOURCE%\portable\Compiler\GCC\*.* FreeRTOS_Plus_UDP\portable\Compiler\GCC
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
@ -29,17 +29,20 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
|
@ -53,17 +56,20 @@
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest versions, license
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CDC_COMMAND_CONSOLE_H
|
#ifndef CDC_COMMAND_CONSOLE_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
@ -29,17 +29,20 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
|
@ -53,17 +56,20 @@
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest versions, license
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -106,6 +112,7 @@ xIPTraceValues[] table defined in DemoIPTrace.c. */
|
||||||
#define iptraceID_SENDTO_SOCKET_NOT_BOUND 15
|
#define iptraceID_SENDTO_SOCKET_NOT_BOUND 15
|
||||||
#define iptraceID_NO_BUFFER_FOR_SENDTO 16
|
#define iptraceID_NO_BUFFER_FOR_SENDTO 16
|
||||||
#define iptraceID_WAIT_FOR_TX_DMA_DESCRIPTOR 17
|
#define iptraceID_WAIT_FOR_TX_DMA_DESCRIPTOR 17
|
||||||
|
#define iptraceID_FAILED_TO_NOTIFY_SELECT_GROUP 18
|
||||||
|
|
||||||
/* It is possible to remove the trace macros using the
|
/* It is possible to remove the trace macros using the
|
||||||
configINCLUDE_DEMO_DEBUG_STATS setting in FreeRTOSIPConfig.h. */
|
configINCLUDE_DEMO_DEBUG_STATS setting in FreeRTOSIPConfig.h. */
|
||||||
|
@ -138,6 +145,7 @@ configINCLUDE_DEMO_DEBUG_STATS setting in FreeRTOSIPConfig.h. */
|
||||||
#define iptraceSENDTO_SOCKET_NOT_BOUND() vExampleDebugStatUpdate( iptraceID_SENDTO_SOCKET_NOT_BOUND, 0 )
|
#define iptraceSENDTO_SOCKET_NOT_BOUND() vExampleDebugStatUpdate( iptraceID_SENDTO_SOCKET_NOT_BOUND, 0 )
|
||||||
#define iptraceNO_BUFFER_FOR_SENDTO() vExampleDebugStatUpdate( iptraceID_NO_BUFFER_FOR_SENDTO, 0 )
|
#define iptraceNO_BUFFER_FOR_SENDTO() vExampleDebugStatUpdate( iptraceID_NO_BUFFER_FOR_SENDTO, 0 )
|
||||||
#define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR() vExampleDebugStatUpdate( iptraceID_WAIT_FOR_TX_DMA_DESCRIPTOR, 0 )
|
#define iptraceWAITING_FOR_TX_DMA_DESCRIPTOR() vExampleDebugStatUpdate( iptraceID_WAIT_FOR_TX_DMA_DESCRIPTOR, 0 )
|
||||||
|
#define iptraceFAILED_TO_NOTIFY_SELECT_GROUP( xSocket ) vExampleDebugStatUpdate( iptraceID_FAILED_TO_NOTIFY_SELECT_GROUP, 0 )
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The function that updates a line in the xIPTraceValues table.
|
* The function that updates a line in the xIPTraceValues table.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
@ -29,17 +29,20 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
|
@ -53,17 +56,20 @@
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest versions, license
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TWO_ECHO_CLIENTS_H
|
#ifndef TWO_ECHO_CLIENTS_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
@ -29,17 +29,20 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
|
@ -53,17 +56,20 @@
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest versions, license
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FREERTOS_CONFIG_H
|
#ifndef FREERTOS_CONFIG_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* FreeRTOS+UDP Preview 002 (C) 2012 Real Time Engineers ltd.
|
* FreeRTOS+UDP V1.0.0 (C) 2013 Real Time Engineers ltd.
|
||||||
*
|
*
|
||||||
* FreeRTOS+UDP is an add-on component to FreeRTOS. It is not, in itself, part
|
* FreeRTOS+UDP is an add-on component to FreeRTOS. It is not, in itself, part
|
||||||
* of the FreeRTOS kernel. FreeRTOS+UDP is licensed separately from FreeRTOS,
|
* of the FreeRTOS kernel. FreeRTOS+UDP is licensed separately from FreeRTOS,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
@ -29,17 +29,20 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
|
@ -53,17 +56,20 @@
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest versions, license
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Simple LED IO functions. LED 0 is toggled by a timer every half second. */
|
/* Simple LED IO functions. LED 0 is toggled by a timer every half second. */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
@ -29,17 +29,20 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
|
@ -53,17 +56,20 @@
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest versions, license
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
/* FreeRTOS includes. */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
FreeRTOS V7.3.0 - Copyright (C) 2012 Real Time Engineers Ltd.
|
FreeRTOS V7.4.0 - Copyright (C) 2013 Real Time Engineers Ltd.
|
||||||
|
|
||||||
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
FEATURES AND PORTS ARE ADDED TO FREERTOS ALL THE TIME. PLEASE VISIT
|
||||||
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
||||||
|
@ -29,17 +29,20 @@
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
FreeRTOS 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
|
the terms of the GNU General Public License (version 2) as published by the
|
||||||
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
Free Software Foundation AND MODIFIED BY the FreeRTOS exception.
|
||||||
>>>NOTE<<< The modification to the GPL is included to allow you to
|
|
||||||
|
>>>>>>NOTE<<<<<< The modification to the GPL is included to allow you to
|
||||||
distribute a combined work that includes FreeRTOS without being obliged to
|
distribute a combined work that includes FreeRTOS without being obliged to
|
||||||
provide the source code for proprietary components outside of the FreeRTOS
|
provide the source code for proprietary components outside of the FreeRTOS
|
||||||
kernel. FreeRTOS is distributed in the hope that it will be useful, but
|
kernel.
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
more details. You should have received a copy of the GNU General Public
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
License and the FreeRTOS license exception along with FreeRTOS; if not it
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
||||||
can be viewed here: http://www.freertos.org/a00114.html and also obtained
|
details. You should have received a copy of the GNU General Public License
|
||||||
by writing to Richard Barry, contact details for whom are available on the
|
and the FreeRTOS license exception along with FreeRTOS; if not itcan be
|
||||||
FreeRTOS WEB site.
|
viewed here: http://www.freertos.org/a00114.html and also obtained by
|
||||||
|
writing to Real Time Engineers Ltd., contact details for whom are available
|
||||||
|
on the FreeRTOS WEB site.
|
||||||
|
|
||||||
1 tab == 4 spaces!
|
1 tab == 4 spaces!
|
||||||
|
|
||||||
|
@ -53,20 +56,21 @@
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org - Documentation, training, latest versions, license
|
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
|
||||||
and contact details.
|
license and Real Time Engineers Ltd. contact details.
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool.
|
including FreeRTOS+Trace - an indispensable productivity tool, and our new
|
||||||
|
fully thread aware and reentrant UDP/IP stack.
|
||||||
|
|
||||||
Real Time Engineers ltd license FreeRTOS to High Integrity Systems, who sell
|
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
|
||||||
the code with commercial support, indemnification, and middleware, under
|
Integrity Systems, who sell the code with commercial support,
|
||||||
the OpenRTOS brand: http://www.OpenRTOS.com. High Integrity Systems also
|
indemnification and middleware, under the OpenRTOS brand.
|
||||||
provide a safety engineered and independently SIL3 certified version under
|
|
||||||
the SafeRTOS brand: http://www.SafeRTOS.com.
|
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
|
||||||
|
engineered and independently SIL3 certified version for use in safety and
|
||||||
|
mission critical applications that require provable dependability.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* Standard includes. */
|
/* Standard includes. */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* FreeRTOS+UDP Preview 002 (C) 2012 Real Time Engineers ltd.
|
* FreeRTOS+UDP V1.0.0 (C) 2012 Real Time Engineers ltd.
|
||||||
*
|
*
|
||||||
* FreeRTOS+UDP is an add-on component to FreeRTOS. It is not, in itself, part
|
* FreeRTOS+UDP is an add-on component to FreeRTOS. It is not, in itself, part
|
||||||
* of the FreeRTOS kernel. FreeRTOS+UDP is licensed separately from FreeRTOS,
|
* of the FreeRTOS kernel. FreeRTOS+UDP is licensed separately from FreeRTOS,
|
||||||
|
@ -98,7 +98,7 @@ stack will revert to using the static IP address even when ipconfigUSE_DHCP is
|
||||||
set to 1 if a valid configuration cannot be obtained from a DHCP server for any
|
set to 1 if a valid configuration cannot be obtained from a DHCP server for any
|
||||||
reason. The static configuration used is that passed into the stack by the
|
reason. The static configuration used is that passed into the stack by the
|
||||||
FreeRTOS_IPInit() function call. */
|
FreeRTOS_IPInit() function call. */
|
||||||
#define ipconfigUSE_DHCP 0
|
#define ipconfigUSE_DHCP 1
|
||||||
|
|
||||||
/* When ipconfigUSE_DHCP is set to 1, DHCP requests will be sent out at
|
/* When ipconfigUSE_DHCP is set to 1, DHCP requests will be sent out at
|
||||||
increasing time intervals until either a reply is received from a DHCP server
|
increasing time intervals until either a reply is received from a DHCP server
|
||||||
|
|
|
@ -206,8 +206,10 @@ uint32_t ulInterruptCause;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Shortcut calling portEND_SWITCHING_ISR(). */
|
/* ulInterruptCause is used for convenience here. A context switch is
|
||||||
vPortYieldFromISR();
|
wanted, but coding portEND_SWITCHING_ISR( 1 ) would likely result in a
|
||||||
|
compiler warning. */
|
||||||
|
portEND_SWITCHING_ISR( ulInterruptCause );
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
|
@ -207,10 +207,10 @@ uint32_t ulInterruptCause;
|
||||||
xSemaphoreGiveFromISR( xEMACRxEventSemaphore, NULL );
|
xSemaphoreGiveFromISR( xEMACRxEventSemaphore, NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Shortcut to calling portEND_SWITCHING_ISR(). Only do this if you
|
/* ulInterruptCause is used for convenience here. A context switch is
|
||||||
understand what you are doing! Otherwise use portEND_SWITCHING_ISR()
|
wanted, but coding portEND_SWITCHING_ISR( 1 ) would likely result in a
|
||||||
directly. */
|
compiler warning. */
|
||||||
vPortYieldFromISR();
|
portEND_SWITCHING_ISR( ulInterruptCause );
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
|
@ -127,35 +127,4 @@ extern void vEMACCopyWrite( uint8_t * pucBuffer, uint16_t usLength );
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
#if 0
|
|
||||||
void ENET_IRQHandler( void )
|
|
||||||
{
|
|
||||||
uint32_t ulInterruptCause;
|
|
||||||
|
|
||||||
while( ( ulInterruptCause = LPC_EMAC->IntStatus ) != 0 )
|
|
||||||
{
|
|
||||||
/* Clear the interrupt. */
|
|
||||||
LPC_EMAC->IntClear = ulInterruptCause;
|
|
||||||
|
|
||||||
/* Clear fatal error conditions. NOTE: The driver does not clear all
|
|
||||||
errors, only those actually experienced. For future reference, range
|
|
||||||
errors are not actually errors so can be ignored. */
|
|
||||||
if( ( ulInterruptCause & EMAC_INT_TX_UNDERRUN ) != 0U )
|
|
||||||
{
|
|
||||||
LPC_EMAC->Command |= EMAC_CR_TX_RES;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Unblock the deferred interrupt handler task if the event was an
|
|
||||||
Rx. */
|
|
||||||
if( ( ulInterruptCause & EMAC_INT_RX_DONE ) != 0UL )
|
|
||||||
{
|
|
||||||
xSemaphoreGiveFromISR( xEMACRxEventSemaphore, NULL );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Shortcut calling portEND_SWITCHING_ISR(). */
|
|
||||||
vPortYieldFromISR();
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue