Skip to content

Commit fafe24e

Browse files
committed
Update to FreeRTOS 10.0.1 sources modified by ST
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 5dc0465 commit fafe24e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+10345
-4744
lines changed

portable/Common/mpu_wrappers.c

Lines changed: 250 additions & 100 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM0/port.c

Lines changed: 109 additions & 121 deletions
Large diffs are not rendered by default.

portable/GCC/ARM_CM0/portmacro.h

Lines changed: 27 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,29 @@
11
/*
2-
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
3-
All rights reserved
4-
5-
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
6-
7-
This file is part of the FreeRTOS distribution.
8-
9-
FreeRTOS is free software; you can redistribute it and/or modify it under
10-
the terms of the GNU General Public License (version 2) as published by the
11-
Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.
12-
13-
***************************************************************************
14-
>>! NOTE: The modification to the GPL is included to allow you to !<<
15-
>>! distribute a combined work that includes FreeRTOS without being !<<
16-
>>! obliged to provide the source code for proprietary components !<<
17-
>>! outside of the FreeRTOS kernel. !<<
18-
***************************************************************************
19-
20-
FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY
21-
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
22-
FOR A PARTICULAR PURPOSE. Full license text is available on the following
23-
link: http://www.freertos.org/a00114.html
24-
25-
***************************************************************************
26-
* *
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. *
31-
* *
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 *
36-
* *
37-
***************************************************************************
38-
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.
51-
52-
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
53-
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
54-
compatible FAT file system, and our tiny thread aware UDP/IP stack.
55-
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.
62-
63-
http://www.SafeRTOS.com - High Integrity Systems also provide a safety
64-
engineered and independently SIL3 certified version for use in safety and
65-
mission critical applications that require provable dependability.
66-
67-
1 tab == 4 spaces!
68-
*/
2+
* FreeRTOS Kernel V10.0.1
3+
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+
*
5+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
* this software and associated documentation files (the "Software"), to deal in
7+
* the Software without restriction, including without limitation the rights to
8+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
* the Software, and to permit persons to whom the Software is furnished to do so,
10+
* subject to the following conditions:
11+
*
12+
* The above copyright notice and this permission notice shall be included in all
13+
* copies or substantial portions of the Software.
14+
*
15+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21+
*
22+
* http://www.FreeRTOS.org
23+
* http://aws.amazon.com/freertos
24+
*
25+
* 1 tab == 4 spaces!
26+
*/
6927

7028

7129
#ifndef PORTMACRO_H
@@ -136,8 +94,8 @@ extern void vClearInterruptMaskFromISR( uint32_t ulMask ) __attribute__((naked)
13694

13795
#define portSET_INTERRUPT_MASK_FROM_ISR() ulSetInterruptMaskFromISR()
13896
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(x) vClearInterruptMaskFromISR( x )
139-
#define portDISABLE_INTERRUPTS() __asm volatile ( " cpsid i " )
140-
#define portENABLE_INTERRUPTS() __asm volatile ( " cpsie i " )
97+
#define portDISABLE_INTERRUPTS() __asm volatile ( " cpsid i " ::: "memory" )
98+
#define portENABLE_INTERRUPTS() __asm volatile ( " cpsie i " ::: "memory" )
14199
#define portENTER_CRITICAL() vPortEnterCritical()
142100
#define portEXIT_CRITICAL() vPortExitCritical()
143101

0 commit comments

Comments
 (0)