mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-12-16 01:44:30 +08:00
Update to MIT licensed FreeRTOS V10.0.0 - see https://www.freertos.org/History.txt
This commit is contained in:
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
/* FreeRTOS includes. */
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NOTE: This file uses a third party USB CDC driver.
|
* NOTE: This file uses a third party USB CDC driver.
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* See the URL in the comments within main.c for the location of the online
|
* See the URL in the comments within main.c for the location of the online
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef UDP_COMMAND_INTERPRETER_H
|
#ifndef UDP_COMMAND_INTERPRETER_H
|
||||||
#define UDP_COMMAND_INTERPRETER_H
|
#define UDP_COMMAND_INTERPRETER_H
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Standard includes. */
|
/* Standard includes. */
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef TWO_ECHO_CLIENTS_H
|
#ifndef TWO_ECHO_CLIENTS_H
|
||||||
#define TWO_ECHO_CLIENTS_H
|
#define TWO_ECHO_CLIENTS_H
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file, along with DemoIPTrace.h, provides a basic example use of the
|
* This file, along with DemoIPTrace.h, provides a basic example use of the
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file, along with DemoIPTrace.h, provides a basic example use of the
|
* This file, along with DemoIPTrace.h, provides a basic example use of the
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
/* FreeRTOS includes. */
|
||||||
#include "FreeRTOS.h"
|
#include "FreeRTOS.h"
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef FREERTOS_CONFIG_H
|
#ifndef FREERTOS_CONFIG_H
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Utility functions required to gather run time statistics. See:
|
* Utility functions required to gather run time statistics. See:
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma comment( lib, "ws2_32.lib" )
|
#pragma comment( lib, "ws2_32.lib" )
|
||||||
|
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
|
|||||||
@@ -1,172 +0,0 @@
|
|||||||
/*
|
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
|
||||||
All rights reserved
|
|
||||||
|
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
|
||||||
|
|
||||||
This file is part of the FreeRTOS distribution.
|
|
||||||
|
|
||||||
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
|
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
|
||||||
link: http://www.freertos.org/a00114.html
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
* *
|
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef FREERTOS_CONFIG_H
|
|
||||||
#define FREERTOS_CONFIG_H
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------
|
|
||||||
* Application specific definitions.
|
|
||||||
*
|
|
||||||
* These definitions should be adjusted for your particular hardware and
|
|
||||||
* application requirements.
|
|
||||||
*
|
|
||||||
* THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
|
|
||||||
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
|
|
||||||
* http://www.freertos.org/a00110.html
|
|
||||||
*
|
|
||||||
* The bottom of this file contains some constants specific to running the UDP
|
|
||||||
* stack in this demo. Constants specific to FreeRTOS+UDP itself (rather than
|
|
||||||
* the demo) are contained in FreeRTOSIPConfig.h.
|
|
||||||
*----------------------------------------------------------*/
|
|
||||||
|
|
||||||
#define configUSE_PREEMPTION 1
|
|
||||||
#define configMAX_PRIORITIES ( 7 )
|
|
||||||
#define configTICK_RATE_HZ ( 1000 ) /* In this non-real time simulated environment the tick frequency has to be at least a multiple of the Win32 tick frequency, and therefore very slow. */
|
|
||||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 60 ) /* In this simulated case, the stack only has to hold one small structure as the real stack is part of the Win32 thread. */
|
|
||||||
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 32U * 1024U ) )
|
|
||||||
#define configMAX_TASK_NAME_LEN ( 7 )
|
|
||||||
#define configUSE_TRACE_FACILITY 1
|
|
||||||
#define configUSE_16_BIT_TICKS 0
|
|
||||||
#define configIDLE_SHOULD_YIELD 1
|
|
||||||
#define configUSE_CO_ROUTINES 0
|
|
||||||
#define configUSE_MUTEXES 1
|
|
||||||
#define configUSE_RECURSIVE_MUTEXES 1
|
|
||||||
#define configQUEUE_REGISTRY_SIZE 0
|
|
||||||
#define configUSE_APPLICATION_TASK_TAG 0
|
|
||||||
#define configUSE_COUNTING_SEMAPHORES 1
|
|
||||||
#define configUSE_ALTERNATIVE_API 0
|
|
||||||
|
|
||||||
/* Hook function related definitions. */
|
|
||||||
#define configUSE_TICK_HOOK 0
|
|
||||||
#define configUSE_IDLE_HOOK 1
|
|
||||||
#define configUSE_MALLOC_FAILED_HOOK 1
|
|
||||||
#define configCHECK_FOR_STACK_OVERFLOW 0 /* Not applicable to the Win32 port. */
|
|
||||||
|
|
||||||
/* Software timer related definitions. */
|
|
||||||
#define configUSE_TIMERS 1
|
|
||||||
#define configTIMER_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )
|
|
||||||
#define configTIMER_QUEUE_LENGTH 5
|
|
||||||
#define configTIMER_TASK_STACK_DEPTH ( configMINIMAL_STACK_SIZE * 2 )
|
|
||||||
|
|
||||||
/* Run time stats gathering definitions. */
|
|
||||||
unsigned long ulGetRunTimeCounterValue( void );
|
|
||||||
void vConfigureTimerForRunTimeStats( void );
|
|
||||||
#define configGENERATE_RUN_TIME_STATS 1
|
|
||||||
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() vConfigureTimerForRunTimeStats()
|
|
||||||
#define portGET_RUN_TIME_COUNTER_VALUE() ulGetRunTimeCounterValue()
|
|
||||||
|
|
||||||
/* Co-routine definitions. */
|
|
||||||
#define configUSE_CO_ROUTINES 0
|
|
||||||
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
|
|
||||||
|
|
||||||
/* Set the following definitions to 1 to include the API function, or zero
|
|
||||||
to exclude the API function. */
|
|
||||||
#define INCLUDE_vTaskPrioritySet 1
|
|
||||||
#define INCLUDE_uxTaskPriorityGet 1
|
|
||||||
#define INCLUDE_vTaskDelete 1
|
|
||||||
#define INCLUDE_vTaskCleanUpResources 0
|
|
||||||
#define INCLUDE_vTaskSuspend 1
|
|
||||||
#define INCLUDE_vTaskDelayUntil 1
|
|
||||||
#define INCLUDE_vTaskDelay 1
|
|
||||||
#define INCLUDE_uxTaskGetStackHighWaterMark 1
|
|
||||||
#define INCLUDE_xTaskGetSchedulerState 1
|
|
||||||
#define INCLUDE_xTimerGetTimerTaskHandle 0
|
|
||||||
#define INCLUDE_xTaskGetIdleTaskHandle 0
|
|
||||||
#define INCLUDE_xQueueGetMutexHolder 1
|
|
||||||
|
|
||||||
/* This demo makes use of one or more example stats formatting functions. These
|
|
||||||
format the raw data provided by the uxTaskGetSystemState() function in to human
|
|
||||||
readable ASCII form. See the notes in the implementation of vTaskList() within
|
|
||||||
FreeRTOS/Source/tasks.c for limitations. */
|
|
||||||
#define configUSE_STATS_FORMATTING_FUNCTIONS 1
|
|
||||||
|
|
||||||
/* Assert call defined for debug builds. */
|
|
||||||
#ifdef _DEBUG
|
|
||||||
extern void vAssertCalled( const char *pcFile, unsigned long ulLine );
|
|
||||||
#define configASSERT( x ) if( ( x ) == 0 ) vAssertCalled( __FILE__, __LINE__ )
|
|
||||||
#endif /* _DEBUG */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Application specific definitions follow. **********************************/
|
|
||||||
|
|
||||||
/* The UDP port to use for incoming command inputs. The outgoing port is
|
|
||||||
set to ( configUDP_CLI_PORT_NUMBER + 1 ). */
|
|
||||||
#define configUDP_CLI_PORT_NUMBER 5001
|
|
||||||
|
|
||||||
/* The size of the global output buffer that is available for use when there
|
|
||||||
are multiple command interpreters running at once (for example, one on a UART
|
|
||||||
and one on TCP/IP). This is done to prevent an output buffer being defined by
|
|
||||||
each implementation - which would waste RAM. In this case, there is only one
|
|
||||||
command interpreter running, and it has its own local output buffer, so the
|
|
||||||
global buffer is just set to be one byte long as it is not used and should not
|
|
||||||
take up unnecessary RAM. */
|
|
||||||
#define configCOMMAND_INT_MAX_OUTPUT_SIZE 1
|
|
||||||
|
|
||||||
#endif /* FREERTOS_CONFIG_H */
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
/*
|
|
||||||
* FreeRTOS+FAT SL V1.0.1 (C) 2014 HCC Embedded
|
|
||||||
*
|
|
||||||
* FreeRTOS+FAT SL is an complementary component provided to Real Time Engineers
|
|
||||||
* Ltd. by HCC Embedded for use with FreeRTOS. It is not, in itself, part of
|
|
||||||
* the FreeRTOS kernel. FreeRTOS+FAT SL is licensed separately from FreeRTOS,
|
|
||||||
* and uses a different license to FreeRTOS. FreeRTOS+FAT SL uses a dual
|
|
||||||
* license model, information on which is provided below:
|
|
||||||
*
|
|
||||||
* - Open source licensing -
|
|
||||||
* FreeRTOS+FAT SL is a free download and may be used, modified and distributed
|
|
||||||
* without charge provided the user adheres to version two of the GNU General
|
|
||||||
* Public license (GPL) and does not remove the copyright notice or this text.
|
|
||||||
* The GPL V2 text is available on the gnu.org web site, and on the following
|
|
||||||
* URL: http://www.FreeRTOS.org/gpl-2.0.txt
|
|
||||||
*
|
|
||||||
* - Commercial licensing -
|
|
||||||
* Businesses and individuals who wish to incorporate FreeRTOS+FAT SL into
|
|
||||||
* proprietary software for redistribution in any form must first obtain a
|
|
||||||
* commercial license - and in-so-doing support the maintenance, support and
|
|
||||||
* further development of the FreeRTOS+FAT SL product. Commercial licenses can
|
|
||||||
* be obtained from http://shop.freertos.org and do not require any source files
|
|
||||||
* to be changed.
|
|
||||||
*
|
|
||||||
* FreeRTOS+FAT SL is distributed in the hope that it will be useful. You
|
|
||||||
* cannot use FreeRTOS+FAT SL unless you agree that you use the software 'as
|
|
||||||
* is'. FreeRTOS+FAT SL is provided WITHOUT ANY WARRANTY; without even the
|
|
||||||
* implied warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A
|
|
||||||
* PARTICULAR PURPOSE. Real Time Engineers Ltd. and HCC Embedded disclaims all
|
|
||||||
* conditions and terms, be they implied, expressed, or statutory.
|
|
||||||
*
|
|
||||||
* http://www.FreeRTOS.org
|
|
||||||
* http://www.FreeRTOS.org/FreeRTOS-Plus
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _CONFIG_FAT_SL_H
|
|
||||||
#define _CONFIG_FAT_SL_H
|
|
||||||
|
|
||||||
#include "../version/ver_fat_sl.h"
|
|
||||||
#if VER_FAT_SL_MAJOR != 5 || VER_FAT_SL_MINOR != 2
|
|
||||||
#error Incompatible FAT_SL version number!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "../api/api_mdriver.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
|
||||||
**
|
|
||||||
** FAT SL user settings
|
|
||||||
**
|
|
||||||
**************************************************************************/
|
|
||||||
#define F_SECTOR_SIZE 512u /* Disk sector size. */
|
|
||||||
#define F_FS_THREAD_AWARE 1 /* Set to one if the file system will be access from more than one task. */
|
|
||||||
#define F_MAXPATH 64 /* Maximum length a file name (including its full path) can be. */
|
|
||||||
#define F_MAX_LOCK_WAIT_TICKS 20 /* The maximum number of RTOS ticks to wait when attempting to obtain a lock on the file system when F_FS_THREAD_AWARE is set to 1. */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _CONFIG_FAT_SL_H */
|
|
||||||
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
/*
|
|
||||||
* FreeRTOS+FAT SL V1.0.1 (C) 2014 HCC Embedded
|
|
||||||
*
|
|
||||||
* FreeRTOS+FAT SL is an complementary component provided to Real Time Engineers
|
|
||||||
* Ltd. by HCC Embedded for use with FreeRTOS. It is not, in itself, part of
|
|
||||||
* the FreeRTOS kernel. FreeRTOS+FAT SL is licensed separately from FreeRTOS,
|
|
||||||
* and uses a different license to FreeRTOS. FreeRTOS+FAT SL uses a dual
|
|
||||||
* license model, information on which is provided below:
|
|
||||||
*
|
|
||||||
* - Open source licensing -
|
|
||||||
* FreeRTOS+FAT SL is a free download and may be used, modified and distributed
|
|
||||||
* without charge provided the user adheres to version two of the GNU General
|
|
||||||
* Public license (GPL) and does not remove the copyright notice or this text.
|
|
||||||
* The GPL V2 text is available on the gnu.org web site, and on the following
|
|
||||||
* URL: http://www.FreeRTOS.org/gpl-2.0.txt
|
|
||||||
*
|
|
||||||
* - Commercial licensing -
|
|
||||||
* Businesses and individuals who wish to incorporate FreeRTOS+FAT SL into
|
|
||||||
* proprietary software for redistribution in any form must first obtain a
|
|
||||||
* commercial license - and in-so-doing support the maintenance, support and
|
|
||||||
* further development of the FreeRTOS+FAT SL product. Commercial licenses can
|
|
||||||
* be obtained from http://shop.freertos.org and do not require any source files
|
|
||||||
* to be changed.
|
|
||||||
*
|
|
||||||
* FreeRTOS+FAT SL is distributed in the hope that it will be useful. You
|
|
||||||
* cannot use FreeRTOS+FAT SL unless you agree that you use the software 'as
|
|
||||||
* is'. FreeRTOS+FAT SL is provided WITHOUT ANY WARRANTY; without even the
|
|
||||||
* implied warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A
|
|
||||||
* PARTICULAR PURPOSE. Real Time Engineers Ltd. and HCC Embedded disclaims all
|
|
||||||
* conditions and terms, be they implied, expressed, or statutory.
|
|
||||||
*
|
|
||||||
* http://www.FreeRTOS.org
|
|
||||||
* http://www.FreeRTOS.org/FreeRTOS-Plus
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _CONFIG_FAT_SL_TEST_H
|
|
||||||
#define _CONFIG_FAT_SL_TEST_H
|
|
||||||
|
|
||||||
#include "../version/ver_fat_sl.h"
|
|
||||||
#if VER_FAT_SL_MAJOR != 5 || VER_FAT_SL_MINOR != 2
|
|
||||||
#error Incompatible FAT_SL version number!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
** Maximum size for seek test.
|
|
||||||
** Options: 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768
|
|
||||||
*/
|
|
||||||
#define F_MAX_SEEK_TEST 16384
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
** Defines media type for testing.
|
|
||||||
** Options: F_FAT12_MEDIA, F_FAT16_MEDIA, F_FAT32_MEDIA
|
|
||||||
*/
|
|
||||||
#define F_FAT_TYPE F_FAT16_MEDIA
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* ifndef _CONFIG_STHIN_TEST_H */
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
/*
|
|
||||||
* FreeRTOS+FAT SL V1.0.1 (C) 2014 HCC Embedded
|
|
||||||
*
|
|
||||||
* FreeRTOS+FAT SL is an complementary component provided to Real Time Engineers
|
|
||||||
* Ltd. by HCC Embedded for use with FreeRTOS. It is not, in itself, part of
|
|
||||||
* the FreeRTOS kernel. FreeRTOS+FAT SL is licensed separately from FreeRTOS,
|
|
||||||
* and uses a different license to FreeRTOS. FreeRTOS+FAT SL uses a dual
|
|
||||||
* license model, information on which is provided below:
|
|
||||||
*
|
|
||||||
* - Open source licensing -
|
|
||||||
* FreeRTOS+FAT SL is a free download and may be used, modified and distributed
|
|
||||||
* without charge provided the user adheres to version two of the GNU General
|
|
||||||
* Public license (GPL) and does not remove the copyright notice or this text.
|
|
||||||
* The GPL V2 text is available on the gnu.org web site, and on the following
|
|
||||||
* URL: http://www.FreeRTOS.org/gpl-2.0.txt
|
|
||||||
*
|
|
||||||
* - Commercial licensing -
|
|
||||||
* Businesses and individuals who wish to incorporate FreeRTOS+FAT SL into
|
|
||||||
* proprietary software for redistribution in any form must first obtain a
|
|
||||||
* commercial license - and in-so-doing support the maintenance, support and
|
|
||||||
* further development of the FreeRTOS+FAT SL product. Commercial licenses can
|
|
||||||
* be obtained from http://shop.freertos.org and do not require any source files
|
|
||||||
* to be changed.
|
|
||||||
*
|
|
||||||
* FreeRTOS+FAT SL is distributed in the hope that it will be useful. You
|
|
||||||
* cannot use FreeRTOS+FAT SL unless you agree that you use the software 'as
|
|
||||||
* is'. FreeRTOS+FAT SL is provided WITHOUT ANY WARRANTY; without even the
|
|
||||||
* implied warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A
|
|
||||||
* PARTICULAR PURPOSE. Real Time Engineers Ltd. and HCC Embedded disclaims all
|
|
||||||
* conditions and terms, be they implied, expressed, or statutory.
|
|
||||||
*
|
|
||||||
* http://www.FreeRTOS.org
|
|
||||||
* http://www.FreeRTOS.org/FreeRTOS-Plus
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _CONFIG_MDRIVER_RAM_H_
|
|
||||||
#define _CONFIG_MDRIVER_RAM_H_
|
|
||||||
|
|
||||||
#include "../version/ver_mdriver_ram.h"
|
|
||||||
#if VER_MDRIVER_RAM_MAJOR != 1 || VER_MDRIVER_RAM_MINOR != 2
|
|
||||||
#error Incompatible MDRIVER_RAM version number!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MDRIVER_RAM_SECTOR_SIZE 512 /* Sector size */
|
|
||||||
|
|
||||||
#define MDRIVER_RAM_VOLUME0_SIZE (128 * 1024) /* defintion for size of ramdrive0 */
|
|
||||||
|
|
||||||
#define MDRIVER_MEM_LONG_ACCESS 1 /* set this value to 1 if 32bit access available */
|
|
||||||
|
|
||||||
#endif /* ifndef _CONFIG_MDRIVER_RAM_H_ */
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,376 +0,0 @@
|
|||||||
/*
|
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
|
||||||
All rights reserved
|
|
||||||
|
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
|
||||||
|
|
||||||
This file is part of the FreeRTOS distribution.
|
|
||||||
|
|
||||||
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
|
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
|
||||||
link: http://www.freertos.org/a00114.html
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
* *
|
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*******************************************************************************
|
|
||||||
* See the URL in the comments within main.c for the location of the online
|
|
||||||
* documentation.
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
/* Standard includes. */
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
|
||||||
#include "FreeRTOS.h"
|
|
||||||
|
|
||||||
/* File system includes. */
|
|
||||||
#include "fat_sl.h"
|
|
||||||
#include "api_mdriver_ram.h"
|
|
||||||
|
|
||||||
/* 8.3 format, plus null terminator. */
|
|
||||||
#define fsMAX_FILE_NAME_LEN 13
|
|
||||||
|
|
||||||
/* The number of bytes read/written to the example files at a time. */
|
|
||||||
#define fsRAM_BUFFER_SIZE 200
|
|
||||||
|
|
||||||
/* The number of bytes written to the file that uses f_putc() and f_getc(). */
|
|
||||||
#define fsPUTC_FILE_SIZE 100
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Creates and verifies different files on the volume, demonstrating the use of
|
|
||||||
* various different API functions.
|
|
||||||
*/
|
|
||||||
void vCreateAndVerifySampleFiles( void );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Create a set of example files in the root directory of the volume using
|
|
||||||
* f_write().
|
|
||||||
*/
|
|
||||||
static void prvCreateDemoFilesUsing_f_write( void );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Use f_read() to read back and verify the files that were created by
|
|
||||||
* prvCreateDemoFilesUsing_f_write().
|
|
||||||
*/
|
|
||||||
static void prvVerifyDemoFileUsing_f_read( void );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Create an example file in a sub-directory using f_putc().
|
|
||||||
*/
|
|
||||||
static void prvCreateDemoFileUsing_f_putc( void );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Use f_getc() to read back and verify the file that was created by
|
|
||||||
* prvCreateDemoFileUsing_f_putc().
|
|
||||||
*/
|
|
||||||
static void prvVerifyDemoFileUsing_f_getc( void );
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
/* A buffer used to both create content to write to disk, and read content back
|
|
||||||
from a disk. Note there is no mutual exclusion on this buffer. */
|
|
||||||
static char cRAMBuffer[ fsRAM_BUFFER_SIZE ];
|
|
||||||
|
|
||||||
/* Names of directories that are created. */
|
|
||||||
static const char *pcRoot = "/", *pcDirectory1 = "SUB1", *pcDirectory2 = "SUB2", *pcFullPath = "/SUB1/SUB2";
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
void vCreateAndVerifySampleFiles( void )
|
|
||||||
{
|
|
||||||
unsigned char ucStatus;
|
|
||||||
|
|
||||||
/* First create the volume. */
|
|
||||||
ucStatus = f_initvolume( ram_initfunc );
|
|
||||||
|
|
||||||
/* It is expected that the volume is not formatted. */
|
|
||||||
if( ucStatus == F_ERR_NOTFORMATTED )
|
|
||||||
{
|
|
||||||
/* Format the created volume. */
|
|
||||||
ucStatus = f_format( F_FAT12_MEDIA );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( ucStatus == F_NO_ERROR )
|
|
||||||
{
|
|
||||||
/* Create a set of files using f_write(). */
|
|
||||||
prvCreateDemoFilesUsing_f_write();
|
|
||||||
|
|
||||||
/* Read back and verify the files that were created using f_write(). */
|
|
||||||
prvVerifyDemoFileUsing_f_read();
|
|
||||||
|
|
||||||
/* Create sub directories two deep then create a file using putc. */
|
|
||||||
prvCreateDemoFileUsing_f_putc();
|
|
||||||
|
|
||||||
/* Read back and verify the file created by
|
|
||||||
prvCreateDemoFileUsing_f_putc(). */
|
|
||||||
prvVerifyDemoFileUsing_f_getc();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
static void prvCreateDemoFilesUsing_f_write( void )
|
|
||||||
{
|
|
||||||
BaseType_t xFileNumber, xWriteNumber;
|
|
||||||
char cFileName[ fsMAX_FILE_NAME_LEN ];
|
|
||||||
const BaseType_t xMaxFiles = 5;
|
|
||||||
long lItemsWritten;
|
|
||||||
F_FILE *pxFile;
|
|
||||||
|
|
||||||
/* Create xMaxFiles files. Each created file will be
|
|
||||||
( xFileNumber * fsRAM_BUFFER_SIZE ) bytes in length, and filled
|
|
||||||
with a different repeating character. */
|
|
||||||
for( xFileNumber = 1; xFileNumber <= xMaxFiles; xFileNumber++ )
|
|
||||||
{
|
|
||||||
/* Generate a file name. */
|
|
||||||
sprintf( cFileName, "root%03d.txt", xFileNumber );
|
|
||||||
|
|
||||||
/* Obtain the current working directory and print out the file name and
|
|
||||||
the directory into which the file is being written. */
|
|
||||||
f_getcwd( cRAMBuffer, fsRAM_BUFFER_SIZE );
|
|
||||||
printf( "Creating file %s in %s\r\n", cFileName, cRAMBuffer );
|
|
||||||
|
|
||||||
/* Open the file, creating the file if it does not already exist. */
|
|
||||||
pxFile = f_open( cFileName, "w" );
|
|
||||||
configASSERT( pxFile );
|
|
||||||
|
|
||||||
/* Fill the RAM buffer with data that will be written to the file. This
|
|
||||||
is just a repeating ascii character that indicates the file number. */
|
|
||||||
memset( cRAMBuffer, ( int ) ( '0' + xFileNumber ), fsRAM_BUFFER_SIZE );
|
|
||||||
|
|
||||||
/* Write the RAM buffer to the opened file a number of times. The
|
|
||||||
number of times the RAM buffer is written to the file depends on the
|
|
||||||
file number, so the length of each created file will be different. */
|
|
||||||
for( xWriteNumber = 0; xWriteNumber < xFileNumber; xWriteNumber++ )
|
|
||||||
{
|
|
||||||
lItemsWritten = f_write( cRAMBuffer, fsRAM_BUFFER_SIZE, 1, pxFile );
|
|
||||||
configASSERT( lItemsWritten == 1 );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Close the file so another file can be created. */
|
|
||||||
f_close( pxFile );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
static void prvVerifyDemoFileUsing_f_read( void )
|
|
||||||
{
|
|
||||||
BaseType_t xFileNumber, xReadNumber;
|
|
||||||
char cFileName[ fsMAX_FILE_NAME_LEN ];
|
|
||||||
const BaseType_t xMaxFiles = 5;
|
|
||||||
long lItemsRead, lChar;
|
|
||||||
F_FILE *pxFile;
|
|
||||||
|
|
||||||
/* Read back the files that were created by
|
|
||||||
prvCreateDemoFilesUsing_f_write(). */
|
|
||||||
for( xFileNumber = 1; xFileNumber <= xMaxFiles; xFileNumber++ )
|
|
||||||
{
|
|
||||||
/* Generate the file name. */
|
|
||||||
sprintf( cFileName, "root%03d.txt", xFileNumber );
|
|
||||||
|
|
||||||
/* Obtain the current working directory and print out the file name and
|
|
||||||
the directory from which the file is being read. */
|
|
||||||
f_getcwd( cRAMBuffer, fsRAM_BUFFER_SIZE );
|
|
||||||
printf( "Reading file %s from %s\r\n", cFileName, cRAMBuffer );
|
|
||||||
|
|
||||||
/* Open the file for reading. */
|
|
||||||
pxFile = f_open( cFileName, "r" );
|
|
||||||
configASSERT( pxFile );
|
|
||||||
|
|
||||||
/* Read the file into the RAM buffer, checking the file contents are as
|
|
||||||
expected. The size of the file depends on the file number. */
|
|
||||||
for( xReadNumber = 0; xReadNumber < xFileNumber; xReadNumber++ )
|
|
||||||
{
|
|
||||||
/* Start with the RAM buffer clear. */
|
|
||||||
memset( cRAMBuffer, 0x00, fsRAM_BUFFER_SIZE );
|
|
||||||
|
|
||||||
lItemsRead = f_read( cRAMBuffer, fsRAM_BUFFER_SIZE, 1, pxFile );
|
|
||||||
configASSERT( lItemsRead == 1 );
|
|
||||||
|
|
||||||
/* Check the RAM buffer is filled with the expected data. Each
|
|
||||||
file contains a different repeating ascii character that indicates
|
|
||||||
the number of the file. */
|
|
||||||
for( lChar = 0; lChar < fsRAM_BUFFER_SIZE; lChar++ )
|
|
||||||
{
|
|
||||||
configASSERT( cRAMBuffer[ lChar ] == ( '0' + ( char ) xFileNumber ) );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Close the file. */
|
|
||||||
f_close( pxFile );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
static void prvCreateDemoFileUsing_f_putc( void )
|
|
||||||
{
|
|
||||||
unsigned char ucReturn;
|
|
||||||
int iByte, iReturned;
|
|
||||||
F_FILE *pxFile;
|
|
||||||
char cFileName[ fsMAX_FILE_NAME_LEN ];
|
|
||||||
|
|
||||||
/* Obtain and print out the working directory. */
|
|
||||||
f_getcwd( cRAMBuffer, fsRAM_BUFFER_SIZE );
|
|
||||||
printf( "In directory %s\r\n", cRAMBuffer );
|
|
||||||
|
|
||||||
/* Create a sub directory. */
|
|
||||||
ucReturn = f_mkdir( pcDirectory1 );
|
|
||||||
configASSERT( ucReturn == F_NO_ERROR );
|
|
||||||
|
|
||||||
/* Move into the created sub-directory. */
|
|
||||||
ucReturn = f_chdir( pcDirectory1 );
|
|
||||||
configASSERT( ucReturn == F_NO_ERROR );
|
|
||||||
|
|
||||||
/* Obtain and print out the working directory. */
|
|
||||||
f_getcwd( cRAMBuffer, fsRAM_BUFFER_SIZE );
|
|
||||||
printf( "In directory %s\r\n", cRAMBuffer );
|
|
||||||
|
|
||||||
/* Create a subdirectory in the new directory. */
|
|
||||||
ucReturn = f_mkdir( pcDirectory2 );
|
|
||||||
configASSERT( ucReturn == F_NO_ERROR );
|
|
||||||
|
|
||||||
/* Move into the directory just created - now two directories down from
|
|
||||||
the root. */
|
|
||||||
ucReturn = f_chdir( pcDirectory2 );
|
|
||||||
configASSERT( ucReturn == F_NO_ERROR );
|
|
||||||
|
|
||||||
/* Obtain and print out the working directory. */
|
|
||||||
f_getcwd( cRAMBuffer, fsRAM_BUFFER_SIZE );
|
|
||||||
printf( "In directory %s\r\n", cRAMBuffer );
|
|
||||||
configASSERT( strcmp( cRAMBuffer, pcFullPath ) == 0 );
|
|
||||||
|
|
||||||
/* Generate the file name. */
|
|
||||||
sprintf( cFileName, "%s.txt", pcDirectory2 );
|
|
||||||
|
|
||||||
/* Print out the file name and the directory into which the file is being
|
|
||||||
written. */
|
|
||||||
printf( "Writing file %s in %s\r\n", cFileName, cRAMBuffer );
|
|
||||||
|
|
||||||
pxFile = f_open( cFileName, "w" );
|
|
||||||
|
|
||||||
/* Create a file 1 byte at a time. The file is filled with incrementing
|
|
||||||
ascii characters starting from '0'. */
|
|
||||||
for( iByte = 0; iByte < fsPUTC_FILE_SIZE; iByte++ )
|
|
||||||
{
|
|
||||||
iReturned = f_putc( ( ( int ) '0' + iByte ), pxFile );
|
|
||||||
configASSERT( iReturned == ( ( int ) '0' + iByte ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Finished so close the file. */
|
|
||||||
f_close( pxFile );
|
|
||||||
|
|
||||||
/* Move back to the root directory. */
|
|
||||||
ucReturn = f_chdir( "../.." );
|
|
||||||
configASSERT( ucReturn == F_NO_ERROR );
|
|
||||||
|
|
||||||
/* Obtain and print out the working directory. */
|
|
||||||
f_getcwd( cRAMBuffer, fsRAM_BUFFER_SIZE );
|
|
||||||
printf( "Back in root directory %s\r\n", cRAMBuffer );
|
|
||||||
configASSERT( strcmp( cRAMBuffer, pcRoot ) == 0 );
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
static void prvVerifyDemoFileUsing_f_getc( void )
|
|
||||||
{
|
|
||||||
unsigned char ucReturn;
|
|
||||||
int iByte, iReturned;
|
|
||||||
F_FILE *pxFile;
|
|
||||||
char cFileName[ fsMAX_FILE_NAME_LEN ];
|
|
||||||
|
|
||||||
/* Move into the directory in which the file was created. */
|
|
||||||
ucReturn = f_chdir( pcFullPath );
|
|
||||||
configASSERT( ucReturn == F_NO_ERROR );
|
|
||||||
|
|
||||||
/* Obtain and print out the working directory. */
|
|
||||||
f_getcwd( cRAMBuffer, fsRAM_BUFFER_SIZE );
|
|
||||||
printf( "Back in directory %s\r\n", cRAMBuffer );
|
|
||||||
configASSERT( strcmp( cRAMBuffer, pcFullPath ) == 0 );
|
|
||||||
|
|
||||||
/* Generate the file name. */
|
|
||||||
sprintf( cFileName, "%s.txt", pcDirectory2 );
|
|
||||||
|
|
||||||
/* Print out the file name and the directory from which the file is being
|
|
||||||
read. */
|
|
||||||
printf( "Reading file %s in %s\r\n", cFileName, cRAMBuffer );
|
|
||||||
|
|
||||||
/* This time the file is opened for reading. */
|
|
||||||
pxFile = f_open( cFileName, "r" );
|
|
||||||
|
|
||||||
/* Read the file 1 byte at a time. */
|
|
||||||
for( iByte = 0; iByte < fsPUTC_FILE_SIZE; iByte++ )
|
|
||||||
{
|
|
||||||
iReturned = f_getc( pxFile );
|
|
||||||
configASSERT( iReturned == ( ( int ) '0' + iByte ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Finished so close the file. */
|
|
||||||
f_close( pxFile );
|
|
||||||
|
|
||||||
/* Move back to the root directory. */
|
|
||||||
ucReturn = f_chdir( "../.." );
|
|
||||||
configASSERT( ucReturn == F_NO_ERROR );
|
|
||||||
|
|
||||||
/* Obtain and print out the working directory. */
|
|
||||||
f_getcwd( cRAMBuffer, fsRAM_BUFFER_SIZE );
|
|
||||||
printf( "Back in root directory %s\r\n", cRAMBuffer );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
|
||||||
# Visual C++ Express 2010
|
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WIN32", "WIN32.vcxproj", "{C686325E-3261-42F7-AEB1-DDE5280E1CEB}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Win32 = Debug|Win32
|
|
||||||
Release|Win32 = Release|Win32
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{C686325E-3261-42F7-AEB1-DDE5280E1CEB}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{C686325E-3261-42F7-AEB1-DDE5280E1CEB}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{C686325E-3261-42F7-AEB1-DDE5280E1CEB}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{C686325E-3261-42F7-AEB1-DDE5280E1CEB}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
[InternetShortcut]
|
|
||||||
URL=http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT_SL/Demos/File_System_Win32_Simulator_demo.shtml
|
|
||||||
IDList=
|
|
||||||
[{000214A0-0000-0000-C000-000000000046}]
|
|
||||||
Prop3=19,2
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
This demo was removed in FreeRTOS V10.0.0 as FreeRTOS+FAT SL was not distributed
|
||||||
|
in that release. The full FreeRTOS+FAT product (as opposed to the 'SL' Super
|
||||||
|
Lean product) is still available. Previous versions of FreeRTOS can be
|
||||||
|
downloaded from http://sourceforge.net/projects/freertos/files/FreeRTOS/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,132 +0,0 @@
|
|||||||
/*
|
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
|
||||||
All rights reserved
|
|
||||||
|
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
|
||||||
|
|
||||||
This file is part of the FreeRTOS distribution.
|
|
||||||
|
|
||||||
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
|
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
|
||||||
link: http://www.freertos.org/a00114.html
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
* *
|
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Utility functions required to gather run time statistics. See:
|
|
||||||
* http://www.freertos.org/rtos-run-time-stats.html
|
|
||||||
*
|
|
||||||
* Note that this is a simulated port, where simulated time is a lot slower than
|
|
||||||
* real time, therefore the run time counter values have no real meaningful
|
|
||||||
* units.
|
|
||||||
*
|
|
||||||
* Also note that it is assumed this demo is going to be used for short periods
|
|
||||||
* of time only, and therefore timer overflows are not handled.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
|
||||||
#include <FreeRTOS.h>
|
|
||||||
|
|
||||||
/* Variables used in the creation of the run time stats time base. Run time
|
|
||||||
stats record how much time each task spends in the Running state. */
|
|
||||||
static long long llInitialRunTimeCounterValue = 0LL, llTicksPerHundedthMillisecond = 0LL;
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
void vConfigureTimerForRunTimeStats( void )
|
|
||||||
{
|
|
||||||
LARGE_INTEGER liPerformanceCounterFrequency, liInitialRunTimeValue;
|
|
||||||
|
|
||||||
/* Initialise the variables used to create the run time stats time base.
|
|
||||||
Run time stats record how much time each task spends in the Running
|
|
||||||
state. */
|
|
||||||
|
|
||||||
if( QueryPerformanceFrequency( &liPerformanceCounterFrequency ) == 0 )
|
|
||||||
{
|
|
||||||
llTicksPerHundedthMillisecond = 1;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* How many times does the performance counter increment in 1/100th
|
|
||||||
millisecond. */
|
|
||||||
llTicksPerHundedthMillisecond = liPerformanceCounterFrequency.QuadPart / 100000LL;
|
|
||||||
|
|
||||||
/* What is the performance counter value now, this will be subtracted
|
|
||||||
from readings taken at run time. */
|
|
||||||
QueryPerformanceCounter( &liInitialRunTimeValue );
|
|
||||||
llInitialRunTimeCounterValue = liInitialRunTimeValue.QuadPart;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
unsigned long ulGetRunTimeCounterValue( void )
|
|
||||||
{
|
|
||||||
LARGE_INTEGER liCurrentCount;
|
|
||||||
unsigned long ulReturn;
|
|
||||||
|
|
||||||
/* What is the performance counter value now? */
|
|
||||||
QueryPerformanceCounter( &liCurrentCount );
|
|
||||||
|
|
||||||
/* Subtract the performance counter value reading taken when the
|
|
||||||
application started to get a count from that reference point, then
|
|
||||||
scale to (simulated) 1/100ths of a millisecond. */
|
|
||||||
ulReturn = ( unsigned long ) ( ( liCurrentCount.QuadPart - llInitialRunTimeCounterValue ) / llTicksPerHundedthMillisecond );
|
|
||||||
|
|
||||||
return ulReturn;
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
@@ -1,421 +0,0 @@
|
|||||||
/*
|
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
|
||||||
All rights reserved
|
|
||||||
|
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
|
||||||
|
|
||||||
This file is part of the FreeRTOS distribution.
|
|
||||||
|
|
||||||
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
|
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
|
||||||
link: http://www.freertos.org/a00114.html
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
* *
|
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
*
|
|
||||||
* See the following URL for information on the commands defined in this file:
|
|
||||||
* http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/Embedded_Ethernet_Examples/Ethernet_Related_CLI_Commands.shtml
|
|
||||||
*
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
|
||||||
#include "FreeRTOS.h"
|
|
||||||
#include "task.h"
|
|
||||||
|
|
||||||
/* Standard includes. */
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
/* FreeRTOS+CLI includes. */
|
|
||||||
#include "FreeRTOS_CLI.h"
|
|
||||||
|
|
||||||
#ifndef configINCLUDE_TRACE_RELATED_CLI_COMMANDS
|
|
||||||
#define configINCLUDE_TRACE_RELATED_CLI_COMMANDS 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Implements the run-time-stats command.
|
|
||||||
*/
|
|
||||||
static BaseType_t prvTaskStatsCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Implements the task-stats command.
|
|
||||||
*/
|
|
||||||
static BaseType_t prvRunTimeStatsCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Implements the echo-three-parameters command.
|
|
||||||
*/
|
|
||||||
static BaseType_t prvThreeParameterEchoCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Implements the echo-parameters command.
|
|
||||||
*/
|
|
||||||
static BaseType_t prvParameterEchoCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Implements the "trace start" and "trace stop" commands;
|
|
||||||
*/
|
|
||||||
#if configINCLUDE_TRACE_RELATED_CLI_COMMANDS == 1
|
|
||||||
static BaseType_t prvStartStopTraceCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Structure that defines the "run-time-stats" command line command. This
|
|
||||||
generates a table that shows how much run time each task has */
|
|
||||||
static const CLI_Command_Definition_t xRunTimeStats =
|
|
||||||
{
|
|
||||||
"run-time-stats", /* The command string to type. */
|
|
||||||
"\r\nrun-time-stats:\r\n Displays a table showing how much processing time each FreeRTOS task has used\r\n",
|
|
||||||
prvRunTimeStatsCommand, /* The function to run. */
|
|
||||||
0 /* No parameters are expected. */
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Structure that defines the "task-stats" command line command. This generates
|
|
||||||
a table that gives information on each task in the system. */
|
|
||||||
static const CLI_Command_Definition_t xTaskStats =
|
|
||||||
{
|
|
||||||
"task-stats", /* The command string to type. */
|
|
||||||
"\r\ntask-stats:\r\n Displays a table showing the state of each FreeRTOS task\r\n",
|
|
||||||
prvTaskStatsCommand, /* The function to run. */
|
|
||||||
0 /* No parameters are expected. */
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Structure that defines the "echo_3_parameters" command line command. This
|
|
||||||
takes exactly three parameters that the command simply echos back one at a
|
|
||||||
time. */
|
|
||||||
static const CLI_Command_Definition_t xThreeParameterEcho =
|
|
||||||
{
|
|
||||||
"echo-3-parameters",
|
|
||||||
"\r\necho-3-parameters <param1> <param2> <param3>:\r\n Expects three parameters, echos each in turn\r\n",
|
|
||||||
prvThreeParameterEchoCommand, /* The function to run. */
|
|
||||||
3 /* Three parameters are expected, which can take any value. */
|
|
||||||
};
|
|
||||||
|
|
||||||
/* Structure that defines the "echo_parameters" command line command. This
|
|
||||||
takes a variable number of parameters that the command simply echos back one at
|
|
||||||
a time. */
|
|
||||||
static const CLI_Command_Definition_t xParameterEcho =
|
|
||||||
{
|
|
||||||
"echo-parameters",
|
|
||||||
"\r\necho-parameters <...>:\r\n Take variable number of parameters, echos each in turn\r\n",
|
|
||||||
prvParameterEchoCommand, /* The function to run. */
|
|
||||||
-1 /* The user can enter any number of commands. */
|
|
||||||
};
|
|
||||||
|
|
||||||
#if configINCLUDE_TRACE_RELATED_CLI_COMMANDS == 1
|
|
||||||
/* Structure that defines the "trace" command line command. This takes a single
|
|
||||||
parameter, which can be either "start" or "stop". */
|
|
||||||
static const CLI_Command_Definition_t xStartStopTrace =
|
|
||||||
{
|
|
||||||
"trace",
|
|
||||||
"\r\ntrace [start | stop]:\r\n Starts or stops a trace recording for viewing in FreeRTOS+Trace\r\n",
|
|
||||||
prvStartStopTraceCommand, /* The function to run. */
|
|
||||||
1 /* One parameter is expected. Valid values are "start" and "stop". */
|
|
||||||
};
|
|
||||||
#endif /* configINCLUDE_TRACE_RELATED_CLI_COMMANDS */
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
void vRegisterSampleCLICommands( void )
|
|
||||||
{
|
|
||||||
/* Register all the command line commands defined immediately above. */
|
|
||||||
FreeRTOS_CLIRegisterCommand( &xTaskStats );
|
|
||||||
FreeRTOS_CLIRegisterCommand( &xRunTimeStats );
|
|
||||||
FreeRTOS_CLIRegisterCommand( &xThreeParameterEcho );
|
|
||||||
FreeRTOS_CLIRegisterCommand( &xParameterEcho );
|
|
||||||
|
|
||||||
#if( configINCLUDE_TRACE_RELATED_CLI_COMMANDS == 1 )
|
|
||||||
{
|
|
||||||
FreeRTOS_CLIRegisterCommand( & xStartStopTrace );
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
static BaseType_t prvTaskStatsCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString )
|
|
||||||
{
|
|
||||||
const char *const pcHeader = "Task State Priority Stack #\r\n************************************************\r\n";
|
|
||||||
|
|
||||||
/* Remove compile time warnings about unused parameters, and check the
|
|
||||||
write buffer is not NULL. NOTE - for simplicity, this example assumes the
|
|
||||||
write buffer length is adequate, so does not check for buffer overflows. */
|
|
||||||
( void ) pcCommandString;
|
|
||||||
( void ) xWriteBufferLen;
|
|
||||||
configASSERT( pcWriteBuffer );
|
|
||||||
|
|
||||||
/* Generate a table of task stats. */
|
|
||||||
strcpy( pcWriteBuffer, pcHeader );
|
|
||||||
vTaskList( pcWriteBuffer + strlen( pcHeader ) );
|
|
||||||
|
|
||||||
/* There is no more data to return after this single string, so return
|
|
||||||
pdFALSE. */
|
|
||||||
return pdFALSE;
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
static BaseType_t prvRunTimeStatsCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString )
|
|
||||||
{
|
|
||||||
const char * const pcHeader = "Task Abs Time % Time\r\n****************************************\r\n";
|
|
||||||
|
|
||||||
/* Remove compile time warnings about unused parameters, and check the
|
|
||||||
write buffer is not NULL. NOTE - for simplicity, this example assumes the
|
|
||||||
write buffer length is adequate, so does not check for buffer overflows. */
|
|
||||||
( void ) pcCommandString;
|
|
||||||
( void ) xWriteBufferLen;
|
|
||||||
configASSERT( pcWriteBuffer );
|
|
||||||
|
|
||||||
/* Generate a table of task stats. */
|
|
||||||
strcpy( pcWriteBuffer, pcHeader );
|
|
||||||
vTaskGetRunTimeStats( pcWriteBuffer + strlen( pcHeader ) );
|
|
||||||
|
|
||||||
/* There is no more data to return after this single string, so return
|
|
||||||
pdFALSE. */
|
|
||||||
return pdFALSE;
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
static BaseType_t prvThreeParameterEchoCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString )
|
|
||||||
{
|
|
||||||
const char *pcParameter;
|
|
||||||
BaseType_t xParameterStringLength, xReturn;
|
|
||||||
static BaseType_t lParameterNumber = 0;
|
|
||||||
|
|
||||||
/* Remove compile time warnings about unused parameters, and check the
|
|
||||||
write buffer is not NULL. NOTE - for simplicity, this example assumes the
|
|
||||||
write buffer length is adequate, so does not check for buffer overflows. */
|
|
||||||
( void ) pcCommandString;
|
|
||||||
( void ) xWriteBufferLen;
|
|
||||||
configASSERT( pcWriteBuffer );
|
|
||||||
|
|
||||||
if( lParameterNumber == 0 )
|
|
||||||
{
|
|
||||||
/* The first time the function is called after the command has been
|
|
||||||
entered just a header string is returned. */
|
|
||||||
sprintf( pcWriteBuffer, "The three parameters were:\r\n" );
|
|
||||||
|
|
||||||
/* Next time the function is called the first parameter will be echoed
|
|
||||||
back. */
|
|
||||||
lParameterNumber = 1L;
|
|
||||||
|
|
||||||
/* There is more data to be returned as no parameters have been echoed
|
|
||||||
back yet. */
|
|
||||||
xReturn = pdPASS;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* Obtain the parameter string. */
|
|
||||||
pcParameter = FreeRTOS_CLIGetParameter
|
|
||||||
(
|
|
||||||
pcCommandString, /* The command string itself. */
|
|
||||||
lParameterNumber, /* Return the next parameter. */
|
|
||||||
&xParameterStringLength /* Store the parameter string length. */
|
|
||||||
);
|
|
||||||
|
|
||||||
/* Sanity check something was returned. */
|
|
||||||
configASSERT( pcParameter );
|
|
||||||
|
|
||||||
/* Return the parameter string. */
|
|
||||||
memset( pcWriteBuffer, 0x00, xWriteBufferLen );
|
|
||||||
sprintf( pcWriteBuffer, "%d: ", ( int ) lParameterNumber );
|
|
||||||
strncat( pcWriteBuffer, pcParameter, xParameterStringLength );
|
|
||||||
strncat( pcWriteBuffer, "\r\n", strlen( "\r\n" ) );
|
|
||||||
|
|
||||||
/* If this is the last of the three parameters then there are no more
|
|
||||||
strings to return after this one. */
|
|
||||||
if( lParameterNumber == 3L )
|
|
||||||
{
|
|
||||||
/* If this is the last of the three parameters then there are no more
|
|
||||||
strings to return after this one. */
|
|
||||||
xReturn = pdFALSE;
|
|
||||||
lParameterNumber = 0L;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* There are more parameters to return after this one. */
|
|
||||||
xReturn = pdTRUE;
|
|
||||||
lParameterNumber++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return xReturn;
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
static BaseType_t prvParameterEchoCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString )
|
|
||||||
{
|
|
||||||
const char *pcParameter;
|
|
||||||
BaseType_t xParameterStringLength, xReturn;
|
|
||||||
static BaseType_t lParameterNumber = 0;
|
|
||||||
|
|
||||||
/* Remove compile time warnings about unused parameters, and check the
|
|
||||||
write buffer is not NULL. NOTE - for simplicity, this example assumes the
|
|
||||||
write buffer length is adequate, so does not check for buffer overflows. */
|
|
||||||
( void ) pcCommandString;
|
|
||||||
( void ) xWriteBufferLen;
|
|
||||||
configASSERT( pcWriteBuffer );
|
|
||||||
|
|
||||||
if( lParameterNumber == 0 )
|
|
||||||
{
|
|
||||||
/* The first time the function is called after the command has been
|
|
||||||
entered just a header string is returned. */
|
|
||||||
sprintf( pcWriteBuffer, "The parameters were:\r\n" );
|
|
||||||
|
|
||||||
/* Next time the function is called the first parameter will be echoed
|
|
||||||
back. */
|
|
||||||
lParameterNumber = 1L;
|
|
||||||
|
|
||||||
/* There is more data to be returned as no parameters have been echoed
|
|
||||||
back yet. */
|
|
||||||
xReturn = pdPASS;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* Obtain the parameter string. */
|
|
||||||
pcParameter = FreeRTOS_CLIGetParameter
|
|
||||||
(
|
|
||||||
pcCommandString, /* The command string itself. */
|
|
||||||
lParameterNumber, /* Return the next parameter. */
|
|
||||||
&xParameterStringLength /* Store the parameter string length. */
|
|
||||||
);
|
|
||||||
|
|
||||||
if( pcParameter != NULL )
|
|
||||||
{
|
|
||||||
/* Return the parameter string. */
|
|
||||||
memset( pcWriteBuffer, 0x00, xWriteBufferLen );
|
|
||||||
sprintf( pcWriteBuffer, "%d: ", ( int ) lParameterNumber );
|
|
||||||
strncat( pcWriteBuffer, pcParameter, xParameterStringLength );
|
|
||||||
strncat( pcWriteBuffer, "\r\n", strlen( "\r\n" ) );
|
|
||||||
|
|
||||||
/* There might be more parameters to return after this one. */
|
|
||||||
xReturn = pdTRUE;
|
|
||||||
lParameterNumber++;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* No more parameters were found. Make sure the write buffer does
|
|
||||||
not contain a valid string. */
|
|
||||||
pcWriteBuffer[ 0 ] = 0x00;
|
|
||||||
|
|
||||||
/* No more data to return. */
|
|
||||||
xReturn = pdFALSE;
|
|
||||||
|
|
||||||
/* Start over the next time this command is executed. */
|
|
||||||
lParameterNumber = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return xReturn;
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
#if configINCLUDE_TRACE_RELATED_CLI_COMMANDS == 1
|
|
||||||
|
|
||||||
static BaseType_t prvStartStopTraceCommand( char *pcWriteBuffer, size_t xWriteBufferLen, const char *pcCommandString )
|
|
||||||
{
|
|
||||||
const char *pcParameter;
|
|
||||||
BaseType_t lParameterStringLength;
|
|
||||||
|
|
||||||
/* Remove compile time warnings about unused parameters, and check the
|
|
||||||
write buffer is not NULL. NOTE - for simplicity, this example assumes the
|
|
||||||
write buffer length is adequate, so does not check for buffer overflows. */
|
|
||||||
( void ) pcCommandString;
|
|
||||||
( void ) xWriteBufferLen;
|
|
||||||
configASSERT( pcWriteBuffer );
|
|
||||||
|
|
||||||
/* Obtain the parameter string. */
|
|
||||||
pcParameter = FreeRTOS_CLIGetParameter
|
|
||||||
(
|
|
||||||
pcCommandString, /* The command string itself. */
|
|
||||||
1, /* Return the first parameter. */
|
|
||||||
&lParameterStringLength /* Store the parameter string length. */
|
|
||||||
);
|
|
||||||
|
|
||||||
/* Sanity check something was returned. */
|
|
||||||
configASSERT( pcParameter );
|
|
||||||
|
|
||||||
/* There are only two valid parameter values. */
|
|
||||||
if( strncmp( pcParameter, "start", strlen( "start" ) ) == 0 )
|
|
||||||
{
|
|
||||||
/* Start or restart the trace. */
|
|
||||||
vTraceStop();
|
|
||||||
vTraceClear();
|
|
||||||
vTraceStart();
|
|
||||||
|
|
||||||
sprintf( pcWriteBuffer, "Trace recording (re)started.\r\n" );
|
|
||||||
}
|
|
||||||
else if( strncmp( pcParameter, "stop", strlen( "stop" ) ) == 0 )
|
|
||||||
{
|
|
||||||
/* End the trace, if one is running. */
|
|
||||||
vTraceStop();
|
|
||||||
sprintf( pcWriteBuffer, "Stopping trace recording.\r\n" );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
sprintf( pcWriteBuffer, "Valid parameters are 'start' and 'stop'.\r\n" );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* There is no more data to return after this single string, so return
|
|
||||||
pdFALSE. */
|
|
||||||
return pdFALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* configINCLUDE_TRACE_RELATED_CLI_COMMANDS */
|
|
||||||
@@ -1,271 +0,0 @@
|
|||||||
/*
|
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
|
||||||
All rights reserved
|
|
||||||
|
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
|
||||||
|
|
||||||
This file is part of the FreeRTOS distribution.
|
|
||||||
|
|
||||||
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
|
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
|
||||||
link: http://www.freertos.org/a00114.html
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
* *
|
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#pragma comment( lib, "ws2_32.lib" )
|
|
||||||
|
|
||||||
/* Win32 includes. */
|
|
||||||
#include <WinSock2.h>
|
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
|
||||||
#include "FreeRTOS.h"
|
|
||||||
#include "task.h"
|
|
||||||
|
|
||||||
/* Standard includes. */
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
/* FreeRTOS+CLI includes. */
|
|
||||||
#include "FreeRTOS_CLI.h"
|
|
||||||
|
|
||||||
/* Dimensions the buffer into which input characters are placed. */
|
|
||||||
#define cmdMAX_INPUT_SIZE 60
|
|
||||||
|
|
||||||
/* Dimensions the buffer into which string outputs can be placed. */
|
|
||||||
#define cmdMAX_OUTPUT_SIZE 1024
|
|
||||||
|
|
||||||
/* Dimensions the buffer passed to the recvfrom() call. */
|
|
||||||
#define cmdSOCKET_INPUT_BUFFER_SIZE 60
|
|
||||||
|
|
||||||
/* DEL acts as a backspace. */
|
|
||||||
#define cmdASCII_DEL ( 0x7F )
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Open and configure the UDP socket.
|
|
||||||
*/
|
|
||||||
static SOCKET prvOpenUDPSocket( void );
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Task that provides the input and output for the FreeRTOS+CLI command
|
|
||||||
* interpreter. In this case a WinSock UDP port is used for convenience as this
|
|
||||||
* demo runs in a simulated environment on a Windows PC. See the URL in the
|
|
||||||
* comments within main.c for the location of the online documentation.
|
|
||||||
*/
|
|
||||||
void vUDPCommandInterpreterTask( void *pvParameters )
|
|
||||||
{
|
|
||||||
long lBytes, lByte;
|
|
||||||
signed char cInChar, cInputIndex = 0;
|
|
||||||
static signed char cInputString[ cmdMAX_INPUT_SIZE ], cOutputString[ cmdMAX_OUTPUT_SIZE ], cLocalBuffer[ cmdSOCKET_INPUT_BUFFER_SIZE ];
|
|
||||||
BaseType_t xMoreDataToFollow;
|
|
||||||
volatile int iErrorCode = 0;
|
|
||||||
struct sockaddr_in xClient;
|
|
||||||
int xClientAddressLength = sizeof( struct sockaddr_in );
|
|
||||||
SOCKET xSocket;
|
|
||||||
|
|
||||||
/* Just to prevent compiler warnings. */
|
|
||||||
( void ) pvParameters;
|
|
||||||
|
|
||||||
/* Attempt to open the socket. */
|
|
||||||
xSocket = prvOpenUDPSocket();
|
|
||||||
|
|
||||||
if( xSocket != INVALID_SOCKET )
|
|
||||||
{
|
|
||||||
for( ;; )
|
|
||||||
{
|
|
||||||
/* Wait for incoming data on the opened socket. */
|
|
||||||
lBytes = recvfrom( xSocket, cLocalBuffer, sizeof( cLocalBuffer ), 0, ( struct sockaddr * ) &xClient, &xClientAddressLength );
|
|
||||||
|
|
||||||
if( lBytes == SOCKET_ERROR )
|
|
||||||
{
|
|
||||||
/* Something went wrong, but it is not handled by this simple
|
|
||||||
example. */
|
|
||||||
iErrorCode = WSAGetLastError();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* Process each received byte in turn. */
|
|
||||||
lByte = 0;
|
|
||||||
while( lByte < lBytes )
|
|
||||||
{
|
|
||||||
/* The next character in the input buffer. */
|
|
||||||
cInChar = cLocalBuffer[ lByte ];
|
|
||||||
lByte++;
|
|
||||||
|
|
||||||
/* Newline characters are taken as the end of the command
|
|
||||||
string. */
|
|
||||||
if( cInChar == '\n' )
|
|
||||||
{
|
|
||||||
/* Process the input string received prior to the
|
|
||||||
newline. */
|
|
||||||
do
|
|
||||||
{
|
|
||||||
/* Pass the string to FreeRTOS+CLI. */
|
|
||||||
xMoreDataToFollow = FreeRTOS_CLIProcessCommand( cInputString, cOutputString, cmdMAX_OUTPUT_SIZE );
|
|
||||||
|
|
||||||
/* Send the output generated by the command's
|
|
||||||
implementation. */
|
|
||||||
sendto( xSocket, cOutputString, strlen( cOutputString ), 0, ( SOCKADDR * ) &xClient, xClientAddressLength );
|
|
||||||
|
|
||||||
} while( xMoreDataToFollow != pdFALSE ); /* Until the command does not generate any more output. */
|
|
||||||
|
|
||||||
/* All the strings generated by the command processing
|
|
||||||
have been sent. Clear the input string ready to receive
|
|
||||||
the next command. */
|
|
||||||
cInputIndex = 0;
|
|
||||||
memset( cInputString, 0x00, cmdMAX_INPUT_SIZE );
|
|
||||||
|
|
||||||
/* Transmit a spacer, just to make the command console
|
|
||||||
easier to read. */
|
|
||||||
sendto( xSocket, "\r\n", strlen( "\r\n" ), 0, ( SOCKADDR * ) &xClient, xClientAddressLength );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if( cInChar == '\r' )
|
|
||||||
{
|
|
||||||
/* Ignore the character. Newlines are used to
|
|
||||||
detect the end of the input string. */
|
|
||||||
}
|
|
||||||
else if( ( cInChar == '\b' ) || ( cInChar == cmdASCII_DEL ) )
|
|
||||||
{
|
|
||||||
/* Backspace was pressed. Erase the last character
|
|
||||||
in the string - if any. */
|
|
||||||
if( cInputIndex > 0 )
|
|
||||||
{
|
|
||||||
cInputIndex--;
|
|
||||||
cInputString[ cInputIndex ] = '\0';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* A character was entered. Add it to the string
|
|
||||||
entered so far. When a \n is entered the complete
|
|
||||||
string will be passed to the command interpreter. */
|
|
||||||
if( cInputIndex < cmdMAX_INPUT_SIZE )
|
|
||||||
{
|
|
||||||
cInputString[ cInputIndex ] = cInChar;
|
|
||||||
cInputIndex++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* The socket could not be opened. */
|
|
||||||
vTaskDelete( NULL );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
static SOCKET prvOpenUDPSocket( void )
|
|
||||||
{
|
|
||||||
WSADATA xWSAData;
|
|
||||||
WORD wVersionRequested;
|
|
||||||
struct sockaddr_in xServer;
|
|
||||||
SOCKET xSocket = INVALID_SOCKET;
|
|
||||||
|
|
||||||
wVersionRequested = MAKEWORD( 2, 2 );
|
|
||||||
|
|
||||||
/* Prepare to use WinSock. */
|
|
||||||
if( WSAStartup( wVersionRequested, &xWSAData ) != 0 )
|
|
||||||
{
|
|
||||||
fprintf( stderr, "Could not open Windows connection.\n" );
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
xSocket = socket( AF_INET, SOCK_DGRAM, 0 );
|
|
||||||
if( xSocket == INVALID_SOCKET)
|
|
||||||
{
|
|
||||||
fprintf( stderr, "Could not create socket.\n" );
|
|
||||||
WSACleanup();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* Zero out the server structure. */
|
|
||||||
memset( ( void * ) &xServer, 0x00, sizeof( struct sockaddr_in ) );
|
|
||||||
|
|
||||||
/* Set family and port. */
|
|
||||||
xServer.sin_family = AF_INET;
|
|
||||||
xServer.sin_port = htons( configUDP_CLI_PORT_NUMBER );
|
|
||||||
|
|
||||||
/* Assign the loopback address */
|
|
||||||
xServer.sin_addr.S_un.S_un_b.s_b1 = 127;
|
|
||||||
xServer.sin_addr.S_un.S_un_b.s_b2 = 0;
|
|
||||||
xServer.sin_addr.S_un.S_un_b.s_b3 = 0;
|
|
||||||
xServer.sin_addr.S_un.S_un_b.s_b4 = 1;
|
|
||||||
|
|
||||||
/* Bind the address to the socket. */
|
|
||||||
if( bind( xSocket, ( struct sockaddr * ) &xServer, sizeof( struct sockaddr_in ) ) == -1 )
|
|
||||||
{
|
|
||||||
fprintf( stderr, "Could not socket to port %d.\n", configUDP_CLI_PORT_NUMBER );
|
|
||||||
closesocket( xSocket );
|
|
||||||
xSocket = INVALID_SOCKET;
|
|
||||||
WSACleanup();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return xSocket;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,184 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
|
||||||
<Configuration>Debug</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Win32</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Label="Globals">
|
|
||||||
<ProjectGuid>{C686325E-3261-42F7-AEB1-DDE5280E1CEB}</ProjectGuid>
|
|
||||||
<ProjectName>RTOSDemo</ProjectName>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
|
||||||
<UseOfMfc>false</UseOfMfc>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
|
||||||
<UseOfMfc>false</UseOfMfc>
|
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
||||||
<ImportGroup Label="ExtensionSettings">
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
||||||
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
|
||||||
</ImportGroup>
|
|
||||||
<PropertyGroup Label="UserMacros" />
|
|
||||||
<PropertyGroup>
|
|
||||||
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
|
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
|
|
||||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
|
|
||||||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
|
|
||||||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
|
|
||||||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
||||||
<Midl>
|
|
||||||
<TypeLibraryName>.\Debug/WIN32.tlb</TypeLibraryName>
|
|
||||||
<HeaderFileName>
|
|
||||||
</HeaderFileName>
|
|
||||||
</Midl>
|
|
||||||
<ClCompile>
|
|
||||||
<Optimization>Disabled</Optimization>
|
|
||||||
<AdditionalIncludeDirectories>..\..\..\FreeRTOS\Source\include;..\..\..\FreeRTOS\Source\portable\MSVC-MingW;..\..\Source\FreeRTOS-Plus-CLI;.;.\..\..\Source\FreeRTOS-Plus-FAT-SL\api;.\..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\test;.\ConfigurationFiles;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_WIN32_WINNT=0x0500;WINVER=0x400;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<MinimalRebuild>true</MinimalRebuild>
|
|
||||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
||||||
<PrecompiledHeaderOutputFile>.\Debug/WIN32.pch</PrecompiledHeaderOutputFile>
|
|
||||||
<AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
|
|
||||||
<ObjectFileName>.\Debug/</ObjectFileName>
|
|
||||||
<ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
|
|
||||||
<WarningLevel>Level4</WarningLevel>
|
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
||||||
<DisableLanguageExtensions>false</DisableLanguageExtensions>
|
|
||||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
||||||
</ClCompile>
|
|
||||||
<ResourceCompile>
|
|
||||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<Culture>0x0c09</Culture>
|
|
||||||
</ResourceCompile>
|
|
||||||
<Link>
|
|
||||||
<OutputFile>.\Debug/RTOSDemo.exe</OutputFile>
|
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
<ProgramDatabaseFile>.\Debug/WIN32.pdb</ProgramDatabaseFile>
|
|
||||||
<SubSystem>Console</SubSystem>
|
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
|
||||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
<AdditionalLibraryDirectories>.\WinPCap</AdditionalLibraryDirectories>
|
|
||||||
</Link>
|
|
||||||
<Bscmake>
|
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
||||||
<OutputFile>.\Debug/WIN32.bsc</OutputFile>
|
|
||||||
</Bscmake>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
||||||
<Midl>
|
|
||||||
<TypeLibraryName>.\Release/WIN32.tlb</TypeLibraryName>
|
|
||||||
<HeaderFileName>
|
|
||||||
</HeaderFileName>
|
|
||||||
</Midl>
|
|
||||||
<ClCompile>
|
|
||||||
<Optimization>MaxSpeed</Optimization>
|
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
|
||||||
<PreprocessorDefinitions>_WINSOCKAPI_;WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<StringPooling>true</StringPooling>
|
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<PrecompiledHeaderOutputFile>.\Release/WIN32.pch</PrecompiledHeaderOutputFile>
|
|
||||||
<AssemblerListingLocation>.\Release/</AssemblerListingLocation>
|
|
||||||
<ObjectFileName>.\Release/</ObjectFileName>
|
|
||||||
<ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
|
|
||||||
<WarningLevel>Level3</WarningLevel>
|
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
||||||
<AdditionalIncludeDirectories>..\Common\Utils;..\Common\ethernet\lwip-1.4.0\ports\win32\WinPCap;..\Common\ethernet\lwip-1.4.0\src\include\ipv4;..\Common\ethernet\lwip-1.4.0\src\include;..\..\Source\include;..\..\Source\portable\MSVC-MingW;..\Common\ethernet\lwip-1.4.0\ports\win32\include;..\Common\Include;.\lwIP_Apps;.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
</ClCompile>
|
|
||||||
<ResourceCompile>
|
|
||||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<Culture>0x0c09</Culture>
|
|
||||||
</ResourceCompile>
|
|
||||||
<Link>
|
|
||||||
<OutputFile>.\Release/RTOSDemo.exe</OutputFile>
|
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
||||||
<ProgramDatabaseFile>.\Release/WIN32.pdb</ProgramDatabaseFile>
|
|
||||||
<SubSystem>Console</SubSystem>
|
|
||||||
<TargetMachine>MachineX86</TargetMachine>
|
|
||||||
<AdditionalLibraryDirectories>..\Common\ethernet\lwip-1.4.0\ports\win32\WinPCap</AdditionalLibraryDirectories>
|
|
||||||
<AdditionalDependencies>wpcap.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
||||||
</Link>
|
|
||||||
<Bscmake>
|
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
|
||||||
<OutputFile>.\Release/WIN32.bsc</OutputFile>
|
|
||||||
</Bscmake>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\portable\MemMang\heap_4.c" />
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\list.c" />
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\portable\MSVC-MingW\port.c" />
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\queue.c" />
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\tasks.c" />
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\timers.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-CLI\FreeRTOS_CLI.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\f_lock.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\test\test.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\psp\target\fat_sl\psp_test.c" />
|
|
||||||
<ClCompile Include="File-Releated-CLI-commands.c" />
|
|
||||||
<ClCompile Include="File-system-demo.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\dir.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\drv.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\fat.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\file.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\util.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\util_sfn.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\volume.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\media-drv\ram\ramdrv_f.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\psp\target\rtc\psp_rtc.c" />
|
|
||||||
<ClCompile Include="main.c">
|
|
||||||
<AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
||||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="Run-time-stats-utils.c" />
|
|
||||||
<ClCompile Include="Sample-CLI-commands.c" />
|
|
||||||
<ClCompile Include="UDPCommandServer.c" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\FreeRTOS.h" />
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\projdefs.h" />
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\queue.h" />
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\semphr.h" />
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\task.h" />
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\timers.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-CLI\FreeRTOS_CLI.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\api\fat_sl.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\f_lock.h" />
|
|
||||||
<ClInclude Include="ConfigurationFiles\config_fat_sl.h" />
|
|
||||||
<ClInclude Include="ConfigurationFiles\config_fat_sl_test.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\dir.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\drv.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\fat.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\file.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\util.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\util_sfn.h" />
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\volume.h" />
|
|
||||||
<ClInclude Include="ConfigurationFiles\FreeRTOSConfig.h" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
||||||
<ImportGroup Label="ExtensionTargets">
|
|
||||||
</ImportGroup>
|
|
||||||
</Project>
|
|
||||||
@@ -1,180 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup>
|
|
||||||
<Filter Include="Resource Files">
|
|
||||||
<UniqueIdentifier>{38712199-cebf-4124-bf15-398f7c3419ea}</UniqueIdentifier>
|
|
||||||
<Extensions>ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS">
|
|
||||||
<UniqueIdentifier>{af3445a1-4908-4170-89ed-39345d90d30c}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS\Source">
|
|
||||||
<UniqueIdentifier>{f32be356-4763-4cae-9020-974a2638cb08}</UniqueIdentifier>
|
|
||||||
<Extensions>*.c</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS\Source\Portable">
|
|
||||||
<UniqueIdentifier>{88f409e6-d396-4ac5-94bd-7a99c914be46}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+">
|
|
||||||
<UniqueIdentifier>{e5ad4ec7-23dc-4295-8add-2acaee488f5a}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+\FreeRTOS+CLI">
|
|
||||||
<UniqueIdentifier>{fd43c0ed-fdbc-437f-a5a3-c50399690bd7}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+\FreeRTOS+CLI\include">
|
|
||||||
<UniqueIdentifier>{c5889fe2-af0f-4cea-927f-6a6935ec5e14}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+\FreeRTOS+FAT SL">
|
|
||||||
<UniqueIdentifier>{d261611a-5416-4455-bb33-3bd84381ea40}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+\FreeRTOS+FAT SL\Media_Driver">
|
|
||||||
<UniqueIdentifier>{17c1a794-a4a6-4358-850f-2a88bfe3bd33}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+\FreeRTOS+FAT SL\psp">
|
|
||||||
<UniqueIdentifier>{fb7ccc1d-c4ad-475a-98d9-2e8ae2301c99}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+\FreeRTOS+FAT SL\psp\target">
|
|
||||||
<UniqueIdentifier>{34bb4a98-fb88-41fc-81f2-4e3f1c50c528}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+\FreeRTOS+FAT SL\psp\target\rtc">
|
|
||||||
<UniqueIdentifier>{286bf65c-93cd-4480-8363-0fb2c2bc7ce1}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="Configuration Files">
|
|
||||||
<UniqueIdentifier>{19ff1a34-36de-4c48-9d10-3fb1fa0d1fa4}</UniqueIdentifier>
|
|
||||||
<Extensions>h;hpp;hxx;hm;inl</Extensions>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+\FreeRTOS+FAT SL\tests">
|
|
||||||
<UniqueIdentifier>{e4105d81-802a-4210-b40b-d5dd3cf6e643}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS\Source\include">
|
|
||||||
<UniqueIdentifier>{ab23827c-126c-4e5a-bc99-8efa44d8a8bd}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
<Filter Include="FreeRTOS+\FreeRTOS+FAT SL\api">
|
|
||||||
<UniqueIdentifier>{9e1c9cf5-c2c7-4f8d-b09d-0b7f329eac57}</UniqueIdentifier>
|
|
||||||
</Filter>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\portable\MSVC-MingW\port.c">
|
|
||||||
<Filter>FreeRTOS\Source\Portable</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\timers.c">
|
|
||||||
<Filter>FreeRTOS\Source</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\list.c">
|
|
||||||
<Filter>FreeRTOS\Source</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\queue.c">
|
|
||||||
<Filter>FreeRTOS\Source</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\tasks.c">
|
|
||||||
<Filter>FreeRTOS\Source</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\..\FreeRTOS\Source\portable\MemMang\heap_4.c">
|
|
||||||
<Filter>FreeRTOS\Source\Portable</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-CLI\FreeRTOS_CLI.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+CLI</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\media-drv\ram\ramdrv_f.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL\Media_Driver</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\psp\target\rtc\psp_rtc.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL\psp\target\rtc</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\dir.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\drv.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\fat.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\file.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\util.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\util_sfn.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\volume.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="UDPCommandServer.c" />
|
|
||||||
<ClCompile Include="File-Releated-CLI-commands.c" />
|
|
||||||
<ClCompile Include="File-system-demo.c" />
|
|
||||||
<ClCompile Include="main.c" />
|
|
||||||
<ClCompile Include="Run-time-stats-utils.c" />
|
|
||||||
<ClCompile Include="Sample-CLI-commands.c" />
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\psp\target\fat_sl\psp_test.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\test\test.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL\tests</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\f_lock.c">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-CLI\FreeRTOS_CLI.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+CLI\include</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\volume.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\dir.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\drv.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\fat.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\file.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\util.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\util_sfn.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="ConfigurationFiles\config_fat_sl.h">
|
|
||||||
<Filter>Configuration Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\timers.h">
|
|
||||||
<Filter>FreeRTOS\Source\include</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\FreeRTOS.h">
|
|
||||||
<Filter>FreeRTOS\Source\include</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\projdefs.h">
|
|
||||||
<Filter>FreeRTOS\Source\include</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\queue.h">
|
|
||||||
<Filter>FreeRTOS\Source\include</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\semphr.h">
|
|
||||||
<Filter>FreeRTOS\Source\include</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\..\FreeRTOS\Source\include\task.h">
|
|
||||||
<Filter>FreeRTOS\Source\include</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\api\fat_sl.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL\api</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\Source\FreeRTOS-Plus-FAT-SL\fat_sl\common\f_lock.h">
|
|
||||||
<Filter>FreeRTOS+\FreeRTOS+FAT SL</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="ConfigurationFiles\config_fat_sl_test.h">
|
|
||||||
<Filter>Configuration Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="ConfigurationFiles\FreeRTOSConfig.h">
|
|
||||||
<Filter>Configuration Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
</Project>
|
|
||||||
@@ -1,232 +0,0 @@
|
|||||||
/*
|
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
|
||||||
All rights reserved
|
|
||||||
|
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
|
||||||
|
|
||||||
This file is part of the FreeRTOS distribution.
|
|
||||||
|
|
||||||
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
|
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
|
||||||
link: http://www.freertos.org/a00114.html
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
* *
|
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
*
|
|
||||||
* This demo is described on the following web page:
|
|
||||||
* http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT_SL/Demos/File_System_Win32_Simulator_demo.shtml
|
|
||||||
*
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
/* Standard includes. */
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
|
||||||
#include <FreeRTOS.h>
|
|
||||||
#include "task.h"
|
|
||||||
#include "queue.h"
|
|
||||||
#include "semphr.h"
|
|
||||||
|
|
||||||
/* File system includes. */
|
|
||||||
#include "config_fat_sl.h"
|
|
||||||
|
|
||||||
/* Priorities at which the tasks are created. */
|
|
||||||
#define mainUDP_CLI_TASK_PRIORITY ( tskIDLE_PRIORITY )
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Register the generic commands that can be used with FreeRTOS+CLI.
|
|
||||||
*/
|
|
||||||
extern void vRegisterSampleCLICommands( void );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Register the file system commands that can be used with FreeRTOS+CLI.
|
|
||||||
*/
|
|
||||||
extern void vRegisterFileSystemCLICommands( void );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* The task that implements the UDP command interpreter using FreeRTOS+CLI.
|
|
||||||
*/
|
|
||||||
extern void vUDPCommandInterpreterTask( void *pvParameters );
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Creates and verifies different files on the volume, demonstrating the use of
|
|
||||||
* various different API functions.
|
|
||||||
*/
|
|
||||||
extern void vCreateAndVerifySampleFiles( void );
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
*
|
|
||||||
* This demo is described on the following web page:
|
|
||||||
* http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT_SL/Demos/File_System_Win32_Simulator_demo.shtml
|
|
||||||
*
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
int main( void )
|
|
||||||
{
|
|
||||||
const uint32_t ulLongTime_ms = 250UL;
|
|
||||||
|
|
||||||
/* If the file system is only going to be accessed from one task then
|
|
||||||
F_FS_THREAD_AWARE can be set to 0 and the set of example files are created
|
|
||||||
before the RTOS scheduler is started. If the file system is going to be
|
|
||||||
access from more than one task then F_FS_THREAD_AWARE must be set to 1 and
|
|
||||||
the set of sample files are created from the idle task hook function
|
|
||||||
vApplicationIdleHook() - which is defined in this file. */
|
|
||||||
#if F_FS_THREAD_AWARE == 0
|
|
||||||
{
|
|
||||||
/* Initialise the drive and file system, then create a few example
|
|
||||||
files. The output from this function just goes to the stdout window,
|
|
||||||
allowing the output to be viewed when the UDP command console is not
|
|
||||||
connected. */
|
|
||||||
vCreateAndVerifySampleFiles();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Register generic commands with the FreeRTOS+CLI command interpreter. */
|
|
||||||
vRegisterSampleCLICommands();
|
|
||||||
|
|
||||||
/* Register file system related commands with the FreeRTOS+CLI command
|
|
||||||
interpreter. */
|
|
||||||
vRegisterFileSystemCLICommands();
|
|
||||||
|
|
||||||
/* Create the task that handles the CLI on a UDP port. The port number
|
|
||||||
is set using the configUDP_CLI_PORT_NUMBER setting in FreeRTOSConfig.h. */
|
|
||||||
xTaskCreate( vUDPCommandInterpreterTask, /* The function that implements the command interpreter IO handling. */
|
|
||||||
"CLI", /* The name of the task - just to assist debugging. */
|
|
||||||
configMINIMAL_STACK_SIZE, NULL, /* The size of the stack allocated to the task. */
|
|
||||||
mainUDP_CLI_TASK_PRIORITY, /* The priority at which the task will run. */
|
|
||||||
NULL ); /* A handle to the task is not required, so NULL is passed. */
|
|
||||||
|
|
||||||
/* Start the RTOS scheduler. */
|
|
||||||
vTaskStartScheduler();
|
|
||||||
|
|
||||||
/* If all is well, the scheduler will now be running, and the following
|
|
||||||
line will never be reached. If the following line does execute, then
|
|
||||||
there was insufficient FreeRTOS heap memory available for the idle and/or
|
|
||||||
timer tasks to be created. See the memory management section on the
|
|
||||||
FreeRTOS web site for more details (this is standard text that is not
|
|
||||||
really applicable to the Win32 simulator port). */
|
|
||||||
for( ;; )
|
|
||||||
{
|
|
||||||
Sleep( ulLongTime_ms );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
void vApplicationIdleHook( void )
|
|
||||||
{
|
|
||||||
const unsigned long ulMSToSleep = 5;
|
|
||||||
|
|
||||||
/* If the file system is only going to be accessed from one task then
|
|
||||||
F_FS_THREAD_AWARE can be set to 0 and the set of example files is created
|
|
||||||
before the RTOS scheduler is started. If the file system is going to be
|
|
||||||
access from more than one task then F_FS_THREAD_AWARE must be set to 1 and
|
|
||||||
the set of sample files are created from the idle task hook function. */
|
|
||||||
#if F_FS_THREAD_AWARE == 1
|
|
||||||
{
|
|
||||||
static BaseType_t xCreatedSampleFiles = pdFALSE;
|
|
||||||
|
|
||||||
/* Initialise the drive and file system, then create a few example
|
|
||||||
files. The output from this function just goes to the stdout window,
|
|
||||||
allowing the output to be viewed when the UDP command console is not
|
|
||||||
connected. */
|
|
||||||
if( xCreatedSampleFiles == pdFALSE )
|
|
||||||
{
|
|
||||||
vCreateAndVerifySampleFiles();
|
|
||||||
xCreatedSampleFiles = pdTRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* This function is called on each cycle of the idle task if
|
|
||||||
configUSE_IDLE_HOOK is set to 1 in FreeRTOSConfig.h. Sleep to reduce CPU
|
|
||||||
load. */
|
|
||||||
Sleep( ulMSToSleep );
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
void vAssertCalled( const char *pcFile, unsigned long ulLine )
|
|
||||||
{
|
|
||||||
printf( "ASSERT FAILED: File %s, line %u\r\n", pcFile, ulLine );
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------*/
|
|
||||||
|
|
||||||
void vApplicationMallocFailedHook( void )
|
|
||||||
{
|
|
||||||
/* vApplicationMallocFailedHook() will only be called if
|
|
||||||
configUSE_MALLOC_FAILED_HOOK is set to 1 in FreeRTOSConfig.h. It is a hook
|
|
||||||
function that will get called if a call to pvPortMalloc() fails.
|
|
||||||
pvPortMalloc() is called internally by the kernel whenever a task, queue,
|
|
||||||
timer or semaphore is created. It is also called by various parts of the
|
|
||||||
demo application. If heap_1.c, heap_2.c or heap_4.c are used, then the
|
|
||||||
size of the heap available to pvPortMalloc() is defined by
|
|
||||||
configTOTAL_HEAP_SIZE in FreeRTOSConfig.h, and the xPortGetFreeHeapSize()
|
|
||||||
API function can be used to query the size of free heap space that remains
|
|
||||||
(although it does not provide information on how the remaining heap might
|
|
||||||
be fragmented). */
|
|
||||||
taskDISABLE_INTERRUPTS();
|
|
||||||
for( ;; );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef FREERTOS_CONFIG_H
|
#ifndef FREERTOS_CONFIG_H
|
||||||
#define FREERTOS_CONFIG_H
|
#define FREERTOS_CONFIG_H
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* FreeRTOS includes. */
|
/* FreeRTOS includes. */
|
||||||
#include "FreeRTOS.h"
|
#include "FreeRTOS.h"
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* See the URL in the comments within main.c for the location of the online
|
* See the URL in the comments within main.c for the location of the online
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Utility functions required to gather run time statistics. See:
|
* Utility functions required to gather run time statistics. See:
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#pragma comment( lib, "ws2_32.lib" )
|
#pragma comment( lib, "ws2_32.lib" )
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates two transmitting tasks and two receiving tasks. The transmitting
|
* Creates two transmitting tasks and two receiving tasks. The transmitting
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A set of tasks are created that send TCP echo requests to the standard echo
|
* A set of tasks are created that send TCP echo requests to the standard echo
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef SIMPLE_UDP_CLIENT_AND_SERVER_H
|
#ifndef SIMPLE_UDP_CLIENT_AND_SERVER_H
|
||||||
#define SIMPLE_UDPCLIENT_AND_SERVER_H
|
#define SIMPLE_UDPCLIENT_AND_SERVER_H
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef SINGLE_TASK_TCP_ECHO_CLIENTS_H
|
#ifndef SINGLE_TASK_TCP_ECHO_CLIENTS_H
|
||||||
#define SINGLE_TASK_TCP_ECHO_CLIENTS_H
|
#define SINGLE_TASK_TCP_ECHO_CLIENTS_H
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef FREERTOS_CONFIG_H
|
#ifndef FREERTOS_CONFIG_H
|
||||||
#define FREERTOS_CONFIG_H
|
#define FREERTOS_CONFIG_H
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* WinPCap includes. */
|
/* WinPCap includes. */
|
||||||
#include "pcap.h"
|
#include "pcap.h"
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef NET_IF_H
|
#ifndef NET_IF_H
|
||||||
#define NET_IF_H
|
#define NET_IF_H
|
||||||
|
|||||||
@@ -1,71 +1,30 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
This file is part of the FreeRTOS distribution.
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
FreeRTOS is free software; you can redistribute it and/or modify it under
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
the terms of the GNU General Public License (version 2) as published by the
|
* subject to the following conditions:
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
***************************************************************************
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
*
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
***************************************************************************
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
*
|
||||||
link: http://www.freertos.org/a00114.html
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
***************************************************************************
|
*
|
||||||
* *
|
* 1 tab == 4 spaces!
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
*/
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Logging utility that allows FreeRTOS tasks to log to a UDP port, stdout, and
|
* Logging utility that allows FreeRTOS tasks to log to a UDP port, stdout, and
|
||||||
|
|||||||
@@ -1,71 +1,31 @@
|
|||||||
/*
|
/*
|
||||||
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
|
* FreeRTOS Kernel V10.0.0
|
||||||
All rights reserved
|
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software. If you wish to use our Amazon
|
||||||
|
* FreeRTOS name, please do so in a fair use way that does not cause confusion.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*
|
||||||
|
* http://www.FreeRTOS.org
|
||||||
|
* http://aws.amazon.com/freertos
|
||||||
|
*
|
||||||
|
* 1 tab == 4 spaces!
|
||||||
|
*/
|
||||||
|
|
||||||
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
|
|
||||||
|
|
||||||
This file is part of the FreeRTOS distribution.
|
|
||||||
|
|
||||||
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
|
|
||||||
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
>>! NOTE: The modification to the GPL is included to allow you to !<<
|
|
||||||
>>! distribute a combined work that includes FreeRTOS without being !<<
|
|
||||||
>>! obliged to provide the source code for proprietary components !<<
|
|
||||||
>>! outside of the FreeRTOS kernel. !<<
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
||||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
||||||
FOR A PARTICULAR PURPOSE. Full license text is available on the following
|
|
||||||
link: http://www.freertos.org/a00114.html
|
|
||||||
|
|
||||||
***************************************************************************
|
|
||||||
* *
|
|
||||||
* FreeRTOS provides completely free yet professionally developed, *
|
|
||||||
* robust, strictly quality controlled, supported, and cross *
|
|
||||||
* platform software that is more than just the market leader, it *
|
|
||||||
* is the industry's de facto standard. *
|
|
||||||
* *
|
|
||||||
* Help yourself get started quickly while simultaneously helping *
|
|
||||||
* to support the FreeRTOS project by purchasing a FreeRTOS *
|
|
||||||
* tutorial book, reference manual, or both: *
|
|
||||||
* http://www.FreeRTOS.org/Documentation *
|
|
||||||
* *
|
|
||||||
***************************************************************************
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
|
|
||||||
the FAQ page "My application does not run, what could be wrong?". Have you
|
|
||||||
defined configASSERT()?
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/support - In return for receiving this top quality
|
|
||||||
embedded software for free we request you assist our global community by
|
|
||||||
participating in the support forum.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/training - Investing in training allows your team to
|
|
||||||
be as productive as possible as early as possible. Now you can receive
|
|
||||||
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
|
|
||||||
Ltd, and the world's leading authority on the world's leading RTOS.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
|
|
||||||
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
|
|
||||||
compatible FAT file system, and our tiny thread aware UDP/IP stack.
|
|
||||||
|
|
||||||
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
|
|
||||||
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
|
|
||||||
|
|
||||||
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
|
|
||||||
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
|
|
||||||
licenses offer ticketed support, indemnification and commercial middleware.
|
|
||||||
|
|
||||||
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 tab == 4 spaces!
|
|
||||||
*/
|
|
||||||
#ifndef DEMO_LOGGING_H
|
#ifndef DEMO_LOGGING_H
|
||||||
#define DEMO_LOGGING_H
|
#define DEMO_LOGGING_H
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user