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
alfred gedeon
a1b918c1aa
Code: Fix stream buffer warning ( #335 )
4 years ago
RichardBarry
6b72419c78
Fix error introduced when merging #264 . ( #286 )
4 years ago
milesfrain
6685c042cb
Fix race condition bugs when reading and writing to message buffers ( #264 )
...
* Fix inaccuracies in prvWriteBytesToBuffer description
* Perform atomic message write in prvWriteMessageToBuffer
* Remove unnecessary length arg from prvReadMessageFromBuffer
* Perform atomic message read in prvReadBytesFromBuffer
* Apply SpacesAvailable() fix
Original author: RichardBarry
* Apply review feedback
* Edit some prv functions for simplicity and consistency
- prvWriteMessageToBuffer
- prvReadMessageFromBuffer
- prvWriteBytesToBuffer
- prvReadBytesFromBuffer
* Significant simplification of prvWriteMessageToBuffer
* fixup off-by-one comment indentation
Co-authored-by: alfred gedeon <28123637+alfred2g@users.noreply.github.com>
Co-authored-by: RichardBarry <3073890+RichardBarry@users.noreply.github.com>
4 years ago
Ravishankar Bhagavandas
755daad276
Improve comments and assertions in stream buffer ( #277 )
...
* Improve comments and assertions in stream buffer
* Add back null check instead of assert
* Adding config assert back
4 years ago
Cobus van Eeden
ec62f69dab
[AUTO][RELEASE]: Bump file header version to "10.4.3"
4 years ago
Cobus van Eeden
d05b9c123f
Add addition overflow check for stream buffer ( #226 )
4 years ago
David Chalco
337bca615e
[AUTO][RELEASE]: Bump file header version to "10.4.2"
4 years ago
RichardBarry
71be31bb61
xStreamBufferSend() caps the maximum amount of data a stream buffer can send to the maximum capacity of the buffer - however the value to which the length is capped was wrong, and is correct by this check in. Likewise when sending to a message buffer if the send length is too long the block time is set to 0 to ensure the sending task does not wait indefinitely for the impossible send to complete - but the length check was wrong, and is corrected by this check in. ( #195 )
4 years ago
RichardBarry
fccb97b10b
No functional changes. ( #194 )
...
Shorted overly verbose and opinionated comments in xStreamBufferSend().
Remove the unnecessary xIsFeasible variable from xStreamBufferSend().
4 years ago
David Chalco
3604527e3b
Update version number to 10.4.1 ( #173 )
4 years ago
Carl Lundin
acee77be5b
FreeRTOS Kernel Spelling Update ( #170 )
...
* FreeRTOS Kernel Spelling Update
* Added spell check to kernel repository.
* Fixed small spelling errors in various kernel source files.
* Added documentation for spellcheck.
Note: Only kernel files are checked for spelling, and portable files are ignored.
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
9a1ebfec31
Style: Uncrustify kernel file - remove tab == 4 spaces ( #123 )
...
* Style: uncrystify kernel files and remove tabs
* Style: uncrystify kernel files and remove tabs
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
5 years ago
alfred gedeon
8c77117c32
Style: Remove tabs and tab == 4 spaces ( #120 )
...
* Style: Remove tabls and tab == 4 spaces
* Style: remove xx accidentally left
* Style: revert uncrustify for untested portable directories
* Style: revert more uncrustify files
* Style: Revert more uncrustified files
* Style: Revert some uncrutified files
* Style: change more files
* Style: remove t tab == 4 spaces
* Style: remove tabs = spaces
* Style: revert changed files
* Style: redo the stuyles
* Style: add uncrustify disable parsing for asm
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
5 years ago
Yuhui Zheng
4bde12f223
Use pdTRUE/pdFALSE instead of TRUE/FALSE in xStreamBufferSend(). ( #114 )
5 years ago
Simon Beaudoin
61fc74f0c5
Update stream_buffer.c ( #94 )
...
Add necessary checks when sending data to the stream/message buffer in order to avoid a task deadlock when attempting to write a longer stream/message than the underlying buffer can write.
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