ActoryOu
a27d6650ee
Move configASSERT default definition above before including portable.h. ( #1185 )
...
Move configASSERT default definition above before including portable.h.
3 months ago
ActoryOu
de276eb023
Fix spelling typos ( #1168 )
...
* Fix spelling
---------
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
3 months ago
Soren Ptak
839ccb719b
Use Regex for Copyright Year in Header Check ( #1002 )
11 months ago
Soren Ptak
8d1da77d0d
Revert Portable/MPLAB Formatting ( #883 )
...
* Revert the formatting PR
* Fix spelling mistakes
---------
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
1 year ago
Boris van der Meer
d43062ba78
Add trace hook macro for most ports ( #794 )
...
Add trace hook macro for most ports
In pull request #659 we introduced better support for tracing
tools like systemview. This patchset adds support for more
ports as requested in the original pull request.
1 year ago
Soren Ptak
5fb9b50da8
CI-CD Updates ( #768 )
...
* Use new version of CI-CD Actions
* Use cSpell spell check, and use ubuntu-20.04 for formatting check
* Format and spell check all files in the portable directory
* Remove the https:// from #errors and #warnings as uncrustify attempts to change it to /*
* Use checkout@v3 instead of checkout@v2 on all jobs
---------
1 year ago
Paul Bartell
c1980cedb1
tree-wide: Unify formatting of __cplusplus ifdefs
2 years ago
Joseph Julicher
ddd50d9a80
added portPOINTER_SIZE_TYPE and SIZE_MAX definition to PIC24/dsPIC port ( #636 )
...
* added portPOINTER_SIZE_TYPE definition to PIC24/dsPIC port
* Added SIZE_MAX definition to PIC24/dsPIC33
2 years ago
Dusan Cervenka
91c20f5f42
Added support of 64bit events. ( #597 )
...
* Added support of 64bit even
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
* Added missing brackets
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
* Made proper name for tick macro.
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
* Improved macro evaluation
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
* Fixed missed port files + documentation
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
* Changes made on PR
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
* Fix macro definition.
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
* Formatted code with uncrustify
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
---------
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
2 years ago
Paul Bartell
01820d3ed9
Normalize line endings and whitespace in source files
2 years ago
Kody Stribrny
15bc8664b5
Add atomic flag for 16-bit ticks PIC24 ( #488 )
...
This change allows the PIC24 family of
16 bit processors to read the tick count
without a critical section when the tick
count is 16 bits.
Inspired from discussion - https://forums.freertos.org/t/xtaskgettickcount-with-critical-section-on-16-bit-mcu/14860/5
3 years ago
andrewtjs
a432a688ca
bugfix: Initialise stack correctly on dsPIC port ( #405 )
...
* Use compiler predefined constants.
Use of MPLAB_DSPIC_PORT is deprecated.
3 years ago
Paul Bartell
eec42331b4
Normalize files with mixed line endings (introduced in commit 3a413d1
)
4 years ago
Paul Bartell
3a413d1022
Add SPDX-License-Identifier: MIT to MIT licensed files.
4 years ago
Paul Bartell
e31dccae80
Remove "1 tab == 4 spaces!" line from files that still contain it.
4 years ago
Paul Bartell
adfc53368f
Update copyright year from 2020 to 2021
4 years ago
Paul Bartell
08dc6f64ee
Change kernel revision in each file header from V10.4.3 to <DEVELOPMENT BRANCH>
4 years ago
j4cbo
f37bcd5c14
Wrap macros in do { ... } while( 0 ) ( #240 )
4 years ago
Cobus van Eeden
ec62f69dab
[AUTO][RELEASE]: Bump file header version to "10.4.3"
4 years ago
David Chalco
337bca615e
[AUTO][RELEASE]: Bump file header version to "10.4.2"
4 years ago
Gaurav-Aggarwal-AWS
2225bb5620
Fix Stack alignment for Microchip PIC32MX port ( #182 )
...
* Fix Stack alignment for Microchip PIC32MX port
The stack of a task was not 8 byte aligned. Adding one more unused space
at the beginning of task stack (before simulated context) ensures that
the stack is 8 byte aligned. The stack (with simulated context) of a
newly created task looks like the following:
+------------+
| UNUSED |
+------------+
| UNUSED |
+------------+
| 0xDEADBEEF |
+------------+
| 0x12345678 |
^ +------------+
| | CAUSE | <-- SP After Context Restore
| +------------+
| | STATUS |
| +------------+
| | EPC |
| +------------+
| | ra |
| +------------+
| | s8 |
| +------------+
| | t9 |
| +------------+
| | t8 |
| +------------+
| | t7 |
| +------------+
| | t6 |
| +------------+
| | t5 |
| +------------+
| | t4 |
| +------------+
| | t3 |
| +------------+
| | t2 |
| +------------+
| | t1 |
| +------------+
Context | | t0 |
(132 bytes) | +------------+
| | a3 |
| +------------+
| | a2 |
| +------------+
| | a1 |
| +------------+
| | a0 |
| +------------+
| | v1 |
| +------------+
| | v0 |
| +------------+
| | s7 |
| +------------+
| | s6 |
| +------------+
| | s5 |
| +------------+
| | s4 |
| +------------+
| | s3 |
| +------------+
| | s2 |
| +------------+
| | s1 |
| +------------+
| | s0 |
| +------------+
| | at |
| +------------+
| | HI |
| +------------+
| | LO |
| +------------+
V | |
+------------+
| | <-- SP After Context Save
+------------+
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Update comment
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
4 years ago
Cobus van Eeden
385e700953
Update History.txt and fix versioning in asm files ( #177 )
4 years ago
David Chalco
3604527e3b
Update version number to 10.4.1 ( #173 )
4 years ago
RichardBarry
85768bb3e0
Sets the version number to 10.4.0 in assembly files. The ( #166 )
...
assembly files were missed when the other source files had
their version numbers updated.
4 years ago
David Chalco
5dfab0306b
Update version number to 10.4.0 ( #153 )
4 years ago
alfred gedeon
0b0a2060c0
Style: Change FreeRTOS websites in comments ( #131 )
...
* Style: Change FreeRTOS websites in comments
* Style: Change freertos to FreeRTOS in comments
* Style: Remove broken link
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
5 years ago
alfred gedeon
86653e2a1f
Style: Revert uncrustify for portable directories ( #122 )
...
* Style: revert uncrustify portable directories
* Style: Uncrustify Some Portable files
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
5 years ago
Alfred Gedeon
587a83d647
Style: uncrustify kernel files
5 years ago
Alfred Gedeon
2c530ba5c3
Style: uncrustify
5 years ago
Alfred Gedeon
718178c68a
Style: uncrusitfy
5 years ago
Alfred Gedeon
a5dbc2b1de
Style: uncrustify kernel files
5 years ago
Yuhui.Zheng
88e32327e9
version bump to v10.3.1 ( #16 )
...
* Verion bump from 10.3.0 to 10.3.1.
* version bump in task.h
* change history for 10.3.1.
5 years ago
Yuhui Zheng
210b1ffcc8
Re-sync with upstream and stripping away none kernel related.
5 years ago