Skip to content

Commit 5c0fc73

Browse files
committed
cc3200: Update FreeRTOS to v9.0.0.
This is a pristine copy (actually a subset of files) of upstream FreeRTOS v9.0.0. Modifications to the previous version of FreeRTOS (v8.1.2) included addition of __attribute__ ((section (".boot"))) to the following functions: pxPortInitialiseStack prvTaskExitError prvPortStartFirstTask xPortStartScheduler vPortSetupTimerInterrupt xTaskGenericCreate vTaskStartScheduler prvInitialiseTCBVariables prvInitialiseTaskLists prvAllocateTCBAndStack This attribute will need to be reinstated on a case-by-case basis because some of the above functions are now removed/changed.
1 parent e90b6ce commit 5c0fc73

24 files changed

Lines changed: 6580 additions & 2714 deletions

cc3200/FreeRTOS/License/license.txt

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,59 @@
1-
The FreeRTOS source code is licensed by a *modified* GNU General Public
2-
License (GPL). The modification is provided in the form of an exception.
1+
The FreeRTOS open source license covers the FreeRTOS source files,
2+
which are located in the /FreeRTOS/Source directory of the official FreeRTOS
3+
download. It also covers most of the source files in the demo application
4+
projects, which are located in the /FreeRTOS/Demo directory of the official
5+
FreeRTOS download. The demo projects may also include third party software that
6+
is not part of FreeRTOS and is licensed separately to FreeRTOS. Examples of
7+
third party software includes header files provided by chip or tools vendors,
8+
linker scripts, peripheral drivers, etc. All the software in subdirectories of
9+
the /FreeRTOS directory is either open source or distributed with permission,
10+
and is free for use. For the avoidance of doubt, refer to the comments at the
11+
top of each source file.
12+
13+
----------------------------------------------------------------------------
314

415
NOTE: The modification to the GPL is included to allow you to distribute a
516
combined work that includes FreeRTOS without being obliged to provide the source
6-
code for proprietary components outside of the FreeRTOS kernel.
7-
8-
17+
code for proprietary components.
918

1019
----------------------------------------------------------------------------
1120

12-
The FreeRTOS GPL Exception Text:
21+
Applying to FreeRTOS V8.2.3 up to the latest version, the FreeRTOS GPL Exception
22+
Text follows:
1323

14-
Any FreeRTOS source code, whether modified or in it's original release form,
24+
Any FreeRTOS *source code*, whether modified or in it's original release form,
1525
or whether in whole or in part, can only be distributed by you under the terms
16-
of the GNU General Public License plus this exception. An independent module is
26+
of the GNU General Public License plus this exception. An independent module is
1727
a module which is not derived from or based on FreeRTOS.
1828

1929
Clause 1:
2030

21-
Linking FreeRTOS statically or dynamically with other modules is making a
22-
combined work based on FreeRTOS. Thus, the terms and conditions of the GNU
23-
General Public License cover the whole combination.
31+
Linking FreeRTOS with other modules is making a combined work based on FreeRTOS.
32+
Thus, the terms and conditions of the GNU General Public License V2 cover the
33+
whole combination.
2434

25-
As a special exception, the copyright holder of FreeRTOS gives you permission
26-
to link FreeRTOS with independent modules that communicate with FreeRTOS
27-
solely through the FreeRTOS API interface, regardless of the license terms of
28-
these independent modules, and to copy and distribute the resulting combined
29-
work under terms of your choice, provided that
35+
As a special exception, the copyright holders of FreeRTOS give you permission to
36+
link FreeRTOS with independent modules to produce a statically linked
37+
executable, regardless of the license terms of these independent modules, and to
38+
copy and distribute the resulting executable under terms of your choice,
39+
provided that you also meet, for each linked independent module, the terms and
40+
conditions of the license of that module. An independent module is a module
41+
which is not derived from or based on FreeRTOS.
3042

31-
+ Every copy of the combined work is accompanied by a written statement that
32-
details to the recipient the version of FreeRTOS used and an offer by yourself
33-
to provide the FreeRTOS source code (including any modifications you may have
34-
made) should the recipient request it.
43+
Clause 2:
3544

36-
+ The combined work is not itself an RTOS, scheduler, kernel or related product.
45+
FreeRTOS may not be used for any competitive or comparative purpose, including
46+
the publication of any form of run time or compile time metric, without the
47+
express permission of Real Time Engineers Ltd. (this is the norm within the
48+
industry and is intended to ensure information accuracy).
3749

38-
+ The independent modules add significant and primary functionality to FreeRTOS
39-
and do not merely extend the existing functionality already present in FreeRTOS.
4050

41-
Clause 2:
4251

43-
FreeRTOS may not be used for any competitive or comparative purpose, including the
44-
publication of any form of run time or compile time metric, without the express
45-
permission of Real Time Engineers Ltd. (this is the norm within the industry and
46-
is intended to ensure information accuracy).
52+
--------------------------------------------------------------------
4753

4854

49-
--------------------------------------------------------------------
5055

51-
The standard GPL exception text:
56+
The standard GPL V2 text:
5257

5358

5459
GNU GENERAL PUBLIC LICENSE

cc3200/FreeRTOS/Source/croutine.c

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,64 @@
11
/*
2-
FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd.
2+
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
33
All rights reserved
44
55
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
66
7-
***************************************************************************
8-
* *
9-
* FreeRTOS provides completely free yet professionally developed, *
10-
* robust, strictly quality controlled, supported, and cross *
11-
* platform software that has become a de facto standard. *
12-
* *
13-
* Help yourself get started quickly and support the FreeRTOS *
14-
* project by purchasing a FreeRTOS tutorial book, reference *
15-
* manual, or both from: http://www.FreeRTOS.org/Documentation *
16-
* *
17-
* Thank you! *
18-
* *
19-
***************************************************************************
20-
217
This file is part of the FreeRTOS distribution.
228
239
FreeRTOS is free software; you can redistribute it and/or modify it under
2410
the terms of the GNU General Public License (version 2) as published by the
25-
Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.
11+
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
2612
13+
***************************************************************************
2714
>>! NOTE: The modification to the GPL is included to allow you to !<<
2815
>>! distribute a combined work that includes FreeRTOS without being !<<
2916
>>! obliged to provide the source code for proprietary components !<<
3017
>>! outside of the FreeRTOS kernel. !<<
18+
***************************************************************************
3119
3220
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
3321
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
34-
FOR A PARTICULAR PURPOSE. Full license text is available from the following
22+
FOR A PARTICULAR PURPOSE. Full license text is available on the following
3523
link: http://www.freertos.org/a00114.html
3624
37-
1 tab == 4 spaces!
38-
3925
***************************************************************************
4026
* *
41-
* Having a problem? Start by reading the FAQ "My application does *
42-
* not run, what could be wrong?" *
27+
* FreeRTOS provides completely free yet professionally developed, *
28+
* robust, strictly quality controlled, supported, and cross *
29+
* platform software that is more than just the market leader, it *
30+
* is the industry's de facto standard. *
4331
* *
44-
* http://www.FreeRTOS.org/FAQHelp.html *
32+
* Help yourself get started quickly while simultaneously helping *
33+
* to support the FreeRTOS project by purchasing a FreeRTOS *
34+
* tutorial book, reference manual, or both: *
35+
* http://www.FreeRTOS.org/Documentation *
4536
* *
4637
***************************************************************************
4738
48-
http://www.FreeRTOS.org - Documentation, books, training, latest versions,
49-
license and Real Time Engineers Ltd. contact details.
39+
http://www.FreeRTOS.org/FAQHelp.html - Having a problem? Start by reading
40+
the FAQ page "My application does not run, what could be wrong?". Have you
41+
defined configASSERT()?
42+
43+
http://www.FreeRTOS.org/support - In return for receiving this top quality
44+
embedded software for free we request you assist our global community by
45+
participating in the support forum.
46+
47+
http://www.FreeRTOS.org/training - Investing in training allows your team to
48+
be as productive as possible as early as possible. Now you can receive
49+
FreeRTOS training directly from Richard Barry, CEO of Real Time Engineers
50+
Ltd, and the world's leading authority on the world's leading RTOS.
5051
5152
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
5253
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
5354
compatible FAT file system, and our tiny thread aware UDP/IP stack.
5455
55-
http://www.OpenRTOS.com - Real Time Engineers ltd license FreeRTOS to High
56-
Integrity Systems to sell under the OpenRTOS brand. Low cost OpenRTOS
57-
licenses offer ticketed support, indemnification and middleware.
56+
http://www.FreeRTOS.org/labs - Where new FreeRTOS products go to incubate.
57+
Come and try FreeRTOS+TCP, our new open source TCP/IP stack for FreeRTOS.
58+
59+
http://www.OpenRTOS.com - Real Time Engineers ltd. license FreeRTOS to High
60+
Integrity Systems ltd. to sell under the OpenRTOS brand. Low cost OpenRTOS
61+
licenses offer ticketed support, indemnification and commercial middleware.
5862
5963
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
6064
engineered and independently SIL3 certified version for use in safety and
@@ -67,6 +71,9 @@
6771
#include "task.h"
6872
#include "croutine.h"
6973

74+
/* Remove the whole file is co-routines are not being used. */
75+
#if( configUSE_CO_ROUTINES != 0 )
76+
7077
/*
7178
* Some kernel aware debuggers require data to be viewed to be global, rather
7279
* than file scope.
@@ -384,3 +391,5 @@ BaseType_t xReturn;
384391
return xReturn;
385392
}
386393

394+
#endif /* configUSE_CO_ROUTINES == 0 */
395+

0 commit comments

Comments
 (0)